text: // This file was automatically generated from template.soy.
  // Please don't edit this file by hand.
  
  /**
   * @fileoverview Templates in namespace Maze.soy.
   */
  
  goog.provide('Maze.soy');
  
  goog.require('soy');
  goog.require('soydata');
  goog.require('BlocklyGames.soy');
  
  
  Maze.soy.messages = function(opt_data, opt_ignored, opt_ijData) {
    return BlocklyGames.soy.messages(null, null, opt_ijData) + '<div style="display: none"><span id="Maze_moveForward">\u0631\u06C9 \u0646\u0648\u0626\u0627</span><span id="Maze_turnLeft">\u0628\u0671\u0644\u065B\u0631 \u06A4 \u0686\u0671\u067E</span><span id="Maze_turnRight">\u0628\u0671\u0644\u065B\u0631 \u06A4 \u0631\u0627\u0633</span><span id="Maze_doCode">\u0671\u0646\u062C\u0648\u0645 \u0628\u0627\u065B</span><span id="Maze_elseCode">\u0647\u0646\u06CC</span><span id="Maze_helpIfElse">If-else blocks will do one thing or the other.</span><span id="Maze_pathAhead">\u0671\u0631 \u062A\u06CF\u0631 \u062F \u06A4\u0671\u0631</span><span id="Maze_pathLeft">\u0671\u0631 \u062A\u06CF\u0631 \u062F \u0686\u0671\u067E</span><span id="Maze_pathRight">\u0671\u0631 \u062A\u06CF\u0631 \u062F \u0631\u0627\u0633</span><span id="Maze_repeatUntil">\u062A\u0627 \u062A\u06A9\u0631\u0627\u0631 \u06A9\u0648</span><span id="Maze_moveForwardTooltip">Moves the player forward one space.</span><span id="Maze_turnTooltip">Turns the player left or right by 90 degrees.</span><span id="Maze_ifTooltip">If there is a path in the specified direction, then do some actions.</span><span id="Maze_ifelseTooltip">If there is a path in the specified direction, then do the first block of actions. Otherwise, do the second block of actions.</span><span id="Maze_whileTooltip">Repeat the enclosed actions until finish point is reached.</span><span id="Maze_capacity0">You have %0 blocks left.</span><span id="Maze_capacity1">You have %1 block left.</span><span id="Maze_capacity2">You have %2 blocks left.</span></div>';
  };
  if (goog.DEBUG) {
    Maze.soy.messages.soyTemplateName = 'Maze.soy.messages';
  }
  
  
  Maze.soy.start = function(opt_data, opt_ignored, opt_ijData) {
    return Maze.soy.messages(null, null, opt_ijData) + '<table width="100%"><tr><td><h1>' + BlocklyGames.soy.titleSpan({appName: '\u067E\u0644\u0627\u0642 \u0628\u06CC\u0626\u0646'}, null, opt_ijData) + BlocklyGames.soy.levelLinks({level: opt_ijData.level, maxLevel: opt_ijData.maxLevel, lang: opt_ijData.lang, suffix: '&skin=' + soy.$$escapeHtml(opt_ijData.skin)}, null, opt_ijData) + '</h1></td><td class="farSide"><select id="languageMenu"></select>&nbsp;<button id="linkButton" title="\u0628\u0671\u062E\u0634\u063D\u0627\u0646\u0671 \u0632\u0671\u062E\u06CC\u0631\u0671 \u06C9 \u0647\u0648\u0645 \u067E\u0627\u065B\u06A4\u0671\u0646 \u0628\u0671\u06A9\u063D\u062A."><img src="common/1x1.gif" class="link icon21"></button>&nbsp;<button id="pegmanButton"><img src="common/1x1.gif"><span id="pegmanButtonArrow"></span></button></td></tr></table><div id="visualization"><svg xmlns="http://www.w3.org/2000/svg" version="1.1" id="svgMaze" width="400px" height="400px"><g id="look"><path d="M 0,-15 a 15 15 0 0 1 15 15" /><path d="M 0,-35 a 35 35 0 0 1 35 35" /><path d="M 0,-55 a 55 55 0 0 1 55 55" /></g></svg><div id="capacityBubble"><div id="capacity"></div></div></div><table width="400"><tr><td style="width: 190px; text-align: center; vertical-align: top;"><td><button id="runButton" class="primary" title="Makes the player do what the blocks say."><img src="common/1x1.gif" class="run icon21"> \u0628\u0631\u0646\u0627\u0645\u0671 \u0646\u0627\u0652 \u0627\u0652\u062C\u0631\u0627 \u0628\u0671\u06A9\u063D\u062A</button><button id="resetButton" class="primary" style="display: none" title="Put the player back at the start of the maze."><img src="common/1x1.gif" class="stop icon21"> \u062F \u0646\u06CA \u0634\u0631\u06CA \u0643\u0631\u062F\u0646</button></td></tr></table>' + Maze.soy.toolbox(null, null, opt_ijData) + '<div id="blockly"></div><div id="pegmanMenu"></div>' + BlocklyGames.soy.dialog(null, null, opt_ijData) + BlocklyGames.soy.doneDialog(null, null, opt_ijData) + BlocklyGames.soy.abortDialog(null, null, opt_ijData) + BlocklyGames.soy.storageDialog(null, null, opt_ijData) + ((opt_ijData.level == 1) ? '<div id="dialogHelpStack" class="dialogHiddenContent"><table><tr><td><img src="common/help.png"></td><td>&nbsp;</td><td>Stack a couple of \'move forward\' blocks together to help me reach the goal.</td><td valign="top"><img src="maze/help_stack.png" class="mirrorImg" height=63 width=136></td></tr></table></div><div id="dialogHelpOneTopBlock" class="dialogHiddenContent"><table><tr><td><img src="common/help.png"></td><td>&nbsp;</td><td>On this level, you need to stack together all of the blocks in the white workspace.<div id="sampleOneTopBlock" class="readonly"></div></td></tr></table></div><div id="dialogHelpRun" class="dialogHiddenContent"><table><tr><td>\u0628\u0671\u0631\u0646\u0627\u0645\u0671 \u062A\u0648\u0646\u0627\u0652 \u06A4\u0671\u0646\u063D\u062A \u06A4\u0627 \u06A9\u0627\u0631 \u0627\u06CA\u0633\u0627\u0652 \u0628\u0627\u065B\u06CC\u0646\u063D\u062A \u0686\u06CC \u0645\u06CA\u0626\u0671</td><td rowspan=2><img src="common/help.png"></td></tr><tr><td><div><img src="maze/help_run.png" class="mirrorImg" height=27 width=141></div></td></tr></table></div>' : (opt_ijData.level == 2) ? '<div id="dialogHelpReset" class="dialogHiddenContent"><table><tr><td>Your program didn\'t solve the maze. Press \'Reset\' and try again.</td><td rowspan=2><img src="common/help.png"></td></tr><tr><td><div><img src="maze/help_run.png" class="mirrorImg" height=27 width=141></div></td></tr></table></div>' : (opt_ijData.level == 3 || opt_ijData.level == 4) ? ((opt_ijData.level == 3) ? '<div id="dialogHelpRepeat" class="dialogHiddenContent"><table><tr><td><img src="maze/help_up.png"></td><td>Reach the end of this path using only two blocks. Use \'repeat\' to run a block more than once.</td><td><img src="common/help.png"></td></tr></table></div>' : '') + '<div id="dialogHelpCapacity" class="dialogHiddenContent"><table><tr><td><img src="common/help.png"></td><td>&nbsp;</td><td>You have used up all the blocks for this level. To create a new block, you first need to delete an existing block.</td></tr></table></div><div id="dialogHelpRepeatMany" class="dialogHiddenContent"><table><tr><td><img src="maze/help_up.png"></td><td>You can fit more than one block inside a \'repeat\' block.</td><td><img src="common/help.png"></td></tr></table></div>' : (opt_ijData.level == 5) ? '<div id="dialogHelpSkins" class="dialogHiddenContent"><table><tr><td><img src="common/help.png"></td><td width="95%">\u062F\u0671\u0646\u06B3 \u06A4\u0671\u0646 \u062F\u0644\u062E\u0627\u062A\u0648\u0646\u0627\u0652 \u062F \u0627\u063D \u0646\u0648\u0645 \u06A4\u0671\u0646 \u0627\u0652\u0646\u062A\u062E\u0627\u0648 \u0628\u0671\u06A9\u063D\u062A</td><td><img src="maze/help_up.png"></td></tr></table></div><div id="dialogHelpIf" class="dialogHiddenContent"><table><tr><td><img src="maze/help_up.png"></td><td>An \'if\' block will do something only if the condition is true. Try turning left if there is a path to the left.</td><td><img src="common/help.png"></td></tr></table></div><div id="dialogHelpWallFollow" class="dialogHiddenContent"><table><tr><td><img src="common/help.png"></td><td>&nbsp;</td><td>Can you solve this complicated maze? Try following the left-hand wall. Advanced programmers only!' + BlocklyGames.soy.ok(null, null, opt_ijData) + '</td></tr></table></div><div id="dialogHelpMenu" class="dialogHiddenContent"><table><tr><td><img src="maze/help_up.png"></td><td id="helpMenuText">Click on %1 in the \'if\' block to change its condition.</td><td><img src="common/help.png"></td></tr></table></div>' : '');
  };
  if (goog.DEBUG) {
    Maze.soy.start.soyTemplateName = 'Maze.soy.start';
  }
  
  
  Maze.soy.toolbox = function(opt_data, opt_ignored, opt_ijData) {
    return '<xml id="toolbox" style="display: none;" xmlns="https://developers.google.com/blockly/xml"><block type="maze_moveForward"></block><block type="maze_turn"><field name="DIR">turnLeft</field></block><block type="maze_turn"><field name="DIR">turnRight</field></block>' + ((opt_ijData.level > 2) ? '<block type="maze_forever"></block>' + ((opt_ijData.level > 4) ? '<block type="maze_if"><field name="DIR">isPathLeft</field></block>' : '') : '') + '</xml>';
  };
  if (goog.DEBUG) {
    Maze.soy.toolbox.soyTemplateName = 'Maze.soy.toolbox';
  }
  