PageRenderTime 58ms CodeModel.GetById 18ms RepoModel.GetById 0ms app.codeStats 1ms

/app/cache/dev/twig/94/34/3eb4f783db0d3a46da0cc6346d28.php

https://github.com/modernfidelity/Symfony2-RESTAPI
PHP | 1205 lines | 888 code | 48 blank | 269 comment | 52 complexity | c31d8ff132c893e72cb86d358b3985e5 MD5 | raw file
Possible License(s): BSD-2-Clause, Apache-2.0, CC-BY-3.0, LGPL-3.0, BSD-3-Clause
  1. <?php
  2. /* form_div_layout.html.twig */
  3. class __TwigTemplate_94343eb4f783db0d3a46da0cc6346d28 extends Twig_Template
  4. {
  5. public function __construct(Twig_Environment $env)
  6. {
  7. parent::__construct($env);
  8. $this->parent = false;
  9. $this->blocks = array(
  10. 'form_widget' => array($this, 'block_form_widget'),
  11. 'form_widget_simple' => array($this, 'block_form_widget_simple'),
  12. 'form_widget_compound' => array($this, 'block_form_widget_compound'),
  13. 'collection_widget' => array($this, 'block_collection_widget'),
  14. 'textarea_widget' => array($this, 'block_textarea_widget'),
  15. 'choice_widget' => array($this, 'block_choice_widget'),
  16. 'choice_widget_expanded' => array($this, 'block_choice_widget_expanded'),
  17. 'choice_widget_collapsed' => array($this, 'block_choice_widget_collapsed'),
  18. 'choice_widget_options' => array($this, 'block_choice_widget_options'),
  19. 'checkbox_widget' => array($this, 'block_checkbox_widget'),
  20. 'radio_widget' => array($this, 'block_radio_widget'),
  21. 'datetime_widget' => array($this, 'block_datetime_widget'),
  22. 'date_widget' => array($this, 'block_date_widget'),
  23. 'time_widget' => array($this, 'block_time_widget'),
  24. 'number_widget' => array($this, 'block_number_widget'),
  25. 'integer_widget' => array($this, 'block_integer_widget'),
  26. 'money_widget' => array($this, 'block_money_widget'),
  27. 'url_widget' => array($this, 'block_url_widget'),
  28. 'search_widget' => array($this, 'block_search_widget'),
  29. 'percent_widget' => array($this, 'block_percent_widget'),
  30. 'password_widget' => array($this, 'block_password_widget'),
  31. 'hidden_widget' => array($this, 'block_hidden_widget'),
  32. 'email_widget' => array($this, 'block_email_widget'),
  33. 'form_label' => array($this, 'block_form_label'),
  34. 'repeated_row' => array($this, 'block_repeated_row'),
  35. 'form_row' => array($this, 'block_form_row'),
  36. 'hidden_row' => array($this, 'block_hidden_row'),
  37. 'form_enctype' => array($this, 'block_form_enctype'),
  38. 'form_errors' => array($this, 'block_form_errors'),
  39. 'form_rest' => array($this, 'block_form_rest'),
  40. 'form_rows' => array($this, 'block_form_rows'),
  41. 'widget_attributes' => array($this, 'block_widget_attributes'),
  42. 'widget_container_attributes' => array($this, 'block_widget_container_attributes'),
  43. 'generic_label' => array($this, 'block_generic_label'),
  44. 'widget_choice_options' => array($this, 'block_widget_choice_options'),
  45. 'field_widget' => array($this, 'block_field_widget'),
  46. 'field_label' => array($this, 'block_field_label'),
  47. 'field_row' => array($this, 'block_field_row'),
  48. 'field_enctype' => array($this, 'block_field_enctype'),
  49. 'field_errors' => array($this, 'block_field_errors'),
  50. 'field_rest' => array($this, 'block_field_rest'),
  51. 'field_rows' => array($this, 'block_field_rows'),
  52. );
  53. }
  54. protected function doDisplay(array $context, array $blocks = array())
  55. {
  56. // line 2
  57. echo "
  58. ";
  59. // line 3
  60. $this->displayBlock('form_widget', $context, $blocks);
  61. // line 12
  62. echo "
  63. ";
  64. // line 13
  65. $this->displayBlock('form_widget_simple', $context, $blocks);
  66. // line 19
  67. echo "
  68. ";
  69. // line 20
  70. $this->displayBlock('form_widget_compound', $context, $blocks);
  71. // line 31
  72. echo "
  73. ";
  74. // line 32
  75. $this->displayBlock('collection_widget', $context, $blocks);
  76. // line 40
  77. echo "
  78. ";
  79. // line 41
  80. $this->displayBlock('textarea_widget', $context, $blocks);
  81. // line 46
  82. echo "
  83. ";
  84. // line 47
  85. $this->displayBlock('choice_widget', $context, $blocks);
  86. // line 56
  87. echo "
  88. ";
  89. // line 57
  90. $this->displayBlock('choice_widget_expanded', $context, $blocks);
  91. // line 67
  92. echo "
  93. ";
  94. // line 68
  95. $this->displayBlock('choice_widget_collapsed', $context, $blocks);
  96. // line 86
  97. echo "
  98. ";
  99. // line 87
  100. $this->displayBlock('choice_widget_options', $context, $blocks);
  101. // line 101
  102. echo "
  103. ";
  104. // line 102
  105. $this->displayBlock('checkbox_widget', $context, $blocks);
  106. // line 107
  107. echo "
  108. ";
  109. // line 108
  110. $this->displayBlock('radio_widget', $context, $blocks);
  111. // line 113
  112. echo "
  113. ";
  114. // line 114
  115. $this->displayBlock('datetime_widget', $context, $blocks);
  116. // line 128
  117. echo "
  118. ";
  119. // line 129
  120. $this->displayBlock('date_widget', $context, $blocks);
  121. // line 144
  122. echo "
  123. ";
  124. // line 145
  125. $this->displayBlock('time_widget', $context, $blocks);
  126. // line 157
  127. echo "
  128. ";
  129. // line 158
  130. $this->displayBlock('number_widget', $context, $blocks);
  131. // line 165
  132. echo "
  133. ";
  134. // line 166
  135. $this->displayBlock('integer_widget', $context, $blocks);
  136. // line 172
  137. echo "
  138. ";
  139. // line 173
  140. $this->displayBlock('money_widget', $context, $blocks);
  141. // line 178
  142. echo "
  143. ";
  144. // line 179
  145. $this->displayBlock('url_widget', $context, $blocks);
  146. // line 185
  147. echo "
  148. ";
  149. // line 186
  150. $this->displayBlock('search_widget', $context, $blocks);
  151. // line 192
  152. echo "
  153. ";
  154. // line 193
  155. $this->displayBlock('percent_widget', $context, $blocks);
  156. // line 199
  157. echo "
  158. ";
  159. // line 200
  160. $this->displayBlock('password_widget', $context, $blocks);
  161. // line 206
  162. echo "
  163. ";
  164. // line 207
  165. $this->displayBlock('hidden_widget', $context, $blocks);
  166. // line 213
  167. echo "
  168. ";
  169. // line 214
  170. $this->displayBlock('email_widget', $context, $blocks);
  171. // line 220
  172. echo "
  173. ";
  174. // line 222
  175. echo "
  176. ";
  177. // line 223
  178. $this->displayBlock('form_label', $context, $blocks);
  179. // line 239
  180. echo "
  181. ";
  182. // line 241
  183. echo "
  184. ";
  185. // line 242
  186. $this->displayBlock('repeated_row', $context, $blocks);
  187. // line 251
  188. echo "
  189. ";
  190. // line 252
  191. $this->displayBlock('form_row', $context, $blocks);
  192. // line 261
  193. echo "
  194. ";
  195. // line 262
  196. $this->displayBlock('hidden_row', $context, $blocks);
  197. // line 265
  198. echo "
  199. ";
  200. // line 267
  201. echo "
  202. ";
  203. // line 268
  204. $this->displayBlock('form_enctype', $context, $blocks);
  205. // line 273
  206. echo "
  207. ";
  208. // line 274
  209. $this->displayBlock('form_errors', $context, $blocks);
  210. // line 285
  211. echo "
  212. ";
  213. // line 286
  214. $this->displayBlock('form_rest', $context, $blocks);
  215. // line 295
  216. echo "
  217. ";
  218. // line 297
  219. echo "
  220. ";
  221. // line 298
  222. $this->displayBlock('form_rows', $context, $blocks);
  223. // line 305
  224. echo "
  225. ";
  226. // line 306
  227. $this->displayBlock('widget_attributes', $context, $blocks);
  228. // line 312
  229. echo "
  230. ";
  231. // line 313
  232. $this->displayBlock('widget_container_attributes', $context, $blocks);
  233. // line 319
  234. echo "
  235. ";
  236. // line 321
  237. echo "
  238. ";
  239. // line 322
  240. $this->displayBlock('generic_label', $context, $blocks);
  241. // line 323
  242. $this->displayBlock('widget_choice_options', $context, $blocks);
  243. // line 324
  244. $this->displayBlock('field_widget', $context, $blocks);
  245. // line 325
  246. $this->displayBlock('field_label', $context, $blocks);
  247. // line 326
  248. $this->displayBlock('field_row', $context, $blocks);
  249. // line 327
  250. $this->displayBlock('field_enctype', $context, $blocks);
  251. // line 328
  252. $this->displayBlock('field_errors', $context, $blocks);
  253. // line 329
  254. $this->displayBlock('field_rest', $context, $blocks);
  255. // line 330
  256. $this->displayBlock('field_rows', $context, $blocks);
  257. }
  258. // line 3
  259. public function block_form_widget($context, array $blocks = array())
  260. {
  261. // line 4
  262. ob_start();
  263. // line 5
  264. echo " ";
  265. if ($this->getContext($context, "compound")) {
  266. // line 6
  267. echo " ";
  268. $this->displayBlock("form_widget_compound", $context, $blocks);
  269. echo "
  270. ";
  271. } else {
  272. // line 8
  273. echo " ";
  274. $this->displayBlock("form_widget_simple", $context, $blocks);
  275. echo "
  276. ";
  277. }
  278. echo trim(preg_replace('/>\s+</', '><', ob_get_clean()));
  279. }
  280. // line 13
  281. public function block_form_widget_simple($context, array $blocks = array())
  282. {
  283. // line 14
  284. ob_start();
  285. // line 15
  286. echo " ";
  287. $context["type"] = ((array_key_exists("type", $context)) ? (_twig_default_filter($this->getContext($context, "type"), "text")) : ("text"));
  288. // line 16
  289. echo " <input type=\"";
  290. echo twig_escape_filter($this->env, $this->getContext($context, "type"), "html", null, true);
  291. echo "\" ";
  292. $this->displayBlock("widget_attributes", $context, $blocks);
  293. echo " ";
  294. if ((!twig_test_empty($this->getContext($context, "value")))) {
  295. echo "value=\"";
  296. echo twig_escape_filter($this->env, $this->getContext($context, "value"), "html", null, true);
  297. echo "\" ";
  298. }
  299. echo "/>
  300. ";
  301. echo trim(preg_replace('/>\s+</', '><', ob_get_clean()));
  302. }
  303. // line 20
  304. public function block_form_widget_compound($context, array $blocks = array())
  305. {
  306. // line 21
  307. ob_start();
  308. // line 22
  309. echo " <div ";
  310. $this->displayBlock("widget_container_attributes", $context, $blocks);
  311. echo ">
  312. ";
  313. // line 23
  314. if (twig_test_empty($this->getAttribute($this->getContext($context, "form"), "parent"))) {
  315. // line 24
  316. echo " ";
  317. echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getContext($context, "form"), 'errors');
  318. echo "
  319. ";
  320. }
  321. // line 26
  322. echo " ";
  323. $this->displayBlock("form_rows", $context, $blocks);
  324. echo "
  325. ";
  326. // line 27
  327. echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getContext($context, "form"), 'rest');
  328. echo "
  329. </div>
  330. ";
  331. echo trim(preg_replace('/>\s+</', '><', ob_get_clean()));
  332. }
  333. // line 32
  334. public function block_collection_widget($context, array $blocks = array())
  335. {
  336. // line 33
  337. ob_start();
  338. // line 34
  339. echo " ";
  340. if (array_key_exists("prototype", $context)) {
  341. // line 35
  342. echo " ";
  343. $context["attr"] = twig_array_merge($this->getContext($context, "attr"), array("data-prototype" => $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getContext($context, "prototype"), 'row')));
  344. // line 36
  345. echo " ";
  346. }
  347. // line 37
  348. echo " ";
  349. $this->displayBlock("form_widget", $context, $blocks);
  350. echo "
  351. ";
  352. echo trim(preg_replace('/>\s+</', '><', ob_get_clean()));
  353. }
  354. // line 41
  355. public function block_textarea_widget($context, array $blocks = array())
  356. {
  357. // line 42
  358. ob_start();
  359. // line 43
  360. echo " <textarea ";
  361. $this->displayBlock("widget_attributes", $context, $blocks);
  362. echo ">";
  363. echo twig_escape_filter($this->env, $this->getContext($context, "value"), "html", null, true);
  364. echo "</textarea>
  365. ";
  366. echo trim(preg_replace('/>\s+</', '><', ob_get_clean()));
  367. }
  368. // line 47
  369. public function block_choice_widget($context, array $blocks = array())
  370. {
  371. // line 48
  372. ob_start();
  373. // line 49
  374. echo " ";
  375. if ($this->getContext($context, "expanded")) {
  376. // line 50
  377. echo " ";
  378. $this->displayBlock("choice_widget_expanded", $context, $blocks);
  379. echo "
  380. ";
  381. } else {
  382. // line 52
  383. echo " ";
  384. $this->displayBlock("choice_widget_collapsed", $context, $blocks);
  385. echo "
  386. ";
  387. }
  388. echo trim(preg_replace('/>\s+</', '><', ob_get_clean()));
  389. }
  390. // line 57
  391. public function block_choice_widget_expanded($context, array $blocks = array())
  392. {
  393. // line 58
  394. ob_start();
  395. // line 59
  396. echo " <div ";
  397. $this->displayBlock("widget_container_attributes", $context, $blocks);
  398. echo ">
  399. ";
  400. // line 60
  401. $context['_parent'] = (array) $context;
  402. $context['_seq'] = twig_ensure_traversable($this->getContext($context, "form"));
  403. foreach ($context['_seq'] as $context["_key"] => $context["child"]) {
  404. // line 61
  405. echo " ";
  406. echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getContext($context, "child"), 'widget');
  407. echo "
  408. ";
  409. // line 62
  410. echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getContext($context, "child"), 'label');
  411. echo "
  412. ";
  413. }
  414. $_parent = $context['_parent'];
  415. unset($context['_seq'], $context['_iterated'], $context['_key'], $context['child'], $context['_parent'], $context['loop']);
  416. $context = array_merge($_parent, array_intersect_key($context, $_parent));
  417. // line 64
  418. echo " </div>
  419. ";
  420. echo trim(preg_replace('/>\s+</', '><', ob_get_clean()));
  421. }
  422. // line 68
  423. public function block_choice_widget_collapsed($context, array $blocks = array())
  424. {
  425. // line 69
  426. ob_start();
  427. // line 70
  428. echo " <select ";
  429. $this->displayBlock("widget_attributes", $context, $blocks);
  430. if ($this->getContext($context, "multiple")) {
  431. echo " multiple=\"multiple\"";
  432. }
  433. echo ">
  434. ";
  435. // line 71
  436. if ((!(null === $this->getContext($context, "empty_value")))) {
  437. // line 72
  438. echo " <option value=\"\"";
  439. if ($this->getContext($context, "required")) {
  440. echo " disabled=\"disabled\"";
  441. if (twig_test_empty($this->getContext($context, "value"))) {
  442. echo " selected=\"selected\"";
  443. }
  444. }
  445. echo ">";
  446. echo twig_escape_filter($this->env, $this->env->getExtension('translator')->trans($this->getContext($context, "empty_value"), array(), $this->getContext($context, "translation_domain")), "html", null, true);
  447. echo "</option>
  448. ";
  449. }
  450. // line 74
  451. echo " ";
  452. if ((twig_length_filter($this->env, $this->getContext($context, "preferred_choices")) > 0)) {
  453. // line 75
  454. echo " ";
  455. $context["options"] = $this->getContext($context, "preferred_choices");
  456. // line 76
  457. echo " ";
  458. $this->displayBlock("choice_widget_options", $context, $blocks);
  459. echo "
  460. ";
  461. // line 77
  462. if (((twig_length_filter($this->env, $this->getContext($context, "choices")) > 0) && (!(null === $this->getContext($context, "separator"))))) {
  463. // line 78
  464. echo " <option disabled=\"disabled\">";
  465. echo twig_escape_filter($this->env, $this->getContext($context, "separator"), "html", null, true);
  466. echo "</option>
  467. ";
  468. }
  469. // line 80
  470. echo " ";
  471. }
  472. // line 81
  473. echo " ";
  474. $context["options"] = $this->getContext($context, "choices");
  475. // line 82
  476. echo " ";
  477. $this->displayBlock("choice_widget_options", $context, $blocks);
  478. echo "
  479. </select>
  480. ";
  481. echo trim(preg_replace('/>\s+</', '><', ob_get_clean()));
  482. }
  483. // line 87
  484. public function block_choice_widget_options($context, array $blocks = array())
  485. {
  486. // line 88
  487. ob_start();
  488. // line 89
  489. echo " ";
  490. $context['_parent'] = (array) $context;
  491. $context['_seq'] = twig_ensure_traversable($this->getContext($context, "options"));
  492. $context['loop'] = array(
  493. 'parent' => $context['_parent'],
  494. 'index0' => 0,
  495. 'index' => 1,
  496. 'first' => true,
  497. );
  498. if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof Countable)) {
  499. $length = count($context['_seq']);
  500. $context['loop']['revindex0'] = $length - 1;
  501. $context['loop']['revindex'] = $length;
  502. $context['loop']['length'] = $length;
  503. $context['loop']['last'] = 1 === $length;
  504. }
  505. foreach ($context['_seq'] as $context["group_label"] => $context["choice"]) {
  506. // line 90
  507. echo " ";
  508. if (twig_test_iterable($this->getContext($context, "choice"))) {
  509. // line 91
  510. echo " <optgroup label=\"";
  511. echo twig_escape_filter($this->env, $this->env->getExtension('translator')->trans($this->getContext($context, "group_label"), array(), $this->getContext($context, "translation_domain")), "html", null, true);
  512. echo "\">
  513. ";
  514. // line 92
  515. $context["options"] = $this->getContext($context, "choice");
  516. // line 93
  517. echo " ";
  518. $this->displayBlock("choice_widget_options", $context, $blocks);
  519. echo "
  520. </optgroup>
  521. ";
  522. } else {
  523. // line 96
  524. echo " <option value=\"";
  525. echo twig_escape_filter($this->env, $this->getAttribute($this->getContext($context, "choice"), "value"), "html", null, true);
  526. echo "\"";
  527. if ($this->env->getExtension('form')->isSelectedChoice($this->getContext($context, "choice"), $this->getContext($context, "value"))) {
  528. echo " selected=\"selected\"";
  529. }
  530. echo ">";
  531. echo twig_escape_filter($this->env, $this->env->getExtension('translator')->trans($this->getAttribute($this->getContext($context, "choice"), "label"), array(), $this->getContext($context, "translation_domain")), "html", null, true);
  532. echo "</option>
  533. ";
  534. }
  535. // line 98
  536. echo " ";
  537. ++$context['loop']['index0'];
  538. ++$context['loop']['index'];
  539. $context['loop']['first'] = false;
  540. if (isset($context['loop']['length'])) {
  541. --$context['loop']['revindex0'];
  542. --$context['loop']['revindex'];
  543. $context['loop']['last'] = 0 === $context['loop']['revindex0'];
  544. }
  545. }
  546. $_parent = $context['_parent'];
  547. unset($context['_seq'], $context['_iterated'], $context['group_label'], $context['choice'], $context['_parent'], $context['loop']);
  548. $context = array_merge($_parent, array_intersect_key($context, $_parent));
  549. echo trim(preg_replace('/>\s+</', '><', ob_get_clean()));
  550. }
  551. // line 102
  552. public function block_checkbox_widget($context, array $blocks = array())
  553. {
  554. // line 103
  555. ob_start();
  556. // line 104
  557. echo " <input type=\"checkbox\" ";
  558. $this->displayBlock("widget_attributes", $context, $blocks);
  559. if (array_key_exists("value", $context)) {
  560. echo " value=\"";
  561. echo twig_escape_filter($this->env, $this->getContext($context, "value"), "html", null, true);
  562. echo "\"";
  563. }
  564. if ($this->getContext($context, "checked")) {
  565. echo " checked=\"checked\"";
  566. }
  567. echo " />
  568. ";
  569. echo trim(preg_replace('/>\s+</', '><', ob_get_clean()));
  570. }
  571. // line 108
  572. public function block_radio_widget($context, array $blocks = array())
  573. {
  574. // line 109
  575. ob_start();
  576. // line 110
  577. echo " <input type=\"radio\" ";
  578. $this->displayBlock("widget_attributes", $context, $blocks);
  579. if (array_key_exists("value", $context)) {
  580. echo " value=\"";
  581. echo twig_escape_filter($this->env, $this->getContext($context, "value"), "html", null, true);
  582. echo "\"";
  583. }
  584. if ($this->getContext($context, "checked")) {
  585. echo " checked=\"checked\"";
  586. }
  587. echo " />
  588. ";
  589. echo trim(preg_replace('/>\s+</', '><', ob_get_clean()));
  590. }
  591. // line 114
  592. public function block_datetime_widget($context, array $blocks = array())
  593. {
  594. // line 115
  595. ob_start();
  596. // line 116
  597. echo " ";
  598. if (($this->getContext($context, "widget") == "single_text")) {
  599. // line 117
  600. echo " ";
  601. $this->displayBlock("form_widget_simple", $context, $blocks);
  602. echo "
  603. ";
  604. } else {
  605. // line 119
  606. echo " <div ";
  607. $this->displayBlock("widget_container_attributes", $context, $blocks);
  608. echo ">
  609. ";
  610. // line 120
  611. echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute($this->getContext($context, "form"), "date"), 'errors');
  612. echo "
  613. ";
  614. // line 121
  615. echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute($this->getContext($context, "form"), "time"), 'errors');
  616. echo "
  617. ";
  618. // line 122
  619. echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute($this->getContext($context, "form"), "date"), 'widget');
  620. echo "
  621. ";
  622. // line 123
  623. echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute($this->getContext($context, "form"), "time"), 'widget');
  624. echo "
  625. </div>
  626. ";
  627. }
  628. echo trim(preg_replace('/>\s+</', '><', ob_get_clean()));
  629. }
  630. // line 129
  631. public function block_date_widget($context, array $blocks = array())
  632. {
  633. // line 130
  634. ob_start();
  635. // line 131
  636. echo " ";
  637. if (($this->getContext($context, "widget") == "single_text")) {
  638. // line 132
  639. echo " ";
  640. $this->displayBlock("form_widget_simple", $context, $blocks);
  641. echo "
  642. ";
  643. } else {
  644. // line 134
  645. echo " <div ";
  646. $this->displayBlock("widget_container_attributes", $context, $blocks);
  647. echo ">
  648. ";
  649. // line 135
  650. echo strtr($this->getContext($context, "date_pattern"), array("{{ year }}" => // line 136
  651. $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute($this->getContext($context, "form"), "year"), 'widget'), "{{ month }}" => // line 137
  652. $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute($this->getContext($context, "form"), "month"), 'widget'), "{{ day }}" => // line 138
  653. $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute($this->getContext($context, "form"), "day"), 'widget')));
  654. // line 139
  655. echo "
  656. </div>
  657. ";
  658. }
  659. echo trim(preg_replace('/>\s+</', '><', ob_get_clean()));
  660. }
  661. // line 145
  662. public function block_time_widget($context, array $blocks = array())
  663. {
  664. // line 146
  665. ob_start();
  666. // line 147
  667. echo " ";
  668. if (($this->getContext($context, "widget") == "single_text")) {
  669. // line 148
  670. echo " ";
  671. $this->displayBlock("form_widget_simple", $context, $blocks);
  672. echo "
  673. ";
  674. } else {
  675. // line 150
  676. echo " ";
  677. $context["vars"] = ((($this->getContext($context, "widget") == "text")) ? (array("attr" => array("size" => 1))) : (array()));
  678. // line 151
  679. echo " <div ";
  680. $this->displayBlock("widget_container_attributes", $context, $blocks);
  681. echo ">
  682. ";
  683. // line 152
  684. echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute($this->getContext($context, "form"), "hour"), 'widget', $this->getContext($context, "vars"));
  685. if ($this->getContext($context, "with_minutes")) {
  686. echo ":";
  687. echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute($this->getContext($context, "form"), "minute"), 'widget', $this->getContext($context, "vars"));
  688. }
  689. if ($this->getContext($context, "with_seconds")) {
  690. echo ":";
  691. echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getAttribute($this->getContext($context, "form"), "second"), 'widget', $this->getContext($context, "vars"));
  692. }
  693. // line 153
  694. echo " </div>
  695. ";
  696. }
  697. echo trim(preg_replace('/>\s+</', '><', ob_get_clean()));
  698. }
  699. // line 158
  700. public function block_number_widget($context, array $blocks = array())
  701. {
  702. // line 159
  703. ob_start();
  704. // line 160
  705. echo " ";
  706. // line 161
  707. echo " ";
  708. $context["type"] = ((array_key_exists("type", $context)) ? (_twig_default_filter($this->getContext($context, "type"), "text")) : ("text"));
  709. // line 162
  710. echo " ";
  711. $this->displayBlock("form_widget_simple", $context, $blocks);
  712. echo "
  713. ";
  714. echo trim(preg_replace('/>\s+</', '><', ob_get_clean()));
  715. }
  716. // line 166
  717. public function block_integer_widget($context, array $blocks = array())
  718. {
  719. // line 167
  720. ob_start();
  721. // line 168
  722. echo " ";
  723. $context["type"] = ((array_key_exists("type", $context)) ? (_twig_default_filter($this->getContext($context, "type"), "number")) : ("number"));
  724. // line 169
  725. echo " ";
  726. $this->displayBlock("form_widget_simple", $context, $blocks);
  727. echo "
  728. ";
  729. echo trim(preg_replace('/>\s+</', '><', ob_get_clean()));
  730. }
  731. // line 173
  732. public function block_money_widget($context, array $blocks = array())
  733. {
  734. // line 174
  735. ob_start();
  736. // line 175
  737. echo " ";
  738. echo strtr($this->getContext($context, "money_pattern"), array("{{ widget }}" => $this->renderBlock("form_widget_simple", $context, $blocks)));
  739. echo "
  740. ";
  741. echo trim(preg_replace('/>\s+</', '><', ob_get_clean()));
  742. }
  743. // line 179
  744. public function block_url_widget($context, array $blocks = array())
  745. {
  746. // line 180
  747. ob_start();
  748. // line 181
  749. echo " ";
  750. $context["type"] = ((array_key_exists("type", $context)) ? (_twig_default_filter($this->getContext($context, "type"), "url")) : ("url"));
  751. // line 182
  752. echo " ";
  753. $this->displayBlock("form_widget_simple", $context, $blocks);
  754. echo "
  755. ";
  756. echo trim(preg_replace('/>\s+</', '><', ob_get_clean()));
  757. }
  758. // line 186
  759. public function block_search_widget($context, array $blocks = array())
  760. {
  761. // line 187
  762. ob_start();
  763. // line 188
  764. echo " ";
  765. $context["type"] = ((array_key_exists("type", $context)) ? (_twig_default_filter($this->getContext($context, "type"), "search")) : ("search"));
  766. // line 189
  767. echo " ";
  768. $this->displayBlock("form_widget_simple", $context, $blocks);
  769. echo "
  770. ";
  771. echo trim(preg_replace('/>\s+</', '><', ob_get_clean()));
  772. }
  773. // line 193
  774. public function block_percent_widget($context, array $blocks = array())
  775. {
  776. // line 194
  777. ob_start();
  778. // line 195
  779. echo " ";
  780. $context["type"] = ((array_key_exists("type", $context)) ? (_twig_default_filter($this->getContext($context, "type"), "text")) : ("text"));
  781. // line 196
  782. echo " ";
  783. $this->displayBlock("form_widget_simple", $context, $blocks);
  784. echo " %
  785. ";
  786. echo trim(preg_replace('/>\s+</', '><', ob_get_clean()));
  787. }
  788. // line 200
  789. public function block_password_widget($context, array $blocks = array())
  790. {
  791. // line 201
  792. ob_start();
  793. // line 202
  794. echo " ";
  795. $context["type"] = ((array_key_exists("type", $context)) ? (_twig_default_filter($this->getContext($context, "type"), "password")) : ("password"));
  796. // line 203
  797. echo " ";
  798. $this->displayBlock("form_widget_simple", $context, $blocks);
  799. echo "
  800. ";
  801. echo trim(preg_replace('/>\s+</', '><', ob_get_clean()));
  802. }
  803. // line 207
  804. public function block_hidden_widget($context, array $blocks = array())
  805. {
  806. // line 208
  807. ob_start();
  808. // line 209
  809. echo " ";
  810. $context["type"] = ((array_key_exists("type", $context)) ? (_twig_default_filter($this->getContext($context, "type"), "hidden")) : ("hidden"));
  811. // line 210
  812. echo " ";
  813. $this->displayBlock("form_widget_simple", $context, $blocks);
  814. echo "
  815. ";
  816. echo trim(preg_replace('/>\s+</', '><', ob_get_clean()));
  817. }
  818. // line 214
  819. public function block_email_widget($context, array $blocks = array())
  820. {
  821. // line 215
  822. ob_start();
  823. // line 216
  824. echo " ";
  825. $context["type"] = ((array_key_exists("type", $context)) ? (_twig_default_filter($this->getContext($context, "type"), "email")) : ("email"));
  826. // line 217
  827. echo " ";
  828. $this->displayBlock("form_widget_simple", $context, $blocks);
  829. echo "
  830. ";
  831. echo trim(preg_replace('/>\s+</', '><', ob_get_clean()));
  832. }
  833. // line 223
  834. public function block_form_label($context, array $blocks = array())
  835. {
  836. // line 224
  837. ob_start();
  838. // line 225
  839. echo " ";
  840. if ((!($this->getContext($context, "label") === false))) {
  841. // line 226
  842. echo " ";
  843. if ((!$this->getContext($context, "compound"))) {
  844. // line 227
  845. echo " ";
  846. $context["label_attr"] = twig_array_merge($this->getContext($context, "label_attr"), array("for" => $this->getContext($context, "id")));
  847. // line 228
  848. echo " ";
  849. }
  850. // line 229
  851. echo " ";
  852. if ($this->getContext($context, "required")) {
  853. // line 230
  854. echo " ";
  855. $context["label_attr"] = twig_array_merge($this->getContext($context, "label_attr"), array("class" => trim(((($this->getAttribute($this->getContext($context, "label_attr", true), "class", array(), "any", true, true)) ? (_twig_default_filter($this->getAttribute($this->getContext($context, "label_attr", true), "class"), "")) : ("")) . " required"))));
  856. // line 231
  857. echo " ";
  858. }
  859. // line 232
  860. echo " ";
  861. if (twig_test_empty($this->getContext($context, "label"))) {
  862. // line 233
  863. echo " ";
  864. $context["label"] = $this->env->getExtension('form')->renderer->humanize($this->getContext($context, "name"));
  865. // line 234
  866. echo " ";
  867. }
  868. // line 235
  869. echo " <label";
  870. $context['_parent'] = (array) $context;
  871. $context['_seq'] = twig_ensure_traversable($this->getContext($context, "label_attr"));
  872. foreach ($context['_seq'] as $context["attrname"] => $context["attrvalue"]) {
  873. echo " ";
  874. echo twig_escape_filter($this->env, $this->getContext($context, "attrname"), "html", null, true);
  875. echo "=\"";
  876. echo twig_escape_filter($this->env, $this->getContext($context, "attrvalue"), "html", null, true);
  877. echo "\"";
  878. }
  879. $_parent = $context['_parent'];
  880. unset($context['_seq'], $context['_iterated'], $context['attrname'], $context['attrvalue'], $context['_parent'], $context['loop']);
  881. $context = array_merge($_parent, array_intersect_key($context, $_parent));
  882. echo ">";
  883. echo twig_escape_filter($this->env, $this->env->getExtension('translator')->trans($this->getContext($context, "label"), array(), $this->getContext($context, "translation_domain")), "html", null, true);
  884. echo "</label>
  885. ";
  886. }
  887. echo trim(preg_replace('/>\s+</', '><', ob_get_clean()));
  888. }
  889. // line 242
  890. public function block_repeated_row($context, array $blocks = array())
  891. {
  892. // line 243
  893. ob_start();
  894. // line 244
  895. echo " ";
  896. // line 248
  897. echo " ";
  898. $this->displayBlock("form_rows", $context, $blocks);
  899. echo "
  900. ";
  901. echo trim(preg_replace('/>\s+</', '><', ob_get_clean()));
  902. }
  903. // line 252
  904. public function block_form_row($context, array $blocks = array())
  905. {
  906. // line 253
  907. ob_start();
  908. // line 254
  909. echo " <div>
  910. ";
  911. // line 255
  912. echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getContext($context, "form"), 'label');
  913. echo "
  914. ";
  915. // line 256
  916. echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getContext($context, "form"), 'errors');
  917. echo "
  918. ";
  919. // line 257
  920. echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getContext($context, "form"), 'widget');
  921. echo "
  922. </div>
  923. ";
  924. echo trim(preg_replace('/>\s+</', '><', ob_get_clean()));
  925. }
  926. // line 262
  927. public function block_hidden_row($context, array $blocks = array())
  928. {
  929. // line 263
  930. echo " ";
  931. echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getContext($context, "form"), 'widget');
  932. echo "
  933. ";
  934. }
  935. // line 268
  936. public function block_form_enctype($context, array $blocks = array())
  937. {
  938. // line 269
  939. ob_start();
  940. // line 270
  941. echo " ";
  942. if ($this->getContext($context, "multipart")) {
  943. echo "enctype=\"multipart/form-data\"";
  944. }
  945. echo trim(preg_replace('/>\s+</', '><', ob_get_clean()));
  946. }
  947. // line 274
  948. public function block_form_errors($context, array $blocks = array())
  949. {
  950. // line 275
  951. ob_start();
  952. // line 276
  953. echo " ";
  954. if ((twig_length_filter($this->env, $this->getContext($context, "errors")) > 0)) {
  955. // line 277
  956. echo " <ul>
  957. ";
  958. // line 278
  959. $context['_parent'] = (array) $context;
  960. $context['_seq'] = twig_ensure_traversable($this->getContext($context, "errors"));
  961. foreach ($context['_seq'] as $context["_key"] => $context["error"]) {
  962. // line 279
  963. echo " <li>";
  964. echo twig_escape_filter($this->env, $this->getAttribute($this->getContext($context, "error"), "message"), "html", null, true);
  965. echo "</li>
  966. ";
  967. }
  968. $_parent = $context['_parent'];
  969. unset($context['_seq'], $context['_iterated'], $context['_key'], $context['error'], $context['_parent'], $context['loop']);
  970. $context = array_merge($_parent, array_intersect_key($context, $_parent));
  971. // line 281
  972. echo " </ul>
  973. ";
  974. }
  975. echo trim(preg_replace('/>\s+</', '><', ob_get_clean()));
  976. }
  977. // line 286
  978. public function block_form_rest($context, array $blocks = array())
  979. {
  980. // line 287
  981. ob_start();
  982. // line 288
  983. echo " ";
  984. $context['_parent'] = (array) $context;
  985. $context['_seq'] = twig_ensure_traversable($this->getContext($context, "form"));
  986. foreach ($context['_seq'] as $context["_key"] => $context["child"]) {
  987. // line 289
  988. echo " ";
  989. if ((!$this->getAttribute($this->getContext($context, "child"), "rendered"))) {
  990. // line 290
  991. echo " ";
  992. echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getContext($context, "child"), 'row');
  993. echo "
  994. ";
  995. }
  996. // line 292
  997. echo " ";
  998. }
  999. $_parent = $context['_parent'];
  1000. unset($context['_seq'], $context['_iterated'], $context['_key'], $context['child'], $context['_parent'], $context['loop']);
  1001. $context = array_merge($_parent, array_intersect_key($context, $_parent));
  1002. echo trim(preg_replace('/>\s+</', '><', ob_get_clean()));
  1003. }
  1004. // line 298
  1005. public function block_form_rows($context, array $blocks = array())
  1006. {
  1007. // line 299
  1008. ob_start();
  1009. // line 300
  1010. echo " ";
  1011. $context['_parent'] = (array) $context;
  1012. $context['_seq'] = twig_ensure_traversable($this->getContext($context, "form"));
  1013. foreach ($context['_seq'] as $context["_key"] => $context["child"]) {
  1014. // line 301
  1015. echo " ";
  1016. echo $this->env->getExtension('form')->renderer->searchAndRenderBlock($this->getContext($context, "child"), 'row');
  1017. echo "
  1018. ";
  1019. }
  1020. $_parent = $context['_parent'];
  1021. unset($context['_seq'], $context['_iterated'], $context['_key'], $context['child'], $context['_parent'], $context['loop']);
  1022. $context = array_merge($_parent, array_intersect_key($context, $_parent));
  1023. echo trim(preg_replace('/>\s+</', '><', ob_get_clean()));
  1024. }
  1025. // line 306
  1026. public function block_widget_attributes($context, array $blocks = array())
  1027. {
  1028. // line 307
  1029. ob_start();
  1030. // line 308
  1031. echo " id=\"";
  1032. echo twig_escape_filter($this->env, $this->getContext($context, "id"), "html", null, true);
  1033. echo "\" name=\"";
  1034. echo twig_escape_filter($this->env, $this->getContext($context, "full_name"), "html", null, true);
  1035. echo "\"";
  1036. if ($this->getContext($context, "read_only")) {
  1037. echo " readonly=\"readonly\"";
  1038. }
  1039. if ($this->getContext($context, "disabled")) {
  1040. echo " disabled=\"disabled\"";
  1041. }
  1042. if ($this->getContext($context, "required")) {
  1043. echo " required=\"required\"";
  1044. }
  1045. if ($this->getContext($context, "max_length")) {
  1046. echo " maxlength=\"";
  1047. echo twig_escape_filter($this->env, $this->getContext($context, "max_length"), "html", null, true);
  1048. echo "\"";
  1049. }
  1050. if ($this->getContext($context, "pattern")) {
  1051. echo " pattern=\"";
  1052. echo twig_escape_filter($this->env, $this->getContext($context, "pattern"), "html", null, true);
  1053. echo "\"";
  1054. }
  1055. // line 309
  1056. echo " ";
  1057. $context['_parent'] = (array) $context;
  1058. $context['_seq'] = twig_ensure_traversable($this->getContext($context, "attr"));
  1059. foreach ($context['_seq'] as $context["attrname"] => $context["attrvalue"]) {
  1060. if (twig_in_filter($this->getContext($context, "attrname"), array(0 => "placeholder", 1 => "title"))) {
  1061. echo twig_escape_filter($this->env, $this->getContext($context, "attrname"), "html", null, true);
  1062. echo "=\"";
  1063. echo twig_escape_filter($this->env, $this->env->getExtension('translator')->trans($this->getContext($context, "attrvalue"), array(), $this->getContext($context, "translation_domain")), "html", null, true);
  1064. echo "\" ";
  1065. } else {
  1066. echo twig_escape_filter($this->env, $this->getContext($context, "attrname"), "html", null, true);
  1067. echo "=\"";
  1068. echo twig_escape_filter($this->env, $this->getContext($context, "attrvalue"), "html", null, true);
  1069. echo "\" ";
  1070. }
  1071. }
  1072. $_parent = $context['_parent'];
  1073. unset($context['_seq'], $context['_iterated'], $context['attrname'], $context['attrvalue'], $context['_parent'], $context['loop']);
  1074. $context = array_merge($_parent, array_intersect_key($context, $_parent));
  1075. echo trim(preg_replace('/>\s+</', '><', ob_get_clean()));
  1076. }
  1077. // line 313
  1078. public function block_widget_container_attributes($context, array $blocks = array())
  1079. {
  1080. // line 314
  1081. ob_start();
  1082. // line 315
  1083. echo " ";
  1084. if ((!twig_test_empty($this->getContext($context, "id")))) {
  1085. echo "id=\"";
  1086. echo twig_escape_filter($this->env, $this->getContext($context, "id"), "html", null, true);
  1087. echo "\" ";
  1088. }
  1089. // line 316
  1090. echo " ";
  1091. $context['_parent'] = (array) $context;
  1092. $context['_seq'] = twig_ensure_traversable($this->getContext($context, "attr"));
  1093. foreach ($context['_seq'] as $context["attrname"] => $context["attrvalue"]) {
  1094. echo twig_escape_filter($this->env, $this->getContext($context, "attrname"), "html", null, true);
  1095. echo "=\"";
  1096. echo twig_escape_filter($this->env, $this->getContext($context, "attrvalue"), "html", null, true);
  1097. echo "\" ";
  1098. }
  1099. $_parent = $context['_parent'];
  1100. unset($context['_seq'], $context['_iterated'], $context['attrname'], $context['attrvalue'], $context['_parent'], $context['loop']);
  1101. $context = array_merge($_parent, array_intersect_key($context, $_parent));
  1102. echo trim(preg_replace('/>\s+</', '><', ob_get_clean()));
  1103. }
  1104. // line 322
  1105. public function block_generic_label($context, array $blocks = array())
  1106. {
  1107. $this->displayBlock("form_label", $context, $blocks);
  1108. }
  1109. // line 323
  1110. public function block_widget_choice_options($context, array $blocks = array())
  1111. {
  1112. $this->displayBlock("choice_widget_options", $context, $blocks);
  1113. }
  1114. // line 324
  1115. public function block_field_widget($context, array $blocks = array())
  1116. {
  1117. $this->displayBlock("form_widget_simple", $context, $blocks);
  1118. }
  1119. // line 325
  1120. public function block_field_label($context, array $blocks = array())
  1121. {
  1122. $this->displayBlock("form_label", $context, $blocks);
  1123. }
  1124. // line 326
  1125. public function block_field_row($context, array $blocks = array())
  1126. {
  1127. $this->displayBlock("form_row", $context, $blocks);
  1128. }
  1129. // line 327
  1130. public function block_field_enctype($context, array $blocks = array())
  1131. {
  1132. $this->displayBlock("form_enctype", $context, $blocks);
  1133. }
  1134. // line 328
  1135. public function block_field_errors($context, array $blocks = array())
  1136. {
  1137. $this->displayBlock("form_errors", $context, $blocks);
  1138. }
  1139. // line 329
  1140. public function block_field_rest($context, array $blocks = array())
  1141. {
  1142. $this->displayBlock("form_rest", $context, $blocks);
  1143. }
  1144. // line 330
  1145. public function block_field_rows($context, array $blocks = array())
  1146. {
  1147. $this->displayBlock("form_rows", $context, $blocks);
  1148. }
  1149. public function getTemplateName()
  1150. {
  1151. return "form_div_layout.html.twig";
  1152. }
  1153. public function getDebugInfo()
  1154. {
  1155. return array ( 1191 => 330, 1185 => 329, 1179 => 328, 1173 => 327, 1167 => 326, 1161 => 325, 1155 => 324, 1149 => 323, 1143 => 322, 1127 => 316, 1120 => 315, 1118 => 314, 1115 => 313, 1092 => 309, 1067 => 308, 1065 => 307, 1062 => 306, 1050 => 301, 1045 => 300, 1043 => 299, 1040 => 298, 1031 => 292, 1025 => 290, 1022 => 289, 1017 => 288, 1015 => 287, 1012 => 286, 1005 => 281, 996 => 279, 992 => 278, 989 => 277, 986 => 276, 984 => 275, 981 => 274, 973 => 270, 971 => 269, 968 => 268, 961 => 263, 958 => 262, 950 => 257, 946 => 256, 942 => 255, 939 => 254, 937 => 253, 934 => 252, 926 => 248, 924 => 244, 922 => 243, 919 => 242, 897 => 235, 894 => 234, 891 => 233, 888 => 232, 885 => 231, 882 => 230, 879 => 229, 876 => 228, 873 => 227, 870 => 226, 867 => 225, 865 => 224, 862 => 223, 854 => 217, 851 => 216, 849 => 215, 846 => 214, 838 => 210, 835 => 209, 833 => 208, 830 => 207, 822 => 203, 819 => 202, 817 => 201, 814 => 200, 806 => 196, 803 => 195, 801 => 194, 798 => 193, 790 => 189, 787 => 188, 785 => 187, 782 => 186, 774 => 182, 771 => 181, 769 => 180, 766 => 179, 758 => 175, 756 => 174, 753 => 173, 745 => 169, 742 => 168, 740 => 167, 737 => 166, 729 => 162, 726 => 161, 724 => 160, 722 => 159, 719 => 158, 712 => 153, 702 => 152, 697 => 151, 694 => 150, 688 => 148, 685 => 147, 683 => 146, 680 => 145, 672 => 139, 670 => 138, 669 => 137, 668 => 136, 667 => 135, 662 => 134, 656 => 132, 653 => 131, 651 => 130, 648 => 129, 639 => 123, 635 => 122, 631 => 121, 627 => 120, 622 => 119, 616 => 117, 613 => 116, 611 => 115, 608 => 114, 592 => 110, 590 => 109, 587 => 108, 571 => 104, 569 => 103, 566 => 102, 549 => 98, 537 => 96, 530 => 93, 528 => 92, 523 => 91, 520 => 90, 502 => 89, 500 => 88, 497 => 87, 488 => 82, 485 => 81, 482 => 80, 476 => 78, 474 => 77, 469 => 76, 466 => 75, 463 => 74, 450 => 72, 448 => 71, 440 => 70, 438 => 69, 435 => 68, 429 => 64, 421 => 62, 416 => 61, 412 => 60, 407 => 59, 405 => 58, 402 => 57, 393 => 52, 387 => 50, 384 => 49, 382 => 48, 379 => 47, 369 => 43, 367 => 42, 364 => 41, 356 => 37, 353 => 36, 350 => 35, 347 => 34, 345 => 33, 342 => 32, 334 => 27, 329 => 26, 323 => 24, 321 => 23, 316 => 22, 314 => 21, 311 => 20, 295 => 16, 292 => 15, 290 => 14, 287 => 13, 278 => 8, 272 => 6, 269 => 5, 267 => 4, 264 => 3, 260 => 330, 258 => 329, 256 => 328, 254 => 327, 252 => 326, 250 => 325, 248 => 324, 246 => 323, 244 => 322, 241 => 321, 238 => 319, 236 => 313, 233 => 312, 231 => 306, 228 => 305, 226 => 298, 223 => 297, 220 => 295, 218 => 286, 215 => 285, 213 => 274, 210 => 273, 208 => 268, 205 => 267, 202 => 265, 200 => 262, 197 => 261, 195 => 252, 192 => 251, 190 => 242, 187 => 241, 184 => 239, 182 => 223, 179 => 222, 176 => 220, 174 => 214, 171 => 213, 169 => 207, 166 => 206, 164 => 200, 161 => 199, 159 => 193, 156 => 192, 154 => 186, 151 => 185, 149 => 179, 146 => 178, 144 => 173, 141 => 172, 139 => 166, 136 => 165, 134 => 158, 131 => 157, 129 => 145, 126 => 144, 124 => 129, 121 => 128, 119 => 114, 116 => 113, 114 => 108, 111 => 107, 109 => 102, 106 => 101, 101 => 86, 99 => 68, 96 => 67, 94 => 57, 91 => 56, 89 => 47, 79 => 32, 74 => 20, 71 => 19, 69 => 13, 61 => 2, 108 => 33, 104 => 87, 102 => 30, 90 => 27, 87 => 26, 84 => 41, 81 => 40, 72 => 18, 67 => 16, 59 => 13, 56 => 12, 33 => 4, 30 => 3, 52 => 13, 48 => 11, 43 => 9, 37 => 7, 26 => 3, 19 => 1, 98 => 29, 93 => 28, 88 => 6, 78 => 40, 46 => 10, 44 => 9, 40 => 8, 36 => 5, 32 => 6, 27 => 4, 22 => 2, 64 => 3, 58 => 14, 55 => 12, 50 => 10, 34 => 4, 31 => 5, 86 => 46, 80 => 41, 76 => 31, 70 => 19, 66 => 12, 62 => 14, 57 => 15, 53 => 11, 47 => 9, 45 => 8, 41 => 7, 38 => 6, 35 => 5, 29 => 4,);
  1156. }
  1157. }