From d92714cc7e1567c103d4329df5bbc22080bf59c8 Mon Sep 17 00:00:00 2001 From: Uwe Tews Date: Wed, 6 May 2015 00:03:26 +0200 Subject: [PATCH] - optimization move handling from parser to new compiler module --- change_log.txt | 1 + lexer/smarty_internal_templatelexer.plex | 74 +- lexer/smarty_internal_templateparser.y | 131 +- libs/Smarty.class.php | 2 +- libs/SmartyBC.class.php | 27 +- .../smarty_internal_compile_private_php.php | 92 + .../smarty_internal_templatecompilerbase.php | 21 +- .../smarty_internal_templatelexer.php | 119 +- .../smarty_internal_templateparser.php | 3069 ++++++++--------- 9 files changed, 1690 insertions(+), 1846 deletions(-) create mode 100644 libs/sysplugins/smarty_internal_compile_private_php.php diff --git a/change_log.txt b/change_log.txt index 8dc968b6..1505c073 100644 --- a/change_log.txt +++ b/change_log.txt @@ -1,6 +1,7 @@  ===== 3.1.22-dev ===== (xx.xx.2015) 05.05.2015 - optimization on cache update when main template is modified + - optimization move handling from parser to new compiler module 05.05.2015 - bugfix code could be messed up when {tags} are used in multiple attributes https://github.com/smarty-php/smarty/issues/23 diff --git a/lexer/smarty_internal_templatelexer.plex b/lexer/smarty_internal_templatelexer.plex index d988c12b..c41fe10b 100644 --- a/lexer/smarty_internal_templatelexer.plex +++ b/lexer/smarty_internal_templatelexer.plex @@ -61,6 +61,12 @@ class Smarty_Internal_Templatelexer * @var bool */ public $is_phpScript = false; + /** + * php code type + * + * @var string + */ + public $phpType = ''; /** * escaped left delimiter * @@ -227,11 +233,12 @@ class Smarty_Internal_Templatelexer namespace = /([0-9]*[a-zA-Z_]\w*)?(\\[0-9]*[a-zA-Z_]\w*)+/ all = /[\S\s]+/ emptyjava = /\{\}/ - phpstarttag = /()|(<\?(?:php\w+|=|[a-zA-Z]+)?)/ - phpendtag = /\?>/ - phpendscript = /<\/script>/ - aspstarttag = /<%/ - aspendtag = /%>/ + xmltag = /<\?xml\s+([\S\s]*?)\?>/ + php = /(<\?(?:php\s+|=)?)((('[^'\\]*(?:\\.[^'\\]*)*')|("[^"\\]*(?:\\.[^"\\]*)*")|(\/\*(.)*?\*\/)|.)*?)\?>/ + phpscript = /((('[^'\\]*(?:\\.[^'\\]*)*')|("[^"\\]*(?:\\.[^"\\]*)*")|(\/\*(.)*?\*\/)|.)*?)<\/script>/ + phptag = /(SMARTYldel\s*php\s*(.)*?SMARTYrdel((.)*?)SMARTYldel\s*\/php\s*SMARTYrdel)|(SMARTYldel\s*[\/]?php\s*(.)*?SMARTYrdel)/ + asp = /<%((('[^'\\]*(?:\\.[^'\\]*)*')|("[^"\\]*(?:\\.[^"\\]*)*")|(\/\*(.)*?\*\/)|.)*?)%>/ + unmatched = /(<(\?(?:php\s+|=)?|(script\s+language\s*=\s*[\"\']?\s*php\s*[\"\']?\s*>)|%))|\?>|%>/ slash = /\// ldel = /SMARTYldel\s*/ rdel = /\s*SMARTYrdel/ @@ -372,6 +379,15 @@ class Smarty_Internal_Templatelexer $this->taglineno = $this->line; } } + phptag { + if ($this->smarty->auto_literal && isset($this->value[$this->ldel_length]) ? strpos(" \n\t\r", $this->value[$this->ldel_length]) !== false : false) { + $this->token = Smarty_Internal_Templateparser::TP_TEXT; + } else { + $this->token = Smarty_Internal_Templateparser::TP_PHP; + $this->phpType = 'tag'; + $this->taglineno = $this->line; + } + } ldel slash { if ($this->smarty->auto_literal && isset($this->value[$this->ldel_length]) ? strpos(" \n\t\r", $this->value[$this->ldel_length]) !== false : false) { $this->token = Smarty_Internal_Templateparser::TP_TEXT; @@ -390,38 +406,36 @@ class Smarty_Internal_Templatelexer $this->taglineno = $this->line; } } - phpstarttag { - if (($script = strpos($this->value, 'value, Array('is_phpScript = true; - } - $this->token = Smarty_Internal_Templateparser::TP_PHPSTARTTAG; - } elseif ($this->value == 'token = Smarty_Internal_Templateparser::TP_XMLTAG; - } else { - $this->token = Smarty_Internal_Templateparser::TP_TEXT; - //$this->value = substr($this->value, 0, 2); - } - } - phpendtag { - $this->token = Smarty_Internal_Templateparser::TP_PHPENDTAG; - } - phpendscript { - $this->token = Smarty_Internal_Templateparser::TP_PHPENDSCRIPT; - } rdel { $this->token = Smarty_Internal_Templateparser::TP_TEXT; } - aspstarttag { - $this->token = Smarty_Internal_Templateparser::TP_ASPSTARTTAG; + xmltag { + $this->token = Smarty_Internal_Templateparser::TP_XMLTAG; + $this->taglineno = $this->line; } - aspendtag { - $this->token = Smarty_Internal_Templateparser::TP_ASPENDTAG; + asp { + $this->phpType = 'asp'; + $this->taglineno = $this->line; + $this->token = Smarty_Internal_Templateparser::TP_PHP; + } + php { + $this->phpType = 'php'; + $this->taglineno = $this->line; + $this->token = Smarty_Internal_Templateparser::TP_PHP; + } + phpscript { + $this->phpType = 'script'; + $this->taglineno = $this->line; + $this->token = Smarty_Internal_Templateparser::TP_PHP; + } + unmatched { + $this->phpType = 'unmatched'; + $this->taglineno = $this->line; + $this->token = Smarty_Internal_Templateparser::TP_PHP; } text { - $phpEndScript = $this->is_phpScript ? '|<\\/script>' : ''; $to = strlen($this->data); - preg_match("/{$this->ldel}|<\?|<%|\?>|%>|{$phpEndScript}/",$this->data,$match,PREG_OFFSET_CAPTURE,$this->counter); + preg_match("/{$this->ldel}|<\?|<%|\?>|%>|/",$this->data,$match,PREG_OFFSET_CAPTURE,$this->counter); if (isset($match[0][1])) { $to = $match[0][1]; } diff --git a/lexer/smarty_internal_templateparser.y b/lexer/smarty_internal_templateparser.y index a9c0d37b..6ea41231 100644 --- a/lexer/smarty_internal_templateparser.y +++ b/lexer/smarty_internal_templateparser.y @@ -116,25 +116,15 @@ class Smarty_Internal_Templateparser * @var int */ public $block_nesting_level = 0; - /** - * xml tag flag - * - * @var bool - */ - private $is_xml = false; + /** * security object * * @var Smarty_Security */ private $security = null; - /** - * asp enabled - * - * @var bool - */ - private $asp_tags = false; - /** + + /** * PHP tag handling mode * * @var int @@ -160,7 +150,6 @@ class Smarty_Internal_Templateparser } else { $this->php_handling = $this->smarty->php_handling; } - $this->asp_tags = (ini_get('asp_tags') != '0'); $this->current_buffer = $this->root_buffer = new Smarty_Internal_ParseTree_Template($this); } @@ -252,119 +241,25 @@ template_element(res)::= COMMENT(c). { template_element(res) ::= literal(l). { res = new Smarty_Internal_ParseTree_Text($this, l); } - - // '' tag -template_element(res)::= PHPSTARTTAG(st). { - if (strpos(st, 'lex->is_phpScript = true; - } - if ($this->php_handling == Smarty::PHP_PASSTHRU) { - if ($this->lex->is_phpScript) { - $s = addcslashes(st, "'"); - res = new Smarty_Internal_ParseTree_Text($this, $s); - } else { - res = new Smarty_Internal_ParseTree_Text($this, st); - } - } elseif ($this->php_handling == Smarty::PHP_QUOTE) { - res = new Smarty_Internal_ParseTree_Text($this, htmlspecialchars(st, ENT_QUOTES)); - } elseif ($this->php_handling == Smarty::PHP_ALLOW) { - if (!($this->smarty instanceof SmartyBC)) { - $this->compiler->trigger_template_error (self::Err3); - } - res = new Smarty_Internal_ParseTree_Tag($this, $this->compiler->processNocacheCode('php_handling == Smarty::PHP_REMOVE) { - res = null; - } -} - - // '?>' tag -template_element(res)::= PHPENDTAG(st). { - if ($this->is_xml) { - $this->compiler->tag_nocache = true; - $this->is_xml = false; - $save = $this->template->has_nocache_code; - res = new Smarty_Internal_ParseTree_Tag($this, $this->compiler->processNocacheCode("';?>\n", $this->compiler, true)); - $this->template->has_nocache_code = $save; - } elseif ($this->php_handling == Smarty::PHP_PASSTHRU) { - res = new Smarty_Internal_ParseTree_Text($this, st); - } elseif ($this->php_handling == Smarty::PHP_QUOTE) { - res = new Smarty_Internal_ParseTree_Text($this, htmlspecialchars('?>', ENT_QUOTES)); - } elseif ($this->php_handling == Smarty::PHP_ALLOW) { - res = new Smarty_Internal_ParseTree_Tag($this, $this->compiler->processNocacheCode('?>', true)); - } elseif ($this->php_handling == Smarty::PHP_REMOVE) { - res = null; - } -} - // '' tag (only for PHP) -template_element(res)::= PHPENDSCRIPT(st). { - if (!$this->lex->is_phpScript) { - res = new Smarty_Internal_ParseTree_Text($this, st); + // php tags +template_element(res)::= PHP(o). { + $code = $this->compiler->compileTag('private_php',array(array('code' => o), array('type' => $this->lex->phpType )),array()); + if ($this->compiler->has_code && !empty($code)) { + $tmp =''; foreach ($this->compiler->prefix_code as $code) {$tmp.=$code;} $this->compiler->prefix_code=array(); + res = new Smarty_Internal_ParseTree_Tag($this, $this->compiler->processNocacheCode($tmp.$code,true)); } else { - $this->lex->is_phpScript = false; - if ($this->php_handling == Smarty::PHP_PASSTHRU) { - res = new Smarty_Internal_ParseTree_Text($this, st); - } elseif ($this->php_handling == Smarty::PHP_QUOTE) { - res = new Smarty_Internal_ParseTree_Text($this, htmlspecialchars(st, ENT_QUOTES)); - } elseif ($this->php_handling == Smarty::PHP_ALLOW) { - res = new Smarty_Internal_ParseTree_Tag($this, $this->compiler->processNocacheCode('?>', true)); - } elseif ($this->php_handling == Smarty::PHP_REMOVE) { - res = null; - } + res = null; } } - // '<%' tag -template_element(res)::= ASPSTARTTAG(st). { - if ($this->php_handling == Smarty::PHP_PASSTHRU) { - res = new Smarty_Internal_ParseTree_Text($this, st); - } elseif ($this->php_handling == Smarty::PHP_QUOTE) { - res = new Smarty_Internal_ParseTree_Text($this, htmlspecialchars(st, ENT_QUOTES)); - } elseif ($this->php_handling == Smarty::PHP_ALLOW) { - if ($this->asp_tags) { - if (!($this->smarty instanceof SmartyBC)) { - $this->compiler->trigger_template_error (self::Err3); - } - res = new Smarty_Internal_ParseTree_Tag($this, $this->compiler->processNocacheCode('<%', true)); - } else { - res = new Smarty_Internal_ParseTree_Text($this, st); - } - } elseif ($this->php_handling == Smarty::PHP_REMOVE) { - if ($this->asp_tags) { - res = null; - } else { - res = new Smarty_Internal_ParseTree_Text($this, st); - } - } -} - - // '%>' tag -template_element(res)::= ASPENDTAG(st). { - if ($this->php_handling == Smarty::PHP_PASSTHRU) { - res = new Smarty_Internal_ParseTree_Text($this, st); - } elseif ($this->php_handling == Smarty::PHP_QUOTE) { - res = new Smarty_Internal_ParseTree_Text($this, htmlspecialchars('%>', ENT_QUOTES)); - } elseif ($this->php_handling == Smarty::PHP_ALLOW) { - if ($this->asp_tags) { - res = new Smarty_Internal_ParseTree_Tag($this, $this->compiler->processNocacheCode('%>', true)); - } else { - res = new Smarty_Internal_ParseTree_Text($this, st); - } - } elseif ($this->php_handling == Smarty::PHP_REMOVE) { - if ($this->asp_tags) { - res = null; - } else { - res = new Smarty_Internal_ParseTree_Text($this, st); - } - } -} // XML tag -template_element(res)::= XMLTAG. { +template_element(res)::= XMLTAG(x). { $this->compiler->tag_nocache = true; - $this->is_xml = true; + $xml = x; $save = $this->template->has_nocache_code; - res = new Smarty_Internal_ParseTree_Tag($this, $this->compiler->processNocacheCode("", $this->compiler, true)); + res = new Smarty_Internal_ParseTree_Tag($this, $this->compiler->processNocacheCode("", $this->compiler, true)); $this->template->has_nocache_code = $save; } diff --git a/libs/Smarty.class.php b/libs/Smarty.class.php index 8c41f7ad..7b15be37 100644 --- a/libs/Smarty.class.php +++ b/libs/Smarty.class.php @@ -111,7 +111,7 @@ class Smarty extends Smarty_Internal_TemplateBase /** * smarty version */ - const SMARTY_VERSION = '3.1.22-dev/25'; + const SMARTY_VERSION = '3.1.22-dev/26'; /** * define variable scopes diff --git a/libs/SmartyBC.class.php b/libs/SmartyBC.class.php index cec94674..76dd8bd0 100644 --- a/libs/SmartyBC.class.php +++ b/libs/SmartyBC.class.php @@ -52,8 +52,6 @@ class SmartyBC extends Smarty public function __construct(array $options = array()) { parent::__construct($options); - // register {php} tag - $this->registerPlugin('block', 'php', 'smarty_php_tag'); } /** @@ -115,10 +113,10 @@ class SmartyBC extends Smarty /** * Registers object to be used in templates * - * @param string $object name of template object - * @param object $object_impl the referenced PHP object to register - * @param array $allowed list of allowed methods (empty = all) - * @param boolean $smarty_args smarty argument format, else traditional + * @param string $object name of template object + * @param object $object_impl the referenced PHP object to register + * @param array $allowed list of allowed methods (empty = all) + * @param boolean $smarty_args smarty argument format, else traditional * @param array $block_methods list of methods that are block format * * @throws SmartyException @@ -448,20 +446,3 @@ class SmartyBC extends Smarty trigger_error("Smarty error: $error_msg", $error_type); } } - -/** - * Smarty {php}{/php} block function - * - * @param array $params parameter list - * @param string $content contents of the block - * @param object $template template object - * @param boolean &$repeat repeat flag - * - * @return string content re-formatted - */ -function smarty_php_tag($params, $content, $template, &$repeat) -{ - eval($content); - - return ''; -} diff --git a/libs/sysplugins/smarty_internal_compile_private_php.php b/libs/sysplugins/smarty_internal_compile_private_php.php new file mode 100644 index 00000000..a6ae8fac --- /dev/null +++ b/libs/sysplugins/smarty_internal_compile_private_php.php @@ -0,0 +1,92 @@ +getAttributes($compiler, $args); + $compiler->has_code = false; + $this->asp_tags = (ini_get('asp_tags') != '0'); + if ($_attr['type'] == 'tag' && !($compiler->smarty instanceof SmartyBC)) { + $compiler->trigger_template_error('{php}[/php} tags not allowed. Use SmartyBC to enable them', $compiler->lex->taglineno); + } + if ($_attr['type'] != 'tag') { + if (isset($compiler->smarty->security_policy)) { + $this->php_handling = $compiler->smarty->security_policy->php_handling; + } else { + $this->php_handling = $compiler->smarty->php_handling; + } + if ($this->php_handling == Smarty::PHP_REMOVE) { + $output = preg_replace(array('#^(<\?(?:php|=)?)|(<%)|()#', '#(\?>)|(%>)|(<\/script>)$#'), '', $_attr['code']); + $compiler->parser->current_buffer->append_subtree(new Smarty_Internal_ParseTree_Text($compiler->parser, $output)); + return ''; + } elseif ($this->php_handling == Smarty::PHP_QUOTE) { + $output = preg_replace_callback(array('#^(<\?(?:php|=)?)|(<%)|()#', '#(\?>)|(%>)|(<\/script>)$#'), function ($match) {return htmlspecialchars($match[0], ENT_QUOTES);}, $_attr['code']); + $compiler->parser->current_buffer->append_subtree(new Smarty_Internal_ParseTree_Text($compiler->parser, $output)); + return ''; + } elseif ($this->php_handling == Smarty::PHP_PASSTHRU || ($_attr['type'] == 'asp' && !$this->asp_tags) || $_attr['type'] == 'unmatched') { + $compiler->parser->current_buffer->append_subtree(new Smarty_Internal_ParseTree_Text($compiler->parser, $_attr['code'])); + return ''; + } elseif ($this->php_handling == Smarty::PHP_ALLOW) { + if (!($compiler->smarty instanceof SmartyBC)) { + $compiler->trigger_template_error('$smarty->php_handling PHP_ALLOW not allowed. Use SmartyBC to enable it', $compiler->lex->taglineno); + } + $compiler->has_code = true; + return $_attr['code']; + } else { + $compiler->trigger_template_error('Illegal $smarty->php_handling value', $compiler->lex->taglineno); + } + } else { + $compiler->has_code = true; + $ldel = preg_quote($compiler->smarty->left_delimiter, '#'); + $rdel = preg_quote($compiler->smarty->right_delimiter, '#'); + if (!preg_match("#{$ldel}\\s*/\\s*php\\s*{$rdel}$#", $_attr['code'], $match)) { + $compiler->trigger_template_error('Missing {/php} closing tag', $compiler->lex->taglineno); + } + if (!preg_match("#^({$ldel}\\s*php\\s*)((.)*?)({$rdel})#", $_attr['code'], $match)) { + $compiler->trigger_template_error('Missing {php} open tag', $compiler->lex->taglineno); + } + if (!empty($match[2])) { + if ('nocache' == trim($match[2])) { + $compiler->tag_nocache = true; + } else { + $compiler->trigger_template_error("illegal value of option flag \"{$match[2]}\"", $compiler->lex->taglineno); + } + } + return preg_replace(array("#^{$ldel}\\s*php\\s*(.)*?{$rdel}#", "#{$ldel}\\s*/\\s*php\\s*{$rdel}$#"), array(''), $_attr['code']); + } + } +} diff --git a/libs/sysplugins/smarty_internal_templatecompilerbase.php b/libs/sysplugins/smarty_internal_templatecompilerbase.php index b287733d..7981315b 100644 --- a/libs/sysplugins/smarty_internal_templatecompilerbase.php +++ b/libs/sysplugins/smarty_internal_templatecompilerbase.php @@ -19,10 +19,11 @@ abstract class Smarty_Internal_TemplateCompilerBase { /** * Smarty object + * * @var Smarty */ public $smarty = null; - + /** * hash for nocache sections * @@ -234,12 +235,14 @@ abstract class Smarty_Internal_TemplateCompilerBase /** * Flag true when tag is compiled as nocache + * * @var bool */ public $tag_nocache = false; /** * Flag to restart parsing + * * @var bool */ public $abort_and_recompile = false; @@ -253,18 +256,28 @@ abstract class Smarty_Internal_TemplateCompilerBase /** * Prefix code stack + * * @var array */ public $prefixCodeStack = array(); /** * Tag has compiled code + * * @var bool */ public $has_code = false; + /** + * A variable string was compiled + * + * @var bool + */ + public $has_variable_string = false; + /** * Tag creates output + * * @var bool */ public $has_output = false; @@ -296,9 +309,9 @@ abstract class Smarty_Internal_TemplateCompilerBase /** * Method to compile a Smarty template * - * @param Smarty_Internal_Template $template template object to compile - * @param bool $nocache true is shall be compiled in nocache mode - * @param null|Smarty_Internal_TemplateCompilerBase $parent_compiler + * @param Smarty_Internal_Template $template template object to compile + * @param bool $nocache true is shall be compiled in nocache mode + * @param null|Smarty_Internal_TemplateCompilerBase $parent_compiler * * @return bool true if compiling succeeded, false if it failed */ diff --git a/libs/sysplugins/smarty_internal_templatelexer.php b/libs/sysplugins/smarty_internal_templatelexer.php index dd9f9a4f..dfc21e14 100644 --- a/libs/sysplugins/smarty_internal_templatelexer.php +++ b/libs/sysplugins/smarty_internal_templatelexer.php @@ -61,6 +61,12 @@ class Smarty_Internal_Templatelexer * @var bool */ public $is_phpScript = false; + /** + * php code type + * + * @var string + */ + public $phpType = ''; /** * escaped left delimiter * @@ -265,20 +271,21 @@ class Smarty_Internal_Templatelexer 9 => 0, 10 => 0, 11 => 0, - 12 => 0, - 13 => 0, - 14 => 2, - 17 => 0, - 18 => 0, + 12 => 6, 19 => 0, 20 => 0, 21 => 0, - 22 => 0, + 22 => 1, + 24 => 6, + 31 => 7, + 39 => 6, + 46 => 3, + 50 => 0, ); if ($this->counter >= strlen($this->data)) { return false; // end of input } - $yy_global_pattern = "/\G(\\{\\})|\G(" . $this->ldel . "\\*([\S\s]*?)\\*" . $this->rdel . ")|\G(" . $this->ldel . "\\s*strip\\s*" . $this->rdel . ")|\G(" . $this->ldel . "\\s*\/strip\\s*" . $this->rdel . ")|\G(" . $this->ldel . "\\s*literal\\s*" . $this->rdel . ")|\G(" . $this->ldel . "\\s*(if|elseif|else if|while)\\s+)|\G(" . $this->ldel . "\\s*for\\s+)|\G(" . $this->ldel . "\\s*foreach(?![^\s]))|\G(" . $this->ldel . "\\s*setfilter\\s+)|\G(" . $this->ldel . "\\s*\/)|\G(" . $this->ldel . "\\s*)|\G(()|(<\\?(?:php\\w+|=|[a-zA-Z]+)?))|\G(\\?>)|\G(<\/script>)|\G(\\s*" . $this->rdel . ")|\G(<%)|\G(%>)|\G([\S\s])/iS"; + $yy_global_pattern = "/\G(\\{\\})|\G(" . $this->ldel . "\\*([\S\s]*?)\\*" . $this->rdel . ")|\G(" . $this->ldel . "\\s*strip\\s*" . $this->rdel . ")|\G(" . $this->ldel . "\\s*\/strip\\s*" . $this->rdel . ")|\G(" . $this->ldel . "\\s*literal\\s*" . $this->rdel . ")|\G(" . $this->ldel . "\\s*(if|elseif|else if|while)\\s+)|\G(" . $this->ldel . "\\s*for\\s+)|\G(" . $this->ldel . "\\s*foreach(?![^\s]))|\G(" . $this->ldel . "\\s*setfilter\\s+)|\G((" . $this->ldel . "\\s*php\\s*(.)*?" . $this->rdel . "((.)*?)" . $this->ldel . "\\s*\/php\\s*" . $this->rdel . ")|(" . $this->ldel . "\\s*[\/]?php\\s*(.)*?" . $this->rdel . "))|\G(" . $this->ldel . "\\s*\/)|\G(" . $this->ldel . "\\s*)|\G(\\s*" . $this->rdel . ")|\G(<\\?xml\\s+([\S\s]*?)\\?>)|\G(<%((('[^'\\\\]*(?:\\\\.[^'\\\\]*)*')|(\"[^\"\\\\]*(?:\\\\.[^\"\\\\]*)*\")|(\/\\*(.)*?\\*\/)|.)*?)%>)|\G((<\\?(?:php\\s+|=)?)((('[^'\\\\]*(?:\\\\.[^'\\\\]*)*')|(\"[^\"\\\\]*(?:\\\\.[^\"\\\\]*)*\")|(\/\\*(.)*?\\*\/)|.)*?)\\?>)|\G(((('[^'\\\\]*(?:\\\\.[^'\\\\]*)*')|(\"[^\"\\\\]*(?:\\\\.[^\"\\\\]*)*\")|(\/\\*(.)*?\\*\/)|.)*?)<\/script>)|\G((<(\\?(?:php\\s+|=)?|(script\\s+language\\s*=\\s*[\"']?\\s*php\\s*[\"']?\\s*>)|%))|\\?>|%>)|\G([\S\s])/iS"; do { if (preg_match($yy_global_pattern, $this->data, $yymatches, null, $this->counter)) { @@ -420,6 +427,18 @@ class Smarty_Internal_Templatelexer } function yy_r1_12($yy_subpatterns) + { + + if ($this->smarty->auto_literal && isset($this->value[$this->ldel_length]) ? strpos(" \n\t\r", $this->value[$this->ldel_length]) !== false : false) { + $this->token = Smarty_Internal_Templateparser::TP_TEXT; + } else { + $this->token = Smarty_Internal_Templateparser::TP_PHP; + $this->phpType = 'tag'; + $this->taglineno = $this->line; + } + } + + function yy_r1_19($yy_subpatterns) { if ($this->smarty->auto_literal && isset($this->value[$this->ldel_length]) ? strpos(" \n\t\r", $this->value[$this->ldel_length]) !== false : false) { @@ -431,7 +450,7 @@ class Smarty_Internal_Templatelexer } } - function yy_r1_13($yy_subpatterns) + function yy_r1_20($yy_subpatterns) { if ($this->smarty->auto_literal && isset($this->value[$this->ldel_length]) ? strpos(" \n\t\r", $this->value[$this->ldel_length]) !== false : false) { @@ -443,58 +462,56 @@ class Smarty_Internal_Templatelexer } } - function yy_r1_14($yy_subpatterns) - { - - if (($script = strpos($this->value, 'value, Array('is_phpScript = true; - } - $this->token = Smarty_Internal_Templateparser::TP_PHPSTARTTAG; - } elseif ($this->value == 'token = Smarty_Internal_Templateparser::TP_XMLTAG; - } else { - $this->token = Smarty_Internal_Templateparser::TP_TEXT; - //$this->value = substr($this->value, 0, 2); - } - } - - function yy_r1_17($yy_subpatterns) - { - - $this->token = Smarty_Internal_Templateparser::TP_PHPENDTAG; - } - - function yy_r1_18($yy_subpatterns) - { - - $this->token = Smarty_Internal_Templateparser::TP_PHPENDSCRIPT; - } - - function yy_r1_19($yy_subpatterns) + function yy_r1_21($yy_subpatterns) { $this->token = Smarty_Internal_Templateparser::TP_TEXT; } - function yy_r1_20($yy_subpatterns) - { - - $this->token = Smarty_Internal_Templateparser::TP_ASPSTARTTAG; - } - - function yy_r1_21($yy_subpatterns) - { - - $this->token = Smarty_Internal_Templateparser::TP_ASPENDTAG; - } - function yy_r1_22($yy_subpatterns) { - $phpEndScript = $this->is_phpScript ? '|<\\/script>' : ''; + $this->token = Smarty_Internal_Templateparser::TP_XMLTAG; + $this->taglineno = $this->line; + } + + function yy_r1_24($yy_subpatterns) + { + + $this->phpType = 'asp'; + $this->taglineno = $this->line; + $this->token = Smarty_Internal_Templateparser::TP_PHP; + } + + function yy_r1_31($yy_subpatterns) + { + + $this->phpType = 'php'; + $this->taglineno = $this->line; + $this->token = Smarty_Internal_Templateparser::TP_PHP; + } + + function yy_r1_39($yy_subpatterns) + { + + $this->phpType = 'script'; + $this->taglineno = $this->line; + $this->token = Smarty_Internal_Templateparser::TP_PHP; + } + + function yy_r1_46($yy_subpatterns) + { + + $this->phpType = 'unmatched'; + $this->taglineno = $this->line; + $this->token = Smarty_Internal_Templateparser::TP_PHP; + } + + function yy_r1_50($yy_subpatterns) + { + $to = strlen($this->data); - preg_match("/{$this->ldel}|<\?|<%|\?>|%>|{$phpEndScript}/", $this->data, $match, PREG_OFFSET_CAPTURE, $this->counter); + preg_match("/{$this->ldel}|<\?|<%|\?>|%>|/", $this->data, $match, PREG_OFFSET_CAPTURE, $this->counter); if (isset($match[0][1])) { $to = $match[0][1]; } diff --git a/libs/sysplugins/smarty_internal_templateparser.php b/libs/sysplugins/smarty_internal_templateparser.php index 5b0a7515..0a11c35e 100644 --- a/libs/sysplugins/smarty_internal_templateparser.php +++ b/libs/sysplugins/smarty_internal_templateparser.php @@ -182,24 +182,14 @@ class Smarty_Internal_Templateparser * @var int */ public $block_nesting_level = 0; - /** - * xml tag flag - * - * @var bool - */ - private $is_xml = false; + /** * security object * * @var Smarty_Security */ private $security = null; - /** - * asp enabled - * - * @var bool - */ - private $asp_tags = false; + /** * PHP tag handling mode * @@ -226,7 +216,6 @@ class Smarty_Internal_Templateparser } else { $this->php_handling = $this->smarty->php_handling; } - $this->asp_tags = (ini_get('asp_tags') != '0'); $this->current_buffer = $this->root_buffer = new Smarty_Internal_ParseTree_Template($this); } @@ -244,912 +233,862 @@ class Smarty_Internal_Templateparser const TP_COLON = 2; const TP_RDEL = 3; const TP_COMMENT = 4; - const TP_PHPSTARTTAG = 5; - const TP_PHPENDTAG = 6; - const TP_PHPENDSCRIPT = 7; - const TP_ASPSTARTTAG = 8; - const TP_ASPENDTAG = 9; - const TP_XMLTAG = 10; - const TP_TEXT = 11; - const TP_STRIPON = 12; - const TP_STRIPOFF = 13; - const TP_BLOCKSOURCE = 14; - const TP_LITERALSTART = 15; - const TP_LITERALEND = 16; - const TP_LITERAL = 17; - const TP_LDEL = 18; - const TP_DOLLAR = 19; - const TP_ID = 20; - const TP_EQUAL = 21; - const TP_PTR = 22; - const TP_LDELIF = 23; - const TP_LDELFOR = 24; - const TP_SEMICOLON = 25; - const TP_INCDEC = 26; - const TP_TO = 27; - const TP_STEP = 28; - const TP_LDELFOREACH = 29; - const TP_SPACE = 30; - const TP_AS = 31; - const TP_APTR = 32; - const TP_LDELSETFILTER = 33; - const TP_SMARTYBLOCKCHILDPARENT = 34; - const TP_LDELSLASH = 35; - const TP_ATTR = 36; - const TP_INTEGER = 37; - const TP_COMMA = 38; - const TP_OPENP = 39; - const TP_CLOSEP = 40; - const TP_MATH = 41; - const TP_UNIMATH = 42; - const TP_ANDSYM = 43; - const TP_ISIN = 44; - const TP_ISDIVBY = 45; - const TP_ISNOTDIVBY = 46; - const TP_ISEVEN = 47; - const TP_ISNOTEVEN = 48; - const TP_ISEVENBY = 49; - const TP_ISNOTEVENBY = 50; - const TP_ISODD = 51; - const TP_ISNOTODD = 52; - const TP_ISODDBY = 53; - const TP_ISNOTODDBY = 54; - const TP_INSTANCEOF = 55; - const TP_QMARK = 56; - const TP_NOT = 57; - const TP_TYPECAST = 58; - const TP_HEX = 59; - const TP_DOT = 60; - const TP_SINGLEQUOTESTRING = 61; - const TP_DOUBLECOLON = 62; - const TP_NAMESPACE = 63; - const TP_AT = 64; - const TP_HATCH = 65; - const TP_OPENB = 66; - const TP_CLOSEB = 67; - const TP_EQUALS = 68; - const TP_NOTEQUALS = 69; - const TP_GREATERTHAN = 70; - const TP_LESSTHAN = 71; - const TP_GREATEREQUAL = 72; - const TP_LESSEQUAL = 73; - const TP_IDENTITY = 74; - const TP_NONEIDENTITY = 75; - const TP_MOD = 76; - const TP_LAND = 77; - const TP_LOR = 78; - const TP_LXOR = 79; - const TP_QUOTE = 80; - const TP_BACKTICK = 81; - const TP_DOLLARID = 82; - const YY_NO_ACTION = 572; - const YY_ACCEPT_ACTION = 571; - const YY_ERROR_ACTION = 570; + const TP_PHP = 5; + const TP_XMLTAG = 6; + const TP_TEXT = 7; + const TP_STRIPON = 8; + const TP_STRIPOFF = 9; + const TP_BLOCKSOURCE = 10; + const TP_LITERALSTART = 11; + const TP_LITERALEND = 12; + const TP_LITERAL = 13; + const TP_LDEL = 14; + const TP_DOLLAR = 15; + const TP_ID = 16; + const TP_EQUAL = 17; + const TP_PTR = 18; + const TP_LDELIF = 19; + const TP_LDELFOR = 20; + const TP_SEMICOLON = 21; + const TP_INCDEC = 22; + const TP_TO = 23; + const TP_STEP = 24; + const TP_LDELFOREACH = 25; + const TP_SPACE = 26; + const TP_AS = 27; + const TP_APTR = 28; + const TP_LDELSETFILTER = 29; + const TP_SMARTYBLOCKCHILDPARENT = 30; + const TP_LDELSLASH = 31; + const TP_ATTR = 32; + const TP_INTEGER = 33; + const TP_COMMA = 34; + const TP_OPENP = 35; + const TP_CLOSEP = 36; + const TP_MATH = 37; + const TP_UNIMATH = 38; + const TP_ANDSYM = 39; + const TP_ISIN = 40; + const TP_ISDIVBY = 41; + const TP_ISNOTDIVBY = 42; + const TP_ISEVEN = 43; + const TP_ISNOTEVEN = 44; + const TP_ISEVENBY = 45; + const TP_ISNOTEVENBY = 46; + const TP_ISODD = 47; + const TP_ISNOTODD = 48; + const TP_ISODDBY = 49; + const TP_ISNOTODDBY = 50; + const TP_INSTANCEOF = 51; + const TP_QMARK = 52; + const TP_NOT = 53; + const TP_TYPECAST = 54; + const TP_HEX = 55; + const TP_DOT = 56; + const TP_SINGLEQUOTESTRING = 57; + const TP_DOUBLECOLON = 58; + const TP_NAMESPACE = 59; + const TP_AT = 60; + const TP_HATCH = 61; + const TP_OPENB = 62; + const TP_CLOSEB = 63; + const TP_EQUALS = 64; + const TP_NOTEQUALS = 65; + const TP_GREATERTHAN = 66; + const TP_LESSTHAN = 67; + const TP_GREATEREQUAL = 68; + const TP_LESSEQUAL = 69; + const TP_IDENTITY = 70; + const TP_NONEIDENTITY = 71; + const TP_MOD = 72; + const TP_LAND = 73; + const TP_LOR = 74; + const TP_LXOR = 75; + const TP_QUOTE = 76; + const TP_BACKTICK = 77; + const TP_DOLLARID = 78; + const YY_NO_ACTION = 564; + const YY_ACCEPT_ACTION = 563; + const YY_ERROR_ACTION = 562; - const YY_SZ_ACTTAB = 2478; + const YY_SZ_ACTTAB = 2263; static public $yy_action = array( - 220, 281, 284, 293, 294, 305, 301, 280, 268, 269, - 275, 263, 196, 201, 324, 10, 288, 231, 283, 241, - 7, 107, 39, 157, 17, 157, 132, 37, 204, 42, - 261, 25, 256, 349, 14, 27, 24, 140, 297, 279, - 46, 49, 47, 45, 20, 26, 337, 340, 31, 30, - 341, 350, 29, 18, 220, 299, 334, 571, 91, 289, - 231, 283, 241, 137, 220, 137, 192, 351, 360, 359, - 362, 363, 357, 355, 336, 335, 317, 316, 318, 139, - 220, 43, 433, 42, 220, 220, 427, 430, 485, 27, - 44, 271, 136, 314, 46, 49, 47, 45, 20, 26, - 337, 340, 31, 30, 341, 350, 29, 18, 220, 433, - 243, 485, 21, 42, 430, 433, 196, 353, 315, 27, - 430, 351, 360, 359, 362, 363, 357, 355, 336, 335, - 317, 316, 318, 4, 328, 248, 310, 42, 103, 34, - 122, 187, 35, 27, 300, 485, 348, 487, 46, 49, - 47, 45, 20, 26, 337, 340, 31, 30, 341, 350, - 29, 18, 220, 93, 220, 327, 238, 5, 485, 25, - 487, 349, 40, 339, 157, 351, 360, 359, 362, 363, - 357, 355, 336, 335, 317, 316, 318, 234, 328, 333, - 104, 169, 220, 42, 433, 25, 311, 349, 40, 27, - 330, 487, 46, 49, 47, 45, 20, 26, 337, 340, - 31, 30, 341, 350, 29, 18, 220, 93, 207, 181, - 304, 433, 190, 324, 487, 109, 321, 433, 330, 351, - 360, 359, 362, 363, 357, 355, 336, 335, 317, 316, - 318, 249, 329, 106, 176, 220, 203, 390, 247, 25, - 199, 349, 25, 330, 349, 245, 46, 49, 47, 45, - 20, 26, 337, 340, 31, 30, 341, 350, 29, 18, - 220, 207, 270, 200, 42, 232, 233, 218, 207, 364, - 27, 136, 229, 351, 360, 359, 362, 363, 357, 355, - 336, 335, 317, 316, 318, 251, 99, 167, 249, 179, - 364, 213, 198, 42, 189, 95, 330, 9, 330, 27, - 46, 49, 47, 45, 20, 26, 337, 340, 31, 30, - 341, 350, 29, 18, 207, 220, 203, 103, 497, 2, - 207, 485, 207, 486, 497, 197, 324, 351, 360, 359, - 362, 363, 357, 355, 336, 335, 317, 316, 318, 194, - 38, 328, 125, 35, 485, 346, 486, 35, 220, 354, - 395, 220, 44, 144, 487, 46, 49, 47, 45, 20, - 26, 337, 340, 31, 30, 341, 350, 29, 18, 220, - 93, 276, 159, 142, 25, 356, 254, 487, 352, 257, - 247, 330, 351, 360, 359, 362, 363, 357, 355, 336, - 335, 317, 316, 318, 338, 328, 220, 174, 172, 33, - 25, 25, 225, 349, 255, 252, 330, 330, 487, 46, - 49, 47, 45, 20, 26, 337, 340, 31, 30, 341, - 350, 29, 18, 220, 203, 203, 175, 15, 32, 202, - 184, 487, 338, 118, 27, 330, 351, 360, 359, 362, - 363, 357, 355, 336, 335, 317, 316, 318, 338, 295, - 273, 171, 25, 193, 230, 170, 25, 147, 246, 220, - 330, 292, 113, 46, 49, 47, 45, 20, 26, 337, - 340, 31, 30, 341, 350, 29, 18, 220, 295, 206, - 250, 207, 232, 228, 160, 232, 298, 101, 98, 342, - 351, 360, 359, 362, 363, 357, 355, 336, 335, 317, - 316, 318, 234, 295, 295, 166, 264, 162, 121, 338, - 257, 108, 287, 147, 330, 343, 112, 46, 49, 47, - 45, 20, 26, 337, 340, 31, 30, 341, 350, 29, - 18, 220, 295, 150, 183, 272, 331, 36, 123, 143, - 120, 323, 134, 330, 351, 360, 359, 362, 363, 357, - 355, 336, 335, 317, 316, 318, 338, 178, 295, 265, - 235, 236, 163, 130, 12, 303, 330, 39, 267, 302, - 97, 46, 49, 47, 45, 20, 26, 337, 340, 31, - 30, 341, 350, 29, 18, 220, 295, 277, 164, 296, - 4, 285, 291, 11, 3, 133, 131, 330, 351, 360, - 359, 362, 363, 357, 355, 336, 335, 317, 316, 318, - 338, 338, 161, 195, 312, 304, 168, 203, 165, 338, - 361, 13, 306, 242, 278, 46, 49, 47, 45, 20, - 26, 337, 340, 31, 30, 341, 350, 29, 18, 220, - 105, 205, 119, 358, 334, 185, 334, 334, 100, 158, - 117, 334, 351, 360, 359, 362, 363, 357, 355, 336, - 335, 317, 316, 318, 295, 295, 295, 334, 334, 334, - 334, 334, 334, 334, 334, 334, 334, 334, 157, 46, - 49, 47, 45, 20, 26, 337, 340, 31, 30, 341, - 350, 29, 18, 220, 41, 334, 334, 334, 334, 334, - 334, 334, 334, 334, 334, 334, 351, 360, 359, 362, - 363, 357, 355, 336, 335, 317, 316, 318, 137, 334, - 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, - 334, 334, 334, 46, 49, 47, 45, 20, 26, 337, - 340, 31, 30, 341, 350, 29, 18, 220, 334, 334, - 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, - 351, 360, 359, 362, 363, 357, 355, 336, 335, 317, - 316, 318, 334, 334, 334, 334, 334, 334, 334, 334, - 334, 334, 334, 334, 334, 334, 334, 46, 49, 47, - 45, 20, 26, 337, 340, 31, 30, 341, 350, 29, - 18, 334, 334, 334, 334, 334, 334, 334, 334, 334, - 334, 334, 334, 334, 351, 360, 359, 362, 363, 357, - 355, 336, 335, 317, 316, 318, 334, 334, 334, 46, - 49, 47, 45, 20, 26, 337, 340, 31, 30, 341, - 350, 29, 18, 334, 334, 334, 334, 334, 334, 334, - 334, 334, 334, 334, 334, 334, 351, 360, 359, 362, - 363, 357, 355, 336, 335, 317, 316, 318, 334, 334, - 334, 322, 334, 334, 334, 10, 135, 212, 8, 334, - 7, 107, 244, 7, 107, 151, 132, 156, 334, 132, - 261, 138, 256, 261, 260, 256, 28, 313, 320, 50, - 274, 334, 307, 215, 217, 286, 262, 334, 307, 25, - 334, 349, 334, 151, 51, 48, 290, 259, 266, 334, - 222, 42, 103, 1, 344, 239, 157, 27, 334, 334, - 307, 334, 191, 10, 126, 92, 334, 96, 7, 107, - 326, 16, 332, 334, 132, 22, 19, 334, 261, 347, - 256, 334, 260, 334, 28, 191, 182, 50, 334, 334, - 207, 334, 334, 334, 213, 330, 334, 334, 22, 19, - 9, 334, 51, 48, 290, 259, 266, 334, 222, 334, - 103, 1, 334, 207, 334, 334, 334, 322, 334, 334, - 334, 10, 135, 209, 8, 96, 7, 107, 334, 7, - 107, 334, 132, 334, 334, 132, 261, 334, 256, 261, - 221, 256, 28, 334, 334, 50, 334, 334, 334, 334, - 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, - 51, 48, 290, 259, 266, 334, 222, 334, 103, 1, - 220, 334, 400, 334, 431, 334, 334, 334, 334, 10, - 136, 219, 334, 96, 7, 107, 325, 16, 332, 334, - 132, 258, 240, 334, 261, 334, 256, 334, 260, 42, - 23, 431, 334, 50, 334, 27, 334, 431, 485, 334, - 485, 334, 334, 334, 334, 334, 334, 334, 51, 48, - 290, 259, 266, 244, 222, 334, 103, 1, 155, 334, - 334, 485, 138, 485, 334, 334, 334, 10, 135, 219, - 334, 96, 7, 107, 215, 217, 286, 262, 132, 307, - 334, 25, 261, 349, 256, 334, 260, 334, 28, 334, - 334, 50, 334, 42, 334, 253, 334, 334, 334, 27, - 334, 334, 334, 334, 334, 334, 51, 48, 290, 259, - 266, 334, 222, 334, 103, 1, 334, 334, 334, 334, - 334, 334, 334, 334, 334, 10, 135, 216, 334, 96, - 7, 107, 334, 334, 334, 334, 132, 334, 334, 334, - 261, 334, 256, 334, 260, 334, 28, 191, 186, 50, - 334, 334, 334, 334, 334, 334, 334, 330, 334, 334, - 22, 19, 334, 334, 51, 48, 290, 259, 266, 334, - 222, 334, 103, 1, 334, 207, 334, 334, 334, 25, - 334, 349, 334, 10, 128, 219, 334, 96, 7, 107, - 334, 42, 334, 237, 132, 334, 334, 27, 261, 334, - 256, 334, 260, 334, 6, 334, 334, 50, 334, 334, - 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, - 334, 334, 51, 48, 290, 259, 266, 334, 222, 334, - 103, 1, 334, 334, 334, 334, 334, 334, 334, 334, - 334, 10, 124, 219, 334, 96, 7, 107, 334, 334, - 334, 334, 132, 334, 334, 334, 261, 334, 256, 334, - 260, 334, 28, 334, 334, 50, 334, 334, 334, 334, - 334, 334, 334, 334, 334, 334, 334, 334, 334, 334, - 51, 48, 290, 259, 266, 334, 222, 334, 103, 1, - 334, 334, 334, 334, 334, 334, 334, 334, 334, 10, - 135, 208, 334, 96, 7, 107, 334, 334, 334, 334, - 132, 334, 334, 334, 261, 334, 256, 334, 260, 334, - 28, 334, 334, 50, 334, 334, 334, 334, 334, 334, - 334, 334, 334, 334, 334, 334, 334, 334, 51, 48, - 290, 259, 266, 334, 222, 334, 103, 1, 334, 334, - 334, 334, 334, 334, 334, 334, 334, 10, 136, 219, - 334, 96, 7, 107, 334, 334, 334, 334, 132, 334, - 334, 334, 261, 334, 256, 334, 260, 334, 23, 334, - 334, 50, 334, 334, 334, 475, 334, 334, 334, 334, - 334, 334, 334, 334, 334, 334, 51, 48, 290, 259, - 266, 334, 222, 334, 103, 334, 244, 475, 334, 475, - 475, 129, 475, 475, 80, 138, 334, 334, 475, 96, - 475, 485, 475, 282, 319, 334, 334, 214, 217, 286, - 262, 334, 307, 334, 334, 334, 334, 334, 334, 334, - 334, 334, 227, 309, 485, 334, 334, 244, 334, 475, - 334, 334, 149, 334, 334, 70, 138, 334, 334, 334, - 334, 334, 334, 475, 282, 319, 334, 334, 214, 217, - 286, 262, 334, 307, 334, 334, 334, 334, 334, 334, - 224, 334, 334, 334, 244, 334, 334, 334, 334, 149, - 334, 334, 70, 138, 334, 334, 334, 334, 334, 334, - 334, 282, 319, 334, 334, 214, 217, 286, 262, 334, - 307, 244, 334, 334, 334, 334, 149, 223, 334, 70, - 138, 334, 334, 334, 334, 334, 334, 334, 282, 319, - 334, 244, 214, 217, 286, 262, 149, 307, 334, 54, - 115, 141, 334, 334, 226, 334, 334, 334, 282, 319, - 334, 244, 214, 217, 286, 262, 149, 307, 334, 66, - 115, 228, 334, 334, 334, 334, 334, 334, 282, 319, - 334, 334, 214, 217, 286, 262, 334, 307, 334, 334, - 244, 334, 334, 334, 334, 129, 334, 334, 80, 138, - 334, 334, 334, 334, 334, 334, 334, 282, 319, 334, - 334, 214, 217, 286, 262, 244, 307, 334, 334, 334, - 149, 334, 334, 62, 138, 334, 244, 308, 334, 334, - 334, 149, 282, 319, 63, 138, 214, 217, 286, 262, - 334, 307, 334, 282, 319, 334, 244, 214, 217, 286, - 262, 149, 307, 334, 86, 138, 334, 244, 334, 334, - 334, 334, 149, 282, 319, 88, 138, 214, 217, 286, - 262, 334, 307, 334, 282, 319, 334, 334, 214, 217, - 286, 262, 334, 307, 334, 334, 244, 334, 334, 334, - 334, 149, 334, 334, 89, 138, 334, 334, 334, 334, - 334, 334, 334, 282, 319, 334, 334, 214, 217, 286, - 262, 244, 307, 334, 334, 334, 149, 334, 334, 64, - 138, 334, 244, 334, 334, 334, 334, 149, 282, 319, - 83, 138, 214, 217, 286, 262, 334, 307, 334, 282, - 319, 334, 244, 214, 217, 286, 262, 149, 307, 334, - 59, 138, 334, 244, 334, 334, 334, 334, 94, 282, - 319, 53, 116, 214, 217, 286, 262, 334, 307, 334, - 282, 319, 334, 334, 210, 217, 286, 262, 334, 307, - 334, 334, 244, 334, 334, 334, 334, 149, 334, 334, - 85, 138, 334, 334, 334, 334, 334, 334, 334, 282, - 319, 334, 334, 214, 217, 286, 262, 244, 307, 334, - 334, 334, 149, 334, 334, 61, 138, 334, 244, 334, - 334, 334, 334, 149, 282, 319, 60, 138, 214, 217, - 286, 262, 334, 307, 334, 282, 319, 334, 244, 214, - 217, 286, 262, 94, 307, 334, 57, 116, 334, 244, - 334, 334, 334, 334, 149, 282, 319, 71, 138, 214, - 217, 286, 262, 334, 307, 334, 282, 319, 334, 334, - 214, 217, 286, 262, 334, 307, 334, 334, 244, 334, - 334, 334, 334, 149, 334, 334, 87, 138, 334, 334, - 334, 334, 334, 334, 334, 282, 319, 334, 334, 214, - 217, 286, 262, 244, 307, 334, 334, 334, 149, 334, - 334, 68, 138, 334, 244, 334, 334, 334, 334, 149, - 282, 319, 67, 138, 214, 217, 286, 262, 334, 307, - 334, 282, 319, 334, 244, 214, 217, 286, 262, 149, - 307, 334, 76, 138, 334, 244, 334, 334, 334, 334, - 149, 282, 319, 58, 138, 214, 217, 286, 262, 334, - 307, 334, 282, 319, 334, 334, 214, 217, 286, 262, - 334, 307, 334, 334, 244, 334, 334, 334, 334, 149, - 334, 334, 84, 138, 334, 334, 334, 334, 334, 334, - 334, 282, 319, 334, 334, 214, 217, 286, 262, 244, - 307, 334, 334, 334, 149, 334, 334, 90, 138, 334, - 244, 334, 334, 334, 334, 114, 282, 319, 72, 138, - 214, 217, 286, 262, 334, 307, 334, 282, 319, 334, - 244, 214, 217, 286, 262, 149, 307, 334, 66, 138, - 334, 244, 334, 334, 334, 334, 149, 282, 319, 79, - 138, 214, 217, 286, 262, 334, 307, 334, 282, 319, - 334, 334, 214, 217, 286, 262, 334, 307, 334, 334, - 244, 334, 334, 334, 334, 149, 334, 334, 75, 138, - 334, 334, 334, 334, 334, 334, 334, 282, 319, 334, - 334, 214, 217, 286, 262, 244, 307, 334, 334, 334, - 149, 334, 334, 82, 138, 334, 244, 334, 334, 334, - 334, 149, 282, 319, 81, 138, 214, 217, 286, 262, - 334, 307, 334, 282, 319, 334, 244, 214, 217, 286, - 262, 149, 307, 334, 77, 138, 334, 244, 334, 334, - 334, 334, 149, 282, 319, 78, 138, 214, 217, 286, - 262, 334, 307, 334, 282, 319, 334, 334, 214, 217, - 286, 262, 334, 307, 334, 334, 244, 334, 334, 334, - 334, 127, 334, 334, 56, 138, 334, 334, 334, 334, - 334, 334, 334, 282, 319, 334, 334, 214, 217, 286, - 262, 244, 307, 334, 334, 334, 149, 334, 334, 52, - 138, 334, 244, 334, 334, 334, 334, 149, 282, 319, - 65, 138, 214, 217, 286, 262, 334, 307, 334, 282, - 319, 334, 244, 211, 217, 286, 262, 111, 307, 334, - 73, 138, 334, 244, 334, 334, 334, 334, 149, 282, - 319, 74, 138, 214, 217, 286, 262, 334, 307, 334, - 282, 319, 334, 334, 214, 217, 286, 262, 334, 307, - 334, 334, 244, 334, 334, 334, 334, 149, 334, 334, - 55, 138, 334, 334, 334, 334, 334, 334, 334, 282, - 319, 334, 334, 214, 217, 286, 262, 244, 307, 334, - 334, 334, 110, 334, 334, 69, 138, 244, 334, 334, - 334, 334, 152, 334, 282, 319, 138, 244, 214, 217, - 286, 262, 146, 307, 334, 345, 138, 334, 215, 217, - 286, 262, 334, 307, 334, 334, 334, 244, 215, 217, - 286, 262, 145, 307, 244, 334, 138, 334, 334, 154, - 334, 334, 334, 138, 334, 334, 334, 334, 215, 217, - 286, 262, 334, 307, 334, 215, 217, 286, 262, 244, - 307, 334, 334, 334, 153, 334, 334, 244, 138, 334, - 334, 334, 148, 334, 334, 334, 138, 334, 334, 334, - 215, 217, 286, 262, 334, 307, 102, 173, 215, 217, - 286, 262, 334, 307, 334, 334, 330, 334, 334, 22, - 19, 334, 191, 188, 334, 334, 334, 191, 177, 191, - 180, 334, 330, 334, 207, 22, 19, 330, 334, 330, - 22, 19, 22, 19, 334, 334, 334, 334, 334, 334, - 207, 334, 334, 334, 334, 207, 334, 207, + 218, 147, 326, 198, 325, 308, 304, 301, 303, 309, + 310, 316, 201, 329, 340, 9, 288, 34, 348, 264, + 5, 108, 201, 318, 311, 43, 123, 35, 126, 175, + 251, 28, 250, 193, 127, 327, 49, 51, 46, 44, + 31, 38, 346, 345, 39, 42, 342, 343, 17, 12, + 563, 91, 268, 247, 305, 246, 306, 247, 305, 246, + 244, 206, 286, 344, 279, 350, 351, 357, 358, 359, + 356, 355, 352, 353, 354, 218, 188, 147, 328, 23, + 106, 299, 43, 336, 23, 313, 299, 13, 28, 230, + 8, 43, 24, 249, 348, 5, 108, 28, 37, 161, + 43, 123, 218, 207, 425, 251, 28, 250, 313, 195, + 325, 49, 51, 46, 44, 31, 38, 346, 345, 39, + 42, 342, 343, 17, 12, 218, 207, 425, 248, 23, + 240, 299, 29, 425, 238, 252, 227, 272, 344, 279, + 350, 351, 357, 358, 359, 356, 355, 352, 353, 354, + 43, 202, 323, 25, 338, 218, 28, 419, 122, 20, + 158, 49, 51, 46, 44, 31, 38, 346, 345, 39, + 42, 342, 343, 17, 12, 218, 218, 263, 425, 206, + 43, 477, 34, 23, 262, 299, 28, 3, 344, 279, + 350, 351, 357, 358, 359, 356, 355, 352, 353, 354, + 139, 425, 232, 218, 477, 422, 23, 425, 299, 278, + 121, 49, 51, 46, 44, 31, 38, 346, 345, 39, + 42, 342, 343, 17, 12, 218, 162, 269, 422, 254, + 218, 40, 140, 295, 422, 313, 127, 231, 344, 279, + 350, 351, 357, 358, 359, 356, 355, 352, 353, 354, + 294, 15, 240, 23, 218, 299, 13, 21, 477, 41, + 158, 49, 51, 46, 44, 31, 38, 346, 345, 39, + 42, 342, 343, 17, 12, 218, 99, 160, 218, 43, + 382, 477, 106, 477, 314, 28, 313, 315, 344, 279, + 350, 351, 357, 358, 359, 356, 355, 352, 353, 354, + 139, 196, 218, 43, 206, 296, 477, 190, 325, 28, + 257, 49, 51, 46, 44, 31, 38, 346, 345, 39, + 42, 342, 343, 17, 12, 218, 214, 203, 4, 206, + 478, 34, 10, 360, 218, 36, 387, 32, 344, 279, + 350, 351, 357, 358, 359, 356, 355, 352, 353, 354, + 181, 164, 489, 478, 218, 45, 6, 332, 489, 313, + 313, 49, 51, 46, 44, 31, 38, 346, 345, 39, + 42, 342, 343, 17, 12, 218, 235, 207, 207, 23, + 189, 299, 135, 317, 23, 117, 233, 194, 344, 279, + 350, 351, 357, 358, 359, 356, 355, 352, 353, 354, + 137, 298, 131, 23, 23, 261, 242, 23, 206, 225, + 275, 49, 51, 46, 44, 31, 38, 346, 345, 39, + 42, 342, 343, 17, 12, 218, 173, 27, 300, 234, + 260, 297, 116, 28, 136, 111, 97, 229, 344, 279, + 350, 351, 357, 358, 359, 356, 355, 352, 353, 354, + 298, 298, 298, 320, 238, 243, 238, 271, 207, 166, + 145, 49, 51, 46, 44, 31, 38, 346, 345, 39, + 42, 342, 343, 17, 12, 218, 330, 172, 168, 197, + 300, 319, 192, 107, 16, 133, 313, 274, 344, 279, + 350, 351, 357, 358, 359, 356, 355, 352, 353, 354, + 103, 167, 6, 270, 159, 128, 280, 287, 199, 98, + 313, 49, 51, 46, 44, 31, 38, 346, 345, 39, + 42, 342, 343, 17, 12, 298, 293, 171, 206, 7, + 154, 235, 241, 145, 290, 158, 313, 281, 344, 279, + 350, 351, 357, 358, 359, 356, 355, 352, 353, 354, + 218, 331, 165, 200, 258, 101, 169, 20, 266, 152, + 144, 313, 68, 115, 243, 313, 11, 33, 11, 33, + 191, 283, 341, 214, 300, 213, 217, 282, 292, 10, + 348, 206, 228, 206, 124, 120, 49, 51, 46, 44, + 31, 38, 346, 345, 39, 42, 342, 343, 17, 12, + 218, 105, 182, 170, 289, 205, 22, 267, 307, 186, + 302, 313, 313, 344, 279, 350, 351, 357, 358, 359, + 356, 355, 352, 353, 354, 300, 256, 339, 183, 206, + 158, 95, 312, 300, 296, 102, 49, 51, 46, 44, + 31, 38, 346, 345, 39, 42, 342, 343, 17, 12, + 218, 298, 204, 184, 277, 286, 176, 185, 273, 45, + 100, 157, 313, 344, 279, 350, 351, 357, 358, 359, + 356, 355, 352, 353, 354, 300, 298, 298, 104, 245, + 14, 187, 326, 326, 326, 326, 49, 51, 46, 44, + 31, 38, 346, 345, 39, 42, 342, 343, 17, 12, + 218, 18, 326, 163, 349, 326, 326, 326, 326, 326, + 326, 130, 313, 344, 279, 350, 351, 357, 358, 359, + 356, 355, 352, 353, 354, 300, 300, 326, 326, 326, + 326, 326, 326, 326, 326, 158, 49, 51, 46, 44, + 31, 38, 346, 345, 39, 42, 342, 343, 17, 12, + 218, 326, 326, 326, 326, 326, 326, 326, 326, 326, + 113, 118, 326, 344, 279, 350, 351, 357, 358, 359, + 356, 355, 352, 353, 354, 139, 298, 298, 326, 326, + 326, 326, 326, 326, 326, 326, 49, 51, 46, 44, + 31, 38, 346, 345, 39, 42, 342, 343, 17, 12, + 326, 229, 326, 326, 326, 326, 326, 326, 326, 326, + 326, 326, 326, 344, 279, 350, 351, 357, 358, 359, + 356, 355, 352, 353, 354, 49, 51, 46, 44, 31, + 38, 346, 345, 39, 42, 342, 343, 17, 12, 109, + 335, 326, 326, 326, 326, 326, 326, 326, 326, 326, + 326, 326, 344, 279, 350, 351, 357, 358, 359, 356, + 355, 352, 353, 354, 326, 326, 241, 9, 141, 92, + 326, 326, 5, 108, 326, 326, 326, 23, 123, 299, + 336, 30, 251, 321, 250, 326, 236, 8, 26, 43, + 326, 48, 5, 108, 326, 28, 326, 326, 123, 23, + 326, 299, 251, 285, 250, 285, 47, 50, 284, 239, + 291, 43, 219, 255, 106, 1, 479, 28, 479, 326, + 218, 9, 134, 212, 326, 326, 5, 108, 326, 96, + 326, 326, 123, 326, 93, 326, 251, 237, 250, 479, + 236, 479, 26, 200, 180, 48, 326, 326, 326, 324, + 25, 338, 326, 313, 326, 326, 11, 33, 326, 326, + 47, 50, 284, 239, 291, 326, 219, 326, 106, 1, + 265, 206, 326, 326, 326, 9, 134, 221, 326, 326, + 5, 108, 258, 96, 326, 326, 123, 146, 326, 326, + 251, 138, 250, 326, 236, 326, 26, 200, 178, 48, + 347, 326, 326, 215, 217, 282, 292, 313, 348, 326, + 11, 33, 326, 326, 47, 50, 284, 239, 291, 326, + 219, 326, 106, 1, 326, 206, 326, 326, 326, 9, + 127, 221, 326, 258, 5, 108, 326, 96, 156, 326, + 123, 326, 138, 326, 251, 326, 250, 326, 236, 326, + 19, 276, 326, 48, 215, 217, 282, 292, 326, 348, + 326, 326, 326, 326, 326, 200, 174, 326, 47, 50, + 284, 239, 291, 326, 219, 313, 106, 1, 11, 33, + 326, 326, 326, 9, 134, 209, 326, 258, 5, 108, + 326, 96, 155, 206, 123, 326, 138, 326, 251, 326, + 250, 326, 226, 326, 26, 200, 177, 48, 215, 217, + 282, 292, 326, 348, 326, 313, 326, 326, 11, 33, + 326, 326, 47, 50, 284, 239, 291, 326, 219, 326, + 106, 1, 326, 206, 326, 326, 326, 9, 134, 216, + 326, 258, 5, 108, 326, 96, 148, 326, 123, 326, + 138, 326, 251, 326, 250, 326, 236, 326, 26, 200, + 179, 48, 215, 217, 282, 292, 326, 348, 326, 313, + 326, 326, 11, 33, 326, 326, 47, 50, 284, 239, + 291, 326, 219, 326, 106, 1, 326, 206, 326, 326, + 326, 9, 132, 221, 326, 258, 5, 108, 326, 96, + 151, 326, 123, 326, 138, 326, 251, 326, 250, 326, + 236, 326, 2, 326, 326, 48, 215, 217, 282, 292, + 326, 348, 326, 326, 326, 326, 326, 326, 326, 326, + 47, 50, 284, 239, 291, 326, 219, 326, 106, 1, + 326, 326, 326, 326, 326, 9, 129, 221, 326, 258, + 5, 108, 326, 96, 150, 326, 123, 326, 138, 326, + 251, 326, 250, 326, 236, 326, 26, 326, 326, 48, + 215, 217, 282, 292, 326, 348, 326, 326, 326, 326, + 326, 326, 326, 326, 47, 50, 284, 239, 291, 326, + 219, 326, 106, 1, 326, 326, 326, 326, 326, 9, + 134, 208, 326, 258, 5, 108, 326, 96, 153, 326, + 123, 326, 138, 326, 251, 326, 250, 326, 236, 326, + 26, 326, 326, 48, 215, 217, 282, 292, 326, 348, + 326, 326, 326, 326, 326, 326, 326, 326, 47, 50, + 284, 239, 291, 326, 219, 326, 106, 1, 326, 326, + 326, 326, 326, 9, 127, 221, 326, 258, 5, 108, + 326, 96, 149, 326, 123, 326, 138, 326, 251, 326, + 250, 326, 236, 326, 19, 326, 423, 48, 215, 217, + 282, 292, 326, 348, 326, 322, 326, 326, 326, 326, + 259, 326, 47, 50, 284, 239, 291, 326, 219, 423, + 106, 326, 258, 326, 285, 423, 326, 125, 477, 326, + 73, 138, 218, 326, 392, 96, 326, 479, 326, 283, + 341, 326, 326, 213, 217, 282, 292, 467, 348, 253, + 326, 477, 326, 93, 326, 326, 326, 43, 224, 334, + 479, 326, 326, 28, 326, 467, 477, 467, 467, 326, + 467, 467, 326, 326, 326, 326, 467, 326, 467, 477, + 467, 326, 326, 326, 326, 326, 326, 326, 326, 477, + 326, 326, 326, 326, 326, 326, 258, 326, 326, 326, + 326, 152, 477, 326, 71, 138, 326, 467, 326, 326, + 326, 326, 326, 283, 341, 326, 326, 213, 217, 282, + 292, 467, 348, 258, 326, 326, 326, 326, 125, 220, + 326, 73, 138, 326, 326, 326, 326, 285, 326, 326, + 283, 341, 326, 326, 213, 217, 282, 292, 326, 348, + 479, 326, 326, 326, 258, 326, 326, 326, 326, 152, + 333, 326, 71, 138, 326, 326, 93, 326, 326, 326, + 326, 283, 341, 479, 326, 213, 217, 282, 292, 326, + 348, 326, 326, 326, 326, 258, 326, 223, 326, 326, + 152, 326, 337, 71, 138, 326, 326, 326, 326, 326, + 326, 326, 283, 341, 326, 258, 213, 217, 282, 292, + 152, 348, 326, 57, 115, 143, 258, 326, 222, 326, + 326, 152, 283, 341, 87, 138, 213, 217, 282, 292, + 326, 348, 326, 283, 341, 326, 326, 213, 217, 282, + 292, 326, 348, 258, 326, 326, 326, 326, 152, 326, + 326, 75, 138, 326, 326, 326, 326, 326, 326, 326, + 283, 341, 326, 326, 213, 217, 282, 292, 326, 348, + 326, 258, 326, 326, 326, 326, 152, 326, 326, 67, + 138, 326, 326, 326, 326, 326, 326, 326, 283, 341, + 326, 258, 213, 217, 282, 292, 152, 348, 326, 69, + 138, 326, 258, 326, 326, 326, 326, 152, 283, 341, + 84, 138, 213, 217, 282, 292, 326, 348, 326, 283, + 341, 326, 258, 213, 217, 282, 292, 152, 348, 326, + 72, 138, 326, 326, 326, 326, 326, 326, 326, 283, + 341, 326, 326, 213, 217, 282, 292, 326, 348, 258, + 326, 326, 326, 326, 152, 326, 326, 88, 138, 326, + 258, 326, 326, 326, 326, 152, 283, 341, 86, 138, + 213, 217, 282, 292, 326, 348, 326, 283, 341, 326, + 258, 213, 217, 282, 292, 94, 348, 326, 52, 119, + 326, 258, 326, 326, 326, 326, 152, 283, 341, 68, + 138, 210, 217, 282, 292, 326, 348, 326, 283, 341, + 326, 258, 213, 217, 282, 292, 152, 348, 326, 66, + 138, 326, 326, 326, 326, 326, 326, 326, 283, 341, + 326, 326, 213, 217, 282, 292, 326, 348, 258, 326, + 326, 326, 326, 94, 326, 326, 55, 119, 326, 258, + 326, 326, 326, 326, 152, 283, 341, 60, 138, 213, + 217, 282, 292, 326, 348, 326, 283, 341, 326, 258, + 213, 217, 282, 292, 152, 348, 326, 53, 138, 326, + 258, 326, 326, 326, 326, 152, 283, 341, 89, 138, + 213, 217, 282, 292, 326, 348, 326, 283, 341, 326, + 258, 213, 217, 282, 292, 152, 348, 326, 90, 138, + 326, 326, 326, 326, 326, 326, 326, 283, 341, 326, + 326, 213, 217, 282, 292, 326, 348, 258, 326, 326, + 326, 326, 152, 326, 326, 59, 138, 326, 258, 326, + 326, 326, 326, 142, 283, 341, 56, 138, 211, 217, + 282, 292, 326, 348, 326, 283, 341, 326, 258, 213, + 217, 282, 292, 152, 348, 326, 70, 138, 326, 258, + 326, 326, 326, 326, 152, 283, 341, 65, 138, 213, + 217, 282, 292, 326, 348, 326, 283, 341, 326, 258, + 213, 217, 282, 292, 152, 348, 326, 58, 138, 326, + 326, 326, 326, 326, 326, 326, 283, 341, 326, 326, + 213, 217, 282, 292, 326, 348, 258, 326, 326, 326, + 326, 152, 326, 326, 81, 138, 326, 258, 326, 326, + 326, 326, 114, 283, 341, 80, 138, 213, 217, 282, + 292, 326, 348, 326, 283, 341, 326, 258, 213, 217, + 282, 292, 112, 348, 326, 74, 138, 326, 258, 326, + 326, 326, 326, 152, 283, 341, 85, 138, 213, 217, + 282, 292, 326, 348, 326, 283, 341, 326, 258, 213, + 217, 282, 292, 152, 348, 326, 79, 138, 326, 326, + 326, 326, 326, 326, 326, 283, 341, 326, 326, 213, + 217, 282, 292, 326, 348, 258, 326, 326, 326, 326, + 152, 326, 326, 77, 138, 326, 258, 326, 326, 326, + 326, 152, 283, 341, 62, 138, 213, 217, 282, 292, + 326, 348, 326, 283, 341, 326, 258, 213, 217, 282, + 292, 152, 348, 326, 83, 138, 326, 258, 326, 326, + 326, 326, 152, 283, 341, 76, 138, 213, 217, 282, + 292, 326, 348, 326, 283, 341, 326, 258, 213, 217, + 282, 292, 152, 348, 326, 64, 138, 326, 326, 326, + 326, 326, 326, 326, 283, 341, 326, 326, 213, 217, + 282, 292, 326, 348, 258, 326, 326, 326, 326, 152, + 326, 326, 63, 138, 326, 258, 326, 326, 326, 326, + 110, 283, 341, 61, 138, 213, 217, 282, 292, 326, + 348, 326, 283, 341, 326, 258, 213, 217, 282, 292, + 152, 348, 326, 82, 138, 326, 258, 326, 326, 326, + 326, 152, 283, 341, 54, 138, 213, 217, 282, 292, + 326, 348, 326, 283, 341, 326, 258, 213, 217, 282, + 292, 152, 348, 326, 78, 138, 326, 326, 326, 326, + 326, 326, 326, 283, 341, 326, 326, 213, 217, 282, + 292, 326, 348, ); static public $yy_lookahead = array( - 1, 4, 5, 6, 7, 8, 9, 10, 11, 12, - 13, 14, 15, 117, 118, 18, 86, 87, 88, 89, - 23, 24, 21, 22, 21, 22, 29, 28, 20, 30, - 33, 18, 35, 20, 21, 36, 18, 19, 20, 26, + 1, 92, 3, 113, 114, 4, 5, 6, 7, 8, + 9, 10, 11, 104, 105, 14, 16, 34, 109, 36, + 19, 20, 11, 12, 13, 26, 25, 14, 15, 16, + 29, 32, 31, 89, 15, 16, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, - 51, 52, 53, 54, 1, 37, 3, 84, 85, 86, - 87, 88, 89, 62, 1, 62, 25, 68, 69, 70, - 71, 72, 73, 74, 75, 76, 77, 78, 79, 38, - 1, 32, 3, 30, 1, 1, 3, 3, 39, 36, - 2, 20, 19, 20, 41, 42, 43, 44, 45, 46, - 47, 48, 49, 50, 51, 52, 53, 54, 1, 30, - 31, 62, 18, 30, 30, 36, 15, 16, 17, 36, - 36, 68, 69, 70, 71, 72, 73, 74, 75, 76, - 77, 78, 79, 39, 26, 64, 63, 30, 65, 18, - 19, 20, 38, 36, 40, 39, 118, 39, 41, 42, - 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, - 53, 54, 1, 55, 1, 3, 60, 38, 62, 18, - 62, 20, 21, 67, 22, 68, 69, 70, 71, 72, - 73, 74, 75, 76, 77, 78, 79, 87, 26, 81, - 93, 94, 1, 30, 3, 18, 67, 20, 21, 36, - 103, 39, 41, 42, 43, 44, 45, 46, 47, 48, - 49, 50, 51, 52, 53, 54, 1, 55, 121, 94, - 115, 30, 117, 118, 62, 125, 126, 36, 103, 68, - 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, - 79, 64, 81, 93, 94, 1, 121, 3, 2, 18, - 93, 20, 18, 103, 20, 40, 41, 42, 43, 44, - 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, - 1, 121, 3, 102, 30, 96, 97, 98, 121, 122, - 36, 19, 20, 68, 69, 70, 71, 72, 73, 74, - 75, 76, 77, 78, 79, 64, 93, 94, 64, 94, - 122, 60, 93, 30, 93, 20, 103, 66, 103, 36, + 80, 81, 82, 83, 84, 85, 82, 83, 84, 85, + 60, 117, 118, 64, 65, 66, 67, 68, 69, 70, + 71, 72, 73, 74, 75, 1, 90, 92, 59, 14, + 61, 16, 26, 7, 14, 99, 16, 17, 32, 104, + 14, 26, 2, 28, 109, 19, 20, 32, 24, 90, + 26, 25, 1, 117, 3, 29, 32, 31, 99, 113, + 114, 37, 38, 39, 40, 41, 42, 43, 44, 45, + 46, 47, 48, 49, 50, 1, 117, 26, 27, 14, + 60, 16, 17, 32, 92, 93, 94, 22, 64, 65, + 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, + 26, 89, 76, 77, 78, 1, 32, 3, 15, 17, + 18, 37, 38, 39, 40, 41, 42, 43, 44, 45, + 46, 47, 48, 49, 50, 1, 1, 3, 3, 117, + 26, 35, 34, 14, 36, 16, 32, 35, 64, 65, + 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, + 58, 26, 56, 1, 58, 3, 14, 32, 16, 63, + 58, 37, 38, 39, 40, 41, 42, 43, 44, 45, + 46, 47, 48, 49, 50, 1, 90, 3, 26, 60, + 1, 14, 15, 16, 32, 99, 15, 16, 64, 65, + 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, + 33, 28, 60, 14, 1, 16, 17, 28, 35, 17, + 18, 37, 38, 39, 40, 41, 42, 43, 44, 45, + 46, 47, 48, 49, 50, 1, 89, 90, 1, 26, + 3, 58, 61, 35, 84, 32, 99, 87, 64, 65, + 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, + 58, 89, 1, 26, 117, 111, 58, 113, 114, 32, + 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, + 46, 47, 48, 49, 50, 1, 56, 3, 34, 117, + 35, 34, 62, 36, 1, 14, 3, 17, 64, 65, + 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, + 90, 90, 56, 58, 1, 2, 35, 63, 62, 99, + 99, 37, 38, 39, 40, 41, 42, 43, 44, 45, + 46, 47, 48, 49, 50, 1, 56, 117, 117, 14, + 89, 16, 15, 12, 14, 96, 16, 21, 64, 65, + 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, + 34, 112, 35, 14, 14, 16, 16, 14, 117, 16, + 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, + 46, 47, 48, 49, 50, 1, 110, 26, 112, 15, + 16, 16, 86, 32, 96, 96, 96, 83, 64, 65, + 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, + 112, 112, 112, 108, 92, 93, 92, 93, 117, 110, + 115, 37, 38, 39, 40, 41, 42, 43, 44, 45, + 46, 47, 48, 49, 50, 1, 122, 90, 110, 98, + 112, 3, 98, 98, 52, 15, 99, 63, 64, 65, + 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, + 89, 90, 35, 16, 110, 16, 33, 16, 16, 96, + 99, 37, 38, 39, 40, 41, 42, 43, 44, 45, + 46, 47, 48, 49, 50, 112, 108, 90, 117, 35, + 16, 56, 2, 115, 16, 18, 99, 33, 64, 65, + 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, + 1, 77, 90, 89, 83, 89, 90, 17, 36, 88, + 15, 99, 91, 92, 93, 99, 102, 103, 102, 103, + 21, 100, 101, 56, 112, 104, 105, 106, 107, 62, + 109, 117, 16, 117, 15, 15, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, - 51, 52, 53, 54, 121, 1, 121, 65, 60, 39, - 121, 39, 121, 39, 66, 117, 118, 68, 69, 70, - 71, 72, 73, 74, 75, 76, 77, 78, 79, 25, - 21, 26, 62, 38, 62, 40, 62, 38, 1, 40, - 3, 1, 2, 19, 39, 41, 42, 43, 44, 45, - 46, 47, 48, 49, 50, 51, 52, 53, 54, 1, - 55, 3, 94, 39, 18, 88, 20, 62, 91, 60, - 2, 103, 68, 69, 70, 71, 72, 73, 74, 75, - 76, 77, 78, 79, 116, 26, 1, 94, 94, 21, - 18, 18, 20, 20, 19, 20, 103, 103, 39, 41, - 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, - 52, 53, 54, 1, 121, 121, 94, 32, 30, 102, - 114, 62, 116, 100, 36, 103, 68, 69, 70, 71, - 72, 73, 74, 75, 76, 77, 78, 79, 116, 116, - 112, 94, 18, 93, 20, 114, 18, 119, 20, 1, - 103, 37, 100, 41, 42, 43, 44, 45, 46, 47, - 48, 49, 50, 51, 52, 53, 54, 1, 116, 3, - 22, 121, 96, 97, 114, 96, 97, 100, 100, 67, - 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, - 78, 79, 87, 116, 116, 94, 112, 114, 20, 116, - 60, 102, 37, 119, 103, 67, 100, 41, 42, 43, - 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, - 54, 1, 116, 20, 94, 3, 3, 27, 19, 19, - 19, 126, 100, 103, 68, 69, 70, 71, 72, 73, - 74, 75, 76, 77, 78, 79, 116, 94, 116, 20, - 20, 31, 65, 19, 56, 20, 103, 21, 11, 40, - 100, 41, 42, 43, 44, 45, 46, 47, 48, 49, - 50, 51, 52, 53, 54, 1, 116, 20, 94, 20, - 39, 20, 3, 2, 39, 19, 101, 103, 68, 69, - 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, - 116, 116, 65, 20, 103, 115, 114, 121, 114, 116, - 119, 99, 30, 99, 40, 41, 42, 43, 44, 45, - 46, 47, 48, 49, 50, 51, 52, 53, 54, 1, - 114, 3, 90, 16, 127, 114, 127, 127, 100, 100, - 100, 127, 68, 69, 70, 71, 72, 73, 74, 75, - 76, 77, 78, 79, 116, 116, 116, 127, 127, 127, - 127, 127, 127, 127, 127, 127, 127, 127, 22, 41, - 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, - 52, 53, 54, 1, 2, 127, 127, 127, 127, 127, - 127, 127, 127, 127, 127, 127, 68, 69, 70, 71, - 72, 73, 74, 75, 76, 77, 78, 79, 62, 127, - 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, - 127, 127, 127, 41, 42, 43, 44, 45, 46, 47, - 48, 49, 50, 51, 52, 53, 54, 1, 127, 127, - 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, - 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, - 78, 79, 127, 127, 127, 127, 127, 127, 127, 127, - 127, 127, 127, 127, 127, 127, 127, 41, 42, 43, - 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, - 54, 127, 127, 127, 127, 127, 127, 127, 127, 127, - 127, 127, 127, 127, 68, 69, 70, 71, 72, 73, - 74, 75, 76, 77, 78, 79, 127, 127, 127, 41, - 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, - 52, 53, 54, 127, 127, 127, 127, 127, 127, 127, - 127, 127, 127, 127, 127, 127, 68, 69, 70, 71, - 72, 73, 74, 75, 76, 77, 78, 79, 127, 127, - 127, 11, 127, 127, 127, 18, 19, 20, 18, 127, - 23, 24, 87, 23, 24, 96, 29, 92, 127, 29, - 33, 96, 35, 33, 37, 35, 39, 108, 109, 42, - 105, 127, 113, 108, 109, 110, 111, 127, 113, 18, - 127, 20, 127, 96, 57, 58, 59, 60, 61, 127, - 63, 30, 65, 66, 67, 108, 22, 36, 127, 127, - 113, 127, 93, 18, 19, 20, 127, 80, 23, 24, - 80, 81, 82, 127, 29, 106, 107, 127, 33, 34, - 35, 127, 37, 127, 39, 93, 94, 42, 127, 127, - 121, 127, 127, 127, 60, 103, 127, 127, 106, 107, - 66, 127, 57, 58, 59, 60, 61, 127, 63, 127, - 65, 66, 127, 121, 127, 127, 127, 11, 127, 127, - 127, 18, 19, 20, 18, 80, 23, 24, 127, 23, - 24, 127, 29, 127, 127, 29, 33, 127, 35, 33, - 37, 35, 39, 127, 127, 42, 127, 127, 127, 127, - 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, - 57, 58, 59, 60, 61, 127, 63, 127, 65, 66, - 1, 127, 3, 127, 3, 127, 127, 127, 127, 18, - 19, 20, 127, 80, 23, 24, 80, 81, 82, 127, - 29, 22, 21, 127, 33, 127, 35, 127, 37, 30, - 39, 30, 127, 42, 127, 36, 127, 36, 39, 127, - 39, 127, 127, 127, 127, 127, 127, 127, 57, 58, - 59, 60, 61, 87, 63, 127, 65, 66, 92, 127, - 127, 62, 96, 62, 127, 127, 127, 18, 19, 20, - 127, 80, 23, 24, 108, 109, 110, 111, 29, 113, - 127, 18, 33, 20, 35, 127, 37, 127, 39, 127, - 127, 42, 127, 30, 127, 32, 127, 127, 127, 36, - 127, 127, 127, 127, 127, 127, 57, 58, 59, 60, - 61, 127, 63, 127, 65, 66, 127, 127, 127, 127, - 127, 127, 127, 127, 127, 18, 19, 20, 127, 80, - 23, 24, 127, 127, 127, 127, 29, 127, 127, 127, - 33, 127, 35, 127, 37, 127, 39, 93, 94, 42, - 127, 127, 127, 127, 127, 127, 127, 103, 127, 127, - 106, 107, 127, 127, 57, 58, 59, 60, 61, 127, - 63, 127, 65, 66, 127, 121, 127, 127, 127, 18, - 127, 20, 127, 18, 19, 20, 127, 80, 23, 24, - 127, 30, 127, 32, 29, 127, 127, 36, 33, 127, - 35, 127, 37, 127, 39, 127, 127, 42, 127, 127, - 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, - 127, 127, 57, 58, 59, 60, 61, 127, 63, 127, - 65, 66, 127, 127, 127, 127, 127, 127, 127, 127, - 127, 18, 19, 20, 127, 80, 23, 24, 127, 127, - 127, 127, 29, 127, 127, 127, 33, 127, 35, 127, - 37, 127, 39, 127, 127, 42, 127, 127, 127, 127, - 127, 127, 127, 127, 127, 127, 127, 127, 127, 127, - 57, 58, 59, 60, 61, 127, 63, 127, 65, 66, - 127, 127, 127, 127, 127, 127, 127, 127, 127, 18, - 19, 20, 127, 80, 23, 24, 127, 127, 127, 127, - 29, 127, 127, 127, 33, 127, 35, 127, 37, 127, - 39, 127, 127, 42, 127, 127, 127, 127, 127, 127, - 127, 127, 127, 127, 127, 127, 127, 127, 57, 58, - 59, 60, 61, 127, 63, 127, 65, 66, 127, 127, - 127, 127, 127, 127, 127, 127, 127, 18, 19, 20, - 127, 80, 23, 24, 127, 127, 127, 127, 29, 127, - 127, 127, 33, 127, 35, 127, 37, 127, 39, 127, - 127, 42, 127, 127, 127, 3, 127, 127, 127, 127, - 127, 127, 127, 127, 127, 127, 57, 58, 59, 60, - 61, 127, 63, 127, 65, 127, 87, 25, 127, 27, - 28, 92, 30, 31, 95, 96, 127, 127, 36, 80, - 38, 39, 40, 104, 105, 127, 127, 108, 109, 110, - 111, 127, 113, 127, 127, 127, 127, 127, 127, 127, - 127, 127, 123, 124, 62, 127, 127, 87, 127, 67, - 127, 127, 92, 127, 127, 95, 96, 127, 127, 127, - 127, 127, 127, 81, 104, 105, 127, 127, 108, 109, - 110, 111, 127, 113, 127, 127, 127, 127, 127, 127, - 120, 127, 127, 127, 87, 127, 127, 127, 127, 92, - 127, 127, 95, 96, 127, 127, 127, 127, 127, 127, - 127, 104, 105, 127, 127, 108, 109, 110, 111, 127, - 113, 87, 127, 127, 127, 127, 92, 120, 127, 95, - 96, 127, 127, 127, 127, 127, 127, 127, 104, 105, - 127, 87, 108, 109, 110, 111, 92, 113, 127, 95, - 96, 97, 127, 127, 120, 127, 127, 127, 104, 105, - 127, 87, 108, 109, 110, 111, 92, 113, 127, 95, - 96, 97, 127, 127, 127, 127, 127, 127, 104, 105, - 127, 127, 108, 109, 110, 111, 127, 113, 127, 127, - 87, 127, 127, 127, 127, 92, 127, 127, 95, 96, - 127, 127, 127, 127, 127, 127, 127, 104, 105, 127, - 127, 108, 109, 110, 111, 87, 113, 127, 127, 127, - 92, 127, 127, 95, 96, 127, 87, 124, 127, 127, - 127, 92, 104, 105, 95, 96, 108, 109, 110, 111, - 127, 113, 127, 104, 105, 127, 87, 108, 109, 110, - 111, 92, 113, 127, 95, 96, 127, 87, 127, 127, - 127, 127, 92, 104, 105, 95, 96, 108, 109, 110, - 111, 127, 113, 127, 104, 105, 127, 127, 108, 109, - 110, 111, 127, 113, 127, 127, 87, 127, 127, 127, - 127, 92, 127, 127, 95, 96, 127, 127, 127, 127, - 127, 127, 127, 104, 105, 127, 127, 108, 109, 110, - 111, 87, 113, 127, 127, 127, 92, 127, 127, 95, - 96, 127, 87, 127, 127, 127, 127, 92, 104, 105, - 95, 96, 108, 109, 110, 111, 127, 113, 127, 104, - 105, 127, 87, 108, 109, 110, 111, 92, 113, 127, - 95, 96, 127, 87, 127, 127, 127, 127, 92, 104, - 105, 95, 96, 108, 109, 110, 111, 127, 113, 127, - 104, 105, 127, 127, 108, 109, 110, 111, 127, 113, - 127, 127, 87, 127, 127, 127, 127, 92, 127, 127, - 95, 96, 127, 127, 127, 127, 127, 127, 127, 104, - 105, 127, 127, 108, 109, 110, 111, 87, 113, 127, - 127, 127, 92, 127, 127, 95, 96, 127, 87, 127, - 127, 127, 127, 92, 104, 105, 95, 96, 108, 109, - 110, 111, 127, 113, 127, 104, 105, 127, 87, 108, - 109, 110, 111, 92, 113, 127, 95, 96, 127, 87, - 127, 127, 127, 127, 92, 104, 105, 95, 96, 108, - 109, 110, 111, 127, 113, 127, 104, 105, 127, 127, - 108, 109, 110, 111, 127, 113, 127, 127, 87, 127, - 127, 127, 127, 92, 127, 127, 95, 96, 127, 127, - 127, 127, 127, 127, 127, 104, 105, 127, 127, 108, - 109, 110, 111, 87, 113, 127, 127, 127, 92, 127, - 127, 95, 96, 127, 87, 127, 127, 127, 127, 92, - 104, 105, 95, 96, 108, 109, 110, 111, 127, 113, - 127, 104, 105, 127, 87, 108, 109, 110, 111, 92, - 113, 127, 95, 96, 127, 87, 127, 127, 127, 127, - 92, 104, 105, 95, 96, 108, 109, 110, 111, 127, - 113, 127, 104, 105, 127, 127, 108, 109, 110, 111, - 127, 113, 127, 127, 87, 127, 127, 127, 127, 92, - 127, 127, 95, 96, 127, 127, 127, 127, 127, 127, - 127, 104, 105, 127, 127, 108, 109, 110, 111, 87, - 113, 127, 127, 127, 92, 127, 127, 95, 96, 127, - 87, 127, 127, 127, 127, 92, 104, 105, 95, 96, - 108, 109, 110, 111, 127, 113, 127, 104, 105, 127, - 87, 108, 109, 110, 111, 92, 113, 127, 95, 96, - 127, 87, 127, 127, 127, 127, 92, 104, 105, 95, - 96, 108, 109, 110, 111, 127, 113, 127, 104, 105, - 127, 127, 108, 109, 110, 111, 127, 113, 127, 127, - 87, 127, 127, 127, 127, 92, 127, 127, 95, 96, - 127, 127, 127, 127, 127, 127, 127, 104, 105, 127, - 127, 108, 109, 110, 111, 87, 113, 127, 127, 127, - 92, 127, 127, 95, 96, 127, 87, 127, 127, 127, - 127, 92, 104, 105, 95, 96, 108, 109, 110, 111, - 127, 113, 127, 104, 105, 127, 87, 108, 109, 110, - 111, 92, 113, 127, 95, 96, 127, 87, 127, 127, - 127, 127, 92, 104, 105, 95, 96, 108, 109, 110, - 111, 127, 113, 127, 104, 105, 127, 127, 108, 109, - 110, 111, 127, 113, 127, 127, 87, 127, 127, 127, - 127, 92, 127, 127, 95, 96, 127, 127, 127, 127, - 127, 127, 127, 104, 105, 127, 127, 108, 109, 110, - 111, 87, 113, 127, 127, 127, 92, 127, 127, 95, - 96, 127, 87, 127, 127, 127, 127, 92, 104, 105, - 95, 96, 108, 109, 110, 111, 127, 113, 127, 104, - 105, 127, 87, 108, 109, 110, 111, 92, 113, 127, - 95, 96, 127, 87, 127, 127, 127, 127, 92, 104, - 105, 95, 96, 108, 109, 110, 111, 127, 113, 127, - 104, 105, 127, 127, 108, 109, 110, 111, 127, 113, - 127, 127, 87, 127, 127, 127, 127, 92, 127, 127, - 95, 96, 127, 127, 127, 127, 127, 127, 127, 104, - 105, 127, 127, 108, 109, 110, 111, 87, 113, 127, - 127, 127, 92, 127, 127, 95, 96, 87, 127, 127, - 127, 127, 92, 127, 104, 105, 96, 87, 108, 109, - 110, 111, 92, 113, 127, 105, 96, 127, 108, 109, - 110, 111, 127, 113, 127, 127, 127, 87, 108, 109, - 110, 111, 92, 113, 87, 127, 96, 127, 127, 92, - 127, 127, 127, 96, 127, 127, 127, 127, 108, 109, - 110, 111, 127, 113, 127, 108, 109, 110, 111, 87, - 113, 127, 127, 127, 92, 127, 127, 87, 96, 127, - 127, 127, 92, 127, 127, 127, 96, 127, 127, 127, - 108, 109, 110, 111, 127, 113, 93, 94, 108, 109, - 110, 111, 127, 113, 127, 127, 103, 127, 127, 106, - 107, 127, 93, 94, 127, 127, 127, 93, 94, 93, - 94, 127, 103, 127, 121, 106, 107, 103, 127, 103, - 106, 107, 106, 107, 127, 127, 127, 127, 127, 127, - 121, 127, 127, 127, 127, 121, 127, 121, + 1, 89, 90, 90, 16, 16, 23, 63, 3, 61, + 7, 99, 99, 64, 65, 66, 67, 68, 69, 70, + 71, 72, 73, 74, 75, 112, 27, 3, 61, 117, + 18, 16, 99, 112, 111, 96, 37, 38, 39, 40, + 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, + 1, 112, 3, 90, 26, 118, 110, 110, 115, 2, + 96, 96, 99, 64, 65, 66, 67, 68, 69, 70, + 71, 72, 73, 74, 75, 112, 112, 112, 110, 95, + 95, 110, 123, 123, 123, 123, 37, 38, 39, 40, + 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, + 1, 2, 123, 90, 114, 123, 123, 123, 123, 123, + 123, 97, 99, 64, 65, 66, 67, 68, 69, 70, + 71, 72, 73, 74, 75, 112, 112, 123, 123, 123, + 123, 123, 123, 123, 123, 18, 37, 38, 39, 40, + 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, + 1, 123, 123, 123, 123, 123, 123, 123, 123, 123, + 96, 96, 123, 64, 65, 66, 67, 68, 69, 70, + 71, 72, 73, 74, 75, 58, 112, 112, 123, 123, + 123, 123, 123, 123, 123, 123, 37, 38, 39, 40, + 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, + 123, 83, 123, 123, 123, 123, 123, 123, 123, 123, + 123, 123, 123, 64, 65, 66, 67, 68, 69, 70, + 71, 72, 73, 74, 75, 37, 38, 39, 40, 41, + 42, 43, 44, 45, 46, 47, 48, 49, 50, 121, + 122, 123, 123, 123, 123, 123, 123, 123, 123, 123, + 123, 123, 64, 65, 66, 67, 68, 69, 70, 71, + 72, 73, 74, 75, 123, 123, 2, 14, 15, 16, + 123, 123, 19, 20, 123, 123, 123, 14, 25, 16, + 7, 17, 29, 30, 31, 123, 33, 14, 35, 26, + 123, 38, 19, 20, 123, 32, 123, 123, 25, 14, + 123, 16, 29, 22, 31, 22, 53, 54, 55, 56, + 57, 26, 59, 28, 61, 62, 35, 32, 35, 123, + 1, 14, 15, 16, 123, 123, 19, 20, 123, 76, + 123, 123, 25, 123, 51, 123, 29, 18, 31, 58, + 33, 58, 35, 89, 90, 38, 123, 123, 123, 76, + 77, 78, 123, 99, 123, 123, 102, 103, 123, 123, + 53, 54, 55, 56, 57, 123, 59, 123, 61, 62, + 63, 117, 123, 123, 123, 14, 15, 16, 123, 123, + 19, 20, 83, 76, 123, 123, 25, 88, 123, 123, + 29, 92, 31, 123, 33, 123, 35, 89, 90, 38, + 101, 123, 123, 104, 105, 106, 107, 99, 109, 123, + 102, 103, 123, 123, 53, 54, 55, 56, 57, 123, + 59, 123, 61, 62, 123, 117, 123, 123, 123, 14, + 15, 16, 123, 83, 19, 20, 123, 76, 88, 123, + 25, 123, 92, 123, 29, 123, 31, 123, 33, 123, + 35, 101, 123, 38, 104, 105, 106, 107, 123, 109, + 123, 123, 123, 123, 123, 89, 90, 123, 53, 54, + 55, 56, 57, 123, 59, 99, 61, 62, 102, 103, + 123, 123, 123, 14, 15, 16, 123, 83, 19, 20, + 123, 76, 88, 117, 25, 123, 92, 123, 29, 123, + 31, 123, 33, 123, 35, 89, 90, 38, 104, 105, + 106, 107, 123, 109, 123, 99, 123, 123, 102, 103, + 123, 123, 53, 54, 55, 56, 57, 123, 59, 123, + 61, 62, 123, 117, 123, 123, 123, 14, 15, 16, + 123, 83, 19, 20, 123, 76, 88, 123, 25, 123, + 92, 123, 29, 123, 31, 123, 33, 123, 35, 89, + 90, 38, 104, 105, 106, 107, 123, 109, 123, 99, + 123, 123, 102, 103, 123, 123, 53, 54, 55, 56, + 57, 123, 59, 123, 61, 62, 123, 117, 123, 123, + 123, 14, 15, 16, 123, 83, 19, 20, 123, 76, + 88, 123, 25, 123, 92, 123, 29, 123, 31, 123, + 33, 123, 35, 123, 123, 38, 104, 105, 106, 107, + 123, 109, 123, 123, 123, 123, 123, 123, 123, 123, + 53, 54, 55, 56, 57, 123, 59, 123, 61, 62, + 123, 123, 123, 123, 123, 14, 15, 16, 123, 83, + 19, 20, 123, 76, 88, 123, 25, 123, 92, 123, + 29, 123, 31, 123, 33, 123, 35, 123, 123, 38, + 104, 105, 106, 107, 123, 109, 123, 123, 123, 123, + 123, 123, 123, 123, 53, 54, 55, 56, 57, 123, + 59, 123, 61, 62, 123, 123, 123, 123, 123, 14, + 15, 16, 123, 83, 19, 20, 123, 76, 88, 123, + 25, 123, 92, 123, 29, 123, 31, 123, 33, 123, + 35, 123, 123, 38, 104, 105, 106, 107, 123, 109, + 123, 123, 123, 123, 123, 123, 123, 123, 53, 54, + 55, 56, 57, 123, 59, 123, 61, 62, 123, 123, + 123, 123, 123, 14, 15, 16, 123, 83, 19, 20, + 123, 76, 88, 123, 25, 123, 92, 123, 29, 123, + 31, 123, 33, 123, 35, 123, 3, 38, 104, 105, + 106, 107, 123, 109, 123, 3, 123, 123, 123, 123, + 17, 123, 53, 54, 55, 56, 57, 123, 59, 26, + 61, 123, 83, 123, 22, 32, 123, 88, 35, 123, + 91, 92, 1, 123, 3, 76, 123, 35, 123, 100, + 101, 123, 123, 104, 105, 106, 107, 3, 109, 18, + 123, 58, 123, 51, 123, 123, 123, 26, 119, 120, + 58, 123, 123, 32, 123, 21, 35, 23, 24, 123, + 26, 27, 123, 123, 123, 123, 32, 123, 34, 35, + 36, 123, 123, 123, 123, 123, 123, 123, 123, 58, + 123, 123, 123, 123, 123, 123, 83, 123, 123, 123, + 123, 88, 58, 123, 91, 92, 123, 63, 123, 123, + 123, 123, 123, 100, 101, 123, 123, 104, 105, 106, + 107, 77, 109, 83, 123, 123, 123, 123, 88, 116, + 123, 91, 92, 123, 123, 123, 123, 22, 123, 123, + 100, 101, 123, 123, 104, 105, 106, 107, 123, 109, + 35, 123, 123, 123, 83, 123, 123, 123, 123, 88, + 120, 123, 91, 92, 123, 123, 51, 123, 123, 123, + 123, 100, 101, 58, 123, 104, 105, 106, 107, 123, + 109, 123, 123, 123, 123, 83, 123, 116, 123, 123, + 88, 123, 77, 91, 92, 123, 123, 123, 123, 123, + 123, 123, 100, 101, 123, 83, 104, 105, 106, 107, + 88, 109, 123, 91, 92, 93, 83, 123, 116, 123, + 123, 88, 100, 101, 91, 92, 104, 105, 106, 107, + 123, 109, 123, 100, 101, 123, 123, 104, 105, 106, + 107, 123, 109, 83, 123, 123, 123, 123, 88, 123, + 123, 91, 92, 123, 123, 123, 123, 123, 123, 123, + 100, 101, 123, 123, 104, 105, 106, 107, 123, 109, + 123, 83, 123, 123, 123, 123, 88, 123, 123, 91, + 92, 123, 123, 123, 123, 123, 123, 123, 100, 101, + 123, 83, 104, 105, 106, 107, 88, 109, 123, 91, + 92, 123, 83, 123, 123, 123, 123, 88, 100, 101, + 91, 92, 104, 105, 106, 107, 123, 109, 123, 100, + 101, 123, 83, 104, 105, 106, 107, 88, 109, 123, + 91, 92, 123, 123, 123, 123, 123, 123, 123, 100, + 101, 123, 123, 104, 105, 106, 107, 123, 109, 83, + 123, 123, 123, 123, 88, 123, 123, 91, 92, 123, + 83, 123, 123, 123, 123, 88, 100, 101, 91, 92, + 104, 105, 106, 107, 123, 109, 123, 100, 101, 123, + 83, 104, 105, 106, 107, 88, 109, 123, 91, 92, + 123, 83, 123, 123, 123, 123, 88, 100, 101, 91, + 92, 104, 105, 106, 107, 123, 109, 123, 100, 101, + 123, 83, 104, 105, 106, 107, 88, 109, 123, 91, + 92, 123, 123, 123, 123, 123, 123, 123, 100, 101, + 123, 123, 104, 105, 106, 107, 123, 109, 83, 123, + 123, 123, 123, 88, 123, 123, 91, 92, 123, 83, + 123, 123, 123, 123, 88, 100, 101, 91, 92, 104, + 105, 106, 107, 123, 109, 123, 100, 101, 123, 83, + 104, 105, 106, 107, 88, 109, 123, 91, 92, 123, + 83, 123, 123, 123, 123, 88, 100, 101, 91, 92, + 104, 105, 106, 107, 123, 109, 123, 100, 101, 123, + 83, 104, 105, 106, 107, 88, 109, 123, 91, 92, + 123, 123, 123, 123, 123, 123, 123, 100, 101, 123, + 123, 104, 105, 106, 107, 123, 109, 83, 123, 123, + 123, 123, 88, 123, 123, 91, 92, 123, 83, 123, + 123, 123, 123, 88, 100, 101, 91, 92, 104, 105, + 106, 107, 123, 109, 123, 100, 101, 123, 83, 104, + 105, 106, 107, 88, 109, 123, 91, 92, 123, 83, + 123, 123, 123, 123, 88, 100, 101, 91, 92, 104, + 105, 106, 107, 123, 109, 123, 100, 101, 123, 83, + 104, 105, 106, 107, 88, 109, 123, 91, 92, 123, + 123, 123, 123, 123, 123, 123, 100, 101, 123, 123, + 104, 105, 106, 107, 123, 109, 83, 123, 123, 123, + 123, 88, 123, 123, 91, 92, 123, 83, 123, 123, + 123, 123, 88, 100, 101, 91, 92, 104, 105, 106, + 107, 123, 109, 123, 100, 101, 123, 83, 104, 105, + 106, 107, 88, 109, 123, 91, 92, 123, 83, 123, + 123, 123, 123, 88, 100, 101, 91, 92, 104, 105, + 106, 107, 123, 109, 123, 100, 101, 123, 83, 104, + 105, 106, 107, 88, 109, 123, 91, 92, 123, 123, + 123, 123, 123, 123, 123, 100, 101, 123, 123, 104, + 105, 106, 107, 123, 109, 83, 123, 123, 123, 123, + 88, 123, 123, 91, 92, 123, 83, 123, 123, 123, + 123, 88, 100, 101, 91, 92, 104, 105, 106, 107, + 123, 109, 123, 100, 101, 123, 83, 104, 105, 106, + 107, 88, 109, 123, 91, 92, 123, 83, 123, 123, + 123, 123, 88, 100, 101, 91, 92, 104, 105, 106, + 107, 123, 109, 123, 100, 101, 123, 83, 104, 105, + 106, 107, 88, 109, 123, 91, 92, 123, 123, 123, + 123, 123, 123, 123, 100, 101, 123, 123, 104, 105, + 106, 107, 123, 109, 83, 123, 123, 123, 123, 88, + 123, 123, 91, 92, 123, 83, 123, 123, 123, 123, + 88, 100, 101, 91, 92, 104, 105, 106, 107, 123, + 109, 123, 100, 101, 123, 83, 104, 105, 106, 107, + 88, 109, 123, 91, 92, 123, 83, 123, 123, 123, + 123, 88, 100, 101, 91, 92, 104, 105, 106, 107, + 123, 109, 123, 100, 101, 123, 83, 104, 105, 106, + 107, 88, 109, 123, 91, 92, 123, 123, 123, 123, + 123, 123, 123, 100, 101, 123, 123, 104, 105, 106, + 107, 123, 109, ); - const YY_SHIFT_USE_DFLT = - 4; + const YY_SHIFT_USE_DFLT = - 18; const YY_SHIFT_MAX = 261; static public $yy_shift_ofst = array( - - 3, 1157, 1099, 1099, 1099, 1157, 1215, 1215, 925, 867, - 925, 1331, 1273, 1099, 1099, 1099, 1099, 1099, 1099, 1099, - 1099, 1099, 1099, 1099, 1099, 1099, 1099, 1099, 1099, 1099, - 1099, 1099, 983, 1099, 1099, 1099, 1099, 1099, 1099, 1099, - 1099, 1099, 983, 1099, 1041, 1041, 1389, 1389, 1389, 1389, - 1389, 1389, - 1, 53, 107, 107, 107, 107, 107, 486, - 432, 594, 648, 702, 324, 161, 215, 378, 269, 540, - 756, 756, 756, 756, 756, 756, 756, 756, 756, 756, - 756, 756, 756, 756, 756, 756, 756, 756, 756, 798, - 798, - 3, 1049, 73, 244, 163, 870, 1211, 1113, 83, - 901, 901, 83, 262, 163, 914, 163, 344, 360, 986, - 79, 84, 13, 177, 191, 1, 3, 151, 234, 101, - 393, 468, 444, 393, 448, 395, 392, 357, 366, 405, - 393, 273, 408, 393, 393, 366, 393, 395, 666, 344, - 393, 273, 344, 393, 393, 63, 63, 152, 63, 63, - 63, 152, 63, 63, 63, 63, - 4, 121, 231, 273, - 241, 268, 241, 268, 273, 241, 273, 273, 241, 273, - 241, 273, 273, 273, 273, 273, 273, 273, 273, 273, - 273, 273, 273, 273, 241, 241, 273, 94, 273, 63, - 152, 63, 602, 63, 602, 565, 637, 152, 63, 63, - 88, 152, 88, - 4, - 4, - 4, - 4, - 4, 1432, 1051, - 162, 108, 106, 18, 325, 379, 49, 290, 41, 292, - 71, 329, 294, 104, 319, 388, 315, 129, 539, 557, - 565, 599, 556, 520, 543, 458, 529, 530, 550, 507, - 549, 567, 531, 554, 542, 518, 601, 581, 577, 555, - 523, 579, 561, 586, 246, 603, 498, 434, 285, 485, - 460, 8, + 1, 1123, 1177, 961, 1123, 1177, 961, 961, 853, 853, + 907, 961, 961, 961, 961, 961, 1231, 961, 961, 961, + 961, 961, 961, 961, 1285, 961, 961, 1069, 961, 961, + 961, 961, 961, 961, 961, 961, 961, 961, 961, 961, + 961, 961, 961, 1069, 1015, 1015, 1339, 1339, 1339, 1339, + 1339, 1339, - 1, 74, 124, 124, 124, 124, 124, 474, + 424, 599, 649, 699, 324, 174, 224, 374, 274, 549, + 749, 749, 749, 749, 749, 749, 749, 749, 749, 749, + 749, 749, 749, 749, 749, 749, 749, 749, 749, 788, + 788, 1, 1411, 19, 277, 253, 76, 885, 65, 154, + 863, 154, 863, 253, 517, 253, 221, 353, 367, 873, + 101, 70, 175, 115, 202, 142, 11, 192, 239, 242, + 365, 414, 365, 401, 365, 229, 370, 365, 919, 389, + 56, 367, 390, 365, 390, 365, 365, 367, 717, 414, + 365, 393, 333, 56, 365, 612, 301, 612, 301, 301, + 301, 301, 301, 301, 301, 301, - 18, 169, 13, 270, + 56, 56, 56, 56, 56, 56, 270, 56, 270, 56, + 56, 56, 56, 270, 56, 321, 270, 56, 56, 56, + 56, 56, 56, 296, 56, 270, 296, 270, 56, 301, + 612, 628, 657, 301, 628, 612, 301, 657, 612, 494, + 301, 371, 301, - 18, - 18, - 18, - 18, - 18, 1424, 1373, + 1382, 1495, 146, 883, 217, 881, 223, 152, 0, 295, + - 17, 248, 148, 297, 294, 864, 320, 366, 544, 624, + 567, 548, 566, 494, 492, 473, 475, 514, 540, 504, + 518, 588, 530, 522, 491, 545, 603, 605, 570, 569, + 489, 589, 583, 615, 415, 143, 470, 432, 478, 487, + 467, 90, ); - const YY_REDUCE_USE_DFLT = - 105; + const YY_REDUCE_USE_DFLT = - 111; const YY_REDUCE_MAX = 207; static public $yy_reduce_ofst = array( - - 27, 1369, 1474, 1410, 1447, 1543, 1514, 1494, 1706, 1771, - 1791, 1639, 1579, 1664, 1610, 2090, 2155, 1898, 1831, 1599, - 1675, 1695, 1802, 1760, 1856, 1867, 1735, 2175, 1983, 2023, - 1887, 2059, 2240, 2119, 1568, 2079, 2144, 2215, 2186, 2048, - 1927, 1952, 1963, 1994, 805, 2250, 2320, 2287, 2312, 2260, - 1016, 2280, 872, 2333, 1104, 2349, 2354, 2333, 2356, 849, - 849, 849, 849, 849, 849, 849, 849, 849, 849, 849, - 849, 849, 849, 849, 849, 849, 849, 849, 849, 849, - 849, 849, 849, 849, 849, 849, 849, 849, 849, 849, - 849, - 70, 97, 799, 203, 150, 100, 450, 504, 313, - 342, 288, 125, 827, 205, 105, 314, 179, 157, 425, - 211, 211, 505, 326, 211, 218, 218, 326, 326, 297, - 426, 370, 452, 480, 343, 348, 343, 211, 372, 211, - 398, 421, 367, 397, 403, 343, 343, 404, 218, 399, - 559, 473, 396, 558, 560, 211, 211, - 104, 211, 211, - 209, 218, 211, 211, 211, 211, 211, 511, 513, 521, - 510, 514, 510, 512, 521, 510, 521, 521, 510, 521, - 510, 521, 521, 521, 521, 521, 521, 521, 521, 521, - 521, 521, 521, 521, 510, 510, 521, 541, 521, 506, - 28, 506, 532, 506, 534, 536, 562, 28, 506, 506, - 178, 28, 178, 171, 419, 380, 351, 337, + - 30, 1319, 471, 1393, 1420, 1502, 1482, 1451, 1677, 1735, + 1746, 1599, 1540, 1619, 1588, 2033, 2091, 1855, 1777, 1568, + 1646, 1657, 1766, 1708, 1797, 1824, 1688, 2102, 1924, 1955, + 1835, 2002, 2153, 2044, 1513, 2013, 2064, 2133, 2122, 1975, + 1866, 1886, 1913, 1944, 899, 950, 1274, 1166, 1220, 1058, + 1004, 1112, 466, 908, 854, 466, 1016, 976, 1070, 464, + 464, 464, 464, 464, 464, 464, 464, 464, 464, 464, + 464, 464, 464, 464, 464, 464, 464, 464, 464, 464, + 464, 464, 464, 464, 464, 464, 464, 464, 464, 464, + 464, - 26, 411, - 91, 187, 512, 718, 563, 613, 260, + 513, 9, 462, - 14, 194, 261, - 15, - 56, 42, 354, + 62, 316, 62, 614, 62, - 110, 200, 316, 316, - 110, + 413, 345, 539, 387, 564, 62, 338, 289, 291, 289, + 136, 362, 339, 340, 289, 665, 368, 364, - 110, 418, + 565, 289, 62, 437, 664, - 4, 62, - 110, 62, 62, + 62, 62, 62, 62, 212, 62, 62, 521, 543, 523, + 533, 533, 533, 533, 533, 533, 523, 533, 523, 533, + 533, 533, 533, 523, 533, 546, 523, 533, 533, 533, + 533, 533, 533, 547, 533, 523, 571, 523, 533, 341, + 590, 584, 537, 341, 585, 590, 341, 537, 590, 568, + 341, 346, 341, 349, 394, 385, 381, 384, ); static public $yyExpectedTokens = array( - array(4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18, 23, 24, 29, 33, 35,), - array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,), - array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,), - array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,), - array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,), - array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,), - array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,), - array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,), - array(18, 19, 20, 23, 24, 29, 33, 34, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,), - array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 67, 80,), - array(18, 19, 20, 23, 24, 29, 33, 34, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,), - array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,), - array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,), - array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,), - array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,), - array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,), - array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,), - array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,), - array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,), - array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,), - array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,), - array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,), - array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,), - array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,), - array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,), - array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,), - array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,), - array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,), - array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,), - array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,), - array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,), - array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,), - array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,), - array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,), - array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,), - array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,), - array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,), - array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,), - array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,), - array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,), - array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,), - array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,), - array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,), - array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,), - array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,), - array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 66, 80,), - array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 80,), - array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 80,), - array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 80,), - array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 80,), - array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 80,), - array(18, 19, 20, 23, 24, 29, 33, 35, 37, 39, 42, 57, 58, 59, 60, 61, 63, 65, 80,), - array(1, 28, 30, 36, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,), - array(1, 3, 30, 36, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,), - array(1, 30, 36, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,), - array(1, 30, 36, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,), - array(1, 30, 36, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,), - array(1, 30, 36, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,), - array(1, 30, 36, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,), - array(1, 3, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,), - array(1, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,), - array(1, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,), - array(1, 3, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,), - array(1, 2, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,), - array(1, 25, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,), - array(1, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 81,), - array(1, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,), - array(1, 3, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,), - array(1, 3, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,), - array(1, 31, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,), - array(1, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,), - array(1, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,), - array(1, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,), - array(1, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,), - array(1, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,), - array(1, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,), - array(1, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,), - array(1, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,), - array(1, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,), - array(1, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,), - array(1, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,), - array(1, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,), - array(1, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,), - array(1, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,), - array(1, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,), - array(1, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,), - array(1, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,), - array(1, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,), - array(1, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,), - array(41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,), - array(41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,), - array(4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18, 23, 24, 29, 33, 35,), - array(1, 3, 22, 30, 36, 39, 62,), - array(19, 20, 63, 65,), - array(1, 3, 30, 36,), - array(1, 30, 36,), - array(11, 18, 23, 24, 29, 33, 35, 80, 81, 82,), - array(18, 20, 30, 32, 36,), - array(18, 20, 30, 32, 36,), - array(1, 3, 30, 36,), - array(18, 20, 30, 36,), - array(18, 20, 30, 36,), - array(1, 3, 30, 36,), - array(19, 20, 65,), - array(1, 30, 36,), - array(22, 60, 66,), - array(1, 30, 36,), - array(19, 39,), + array(4, 5, 6, 7, 8, 9, 10, 11, 14, 19, 20, 25, 29, 31,), + array(14, 15, 16, 19, 20, 25, 29, 31, 33, 35, 38, 53, 54, 55, 56, 57, 59, 61, 62, 76,), + array(14, 15, 16, 19, 20, 25, 29, 31, 33, 35, 38, 53, 54, 55, 56, 57, 59, 61, 62, 76,), + array(14, 15, 16, 19, 20, 25, 29, 31, 33, 35, 38, 53, 54, 55, 56, 57, 59, 61, 62, 76,), + array(14, 15, 16, 19, 20, 25, 29, 31, 33, 35, 38, 53, 54, 55, 56, 57, 59, 61, 62, 76,), + array(14, 15, 16, 19, 20, 25, 29, 31, 33, 35, 38, 53, 54, 55, 56, 57, 59, 61, 62, 76,), + array(14, 15, 16, 19, 20, 25, 29, 31, 33, 35, 38, 53, 54, 55, 56, 57, 59, 61, 62, 76,), + array(14, 15, 16, 19, 20, 25, 29, 31, 33, 35, 38, 53, 54, 55, 56, 57, 59, 61, 62, 76,), + array(14, 15, 16, 19, 20, 25, 29, 30, 31, 33, 35, 38, 53, 54, 55, 56, 57, 59, 61, 62, 76,), + array(14, 15, 16, 19, 20, 25, 29, 30, 31, 33, 35, 38, 53, 54, 55, 56, 57, 59, 61, 62, 76,), + array(14, 15, 16, 19, 20, 25, 29, 31, 33, 35, 38, 53, 54, 55, 56, 57, 59, 61, 62, 63, 76,), + array(14, 15, 16, 19, 20, 25, 29, 31, 33, 35, 38, 53, 54, 55, 56, 57, 59, 61, 62, 76,), + array(14, 15, 16, 19, 20, 25, 29, 31, 33, 35, 38, 53, 54, 55, 56, 57, 59, 61, 62, 76,), + array(14, 15, 16, 19, 20, 25, 29, 31, 33, 35, 38, 53, 54, 55, 56, 57, 59, 61, 62, 76,), + array(14, 15, 16, 19, 20, 25, 29, 31, 33, 35, 38, 53, 54, 55, 56, 57, 59, 61, 62, 76,), + array(14, 15, 16, 19, 20, 25, 29, 31, 33, 35, 38, 53, 54, 55, 56, 57, 59, 61, 62, 76,), + array(14, 15, 16, 19, 20, 25, 29, 31, 33, 35, 38, 53, 54, 55, 56, 57, 59, 61, 62, 76,), + array(14, 15, 16, 19, 20, 25, 29, 31, 33, 35, 38, 53, 54, 55, 56, 57, 59, 61, 62, 76,), + array(14, 15, 16, 19, 20, 25, 29, 31, 33, 35, 38, 53, 54, 55, 56, 57, 59, 61, 62, 76,), + array(14, 15, 16, 19, 20, 25, 29, 31, 33, 35, 38, 53, 54, 55, 56, 57, 59, 61, 62, 76,), + array(14, 15, 16, 19, 20, 25, 29, 31, 33, 35, 38, 53, 54, 55, 56, 57, 59, 61, 62, 76,), + array(14, 15, 16, 19, 20, 25, 29, 31, 33, 35, 38, 53, 54, 55, 56, 57, 59, 61, 62, 76,), + array(14, 15, 16, 19, 20, 25, 29, 31, 33, 35, 38, 53, 54, 55, 56, 57, 59, 61, 62, 76,), + array(14, 15, 16, 19, 20, 25, 29, 31, 33, 35, 38, 53, 54, 55, 56, 57, 59, 61, 62, 76,), + array(14, 15, 16, 19, 20, 25, 29, 31, 33, 35, 38, 53, 54, 55, 56, 57, 59, 61, 62, 76,), + array(14, 15, 16, 19, 20, 25, 29, 31, 33, 35, 38, 53, 54, 55, 56, 57, 59, 61, 62, 76,), + array(14, 15, 16, 19, 20, 25, 29, 31, 33, 35, 38, 53, 54, 55, 56, 57, 59, 61, 62, 76,), + array(14, 15, 16, 19, 20, 25, 29, 31, 33, 35, 38, 53, 54, 55, 56, 57, 59, 61, 62, 76,), + array(14, 15, 16, 19, 20, 25, 29, 31, 33, 35, 38, 53, 54, 55, 56, 57, 59, 61, 62, 76,), + array(14, 15, 16, 19, 20, 25, 29, 31, 33, 35, 38, 53, 54, 55, 56, 57, 59, 61, 62, 76,), + array(14, 15, 16, 19, 20, 25, 29, 31, 33, 35, 38, 53, 54, 55, 56, 57, 59, 61, 62, 76,), + array(14, 15, 16, 19, 20, 25, 29, 31, 33, 35, 38, 53, 54, 55, 56, 57, 59, 61, 62, 76,), + array(14, 15, 16, 19, 20, 25, 29, 31, 33, 35, 38, 53, 54, 55, 56, 57, 59, 61, 62, 76,), + array(14, 15, 16, 19, 20, 25, 29, 31, 33, 35, 38, 53, 54, 55, 56, 57, 59, 61, 62, 76,), + array(14, 15, 16, 19, 20, 25, 29, 31, 33, 35, 38, 53, 54, 55, 56, 57, 59, 61, 62, 76,), + array(14, 15, 16, 19, 20, 25, 29, 31, 33, 35, 38, 53, 54, 55, 56, 57, 59, 61, 62, 76,), + array(14, 15, 16, 19, 20, 25, 29, 31, 33, 35, 38, 53, 54, 55, 56, 57, 59, 61, 62, 76,), + array(14, 15, 16, 19, 20, 25, 29, 31, 33, 35, 38, 53, 54, 55, 56, 57, 59, 61, 62, 76,), + array(14, 15, 16, 19, 20, 25, 29, 31, 33, 35, 38, 53, 54, 55, 56, 57, 59, 61, 62, 76,), + array(14, 15, 16, 19, 20, 25, 29, 31, 33, 35, 38, 53, 54, 55, 56, 57, 59, 61, 62, 76,), + array(14, 15, 16, 19, 20, 25, 29, 31, 33, 35, 38, 53, 54, 55, 56, 57, 59, 61, 62, 76,), + array(14, 15, 16, 19, 20, 25, 29, 31, 33, 35, 38, 53, 54, 55, 56, 57, 59, 61, 62, 76,), + array(14, 15, 16, 19, 20, 25, 29, 31, 33, 35, 38, 53, 54, 55, 56, 57, 59, 61, 62, 76,), + array(14, 15, 16, 19, 20, 25, 29, 31, 33, 35, 38, 53, 54, 55, 56, 57, 59, 61, 62, 76,), + array(14, 15, 16, 19, 20, 25, 29, 31, 33, 35, 38, 53, 54, 55, 56, 57, 59, 61, 62, 76,), + array(14, 15, 16, 19, 20, 25, 29, 31, 33, 35, 38, 53, 54, 55, 56, 57, 59, 61, 62, 76,), + array(14, 15, 16, 19, 20, 25, 29, 31, 33, 35, 38, 53, 54, 55, 56, 57, 59, 61, 76,), + array(14, 15, 16, 19, 20, 25, 29, 31, 33, 35, 38, 53, 54, 55, 56, 57, 59, 61, 76,), + array(14, 15, 16, 19, 20, 25, 29, 31, 33, 35, 38, 53, 54, 55, 56, 57, 59, 61, 76,), + array(14, 15, 16, 19, 20, 25, 29, 31, 33, 35, 38, 53, 54, 55, 56, 57, 59, 61, 76,), + array(14, 15, 16, 19, 20, 25, 29, 31, 33, 35, 38, 53, 54, 55, 56, 57, 59, 61, 76,), + array(14, 15, 16, 19, 20, 25, 29, 31, 33, 35, 38, 53, 54, 55, 56, 57, 59, 61, 76,), + array(1, 3, 26, 32, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75,), + array(1, 24, 26, 32, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75,), + array(1, 26, 32, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75,), + array(1, 26, 32, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75,), + array(1, 26, 32, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75,), + array(1, 26, 32, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75,), + array(1, 26, 32, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75,), + array(1, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 77,), + array(1, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75,), + array(1, 27, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75,), + array(1, 3, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75,), + array(1, 2, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75,), + array(1, 3, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75,), + array(1, 3, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75,), + array(1, 3, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75,), + array(1, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75,), + array(1, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75,), + array(1, 21, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75,), + array(1, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75,), + array(1, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75,), + array(1, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75,), + array(1, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75,), + array(1, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75,), + array(1, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75,), + array(1, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75,), + array(1, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75,), + array(1, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75,), + array(1, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75,), + array(1, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75,), + array(1, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75,), + array(1, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75,), + array(1, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75,), + array(1, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75,), + array(1, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75,), + array(1, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75,), + array(1, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75,), + array(1, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75,), + array(37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75,), + array(37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75,), + array(4, 5, 6, 7, 8, 9, 10, 11, 14, 19, 20, 25, 29, 31,), + array(1, 3, 18, 26, 32, 35, 58,), + array(15, 16, 59, 61,), + array(1, 3, 26, 32,), + array(1, 26, 32,), + array(7, 14, 19, 20, 25, 29, 31, 76, 77, 78,), + array(14, 16, 26, 28, 32,), + array(14, 16, 26, 28, 32,), + array(1, 3, 26, 32,), + array(14, 16, 26, 32,), + array(1, 3, 26, 32,), + array(14, 16, 26, 32,), + array(1, 26, 32,), + array(18, 56, 62,), + array(1, 26, 32,), + array(15, 16, 61,), array(1, 2,), - array(11, 18, 23, 24, 29, 33, 35, 80, 81, 82,), - array(1, 3, 30, 31, 36,), - array(1, 3, 30, 36,), - array(18, 20, 21, 26,), - array(18, 20, 21, 64,), - array(1, 3, 30, 36,), - array(21, 22, 62,), - array(21, 22, 62,), - array(18, 20, 21,), - array(18, 20, 64,), - array(15, 16, 17,), - array(18, 20,), - array(1, 22,), - array(18, 20,), - array(18, 20,), - array(18, 20,), - array(19, 20,), - array(18, 20,), + array(15, 35,), + array(7, 14, 19, 20, 25, 29, 31, 76, 77, 78,), + array(1, 3, 26, 27, 32,), + array(14, 16, 17, 60,), + array(1, 3, 26, 32,), + array(14, 16, 17, 22,), + array(1, 3, 26, 32,), + array(17, 18, 58,), + array(11, 12, 13,), + array(14, 16, 60,), + array(14, 16, 17,), + array(17, 18, 58,), + array(14, 16,), + array(15, 16,), + array(14, 16,), + array(26, 32,), + array(14, 16,), + array(1, 28,), + array(14, 16,), + array(14, 16,), + array(1, 18,), + array(14, 16,), + array(26, 32,), + array(15, 35,), + array(14, 16,), + array(14, 16,), + array(14, 16,), + array(14, 16,), + array(14, 16,), + array(15, 35,), + array(18, 58,), + array(15, 16,), + array(14, 16,), + array(14, 16,), array(1, 3,), - array(18, 20,), - array(1, 32,), - array(18, 20,), - array(30, 36,), - array(30, 36,), - array(18, 20,), - array(18, 20,), - array(18, 20,), - array(18, 20,), - array(19, 20,), - array(22, 62,), - array(19, 39,), - array(18, 20,), - array(30, 36,), - array(19, 39,), - array(18, 20,), - array(18, 20,), + array(26, 32,), + array(14, 16,), + array(18,), + array(1,), + array(18,), array(1,), - array(1,), - array(22,), array(1,), array(1,), array(1,), - array(22,), array(1,), array(1,), array(1,), array(1,), array(), - array(18, 19, 20,), - array(18, 20, 64,), - array(30, 36,), - array(60, 66,), - array(60, 66,), - array(60, 66,), - array(60, 66,), - array(30, 36,), - array(60, 66,), - array(30, 36,), - array(30, 36,), - array(60, 66,), - array(30, 36,), - array(60, 66,), - array(30, 36,), - array(30, 36,), - array(30, 36,), - array(30, 36,), - array(30, 36,), - array(30, 36,), - array(30, 36,), - array(30, 36,), - array(30, 36,), - array(30, 36,), - array(30, 36,), - array(30, 36,), - array(30, 36,), - array(60, 66,), - array(60, 66,), - array(30, 36,), - array(18, 39,), - array(30, 36,), + array(14, 16, 60,), + array(14, 15, 16,), + array(56, 62,), + array(26, 32,), + array(26, 32,), + array(26, 32,), + array(26, 32,), + array(26, 32,), + array(26, 32,), + array(56, 62,), + array(26, 32,), + array(56, 62,), + array(26, 32,), + array(26, 32,), + array(26, 32,), + array(26, 32,), + array(56, 62,), + array(26, 32,), + array(14, 35,), + array(56, 62,), + array(26, 32,), + array(26, 32,), + array(26, 32,), + array(26, 32,), + array(26, 32,), + array(26, 32,), + array(56, 62,), + array(26, 32,), + array(56, 62,), + array(56, 62,), + array(56, 62,), + array(26, 32,), array(1,), - array(22,), + array(18,), + array(26,), + array(2,), array(1,), - array(30,), + array(26,), + array(18,), array(1,), - array(30,), - array(39,), + array(2,), + array(18,), + array(35,), + array(1,), + array(12,), + array(1,), + array(), + array(), + array(), + array(), + array(), + array(3, 21, 23, 24, 26, 27, 32, 34, 35, 36, 58, 63, 77,), + array(3, 17, 26, 32, 35, 58,), + array(3, 22, 35, 51, 58,), + array(22, 35, 51, 58, 77,), + array(35, 56, 58, 63,), + array(22, 35, 51, 58,), + array(14, 15, 16, 33,), + array(22, 35, 58,), + array(28, 35, 58,), + array(35, 58,), + array(16, 60,), + array(35, 58,), + array(34, 36,), + array(35, 58,), + array(34, 36,), + array(34, 36,), + array(34, 63,), + array(2, 17,), + array(17, 56,), + array(21, 34,), + array(63,), + array(3,), + array(61,), + array(61,), array(16,), - array(22,), - array(1,), - array(1,), - array(2,), - array(22,), - array(2,), - array(), - array(), - array(), - array(), - array(), - array(3, 25, 27, 28, 30, 31, 36, 38, 39, 40, 62, 67, 81,), - array(3, 21, 30, 36, 39, 62,), - array(3, 26, 39, 55, 62,), - array(26, 39, 55, 62, 81,), - array(39, 60, 62, 67,), - array(18, 19, 20, 37,), - array(26, 39, 55, 62,), - array(26, 39, 62,), - array(32, 39, 62,), - array(39, 62,), - array(25, 38,), - array(39, 62,), - array(20, 64,), - array(21, 60,), - array(39, 62,), - array(38, 40,), - array(38, 40,), - array(2, 21,), - array(38, 40,), - array(38, 67,), - array(40,), - array(65,), - array(39,), - array(3,), - array(21,), - array(27,), - array(3,), - array(67,), - array(19,), - array(19,), - array(20,), - array(65,), - array(20,), - array(11,), - array(19,), - array(19,), - array(3,), + array(35,), + array(16,), + array(33,), array(56,), + array(16,), + array(17,), + array(33,), + array(16,), + array(16,), array(2,), - array(20,), - array(20,), - array(20,), - array(20,), - array(20,), - array(39,), - array(19,), + array(36,), + array(16,), + array(15,), + array(7,), + array(3,), + array(15,), + array(15,), + array(16,), + array(16,), + array(23,), + array(16,), + array(16,), + array(15,), + array(15,), + array(52,), + array(3,), + array(16,), + array(35,), array(2,), - array(20,), - array(20,), - array(37,), - array(20,), - array(37,), - array(60,), - array(20,), - array(), - array(), - array(), - array(), array(), array(), array(), @@ -1251,49 +1190,49 @@ class Smarty_Internal_Templateparser array(), ); static public $yy_default = array( - 368, 553, 524, 524, 524, 570, 570, 570, 570, 570, - 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, - 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, - 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, - 570, 570, 570, 570, 570, 570, 570, 570, 570, 570, - 570, 570, 427, 570, 404, 427, 396, 427, 427, 570, - 570, 570, 570, 570, 570, 570, 570, 570, 570, 432, - 523, 448, 432, 429, 434, 460, 457, 522, 554, 555, - 556, 456, 438, 452, 437, 453, 451, 461, 409, 463, - 464, 365, 475, 570, 440, 427, 570, 427, 427, 482, - 427, 427, 447, 570, 427, 536, 427, 570, 418, 570, - 440, 440, 570, 497, 440, 488, 488, 497, 497, 570, - 570, 421, 570, 570, 570, 570, 570, 440, 570, 440, - 570, 427, 427, 570, 497, 570, 570, 570, 488, 570, - 570, 406, 570, 570, 570, 467, 444, 533, 443, 440, - 423, 488, 450, 468, 445, 466, 531, 570, 498, 415, - 516, 491, 515, 493, 414, 492, 408, 392, 494, 399, - 517, 413, 403, 394, 391, 417, 402, 397, 407, 401, - 398, 393, 411, 416, 495, 514, 405, 497, 412, 482, - 537, 447, 569, 422, 569, 497, 387, 511, 424, 419, - 525, 534, 526, 530, 530, 497, 497, 530, 442, 475, - 465, 465, 475, 570, 465, 465, 475, 570, 570, 475, - 570, 471, 483, 570, 570, 509, 570, 570, 570, 570, - 509, 570, 570, 435, 570, 570, 570, 570, 570, 570, - 570, 378, 570, 570, 570, 477, 509, 570, 570, 570, - 570, 570, 535, 570, 509, 570, 570, 473, 570, 570, - 471, 570, 479, 383, 480, 428, 478, 380, 379, 381, - 502, 528, 481, 484, 532, 382, 510, 527, 477, 410, - 377, 370, 441, 371, 372, 442, 476, 474, 367, 366, - 470, 369, 472, 373, 374, 507, 499, 500, 436, 501, - 520, 376, 439, 489, 496, 375, 568, 490, 552, 551, - 486, 550, 425, 487, 485, 389, 548, 547, 549, 446, - 462, 560, 567, 559, 512, 558, 557, 564, 469, 562, - 426, 566, 563, 561, 565, 546, 545, 454, 508, 503, - 455, 458, 505, 504, 506, 449, 519, 420, 513, 509, - 459, 538, 386, 385, 521, 544, 388, 543, 384, 540, - 539, 518, 541, 542, 529, + 364, 545, 562, 516, 562, 562, 516, 516, 562, 562, + 562, 562, 562, 562, 562, 562, 562, 562, 562, 562, + 562, 562, 562, 562, 562, 562, 562, 562, 562, 562, + 562, 562, 562, 562, 562, 562, 562, 562, 562, 562, + 562, 562, 562, 562, 562, 562, 562, 562, 562, 562, + 562, 562, 562, 419, 419, 419, 388, 396, 419, 562, + 562, 424, 562, 562, 562, 562, 562, 562, 562, 562, + 452, 515, 429, 548, 424, 453, 443, 444, 426, 448, + 421, 449, 445, 547, 440, 401, 546, 514, 430, 456, + 455, 361, 467, 562, 432, 419, 562, 419, 419, 474, + 419, 439, 419, 419, 528, 419, 562, 410, 562, 562, + 432, 489, 432, 562, 432, 480, 562, 489, 489, 480, + 562, 562, 562, 419, 562, 432, 562, 562, 413, 562, + 419, 562, 562, 562, 562, 562, 489, 562, 480, 562, + 562, 562, 432, 398, 562, 525, 442, 480, 435, 437, + 459, 436, 432, 458, 415, 460, 523, 490, 562, 508, + 384, 385, 400, 406, 395, 409, 509, 391, 507, 386, + 407, 399, 405, 487, 397, 489, 506, 389, 403, 390, + 404, 383, 394, 485, 408, 486, 483, 484, 393, 414, + 529, 561, 517, 411, 561, 526, 416, 518, 503, 489, + 439, 379, 474, 489, 489, 522, 522, 522, 434, 467, + 457, 457, 467, 457, 562, 457, 467, 562, 562, 475, + 562, 467, 562, 562, 562, 501, 463, 562, 562, 562, + 562, 562, 562, 501, 562, 465, 463, 562, 562, 562, + 562, 562, 501, 562, 562, 562, 370, 562, 562, 562, + 562, 562, 427, 562, 562, 562, 562, 469, 562, 562, + 527, 501, 512, 494, 511, 498, 431, 496, 362, 502, + 420, 428, 402, 510, 497, 469, 524, 560, 495, 531, + 464, 466, 468, 433, 462, 461, 521, 519, 520, 434, + 481, 470, 471, 472, 493, 492, 488, 491, 499, 501, + 500, 369, 372, 371, 368, 367, 363, 365, 366, 373, + 374, 381, 417, 418, 380, 378, 375, 376, 377, 473, + 476, 412, 556, 549, 550, 504, 557, 477, 478, 479, + 551, 554, 542, 544, 543, 552, 559, 553, 555, 558, + 454, 438, 450, 451, 530, 447, 446, 441, 482, 505, + 532, 533, 539, 540, 541, 538, 537, 534, 535, 536, + 513, ); - const YYNOCODE = 128; + const YYNOCODE = 124; const YYSTACKDEPTH = 500; - const YYNSTATE = 365; - const YYNRULE = 205; - const YYERRORSYMBOL = 83; + const YYNSTATE = 361; + const YYNRULE = 201; + const YYERRORSYMBOL = 79; const YYERRSYMDT = 'yy0'; const YYFALLBACK = 0; public static $yyFallback = array(); @@ -1323,8 +1262,7 @@ class Smarty_Internal_Templateparser public $yyTokenName = array( '$', 'VERT', 'COLON', 'RDEL', - 'COMMENT', 'PHPSTARTTAG', 'PHPENDTAG', 'PHPENDSCRIPT', - 'ASPSTARTTAG', 'ASPENDTAG', 'XMLTAG', 'TEXT', + 'COMMENT', 'PHP', 'XMLTAG', 'TEXT', 'STRIPON', 'STRIPOFF', 'BLOCKSOURCE', 'LITERALSTART', 'LITERALEND', 'LITERAL', 'LDEL', 'DOLLAR', 'ID', 'EQUAL', 'PTR', 'LDELIF', @@ -1364,11 +1302,7 @@ class Smarty_Internal_Templateparser "template_element ::= smartytag RDEL", "template_element ::= COMMENT", "template_element ::= literal", - "template_element ::= PHPSTARTTAG", - "template_element ::= PHPENDTAG", - "template_element ::= PHPENDSCRIPT", - "template_element ::= ASPSTARTTAG", - "template_element ::= ASPENDTAG", + "template_element ::= PHP", "template_element ::= XMLTAG", "template_element ::= text_content", "text_content ::= TEXT", @@ -1829,7 +1763,7 @@ class Smarty_Internal_Templateparser while ($this->yyidx >= 0) { $this->yy_pop_parser_stack(); } - #line 195 "../smarty/lexer/smarty_internal_templateparser.y" + #line 184 "../smarty/lexer/smarty_internal_templateparser.y" $this->internalError = true; $this->compiler->trigger_template_error("Stack overflow in template parser"); @@ -1854,211 +1788,207 @@ class Smarty_Internal_Templateparser } public static $yyRuleInfo = array( - array(0 => 84, 1 => 1), + array(0 => 80, 1 => 1), + array(0 => 81, 1 => 1), + array(0 => 81, 1 => 2), + array(0 => 81, 1 => 0), + array(0 => 82, 1 => 2), + array(0 => 82, 1 => 1), + array(0 => 82, 1 => 1), + array(0 => 82, 1 => 1), + array(0 => 82, 1 => 1), + array(0 => 82, 1 => 1), array(0 => 85, 1 => 1), array(0 => 85, 1 => 2), - array(0 => 85, 1 => 0), + array(0 => 82, 1 => 1), + array(0 => 82, 1 => 1), + array(0 => 82, 1 => 1), + array(0 => 84, 1 => 2), + array(0 => 84, 1 => 3), array(0 => 86, 1 => 2), - array(0 => 86, 1 => 1), - array(0 => 86, 1 => 1), - array(0 => 86, 1 => 1), - array(0 => 86, 1 => 1), - array(0 => 86, 1 => 1), - array(0 => 86, 1 => 1), - array(0 => 86, 1 => 1), - array(0 => 86, 1 => 1), - array(0 => 86, 1 => 1), - array(0 => 89, 1 => 1), - array(0 => 89, 1 => 2), - array(0 => 86, 1 => 1), - array(0 => 86, 1 => 1), - array(0 => 86, 1 => 1), - array(0 => 88, 1 => 2), - array(0 => 88, 1 => 3), + array(0 => 86, 1 => 0), + array(0 => 87, 1 => 1), + array(0 => 87, 1 => 1), + array(0 => 83, 1 => 2), + array(0 => 83, 1 => 4), + array(0 => 83, 1 => 3), + array(0 => 83, 1 => 4), + array(0 => 83, 1 => 3), + array(0 => 83, 1 => 5), + array(0 => 83, 1 => 5), + array(0 => 83, 1 => 6), + array(0 => 83, 1 => 5), + array(0 => 83, 1 => 3), + array(0 => 83, 1 => 2), + array(0 => 83, 1 => 4), + array(0 => 83, 1 => 5), + array(0 => 83, 1 => 6), + array(0 => 83, 1 => 2), + array(0 => 83, 1 => 3), + array(0 => 83, 1 => 2), + array(0 => 83, 1 => 3), + array(0 => 83, 1 => 11), + array(0 => 97, 1 => 2), + array(0 => 97, 1 => 1), + array(0 => 83, 1 => 5), + array(0 => 83, 1 => 7), + array(0 => 83, 1 => 2), + array(0 => 83, 1 => 7), + array(0 => 83, 1 => 10), + array(0 => 83, 1 => 7), + array(0 => 83, 1 => 10), + array(0 => 83, 1 => 3), + array(0 => 83, 1 => 4), + array(0 => 83, 1 => 2), + array(0 => 83, 1 => 2), + array(0 => 83, 1 => 3), + array(0 => 83, 1 => 4), + array(0 => 83, 1 => 5), array(0 => 90, 1 => 2), + array(0 => 90, 1 => 1), array(0 => 90, 1 => 0), - array(0 => 91, 1 => 1), - array(0 => 91, 1 => 1), - array(0 => 87, 1 => 2), - array(0 => 87, 1 => 4), - array(0 => 87, 1 => 3), - array(0 => 87, 1 => 4), - array(0 => 87, 1 => 3), - array(0 => 87, 1 => 5), - array(0 => 87, 1 => 5), - array(0 => 87, 1 => 6), - array(0 => 87, 1 => 5), - array(0 => 87, 1 => 3), - array(0 => 87, 1 => 2), - array(0 => 87, 1 => 4), - array(0 => 87, 1 => 5), - array(0 => 87, 1 => 6), - array(0 => 87, 1 => 2), - array(0 => 87, 1 => 3), - array(0 => 87, 1 => 2), - array(0 => 87, 1 => 3), - array(0 => 87, 1 => 11), - array(0 => 101, 1 => 2), - array(0 => 101, 1 => 1), - array(0 => 87, 1 => 5), - array(0 => 87, 1 => 7), - array(0 => 87, 1 => 2), - array(0 => 87, 1 => 7), - array(0 => 87, 1 => 10), - array(0 => 87, 1 => 7), - array(0 => 87, 1 => 10), - array(0 => 87, 1 => 3), - array(0 => 87, 1 => 4), - array(0 => 87, 1 => 2), - array(0 => 87, 1 => 2), - array(0 => 87, 1 => 3), - array(0 => 87, 1 => 4), - array(0 => 87, 1 => 5), - array(0 => 94, 1 => 2), + array(0 => 99, 1 => 4), + array(0 => 99, 1 => 2), + array(0 => 99, 1 => 2), + array(0 => 99, 1 => 2), + array(0 => 99, 1 => 2), + array(0 => 99, 1 => 2), + array(0 => 99, 1 => 4), array(0 => 94, 1 => 1), - array(0 => 94, 1 => 0), - array(0 => 103, 1 => 4), - array(0 => 103, 1 => 2), - array(0 => 103, 1 => 2), - array(0 => 103, 1 => 2), - array(0 => 103, 1 => 2), - array(0 => 103, 1 => 2), - array(0 => 103, 1 => 4), - array(0 => 98, 1 => 1), - array(0 => 98, 1 => 3), - array(0 => 97, 1 => 4), - array(0 => 97, 1 => 3), - array(0 => 97, 1 => 3), - array(0 => 95, 1 => 1), - array(0 => 95, 1 => 1), - array(0 => 95, 1 => 4), - array(0 => 95, 1 => 3), - array(0 => 95, 1 => 3), - array(0 => 95, 1 => 3), - array(0 => 95, 1 => 1), - array(0 => 95, 1 => 2), - array(0 => 95, 1 => 3), - array(0 => 95, 1 => 3), - array(0 => 95, 1 => 3), - array(0 => 95, 1 => 3), - array(0 => 95, 1 => 3), - array(0 => 95, 1 => 3), - array(0 => 95, 1 => 2), - array(0 => 95, 1 => 2), - array(0 => 95, 1 => 3), - array(0 => 95, 1 => 3), - array(0 => 95, 1 => 2), - array(0 => 95, 1 => 2), - array(0 => 95, 1 => 3), - array(0 => 95, 1 => 3), - array(0 => 95, 1 => 3), - array(0 => 104, 1 => 8), - array(0 => 104, 1 => 7), - array(0 => 92, 1 => 1), - array(0 => 92, 1 => 2), - array(0 => 92, 1 => 2), - array(0 => 92, 1 => 2), - array(0 => 92, 1 => 2), - array(0 => 92, 1 => 1), - array(0 => 92, 1 => 1), - array(0 => 92, 1 => 3), - array(0 => 92, 1 => 2), - array(0 => 92, 1 => 2), - array(0 => 92, 1 => 1), - array(0 => 92, 1 => 1), - array(0 => 92, 1 => 3), - array(0 => 92, 1 => 1), - array(0 => 92, 1 => 1), - array(0 => 92, 1 => 3), - array(0 => 92, 1 => 2), - array(0 => 92, 1 => 2), - array(0 => 92, 1 => 1), - array(0 => 92, 1 => 3), - array(0 => 109, 1 => 1), - array(0 => 109, 1 => 1), - array(0 => 109, 1 => 1), - array(0 => 108, 1 => 1), - array(0 => 108, 1 => 4), - array(0 => 108, 1 => 1), - array(0 => 108, 1 => 3), - array(0 => 108, 1 => 4), - array(0 => 108, 1 => 3), - array(0 => 108, 1 => 4), - array(0 => 96, 1 => 3), - array(0 => 114, 1 => 2), - array(0 => 114, 1 => 0), - array(0 => 115, 1 => 3), - array(0 => 115, 1 => 5), - array(0 => 115, 1 => 2), - array(0 => 115, 1 => 2), - array(0 => 115, 1 => 4), - array(0 => 115, 1 => 3), - array(0 => 115, 1 => 5), - array(0 => 115, 1 => 3), - array(0 => 115, 1 => 2), - array(0 => 100, 1 => 1), - array(0 => 100, 1 => 2), - array(0 => 116, 1 => 1), - array(0 => 116, 1 => 3), - array(0 => 113, 1 => 2), - array(0 => 117, 1 => 1), - array(0 => 117, 1 => 2), - array(0 => 118, 1 => 3), - array(0 => 118, 1 => 4), - array(0 => 118, 1 => 5), - array(0 => 118, 1 => 6), - array(0 => 118, 1 => 2), - array(0 => 110, 1 => 4), - array(0 => 119, 1 => 4), - array(0 => 119, 1 => 5), - array(0 => 120, 1 => 3), - array(0 => 120, 1 => 1), - array(0 => 120, 1 => 0), + array(0 => 94, 1 => 3), + array(0 => 93, 1 => 4), array(0 => 93, 1 => 3), - array(0 => 93, 1 => 2), - array(0 => 121, 1 => 3), - array(0 => 121, 1 => 2), - array(0 => 102, 1 => 2), - array(0 => 102, 1 => 0), - array(0 => 122, 1 => 2), - array(0 => 122, 1 => 2), - array(0 => 112, 1 => 1), - array(0 => 112, 1 => 2), + array(0 => 93, 1 => 3), + array(0 => 91, 1 => 1), + array(0 => 91, 1 => 1), + array(0 => 91, 1 => 4), + array(0 => 91, 1 => 3), + array(0 => 91, 1 => 3), + array(0 => 91, 1 => 3), + array(0 => 91, 1 => 1), + array(0 => 91, 1 => 2), + array(0 => 91, 1 => 3), + array(0 => 91, 1 => 3), + array(0 => 91, 1 => 3), + array(0 => 91, 1 => 3), + array(0 => 91, 1 => 3), + array(0 => 91, 1 => 3), + array(0 => 91, 1 => 2), + array(0 => 91, 1 => 2), + array(0 => 91, 1 => 3), + array(0 => 91, 1 => 3), + array(0 => 91, 1 => 2), + array(0 => 91, 1 => 2), + array(0 => 91, 1 => 3), + array(0 => 91, 1 => 3), + array(0 => 91, 1 => 3), + array(0 => 100, 1 => 8), + array(0 => 100, 1 => 7), + array(0 => 88, 1 => 1), + array(0 => 88, 1 => 2), + array(0 => 88, 1 => 2), + array(0 => 88, 1 => 2), + array(0 => 88, 1 => 2), + array(0 => 88, 1 => 1), + array(0 => 88, 1 => 1), + array(0 => 88, 1 => 3), + array(0 => 88, 1 => 2), + array(0 => 88, 1 => 2), + array(0 => 88, 1 => 1), + array(0 => 88, 1 => 1), + array(0 => 88, 1 => 3), + array(0 => 88, 1 => 1), + array(0 => 88, 1 => 1), + array(0 => 88, 1 => 3), + array(0 => 88, 1 => 2), + array(0 => 88, 1 => 2), + array(0 => 88, 1 => 1), + array(0 => 88, 1 => 3), + array(0 => 105, 1 => 1), + array(0 => 105, 1 => 1), + array(0 => 105, 1 => 1), + array(0 => 104, 1 => 1), + array(0 => 104, 1 => 4), + array(0 => 104, 1 => 1), + array(0 => 104, 1 => 3), + array(0 => 104, 1 => 4), + array(0 => 104, 1 => 3), + array(0 => 104, 1 => 4), + array(0 => 92, 1 => 3), + array(0 => 110, 1 => 2), + array(0 => 110, 1 => 0), + array(0 => 111, 1 => 3), + array(0 => 111, 1 => 5), + array(0 => 111, 1 => 2), + array(0 => 111, 1 => 2), + array(0 => 111, 1 => 4), + array(0 => 111, 1 => 3), + array(0 => 111, 1 => 5), + array(0 => 111, 1 => 3), + array(0 => 111, 1 => 2), + array(0 => 96, 1 => 1), + array(0 => 96, 1 => 2), array(0 => 112, 1 => 1), array(0 => 112, 1 => 3), - array(0 => 112, 1 => 4), - array(0 => 106, 1 => 1), - array(0 => 106, 1 => 1), - array(0 => 106, 1 => 1), - array(0 => 106, 1 => 1), - array(0 => 106, 1 => 1), - array(0 => 106, 1 => 1), - array(0 => 106, 1 => 1), - array(0 => 106, 1 => 1), - array(0 => 106, 1 => 1), - array(0 => 107, 1 => 1), - array(0 => 107, 1 => 1), - array(0 => 107, 1 => 1), - array(0 => 105, 1 => 3), - array(0 => 123, 1 => 1), - array(0 => 123, 1 => 3), - array(0 => 123, 1 => 0), - array(0 => 124, 1 => 3), - array(0 => 124, 1 => 3), - array(0 => 124, 1 => 1), - array(0 => 111, 1 => 2), - array(0 => 111, 1 => 3), - array(0 => 125, 1 => 2), - array(0 => 125, 1 => 1), - array(0 => 126, 1 => 3), - array(0 => 126, 1 => 3), - array(0 => 126, 1 => 1), - array(0 => 126, 1 => 3), - array(0 => 126, 1 => 3), - array(0 => 126, 1 => 2), - array(0 => 126, 1 => 1), - array(0 => 99, 1 => 1), - array(0 => 99, 1 => 0), + array(0 => 109, 1 => 2), + array(0 => 113, 1 => 1), + array(0 => 113, 1 => 2), + array(0 => 114, 1 => 3), + array(0 => 114, 1 => 4), + array(0 => 114, 1 => 5), + array(0 => 114, 1 => 6), + array(0 => 114, 1 => 2), + array(0 => 106, 1 => 4), + array(0 => 115, 1 => 4), + array(0 => 115, 1 => 5), + array(0 => 116, 1 => 3), + array(0 => 116, 1 => 1), + array(0 => 116, 1 => 0), + array(0 => 89, 1 => 3), + array(0 => 89, 1 => 2), + array(0 => 117, 1 => 3), + array(0 => 117, 1 => 2), + array(0 => 98, 1 => 2), + array(0 => 98, 1 => 0), + array(0 => 118, 1 => 2), + array(0 => 118, 1 => 2), + array(0 => 108, 1 => 1), + array(0 => 108, 1 => 2), + array(0 => 108, 1 => 1), + array(0 => 108, 1 => 3), + array(0 => 108, 1 => 4), + array(0 => 102, 1 => 1), + array(0 => 102, 1 => 1), + array(0 => 102, 1 => 1), + array(0 => 102, 1 => 1), + array(0 => 102, 1 => 1), + array(0 => 102, 1 => 1), + array(0 => 102, 1 => 1), + array(0 => 102, 1 => 1), + array(0 => 102, 1 => 1), + array(0 => 103, 1 => 1), + array(0 => 103, 1 => 1), + array(0 => 103, 1 => 1), + array(0 => 101, 1 => 3), + array(0 => 119, 1 => 1), + array(0 => 119, 1 => 3), + array(0 => 119, 1 => 0), + array(0 => 120, 1 => 3), + array(0 => 120, 1 => 3), + array(0 => 120, 1 => 1), + array(0 => 107, 1 => 2), + array(0 => 107, 1 => 3), + array(0 => 121, 1 => 2), + array(0 => 121, 1 => 1), + array(0 => 122, 1 => 3), + array(0 => 122, 1 => 3), + array(0 => 122, 1 => 1), + array(0 => 122, 1 => 3), + array(0 => 122, 1 => 3), + array(0 => 122, 1 => 2), + array(0 => 122, 1 => 1), + array(0 => 95, 1 => 1), + array(0 => 95, 1 => 0), ); public static $yyReduceMap = array( @@ -2072,149 +2002,149 @@ class Smarty_Internal_Templateparser 8 => 8, 9 => 9, 10 => 10, + 19 => 10, + 20 => 10, + 41 => 10, + 63 => 10, + 64 => 10, + 71 => 10, + 72 => 10, + 77 => 10, + 96 => 10, + 101 => 10, + 102 => 10, + 107 => 10, + 109 => 10, + 110 => 10, + 114 => 10, + 116 => 10, + 117 => 10, + 118 => 10, + 121 => 10, + 138 => 10, + 182 => 10, + 187 => 10, + 199 => 10, 11 => 11, 12 => 12, 13 => 13, 14 => 14, - 23 => 14, - 24 => 14, - 45 => 14, - 67 => 14, - 68 => 14, - 75 => 14, - 76 => 14, - 81 => 14, - 100 => 14, - 105 => 14, - 106 => 14, - 111 => 14, - 113 => 14, - 114 => 14, - 118 => 14, - 120 => 14, - 121 => 14, - 122 => 14, - 125 => 14, - 142 => 14, - 186 => 14, - 191 => 14, - 203 => 14, 15 => 15, + 18 => 15, + 200 => 15, 16 => 16, + 70 => 16, 17 => 17, - 18 => 18, - 19 => 19, - 22 => 19, - 204 => 19, - 20 => 20, - 74 => 20, + 97 => 17, + 99 => 17, + 100 => 17, + 127 => 17, 21 => 21, - 101 => 21, - 103 => 21, - 104 => 21, - 131 => 21, - 25 => 25, + 22 => 22, + 23 => 23, + 25 => 23, + 24 => 24, 26 => 26, - 27 => 27, - 29 => 27, + 27 => 26, 28 => 28, + 29 => 29, 30 => 30, - 31 => 30, + 31 => 31, 32 => 32, 33 => 33, 34 => 34, 35 => 35, 36 => 36, + 38 => 36, 37 => 37, - 38 => 38, 39 => 39, 40 => 40, - 42 => 40, - 41 => 41, + 42 => 42, 43 => 43, 44 => 44, + 45 => 45, + 47 => 45, 46 => 46, - 47 => 47, - 48 => 48, + 48 => 46, 49 => 49, - 51 => 49, 50 => 50, - 52 => 50, + 51 => 51, + 52 => 52, 53 => 53, 54 => 54, 55 => 55, 56 => 56, 57 => 57, + 66 => 57, + 154 => 57, + 158 => 57, + 162 => 57, + 163 => 57, 58 => 58, + 155 => 58, + 161 => 58, 59 => 59, 60 => 60, - 61 => 61, - 70 => 61, - 158 => 61, - 162 => 61, - 166 => 61, - 167 => 61, + 61 => 60, 62 => 62, - 159 => 62, - 165 => 62, - 63 => 63, - 64 => 64, - 65 => 64, - 66 => 66, - 69 => 69, - 71 => 71, - 72 => 72, - 73 => 72, - 77 => 77, + 65 => 65, + 67 => 67, + 68 => 68, + 69 => 68, + 73 => 73, + 74 => 74, + 75 => 74, + 76 => 74, 78 => 78, - 79 => 78, - 80 => 78, - 82 => 82, - 117 => 82, + 113 => 78, + 79 => 79, + 82 => 79, + 80 => 80, + 81 => 81, 83 => 83, - 86 => 83, 84 => 84, 85 => 85, + 90 => 85, + 86 => 86, + 89 => 86, 87 => 87, + 92 => 87, 88 => 88, - 89 => 89, - 94 => 89, - 90 => 90, - 93 => 90, - 91 => 91, - 96 => 91, - 92 => 92, - 95 => 92, - 97 => 97, + 91 => 88, + 93 => 93, + 94 => 94, + 95 => 95, 98 => 98, - 99 => 99, - 102 => 102, - 107 => 107, + 103 => 103, + 104 => 104, + 105 => 105, + 106 => 106, 108 => 108, - 109 => 109, - 110 => 110, + 111 => 111, 112 => 112, 115 => 115, - 116 => 116, 119 => 119, + 120 => 120, + 122 => 122, 123 => 123, 124 => 124, + 125 => 125, 126 => 126, - 127 => 127, 128 => 128, + 184 => 128, 129 => 129, 130 => 130, + 131 => 131, 132 => 132, - 188 => 132, 133 => 133, + 136 => 133, 134 => 134, 135 => 135, - 136 => 136, 137 => 137, - 140 => 137, - 138 => 138, 139 => 139, + 140 => 140, 141 => 141, + 142 => 142, 143 => 143, 144 => 144, 145 => 145, @@ -2226,14 +2156,14 @@ class Smarty_Internal_Templateparser 151 => 151, 152 => 152, 153 => 153, - 154 => 154, - 155 => 155, 156 => 156, 157 => 157, + 159 => 159, 160 => 160, - 161 => 161, - 163 => 163, 164 => 164, + 165 => 165, + 166 => 166, + 167 => 167, 168 => 168, 169 => 169, 170 => 170, @@ -2248,33 +2178,29 @@ class Smarty_Internal_Templateparser 179 => 179, 180 => 180, 181 => 181, - 182 => 182, 183 => 183, - 184 => 184, 185 => 185, - 187 => 187, + 186 => 186, + 188 => 188, 189 => 189, 190 => 190, + 191 => 191, 192 => 192, - 193 => 193, + 193 => 192, + 195 => 192, 194 => 194, - 195 => 195, 196 => 196, - 197 => 196, - 199 => 196, + 197 => 197, 198 => 198, - 200 => 200, - 201 => 201, - 202 => 202, ); - #line 206 "../smarty/lexer/smarty_internal_templateparser.y" + #line 195 "../smarty/lexer/smarty_internal_templateparser.y" function yy_r0() { $this->_retvalue = $this->root_buffer->to_smarty_php(); } - #line 214 "../smarty/lexer/smarty_internal_templateparser.y" + #line 203 "../smarty/lexer/smarty_internal_templateparser.y" function yy_r1() { if ($this->yystack[$this->yyidx + 0]->minor != null) { @@ -2282,7 +2208,7 @@ class Smarty_Internal_Templateparser } } - #line 221 "../smarty/lexer/smarty_internal_templateparser.y" + #line 210 "../smarty/lexer/smarty_internal_templateparser.y" function yy_r2() { if ($this->yystack[$this->yyidx + 0]->minor != null) { @@ -2291,7 +2217,7 @@ class Smarty_Internal_Templateparser } } - #line 235 "../smarty/lexer/smarty_internal_templateparser.y" + #line 224 "../smarty/lexer/smarty_internal_templateparser.y" function yy_r4() { if ($this->compiler->has_code) { @@ -2308,171 +2234,76 @@ class Smarty_Internal_Templateparser $this->block_nesting_level = count($this->compiler->_tag_stack); } - #line 247 "../smarty/lexer/smarty_internal_templateparser.y" + #line 236 "../smarty/lexer/smarty_internal_templateparser.y" function yy_r5() { $this->_retvalue = null; } - #line 252 "../smarty/lexer/smarty_internal_templateparser.y" + #line 241 "../smarty/lexer/smarty_internal_templateparser.y" function yy_r6() { $this->_retvalue = new Smarty_Internal_ParseTree_Text($this, $this->yystack[$this->yyidx + 0]->minor); } - #line 257 "../smarty/lexer/smarty_internal_templateparser.y" + #line 245 "../smarty/lexer/smarty_internal_templateparser.y" function yy_r7() { - if (strpos($this->yystack[$this->yyidx + 0]->minor, 'lex->is_phpScript = true; - } - if ($this->php_handling == Smarty::PHP_PASSTHRU) { - if ($this->lex->is_phpScript) { - $s = addcslashes($this->yystack[$this->yyidx + 0]->minor, "'"); - $this->_retvalue = new Smarty_Internal_ParseTree_Text($this, $s); - } else { - $this->_retvalue = new Smarty_Internal_ParseTree_Text($this, $this->yystack[$this->yyidx + 0]->minor); + $code = $this->compiler->compileTag('private_php', array(array('code' => $this->yystack[$this->yyidx + 0]->minor), array('type' => $this->lex->phpType)), array()); + if ($this->compiler->has_code && !empty($code)) { + $tmp = ''; + foreach ($this->compiler->prefix_code as $code) { + $tmp .= $code; } - } elseif ($this->php_handling == Smarty::PHP_QUOTE) { - $this->_retvalue = new Smarty_Internal_ParseTree_Text($this, htmlspecialchars($this->yystack[$this->yyidx + 0]->minor, ENT_QUOTES)); - } elseif ($this->php_handling == Smarty::PHP_ALLOW) { - if (!($this->smarty instanceof SmartyBC)) { - $this->compiler->trigger_template_error(self::Err3); - } - $this->_retvalue = new Smarty_Internal_ParseTree_Tag($this, $this->compiler->processNocacheCode('php_handling == Smarty::PHP_REMOVE) { + $this->compiler->prefix_code = array(); + $this->_retvalue = new Smarty_Internal_ParseTree_Tag($this, $this->compiler->processNocacheCode($tmp . $code, true)); + } else { $this->_retvalue = null; } } - #line 281 "../smarty/lexer/smarty_internal_templateparser.y" + #line 258 "../smarty/lexer/smarty_internal_templateparser.y" function yy_r8() - { - if ($this->is_xml) { - $this->compiler->tag_nocache = true; - $this->is_xml = false; - $save = $this->template->has_nocache_code; - $this->_retvalue = new Smarty_Internal_ParseTree_Tag($this, $this->compiler->processNocacheCode("';?>\n", $this->compiler, true)); - $this->template->has_nocache_code = $save; - } elseif ($this->php_handling == Smarty::PHP_PASSTHRU) { - $this->_retvalue = new Smarty_Internal_ParseTree_Text($this, $this->yystack[$this->yyidx + 0]->minor); - } elseif ($this->php_handling == Smarty::PHP_QUOTE) { - $this->_retvalue = new Smarty_Internal_ParseTree_Text($this, htmlspecialchars('?>', ENT_QUOTES)); - } elseif ($this->php_handling == Smarty::PHP_ALLOW) { - $this->_retvalue = new Smarty_Internal_ParseTree_Tag($this, $this->compiler->processNocacheCode('?>', true)); - } elseif ($this->php_handling == Smarty::PHP_REMOVE) { - $this->_retvalue = null; - } - } - - #line 299 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r9() - { - if (!$this->lex->is_phpScript) { - $this->_retvalue = new Smarty_Internal_ParseTree_Text($this, $this->yystack[$this->yyidx + 0]->minor); - } else { - $this->lex->is_phpScript = false; - if ($this->php_handling == Smarty::PHP_PASSTHRU) { - $this->_retvalue = new Smarty_Internal_ParseTree_Text($this, $this->yystack[$this->yyidx + 0]->minor); - } elseif ($this->php_handling == Smarty::PHP_QUOTE) { - $this->_retvalue = new Smarty_Internal_ParseTree_Text($this, htmlspecialchars($this->yystack[$this->yyidx + 0]->minor, ENT_QUOTES)); - } elseif ($this->php_handling == Smarty::PHP_ALLOW) { - $this->_retvalue = new Smarty_Internal_ParseTree_Tag($this, $this->compiler->processNocacheCode('?>', true)); - } elseif ($this->php_handling == Smarty::PHP_REMOVE) { - $this->_retvalue = null; - } - } - } - - #line 317 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r10() - { - if ($this->php_handling == Smarty::PHP_PASSTHRU) { - $this->_retvalue = new Smarty_Internal_ParseTree_Text($this, $this->yystack[$this->yyidx + 0]->minor); - } elseif ($this->php_handling == Smarty::PHP_QUOTE) { - $this->_retvalue = new Smarty_Internal_ParseTree_Text($this, htmlspecialchars($this->yystack[$this->yyidx + 0]->minor, ENT_QUOTES)); - } elseif ($this->php_handling == Smarty::PHP_ALLOW) { - if ($this->asp_tags) { - if (!($this->smarty instanceof SmartyBC)) { - $this->compiler->trigger_template_error(self::Err3); - } - $this->_retvalue = new Smarty_Internal_ParseTree_Tag($this, $this->compiler->processNocacheCode('<%', true)); - } else { - $this->_retvalue = new Smarty_Internal_ParseTree_Text($this, $this->yystack[$this->yyidx + 0]->minor); - } - } elseif ($this->php_handling == Smarty::PHP_REMOVE) { - if ($this->asp_tags) { - $this->_retvalue = null; - } else { - $this->_retvalue = new Smarty_Internal_ParseTree_Text($this, $this->yystack[$this->yyidx + 0]->minor); - } - } - } - - #line 341 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r11() - { - if ($this->php_handling == Smarty::PHP_PASSTHRU) { - $this->_retvalue = new Smarty_Internal_ParseTree_Text($this, $this->yystack[$this->yyidx + 0]->minor); - } elseif ($this->php_handling == Smarty::PHP_QUOTE) { - $this->_retvalue = new Smarty_Internal_ParseTree_Text($this, htmlspecialchars('%>', ENT_QUOTES)); - } elseif ($this->php_handling == Smarty::PHP_ALLOW) { - if ($this->asp_tags) { - $this->_retvalue = new Smarty_Internal_ParseTree_Tag($this, $this->compiler->processNocacheCode('%>', true)); - } else { - $this->_retvalue = new Smarty_Internal_ParseTree_Text($this, $this->yystack[$this->yyidx + 0]->minor); - } - } elseif ($this->php_handling == Smarty::PHP_REMOVE) { - if ($this->asp_tags) { - $this->_retvalue = null; - } else { - $this->_retvalue = new Smarty_Internal_ParseTree_Text($this, $this->yystack[$this->yyidx + 0]->minor); - } - } - } - - #line 363 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r12() { $this->compiler->tag_nocache = true; - $this->is_xml = true; + $xml = $this->yystack[$this->yyidx + 0]->minor; $save = $this->template->has_nocache_code; - $this->_retvalue = new Smarty_Internal_ParseTree_Tag($this, $this->compiler->processNocacheCode("", $this->compiler, true)); + $this->_retvalue = new Smarty_Internal_ParseTree_Tag($this, $this->compiler->processNocacheCode("", $this->compiler, true)); $this->template->has_nocache_code = $save; } - #line 372 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r13() + #line 267 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r9() { $this->_retvalue = $this->compiler->processText($this->yystack[$this->yyidx + 0]->minor); } - #line 376 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r14() + #line 271 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r10() { $this->_retvalue = $this->yystack[$this->yyidx + 0]->minor; } - #line 380 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r15() + #line 275 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r11() { $this->_retvalue = $this->yystack[$this->yyidx + - 1]->minor . $this->yystack[$this->yyidx + 0]->minor; } - #line 385 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r16() + #line 280 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r12() { $this->strip = true; } - #line 389 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r17() + #line 284 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r13() { $this->strip = false; } - #line 393 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r18() + #line 288 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r14() { if ($this->strip) { SMARTY_INTERNAL_COMPILE_BLOCK::blockSource($this->compiler, preg_replace('![\t ]*[\r\n]+[\t ]*!', '', $this->yystack[$this->yyidx + 0]->minor)); @@ -2481,68 +2312,68 @@ class Smarty_Internal_Templateparser } } - #line 402 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r19() + #line 297 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r15() { $this->_retvalue = ''; } - #line 406 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r20() + #line 301 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r16() { $this->_retvalue = $this->yystack[$this->yyidx + - 1]->minor; } - #line 410 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r21() + #line 305 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r17() { $this->_retvalue = $this->yystack[$this->yyidx + - 1]->minor . $this->yystack[$this->yyidx + 0]->minor; } - #line 431 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r25() + #line 326 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r21() { $this->_retvalue = $this->compiler->compileTag('private_print_expression', array(), array('value' => $this->yystack[$this->yyidx + 0]->minor)); } - #line 435 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r26() + #line 330 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r22() { $this->_retvalue = $this->compiler->compileTag('private_print_expression', $this->yystack[$this->yyidx + 0]->minor, array('value' => $this->yystack[$this->yyidx + - 2]->minor, 'modifierlist' => $this->yystack[$this->yyidx + - 1]->minor)); } - #line 439 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r27() + #line 334 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r23() { $this->_retvalue = $this->compiler->compileTag('private_print_expression', $this->yystack[$this->yyidx + 0]->minor, array('value' => $this->yystack[$this->yyidx + - 1]->minor)); } - #line 443 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r28() + #line 338 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r24() { $this->_retvalue = $this->compiler->compileTag('private_print_expression', $this->yystack[$this->yyidx + 0]->minor, array('value' => $this->yystack[$this->yyidx + - 2]->minor, 'modifierlist' => $this->yystack[$this->yyidx + - 1]->minor)); } - #line 456 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r30() + #line 351 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r26() { $this->_retvalue = $this->compiler->compileTag('assign', array(array('value' => $this->yystack[$this->yyidx + 0]->minor), array('var' => "'" . $this->yystack[$this->yyidx + - 2]->minor . "'"))); } - #line 464 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r32() + #line 359 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r28() { $this->_retvalue = $this->compiler->compileTag('assign', array_merge(array(array('value' => $this->yystack[$this->yyidx + - 1]->minor), array('var' => "'" . $this->yystack[$this->yyidx + - 3]->minor . "'")), $this->yystack[$this->yyidx + 0]->minor)); } - #line 468 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r33() + #line 363 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r29() { $this->_retvalue = $this->compiler->compileTag('assign', array_merge(array(array('value' => $this->yystack[$this->yyidx + - 1]->minor), array('var' => $this->yystack[$this->yyidx + - 3]->minor['var'])), $this->yystack[$this->yyidx + 0]->minor), array('smarty_internal_index' => $this->yystack[$this->yyidx + - 3]->minor['smarty_internal_index'])); } - #line 473 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r34() + #line 368 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r30() { if (defined($this->yystack[$this->yyidx + - 1]->minor)) { if (isset($this->smarty->security_policy)) { @@ -2554,8 +2385,8 @@ class Smarty_Internal_Templateparser } } - #line 483 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r35() + #line 378 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r31() { if (defined($this->yystack[$this->yyidx + 0]->minor)) { if (isset($this->smarty->security_policy)) { @@ -2567,8 +2398,8 @@ class Smarty_Internal_Templateparser } } - #line 496 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r36() + #line 391 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r32() { if (defined($this->yystack[$this->yyidx + - 2]->minor)) { if (isset($this->smarty->security_policy)) { @@ -2581,96 +2412,96 @@ class Smarty_Internal_Templateparser } } - #line 509 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r37() + #line 404 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r33() { $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + - 3]->minor, $this->yystack[$this->yyidx + 0]->minor, array('object_method' => $this->yystack[$this->yyidx + - 1]->minor)); } - #line 514 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r38() + #line 409 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r34() { $this->_retvalue = '' . $this->compiler->compileTag($this->yystack[$this->yyidx + - 4]->minor, $this->yystack[$this->yyidx + 0]->minor, array('object_method' => $this->yystack[$this->yyidx + - 2]->minor)) . '_retvalue .= $this->compiler->compileTag('private_modifier', array(), array('modifierlist' => $this->yystack[$this->yyidx + - 1]->minor, 'value' => 'ob_get_clean()')) . ';?>'; } - #line 520 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r39() + #line 415 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r35() { $tag = trim(substr($this->yystack[$this->yyidx + - 1]->minor, $this->lex->ldel_length)); $this->_retvalue = $this->compiler->compileTag(($tag == 'else if') ? 'elseif' : $tag, array(), array('if condition' => $this->yystack[$this->yyidx + 0]->minor)); } - #line 525 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r40() + #line 420 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r36() { $tag = trim(substr($this->yystack[$this->yyidx + - 2]->minor, $this->lex->ldel_length)); $this->_retvalue = $this->compiler->compileTag(($tag == 'else if') ? 'elseif' : $tag, $this->yystack[$this->yyidx + 0]->minor, array('if condition' => $this->yystack[$this->yyidx + - 1]->minor)); } - #line 530 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r41() + #line 425 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r37() { $tag = trim(substr($this->yystack[$this->yyidx + - 1]->minor, $this->lex->ldel_length)); $this->_retvalue = $this->compiler->compileTag(($tag == 'else if') ? 'elseif' : $tag, array(), array('if condition' => $this->yystack[$this->yyidx + 0]->minor)); } - #line 541 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r43() + #line 436 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r39() { $this->_retvalue = $this->compiler->compileTag('for', array_merge($this->yystack[$this->yyidx + 0]->minor, array(array('start' => $this->yystack[$this->yyidx + - 9]->minor), array('ifexp' => $this->yystack[$this->yyidx + - 6]->minor), array('var' => $this->yystack[$this->yyidx + - 2]->minor), array('step' => $this->yystack[$this->yyidx + - 1]->minor))), 1); } - #line 545 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r44() + #line 440 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r40() { $this->_retvalue = '=' . $this->yystack[$this->yyidx + 0]->minor; } - #line 553 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r46() + #line 448 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r42() { $this->_retvalue = $this->compiler->compileTag('for', array_merge($this->yystack[$this->yyidx + 0]->minor, array(array('start' => $this->yystack[$this->yyidx + - 3]->minor), array('to' => $this->yystack[$this->yyidx + - 1]->minor))), 0); } - #line 557 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r47() + #line 452 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r43() { $this->_retvalue = $this->compiler->compileTag('for', array_merge($this->yystack[$this->yyidx + 0]->minor, array(array('start' => $this->yystack[$this->yyidx + - 5]->minor), array('to' => $this->yystack[$this->yyidx + - 3]->minor), array('step' => $this->yystack[$this->yyidx + - 1]->minor))), 0); } - #line 562 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r48() + #line 457 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r44() { $this->_retvalue = $this->compiler->compileTag('foreach', $this->yystack[$this->yyidx + 0]->minor); } - #line 567 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r49() + #line 462 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r45() { $this->_retvalue = $this->compiler->compileTag('foreach', array_merge($this->yystack[$this->yyidx + 0]->minor, array(array('from' => $this->yystack[$this->yyidx + - 4]->minor), array('item' => $this->yystack[$this->yyidx + - 1]->minor)))); } - #line 571 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r50() + #line 466 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r46() { $this->_retvalue = $this->compiler->compileTag('foreach', array_merge($this->yystack[$this->yyidx + 0]->minor, array(array('from' => $this->yystack[$this->yyidx + - 7]->minor), array('item' => $this->yystack[$this->yyidx + - 1]->minor), array('key' => $this->yystack[$this->yyidx + - 4]->minor)))); } - #line 584 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r53() + #line 479 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r49() { $this->_retvalue = $this->compiler->compileTag('setfilter', array(), array('modifier_list' => array(array_merge(array($this->yystack[$this->yyidx + - 1]->minor), $this->yystack[$this->yyidx + 0]->minor)))); } - #line 588 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r54() + #line 483 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r50() { $this->_retvalue = $this->compiler->compileTag('setfilter', array(), array('modifier_list' => array_merge(array(array_merge(array($this->yystack[$this->yyidx + - 2]->minor), $this->yystack[$this->yyidx + - 1]->minor)), $this->yystack[$this->yyidx + 0]->minor))); } - #line 593 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r55() + #line 488 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r51() { $j = strrpos($this->yystack[$this->yyidx + 0]->minor, '.'); if ($this->yystack[$this->yyidx + 0]->minor[$j + 1] == 'c') { @@ -2682,51 +2513,51 @@ class Smarty_Internal_Templateparser } } - #line 606 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r56() + #line 501 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r52() { $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + 0]->minor . 'close', array()); } - #line 610 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r57() + #line 505 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r53() { $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + - 1]->minor . 'close', array(), array('modifier_list' => $this->yystack[$this->yyidx + 0]->minor)); } - #line 615 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r58() + #line 510 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r54() { $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + - 2]->minor . 'close', array(), array('object_method' => $this->yystack[$this->yyidx + 0]->minor)); } - #line 619 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r59() + #line 514 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r55() { $this->_retvalue = $this->compiler->compileTag($this->yystack[$this->yyidx + - 3]->minor . 'close', array(), array('object_method' => $this->yystack[$this->yyidx + - 1]->minor, 'modifier_list' => $this->yystack[$this->yyidx + 0]->minor)); } - #line 627 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r60() + #line 522 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r56() { $this->_retvalue = $this->yystack[$this->yyidx + - 1]->minor; $this->_retvalue[] = $this->yystack[$this->yyidx + 0]->minor; } - #line 633 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r61() + #line 528 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r57() { $this->_retvalue = array($this->yystack[$this->yyidx + 0]->minor); } - #line 638 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r62() + #line 533 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r58() { $this->_retvalue = array(); } - #line 643 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r63() + #line 538 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r59() { if (defined($this->yystack[$this->yyidx + 0]->minor)) { if (isset($this->smarty->security_policy)) { @@ -2738,153 +2569,153 @@ class Smarty_Internal_Templateparser } } - #line 654 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r64() + #line 549 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r60() { $this->_retvalue = array(trim($this->yystack[$this->yyidx + - 1]->minor, " =\n\r\t") => $this->yystack[$this->yyidx + 0]->minor); } - #line 662 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r66() + #line 557 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r62() { $this->_retvalue = "'" . $this->yystack[$this->yyidx + 0]->minor . "'"; } - #line 674 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r69() + #line 569 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r65() { $this->_retvalue = array($this->yystack[$this->yyidx + - 2]->minor => $this->yystack[$this->yyidx + 0]->minor); } - #line 687 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r71() + #line 582 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r67() { $this->yystack[$this->yyidx + - 2]->minor[] = $this->yystack[$this->yyidx + 0]->minor; $this->_retvalue = $this->yystack[$this->yyidx + - 2]->minor; } - #line 692 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r72() + #line 587 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r68() { $this->_retvalue = array('var' => $this->yystack[$this->yyidx + - 2]->minor, 'value' => $this->yystack[$this->yyidx + 0]->minor); } - #line 720 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r77() + #line 615 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r73() { $this->_retvalue = '$_smarty_tpl->getStreamVariable(\'' . $this->yystack[$this->yyidx + - 2]->minor . '://' . $this->yystack[$this->yyidx + 0]->minor . '\')'; } - #line 725 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r78() + #line 620 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r74() { $this->_retvalue = $this->yystack[$this->yyidx + - 2]->minor . trim($this->yystack[$this->yyidx + - 1]->minor) . $this->yystack[$this->yyidx + 0]->minor; } - #line 744 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r82() + #line 639 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r78() { $this->_retvalue = $this->compiler->compileTag('private_modifier', array(), array('value' => $this->yystack[$this->yyidx + - 1]->minor, 'modifierlist' => $this->yystack[$this->yyidx + 0]->minor)); } - #line 750 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r83() + #line 645 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r79() { $this->_retvalue = $this->yystack[$this->yyidx + - 2]->minor . $this->yystack[$this->yyidx + - 1]->minor . $this->yystack[$this->yyidx + 0]->minor; } - #line 754 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r84() + #line 649 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r80() { $this->_retvalue = 'in_array(' . $this->yystack[$this->yyidx + - 2]->minor . ',' . $this->yystack[$this->yyidx + 0]->minor . ')'; } - #line 758 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r85() + #line 653 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r81() { $this->_retvalue = 'in_array(' . $this->yystack[$this->yyidx + - 2]->minor . ',(array)' . $this->yystack[$this->yyidx + 0]->minor . ')'; } - #line 766 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r87() + #line 661 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r83() { $this->_retvalue = '!(' . $this->yystack[$this->yyidx + - 2]->minor . ' % ' . $this->yystack[$this->yyidx + 0]->minor . ')'; } - #line 770 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r88() + #line 665 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r84() { $this->_retvalue = '(' . $this->yystack[$this->yyidx + - 2]->minor . ' % ' . $this->yystack[$this->yyidx + 0]->minor . ')'; } - #line 774 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r89() + #line 669 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r85() { $this->_retvalue = '!(1 & ' . $this->yystack[$this->yyidx + - 1]->minor . ')'; } - #line 778 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r90() + #line 673 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r86() { $this->_retvalue = '(1 & ' . $this->yystack[$this->yyidx + - 1]->minor . ')'; } - #line 782 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r91() + #line 677 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r87() { $this->_retvalue = '!(1 & ' . $this->yystack[$this->yyidx + - 2]->minor . ' / ' . $this->yystack[$this->yyidx + 0]->minor . ')'; } - #line 786 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r92() + #line 681 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r88() { $this->_retvalue = '(1 & ' . $this->yystack[$this->yyidx + - 2]->minor . ' / ' . $this->yystack[$this->yyidx + 0]->minor . ')'; } - #line 806 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r97() + #line 701 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r93() { $this->_retvalue = $this->yystack[$this->yyidx + - 2]->minor . $this->yystack[$this->yyidx + - 1]->minor . $this->yystack[$this->yyidx + 0]->minor; } - #line 814 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r98() + #line 709 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r94() { $this->_retvalue = $this->yystack[$this->yyidx + - 6]->minor . ' ? ' . $this->compiler->compileVariable("'" . $this->yystack[$this->yyidx + - 2]->minor . "'") . ' : ' . $this->yystack[$this->yyidx + 0]->minor; } - #line 818 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r99() + #line 713 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r95() { $this->_retvalue = $this->yystack[$this->yyidx + - 5]->minor . ' ? ' . $this->yystack[$this->yyidx + - 2]->minor . ' : ' . $this->yystack[$this->yyidx + 0]->minor; } - #line 833 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r102() + #line 728 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r98() { $this->_retvalue = '!' . $this->yystack[$this->yyidx + 0]->minor; } - #line 854 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r107() + #line 749 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r103() { $this->_retvalue = $this->yystack[$this->yyidx + - 2]->minor . '.' . $this->yystack[$this->yyidx + 0]->minor; } - #line 858 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r108() + #line 753 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r104() { $this->_retvalue = $this->yystack[$this->yyidx + - 1]->minor . '.'; } - #line 862 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r109() + #line 757 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r105() { $this->_retvalue = '.' . $this->yystack[$this->yyidx + 0]->minor; } - #line 867 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r110() + #line 762 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r106() { if (defined($this->yystack[$this->yyidx + 0]->minor)) { if (isset($this->smarty->security_policy)) { @@ -2896,14 +2727,14 @@ class Smarty_Internal_Templateparser } } - #line 884 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r112() + #line 779 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r108() { $this->_retvalue = "(" . $this->yystack[$this->yyidx + - 1]->minor . ")"; } - #line 899 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r115() + #line 794 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r111() { self::$prefix_number ++; if ($this->yystack[$this->yyidx + - 2]->minor['var'] == '\'smarty\'') { @@ -2914,16 +2745,16 @@ class Smarty_Internal_Templateparser $this->_retvalue = '$_tmp' . self::$prefix_number . '::' . $this->yystack[$this->yyidx + 0]->minor[0] . $this->yystack[$this->yyidx + 0]->minor[1]; } - #line 911 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r116() + #line 806 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r112() { self::$prefix_number ++; $this->compiler->prefix_code[] = '' . $this->yystack[$this->yyidx + - 1]->minor . ''; $this->_retvalue = '$_tmp' . self::$prefix_number; } - #line 927 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r119() + #line 822 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r115() { if (!in_array(strtolower($this->yystack[$this->yyidx + - 2]->minor), array('self', 'parent')) && (!$this->security || $this->smarty->security_policy->isTrustedStaticClassAccess($this->yystack[$this->yyidx + - 2]->minor, $this->yystack[$this->yyidx + 0]->minor, $this->compiler))) { if (isset($this->smarty->registered_classes[$this->yystack[$this->yyidx + - 2]->minor])) { @@ -2936,8 +2767,8 @@ class Smarty_Internal_Templateparser } } - #line 961 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r123() + #line 856 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r119() { if ($this->yystack[$this->yyidx + 0]->minor['var'] == '\'smarty\'') { $smarty_var = $this->compiler->compileTag('private_special_variable', array(), $this->yystack[$this->yyidx + 0]->minor['smarty_internal_index']); @@ -2950,62 +2781,62 @@ class Smarty_Internal_Templateparser } } - #line 974 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r124() + #line 869 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r120() { $this->_retvalue = '$_smarty_tpl->tpl_vars[' . $this->yystack[$this->yyidx + - 2]->minor . ']->' . $this->yystack[$this->yyidx + 0]->minor; } - #line 984 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r126() + #line 879 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r122() { $this->_retvalue = '$_smarty_tpl->getConfigVariable( \'' . $this->yystack[$this->yyidx + - 1]->minor . '\')'; } - #line 988 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r127() + #line 883 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r123() { $this->_retvalue = '(is_array($tmp = $_smarty_tpl->getConfigVariable( \'' . $this->yystack[$this->yyidx + - 2]->minor . '\')) ? $tmp' . $this->yystack[$this->yyidx + 0]->minor . ' :null)'; } - #line 992 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r128() + #line 887 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r124() { $this->_retvalue = '$_smarty_tpl->getConfigVariable( ' . $this->yystack[$this->yyidx + - 1]->minor . ')'; } - #line 996 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r129() + #line 891 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r125() { $this->_retvalue = '(is_array($tmp = $_smarty_tpl->getConfigVariable( ' . $this->yystack[$this->yyidx + - 2]->minor . ')) ? $tmp' . $this->yystack[$this->yyidx + 0]->minor . ' : null)'; } - #line 1000 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r130() + #line 895 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r126() { $this->_retvalue = array('var' => $this->yystack[$this->yyidx + - 1]->minor, 'smarty_internal_index' => $this->yystack[$this->yyidx + 0]->minor); } - #line 1013 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r132() + #line 908 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r128() { return; } - #line 1019 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r133() + #line 914 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r129() { $this->_retvalue = '[' . $this->compiler->compileVariable($this->yystack[$this->yyidx + 0]->minor) . ']'; } - #line 1023 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r134() + #line 918 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r130() { $this->_retvalue = '[' . $this->compiler->compileVariable($this->yystack[$this->yyidx + - 2]->minor) . '->' . $this->yystack[$this->yyidx + 0]->minor . ']'; } - #line 1027 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r135() + #line 922 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r131() { if (defined($this->yystack[$this->yyidx + 0]->minor)) { if (isset($this->smarty->security_policy)) { @@ -3017,56 +2848,56 @@ class Smarty_Internal_Templateparser } } - #line 1038 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r136() + #line 933 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r132() { $this->_retvalue = "[" . $this->yystack[$this->yyidx + 0]->minor . "]"; } - #line 1043 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r137() + #line 938 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r133() { $this->_retvalue = "[" . $this->yystack[$this->yyidx + - 1]->minor . "]"; } - #line 1048 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r138() + #line 943 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r134() { $this->_retvalue = '[' . $this->compiler->compileTag('private_special_variable', array(), '[\'section\'][\'' . $this->yystack[$this->yyidx + - 1]->minor . '\'][\'index\']') . ']'; } - #line 1052 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r139() + #line 947 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r135() { $this->_retvalue = '[' . $this->compiler->compileTag('private_special_variable', array(), '[\'section\'][\'' . $this->yystack[$this->yyidx + - 3]->minor . '\'][\'' . $this->yystack[$this->yyidx + - 1]->minor . '\']') . ']'; } - #line 1062 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r141() + #line 957 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r137() { $this->_retvalue = '[]'; } - #line 1076 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r143() + #line 971 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r139() { $this->_retvalue = $this->yystack[$this->yyidx + - 1]->minor . '.' . $this->yystack[$this->yyidx + 0]->minor; } - #line 1081 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r144() + #line 976 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r140() { $this->_retvalue = '\'' . $this->yystack[$this->yyidx + 0]->minor . '\''; } - #line 1086 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r145() + #line 981 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r141() { $this->_retvalue = '(' . $this->yystack[$this->yyidx + - 1]->minor . ')'; } - #line 1093 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r146() + #line 988 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r142() { if ($this->yystack[$this->yyidx + - 1]->minor['var'] == '\'smarty\'') { $this->_retvalue = $this->compiler->compileTag('private_special_variable', array(), $this->yystack[$this->yyidx + - 1]->minor['smarty_internal_index']) . $this->yystack[$this->yyidx + 0]->minor; @@ -3075,20 +2906,20 @@ class Smarty_Internal_Templateparser } } - #line 1102 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r147() + #line 997 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r143() { $this->_retvalue = $this->yystack[$this->yyidx + 0]->minor; } - #line 1107 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r148() + #line 1002 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r144() { $this->_retvalue = $this->yystack[$this->yyidx + - 1]->minor . $this->yystack[$this->yyidx + 0]->minor; } - #line 1112 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r149() + #line 1007 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r145() { if ($this->security && substr($this->yystack[$this->yyidx + - 1]->minor, 0, 1) == '_') { $this->compiler->trigger_template_error(self::Err1); @@ -3096,8 +2927,8 @@ class Smarty_Internal_Templateparser $this->_retvalue = '->' . $this->yystack[$this->yyidx + - 1]->minor . $this->yystack[$this->yyidx + 0]->minor; } - #line 1119 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r150() + #line 1014 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r146() { if ($this->security) { $this->compiler->trigger_template_error(self::Err2); @@ -3105,8 +2936,8 @@ class Smarty_Internal_Templateparser $this->_retvalue = '->{' . $this->compiler->compileVariable($this->yystack[$this->yyidx + - 1]->minor) . $this->yystack[$this->yyidx + 0]->minor . '}'; } - #line 1126 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r151() + #line 1021 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r147() { if ($this->security) { $this->compiler->trigger_template_error(self::Err2); @@ -3114,8 +2945,8 @@ class Smarty_Internal_Templateparser $this->_retvalue = '->{' . $this->yystack[$this->yyidx + - 2]->minor . $this->yystack[$this->yyidx + 0]->minor . '}'; } - #line 1133 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r152() + #line 1028 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r148() { if ($this->security) { $this->compiler->trigger_template_error(self::Err2); @@ -3123,14 +2954,14 @@ class Smarty_Internal_Templateparser $this->_retvalue = '->{\'' . $this->yystack[$this->yyidx + - 4]->minor . '\'.' . $this->yystack[$this->yyidx + - 2]->minor . $this->yystack[$this->yyidx + 0]->minor . '}'; } - #line 1141 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r153() + #line 1036 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r149() { $this->_retvalue = '->' . $this->yystack[$this->yyidx + 0]->minor; } - #line 1149 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r154() + #line 1044 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r150() { if (!$this->security || $this->smarty->security_policy->isTrustedPhpFunction($this->yystack[$this->yyidx + - 3]->minor, $this->compiler)) { if (strcasecmp($this->yystack[$this->yyidx + - 3]->minor, 'isset') === 0 || strcasecmp($this->yystack[$this->yyidx + - 3]->minor, 'empty') === 0 || strcasecmp($this->yystack[$this->yyidx + - 3]->minor, 'array') === 0 || is_callable($this->yystack[$this->yyidx + - 3]->minor)) { @@ -3166,8 +2997,8 @@ class Smarty_Internal_Templateparser } } - #line 1188 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r155() + #line 1083 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r151() { if ($this->security && substr($this->yystack[$this->yyidx + - 3]->minor, 0, 1) == '_') { $this->compiler->trigger_template_error(self::Err1); @@ -3175,8 +3006,8 @@ class Smarty_Internal_Templateparser $this->_retvalue = $this->yystack[$this->yyidx + - 3]->minor . "(" . implode(',', $this->yystack[$this->yyidx + - 1]->minor) . ")"; } - #line 1195 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r156() + #line 1090 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r152() { if ($this->security) { $this->compiler->trigger_template_error(self::Err2); @@ -3186,213 +3017,213 @@ class Smarty_Internal_Templateparser $this->_retvalue = '$_tmp' . self::$prefix_number . '(' . implode(',', $this->yystack[$this->yyidx + - 1]->minor) . ')'; } - #line 1206 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r157() + #line 1101 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r153() { $this->_retvalue = array_merge($this->yystack[$this->yyidx + - 2]->minor, array($this->yystack[$this->yyidx + 0]->minor)); } - #line 1223 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r160() + #line 1118 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r156() { $this->_retvalue = array_merge($this->yystack[$this->yyidx + - 2]->minor, array(array_merge($this->yystack[$this->yyidx + - 1]->minor, $this->yystack[$this->yyidx + 0]->minor))); } - #line 1227 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r161() + #line 1122 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r157() { $this->_retvalue = array(array_merge($this->yystack[$this->yyidx + - 1]->minor, $this->yystack[$this->yyidx + 0]->minor)); } - #line 1235 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r163() + #line 1130 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r159() { $this->_retvalue = array($this->yystack[$this->yyidx + 0]->minor); } - #line 1243 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r164() + #line 1138 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r160() { $this->_retvalue = array_merge($this->yystack[$this->yyidx + - 1]->minor, $this->yystack[$this->yyidx + 0]->minor); } - #line 1262 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r168() + #line 1157 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r164() { $this->_retvalue = array($this->yystack[$this->yyidx + 0]->minor, '', 'method'); } - #line 1267 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r169() + #line 1162 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r165() { $this->_retvalue = array($this->yystack[$this->yyidx + - 1]->minor, $this->yystack[$this->yyidx + 0]->minor, 'method'); } - #line 1272 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r170() + #line 1167 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r166() { $this->_retvalue = array($this->yystack[$this->yyidx + 0]->minor, ''); } - #line 1277 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r171() + #line 1172 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r167() { $this->_retvalue = array('$' . $this->yystack[$this->yyidx + - 1]->minor, $this->yystack[$this->yyidx + 0]->minor, 'property'); } - #line 1282 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r172() + #line 1177 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r168() { $this->_retvalue = array('$' . $this->yystack[$this->yyidx + - 2]->minor, $this->yystack[$this->yyidx + - 1]->minor . $this->yystack[$this->yyidx + 0]->minor, 'property'); } - #line 1288 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r173() + #line 1183 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r169() { $this->_retvalue = '=='; } - #line 1292 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r174() + #line 1187 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r170() { $this->_retvalue = '!='; } - #line 1296 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r175() + #line 1191 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r171() { $this->_retvalue = '>'; } - #line 1300 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r176() + #line 1195 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r172() { $this->_retvalue = '<'; } - #line 1304 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r177() + #line 1199 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r173() { $this->_retvalue = '>='; } - #line 1308 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r178() + #line 1203 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r174() { $this->_retvalue = '<='; } - #line 1312 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r179() + #line 1207 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r175() { $this->_retvalue = '==='; } - #line 1316 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r180() + #line 1211 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r176() { $this->_retvalue = '!=='; } - #line 1320 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r181() + #line 1215 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r177() { $this->_retvalue = '%'; } - #line 1324 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r182() + #line 1219 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r178() { $this->_retvalue = '&&'; } - #line 1328 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r183() + #line 1223 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r179() { $this->_retvalue = '||'; } - #line 1332 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r184() + #line 1227 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r180() { $this->_retvalue = ' XOR '; } - #line 1339 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r185() + #line 1234 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r181() { $this->_retvalue = 'array(' . $this->yystack[$this->yyidx + - 1]->minor . ')'; } - #line 1347 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r187() + #line 1242 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r183() { $this->_retvalue = $this->yystack[$this->yyidx + - 2]->minor . ',' . $this->yystack[$this->yyidx + 0]->minor; } - #line 1355 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r189() + #line 1250 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r185() { $this->_retvalue = $this->yystack[$this->yyidx + - 2]->minor . '=>' . $this->yystack[$this->yyidx + 0]->minor; } - #line 1359 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r190() + #line 1254 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r186() { $this->_retvalue = '\'' . $this->yystack[$this->yyidx + - 2]->minor . '\'=>' . $this->yystack[$this->yyidx + 0]->minor; } - #line 1371 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r192() + #line 1266 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r188() { $this->_retvalue = "''"; } - #line 1375 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r193() + #line 1270 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r189() { $this->_retvalue = $this->yystack[$this->yyidx + - 1]->minor->to_smarty_php(); } - #line 1380 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r194() + #line 1275 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r190() { $this->yystack[$this->yyidx + - 1]->minor->append_subtree($this->yystack[$this->yyidx + 0]->minor); $this->_retvalue = $this->yystack[$this->yyidx + - 1]->minor; } - #line 1385 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r195() + #line 1280 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r191() { $this->_retvalue = new Smarty_Internal_ParseTree_Dq($this, $this->yystack[$this->yyidx + 0]->minor); } - #line 1389 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r196() + #line 1284 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r192() { $this->_retvalue = new Smarty_Internal_ParseTree_Code($this, '(string)' . $this->yystack[$this->yyidx + - 1]->minor); } - #line 1397 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r198() + #line 1292 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r194() { $this->_retvalue = new Smarty_Internal_ParseTree_Code($this, '(string)$_smarty_tpl->tpl_vars[\'' . substr($this->yystack[$this->yyidx + 0]->minor, 1) . '\']->value'); } - #line 1405 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r200() + #line 1300 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r196() { $this->_retvalue = new Smarty_Internal_ParseTree_Code($this, '(string)(' . $this->yystack[$this->yyidx + - 1]->minor . ')'); } - #line 1409 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r201() + #line 1304 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r197() { $this->_retvalue = new Smarty_Internal_ParseTree_Tag($this, $this->yystack[$this->yyidx + - 1]->minor); } - #line 1413 "../smarty/lexer/smarty_internal_templateparser.y" - function yy_r202() + #line 1308 "../smarty/lexer/smarty_internal_templateparser.y" + function yy_r198() { $this->_retvalue = new Smarty_Internal_ParseTree_DqContent($this, $this->yystack[$this->yyidx + 0]->minor); } @@ -3453,7 +3284,7 @@ class Smarty_Internal_Templateparser public function yy_syntax_error($yymajor, $TOKEN) { - #line 188 "../smarty/lexer/smarty_internal_templateparser.y" + #line 177 "../smarty/lexer/smarty_internal_templateparser.y" $this->internalError = true; $this->yymajor = $yymajor; @@ -3468,7 +3299,7 @@ class Smarty_Internal_Templateparser while ($this->yyidx >= 0) { $this->yy_pop_parser_stack(); } - #line 181 "../smarty/lexer/smarty_internal_templateparser.y" + #line 170 "../smarty/lexer/smarty_internal_templateparser.y" $this->successful = !$this->internalError; $this->internalError = false;