| 
									
										
										
										
											2015-05-01 20:17:06 +02:00
										 |  |  | <?php | 
					
						
							| 
									
										
										
										
											2016-05-20 12:41:23 +02:00
										 |  |  | /** | 
					
						
							|  |  |  |  * General.php | 
					
						
							|  |  |  |  * Copyright (C) 2016 thegrumpydictator@gmail.com | 
					
						
							|  |  |  |  * | 
					
						
							| 
									
										
										
										
											2016-10-05 06:52:15 +02:00
										 |  |  |  * This software may be modified and distributed under the terms of the | 
					
						
							|  |  |  |  * Creative Commons Attribution-ShareAlike 4.0 International License. | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * See the LICENSE file for details. | 
					
						
							| 
									
										
										
										
											2016-05-20 12:41:23 +02:00
										 |  |  |  */ | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-04-09 07:44:22 +02:00
										 |  |  | declare(strict_types=1); | 
					
						
							| 
									
										
										
										
											2015-05-01 20:17:06 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-05-01 22:44:35 +02:00
										 |  |  | namespace FireflyIII\Support\Twig; | 
					
						
							| 
									
										
										
										
											2015-05-01 20:17:06 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-05-17 10:01:47 +02:00
										 |  |  | use Carbon\Carbon; | 
					
						
							| 
									
										
										
										
											2015-05-01 20:17:06 +02:00
										 |  |  | use FireflyIII\Models\Account; | 
					
						
							| 
									
										
										
										
											2016-02-05 13:09:18 +01:00
										 |  |  | use FireflyIII\Models\TransactionJournal; | 
					
						
							| 
									
										
										
										
											2015-05-01 20:17:06 +02:00
										 |  |  | use Route; | 
					
						
							| 
									
										
										
										
											2017-02-15 21:55:50 +01:00
										 |  |  | use Steam; | 
					
						
							| 
									
										
										
										
											2015-05-01 20:17:06 +02:00
										 |  |  | use Twig_Extension; | 
					
						
							|  |  |  | use Twig_SimpleFilter; | 
					
						
							|  |  |  | use Twig_SimpleFunction; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | /** | 
					
						
							| 
									
										
										
										
											2015-06-29 09:23:39 +02:00
										 |  |  |  * | 
					
						
							| 
									
										
										
										
											2015-05-01 20:17:06 +02:00
										 |  |  |  * Class TwigSupport | 
					
						
							|  |  |  |  * | 
					
						
							|  |  |  |  * @package FireflyIII\Support | 
					
						
							|  |  |  |  */ | 
					
						
							| 
									
										
										
										
											2015-05-01 22:44:35 +02:00
										 |  |  | class General extends Twig_Extension | 
					
						
							| 
									
										
										
										
											2015-05-01 20:17:06 +02:00
										 |  |  | { | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-05-01 22:44:35 +02:00
										 |  |  |     /** | 
					
						
							|  |  |  |      * @return array | 
					
						
							|  |  |  |      */ | 
					
						
							| 
									
										
										
										
											2016-02-06 10:15:07 +01:00
										 |  |  |     public function getFilters(): array | 
					
						
							| 
									
										
										
										
											2015-05-01 20:17:06 +02:00
										 |  |  |     { | 
					
						
							| 
									
										
										
										
											2015-06-06 17:40:41 +02:00
										 |  |  |         return [ | 
					
						
							|  |  |  |             $this->balance(), | 
					
						
							| 
									
										
										
										
											2015-07-19 11:47:56 +02:00
										 |  |  |             $this->formatFilesize(), | 
					
						
							|  |  |  |             $this->mimeIcon(), | 
					
						
							| 
									
										
										
										
											2017-02-15 21:55:50 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-06-06 17:40:41 +02:00
										 |  |  |         ]; | 
					
						
							| 
									
										
										
										
											2015-05-01 20:17:06 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-06-06 17:40:41 +02:00
										 |  |  |     } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     /** | 
					
						
							|  |  |  |      * {@inheritDoc} | 
					
						
							|  |  |  |      */ | 
					
						
							| 
									
										
										
										
											2016-02-06 10:15:07 +01:00
										 |  |  |     public function getFunctions(): array | 
					
						
							| 
									
										
										
										
											2015-06-06 17:40:41 +02:00
										 |  |  |     { | 
					
						
							|  |  |  |         return [ | 
					
						
							|  |  |  |             $this->getCurrencyCode(), | 
					
						
							|  |  |  |             $this->getCurrencySymbol(), | 
					
						
							|  |  |  |             $this->phpdate(), | 
					
						
							|  |  |  |             $this->env(), | 
					
						
							| 
									
										
										
										
											2016-04-03 14:38:12 +02:00
										 |  |  |             $this->getAmountFromJournal(), | 
					
						
							| 
									
										
										
										
											2015-06-06 23:09:12 +02:00
										 |  |  |             $this->activeRouteStrict(), | 
					
						
							| 
									
										
										
										
											2017-02-15 21:55:50 +01:00
										 |  |  |             $this->steamPositive(), | 
					
						
							| 
									
										
										
										
											2015-06-06 23:09:12 +02:00
										 |  |  |             $this->activeRoutePartial(), | 
					
						
							|  |  |  |             $this->activeRoutePartialWhat(), | 
					
						
							| 
									
										
										
										
											2015-06-06 17:40:41 +02:00
										 |  |  |         ]; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     /** | 
					
						
							|  |  |  |      * {@inheritDoc} | 
					
						
							|  |  |  |      */ | 
					
						
							| 
									
										
										
										
											2016-02-06 10:15:07 +01:00
										 |  |  |     public function getName(): string | 
					
						
							| 
									
										
										
										
											2015-06-06 17:40:41 +02:00
										 |  |  |     { | 
					
						
							|  |  |  |         return 'FireflyIII\Support\Twig\General'; | 
					
						
							|  |  |  |     } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-07-26 19:07:02 +02:00
										 |  |  |     /** | 
					
						
							| 
									
										
										
										
											2016-02-05 09:25:15 +01:00
										 |  |  |      * Will return "active" when a part of the route matches the argument. | 
					
						
							|  |  |  |      * ie. "accounts" will match "accounts.index". | 
					
						
							|  |  |  |      * | 
					
						
							|  |  |  |      * @return Twig_SimpleFunction | 
					
						
							| 
									
										
										
										
											2015-07-26 19:07:02 +02:00
										 |  |  |      */ | 
					
						
							| 
									
										
										
										
											2016-02-06 10:15:07 +01:00
										 |  |  |     protected function activeRoutePartial(): Twig_SimpleFunction | 
					
						
							| 
									
										
										
										
											2015-07-18 21:12:34 +02:00
										 |  |  |     { | 
					
						
							| 
									
										
										
										
											2016-02-05 09:25:15 +01:00
										 |  |  |         return new Twig_SimpleFunction( | 
					
						
							| 
									
										
										
										
											2016-12-14 18:59:12 +01:00
										 |  |  |             'activeRoutePartial', function (): string { | 
					
						
							| 
									
										
										
										
											2016-02-05 09:25:15 +01:00
										 |  |  |             $args  = func_get_args(); | 
					
						
							|  |  |  |             $route = $args[0]; // name of the route.
 | 
					
						
							| 
									
										
										
										
											2016-05-22 21:11:30 +02:00
										 |  |  |             $name  = Route::getCurrentRoute()->getName() ?? ''; | 
					
						
							|  |  |  |             if (!(strpos($name, $route) === false)) { | 
					
						
							| 
									
										
										
										
											2016-02-05 09:25:15 +01:00
										 |  |  |                 return 'active'; | 
					
						
							|  |  |  |             } | 
					
						
							| 
									
										
										
										
											2015-07-18 21:12:34 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-02-05 09:25:15 +01:00
										 |  |  |             return ''; | 
					
						
							|  |  |  |         } | 
					
						
							|  |  |  |         ); | 
					
						
							|  |  |  |     } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     /** | 
					
						
							|  |  |  |      * This function will return "active" when the current route matches the first argument (even partly) | 
					
						
							|  |  |  |      * but, the variable $what has been set and matches the second argument. | 
					
						
							|  |  |  |      * | 
					
						
							|  |  |  |      * @return Twig_SimpleFunction | 
					
						
							|  |  |  |      */ | 
					
						
							| 
									
										
										
										
											2016-02-06 10:15:07 +01:00
										 |  |  |     protected function activeRoutePartialWhat(): Twig_SimpleFunction | 
					
						
							| 
									
										
										
										
											2016-02-05 09:25:15 +01:00
										 |  |  |     { | 
					
						
							|  |  |  |         return new Twig_SimpleFunction( | 
					
						
							| 
									
										
										
										
											2016-12-14 18:59:12 +01:00
										 |  |  |             'activeRoutePartialWhat', function ($context): string { | 
					
						
							| 
									
										
										
										
											2016-02-05 09:25:15 +01:00
										 |  |  |             $args       = func_get_args(); | 
					
						
							|  |  |  |             $route      = $args[1]; // name of the route.
 | 
					
						
							|  |  |  |             $what       = $args[2]; // name of the route.
 | 
					
						
							|  |  |  |             $activeWhat = $context['what'] ?? false; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-07-15 16:41:07 +02:00
										 |  |  |             if ($what === $activeWhat && !(strpos(Route::getCurrentRoute()->getName(), $route) === false)) { | 
					
						
							| 
									
										
										
										
											2016-02-05 09:25:15 +01:00
										 |  |  |                 return 'active'; | 
					
						
							| 
									
										
										
										
											2015-07-18 21:12:34 +02:00
										 |  |  |             } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-02-05 09:25:15 +01:00
										 |  |  |             return ''; | 
					
						
							|  |  |  |         }, ['needs_context' => true] | 
					
						
							|  |  |  |         ); | 
					
						
							|  |  |  |     } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     /** | 
					
						
							|  |  |  |      * Will return "active" when the current route matches the given argument | 
					
						
							|  |  |  |      * exactly. | 
					
						
							|  |  |  |      * | 
					
						
							|  |  |  |      * @return Twig_SimpleFunction | 
					
						
							|  |  |  |      */ | 
					
						
							| 
									
										
										
										
											2016-02-06 10:15:07 +01:00
										 |  |  |     protected function activeRouteStrict(): Twig_SimpleFunction | 
					
						
							| 
									
										
										
										
											2016-02-05 09:25:15 +01:00
										 |  |  |     { | 
					
						
							|  |  |  |         return new Twig_SimpleFunction( | 
					
						
							| 
									
										
										
										
											2016-12-14 18:59:12 +01:00
										 |  |  |             'activeRouteStrict', function (): string { | 
					
						
							| 
									
										
										
										
											2016-02-05 09:25:15 +01:00
										 |  |  |             $args  = func_get_args(); | 
					
						
							|  |  |  |             $route = $args[0]; // name of the route.
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-07-15 16:41:07 +02:00
										 |  |  |             if (Route::getCurrentRoute()->getName() === $route) { | 
					
						
							| 
									
										
										
										
											2016-02-05 09:25:15 +01:00
										 |  |  |                 return 'active'; | 
					
						
							| 
									
										
										
										
											2015-07-18 21:12:34 +02:00
										 |  |  |             } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-02-05 09:25:15 +01:00
										 |  |  |             return ''; | 
					
						
							| 
									
										
										
										
											2015-07-18 21:12:34 +02:00
										 |  |  |         } | 
					
						
							|  |  |  |         ); | 
					
						
							|  |  |  |     } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-07-19 11:47:56 +02:00
										 |  |  |     /** | 
					
						
							|  |  |  |      * @return Twig_SimpleFilter | 
					
						
							|  |  |  |      */ | 
					
						
							| 
									
										
										
										
											2016-02-06 10:15:07 +01:00
										 |  |  |     protected function balance(): Twig_SimpleFilter | 
					
						
							| 
									
										
										
										
											2015-07-19 11:47:56 +02:00
										 |  |  |     { | 
					
						
							|  |  |  |         return new Twig_SimpleFilter( | 
					
						
							| 
									
										
										
										
											2017-07-23 19:06:24 +02:00
										 |  |  |             'balance', function (?Account $account): string { | 
					
						
							| 
									
										
										
										
											2016-02-05 09:25:15 +01:00
										 |  |  |             if (is_null($account)) { | 
					
						
							|  |  |  |                 return 'NULL'; | 
					
						
							| 
									
										
										
										
											2015-07-19 11:47:56 +02:00
										 |  |  |             } | 
					
						
							| 
									
										
										
										
											2016-02-05 09:25:15 +01:00
										 |  |  |             $date = session('end', Carbon::now()->endOfMonth()); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |             return app('steam')->balance($account, $date); | 
					
						
							|  |  |  |         } | 
					
						
							|  |  |  |         ); | 
					
						
							|  |  |  |     } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     /** | 
					
						
							|  |  |  |      * @return Twig_SimpleFunction | 
					
						
							|  |  |  |      */ | 
					
						
							| 
									
										
										
										
											2016-02-06 10:15:07 +01:00
										 |  |  |     protected function env(): Twig_SimpleFunction | 
					
						
							| 
									
										
										
										
											2016-02-05 09:25:15 +01:00
										 |  |  |     { | 
					
						
							|  |  |  |         return new Twig_SimpleFunction( | 
					
						
							| 
									
										
										
										
											2016-12-14 18:59:12 +01:00
										 |  |  |             'env', function (string $name, string $default): string { | 
					
						
							| 
									
										
										
										
											2016-02-05 09:25:15 +01:00
										 |  |  |             return env($name, $default); | 
					
						
							|  |  |  |         } | 
					
						
							| 
									
										
										
										
											2015-07-19 11:47:56 +02:00
										 |  |  |         ); | 
					
						
							|  |  |  |     } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-06-06 17:40:41 +02:00
										 |  |  |     /** | 
					
						
							|  |  |  |      * @return Twig_SimpleFilter | 
					
						
							|  |  |  |      */ | 
					
						
							| 
									
										
										
										
											2016-02-06 10:15:07 +01:00
										 |  |  |     protected function formatFilesize(): Twig_SimpleFilter | 
					
						
							| 
									
										
										
										
											2015-06-06 17:40:41 +02:00
										 |  |  |     { | 
					
						
							|  |  |  |         return new Twig_SimpleFilter( | 
					
						
							| 
									
										
										
										
											2016-12-14 18:59:12 +01:00
										 |  |  |             'filesize', function (int $size): string { | 
					
						
							| 
									
										
										
										
											2016-02-05 09:25:15 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  |             // less than one GB, more than one MB
 | 
					
						
							|  |  |  |             if ($size < (1024 * 1024 * 2014) && $size >= (1024 * 1024)) { | 
					
						
							|  |  |  |                 return round($size / (1024 * 1024), 2) . ' MB'; | 
					
						
							|  |  |  |             } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |             // less than one MB
 | 
					
						
							|  |  |  |             if ($size < (1024 * 1024)) { | 
					
						
							|  |  |  |                 return round($size / 1024, 2) . ' KB'; | 
					
						
							|  |  |  |             } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |             return $size . ' bytes'; | 
					
						
							|  |  |  |         } | 
					
						
							| 
									
										
										
										
											2015-05-02 10:53:54 +02:00
										 |  |  |         ); | 
					
						
							| 
									
										
										
										
											2015-06-06 17:40:41 +02:00
										 |  |  |     } | 
					
						
							| 
									
										
										
										
											2015-05-01 20:17:06 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     /** | 
					
						
							| 
									
										
										
										
											2015-06-06 17:40:41 +02:00
										 |  |  |      * @return Twig_SimpleFunction | 
					
						
							| 
									
										
										
										
											2015-05-01 20:17:06 +02:00
										 |  |  |      */ | 
					
						
							| 
									
										
										
										
											2016-02-06 10:15:07 +01:00
										 |  |  |     protected function getCurrencyCode(): Twig_SimpleFunction | 
					
						
							| 
									
										
										
										
											2015-05-01 20:17:06 +02:00
										 |  |  |     { | 
					
						
							| 
									
										
										
										
											2015-06-06 17:40:41 +02:00
										 |  |  |         return new Twig_SimpleFunction( | 
					
						
							| 
									
										
										
										
											2016-12-14 18:59:12 +01:00
										 |  |  |             'getCurrencyCode', function (): string { | 
					
						
							| 
									
										
										
										
											2015-07-07 19:09:45 +02:00
										 |  |  |             return app('amount')->getCurrencyCode(); | 
					
						
							| 
									
										
										
										
											2015-05-01 20:17:06 +02:00
										 |  |  |         } | 
					
						
							|  |  |  |         ); | 
					
						
							| 
									
										
										
										
											2015-06-06 17:40:41 +02:00
										 |  |  |     } | 
					
						
							| 
									
										
										
										
											2015-05-01 20:17:06 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-06-06 17:40:41 +02:00
										 |  |  |     /** | 
					
						
							|  |  |  |      * @return Twig_SimpleFunction | 
					
						
							|  |  |  |      */ | 
					
						
							| 
									
										
										
										
											2016-02-06 10:15:07 +01:00
										 |  |  |     protected function getCurrencySymbol(): Twig_SimpleFunction | 
					
						
							| 
									
										
										
										
											2015-06-06 17:40:41 +02:00
										 |  |  |     { | 
					
						
							|  |  |  |         return new Twig_SimpleFunction( | 
					
						
							| 
									
										
										
										
											2016-12-14 18:59:12 +01:00
										 |  |  |             'getCurrencySymbol', function (): string { | 
					
						
							| 
									
										
										
										
											2015-07-07 19:09:45 +02:00
										 |  |  |             return app('amount')->getCurrencySymbol(); | 
					
						
							| 
									
										
										
										
											2015-05-02 08:28:24 +02:00
										 |  |  |         } | 
					
						
							|  |  |  |         ); | 
					
						
							| 
									
										
										
										
											2015-06-06 17:40:41 +02:00
										 |  |  |     } | 
					
						
							| 
									
										
										
										
											2015-05-02 08:28:24 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-06-06 17:40:41 +02:00
										 |  |  |     /** | 
					
						
							| 
									
										
										
										
											2016-02-05 09:25:15 +01:00
										 |  |  |      * @return Twig_SimpleFilter | 
					
						
							| 
									
										
										
										
											2015-06-06 23:09:12 +02:00
										 |  |  |      */ | 
					
						
							| 
									
										
										
										
											2016-02-06 10:15:07 +01:00
										 |  |  |     protected function mimeIcon(): Twig_SimpleFilter | 
					
						
							| 
									
										
										
										
											2015-06-06 23:09:12 +02:00
										 |  |  |     { | 
					
						
							| 
									
										
										
										
											2016-02-05 09:25:15 +01:00
										 |  |  |         return new Twig_SimpleFilter( | 
					
						
							| 
									
										
										
										
											2016-12-14 18:59:12 +01:00
										 |  |  |             'mimeIcon', function (string $string): string { | 
					
						
							| 
									
										
										
										
											2016-02-05 09:25:15 +01:00
										 |  |  |             switch ($string) { | 
					
						
							|  |  |  |                 default: | 
					
						
							|  |  |  |                     return 'fa-file-o'; | 
					
						
							|  |  |  |                 case 'application/pdf': | 
					
						
							|  |  |  |                     return 'fa-file-pdf-o'; | 
					
						
							|  |  |  |                 case 'image/png': | 
					
						
							|  |  |  |                 case 'image/jpeg': | 
					
						
							|  |  |  |                     return 'fa-file-image-o'; | 
					
						
							| 
									
										
										
										
											2015-06-06 23:09:12 +02:00
										 |  |  |             } | 
					
						
							| 
									
										
										
										
											2016-02-05 09:25:15 +01:00
										 |  |  |         }, ['is_safe' => ['html']] | 
					
						
							| 
									
										
										
										
											2015-06-06 23:09:12 +02:00
										 |  |  |         ); | 
					
						
							|  |  |  |     } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     /** | 
					
						
							|  |  |  |      * @return Twig_SimpleFunction | 
					
						
							|  |  |  |      */ | 
					
						
							| 
									
										
										
										
											2016-02-05 09:25:15 +01:00
										 |  |  |     protected function phpdate() | 
					
						
							| 
									
										
										
										
											2015-06-06 23:09:12 +02:00
										 |  |  |     { | 
					
						
							|  |  |  |         return new Twig_SimpleFunction( | 
					
						
							| 
									
										
										
										
											2016-12-14 18:59:12 +01:00
										 |  |  |             'phpdate', function (string $str): string { | 
					
						
							| 
									
										
										
										
											2016-02-05 09:25:15 +01:00
										 |  |  |             return date($str); | 
					
						
							| 
									
										
										
										
											2015-06-06 23:09:12 +02:00
										 |  |  |         } | 
					
						
							|  |  |  |         ); | 
					
						
							|  |  |  |     } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-02-15 21:55:50 +01:00
										 |  |  |     /** | 
					
						
							|  |  |  |      * @return Twig_SimpleFunction | 
					
						
							|  |  |  |      */ | 
					
						
							|  |  |  |     protected function steamPositive() | 
					
						
							|  |  |  |     { | 
					
						
							|  |  |  |         return new Twig_SimpleFunction( | 
					
						
							|  |  |  |             'steam_positive', function (string $str): string { | 
					
						
							|  |  |  |             return Steam::positive($str); | 
					
						
							|  |  |  |         } | 
					
						
							|  |  |  |         ); | 
					
						
							|  |  |  |     } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-04-03 14:38:12 +02:00
										 |  |  |     /** | 
					
						
							|  |  |  |      * @return Twig_SimpleFunction | 
					
						
							|  |  |  |      */ | 
					
						
							|  |  |  |     private function getAmountFromJournal() | 
					
						
							|  |  |  |     { | 
					
						
							|  |  |  |         return new Twig_SimpleFunction( | 
					
						
							| 
									
										
										
										
											2016-12-14 18:59:12 +01:00
										 |  |  |             'getAmount', function (TransactionJournal $journal): string { | 
					
						
							| 
									
										
										
										
											2017-03-04 07:18:35 +01:00
										 |  |  |             return $journal->amount(); | 
					
						
							| 
									
										
										
										
											2016-04-03 14:38:12 +02:00
										 |  |  |         } | 
					
						
							|  |  |  |         ); | 
					
						
							|  |  |  |     } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-05-05 12:51:57 +02:00
										 |  |  | } |