���� JFIF  XX �� �� �     $.' ",#(7),01444'9=82<.342  2!!22222222222222222222222222222222222222222222222222�� ��" �� 4     ��   �� �,�PG"Z_�4�˷����kjز�Z�,F+��_z�,�© �����zh6�٨�ic�fu��� #ډb���_�N� ?� �wQ���5-�~�I���8��� �TK<5o�Iv-� ����k�_U_����� ~b�M��d��� �Ӝ�U�Hh��?]��E�w��Q���k�{��_}qFW7HTՑ��Y��F� ?_�'ϔ��_�Ջt� �=||I �� 6�έ"�����D���/[�k�9�� �Y�8 ds|\���Ҿp6�Ҵ���]��.����6� z<�v��@]�i% �� $j��~ �g��J>��no����pM[me�i$[�� �� s�o�ᘨ�˸ nɜG-�ĨU�ycP� 3.DB�li�;� �hj���x 7Z^�N�h��� ���N3u{�:j �x�힞��#M &��jL P@ _���� P�� &��o8 ������9 �����@Sz 6�t7#O�ߋ � s}Yf�T� ��lmr����Z)'N��k�۞p ����w\�T ȯ?�8` �O��i{wﭹW�[�r�� ��Q4F�׊�� �3m&L�=��h3� ���z~��#� \�l :�F,j@�� ʱ�wQT����8�"kJO��� 6�֚l���� }��� R�>ډK���]��y����&����p�}b�� ;N�1�m�r$� |��7�>e�@ B�TM*-i H��g�D�)� E�m�|�ؘbҗ�a ��Ҿ���� t4��� o���G��*oCN�rP���Q��@z,|?W[0 �����:�n,j WiE��W� �$~/�hp\��?��{(�0���+�Y8rΟ�+����>S-S�� ��VN;� }�s?.����� w �9��˟<���Mq4�Wv' ��{)0�1mB ��V����W[� ����8�/<� �%���wT^�5���b��)iM� p g�N�&ݝ� �VO~� q���u���9� ����!��J27��� �$ O-���! �: �%H��� ـ ����y�ΠM=t{!S�� oK8������ t<����è :a�� ����[���� �ա�H���~��w��Qz`�p o�^ �� ��Q��n�  �,uu�C� $ ^���,� �����8�#��:�6��e�|~� ��!�3� 3.�\0�� q��o�4`.|� ����y�Q�`~;�d�ׯ,��O�Zw�������`73�v�܋�< ���Ȏ�� ـ4k��5�K�a�u�=9Yd��$>x�A�&�� j0� ���vF��� Y� |�y��� ~�6�@c��1vOp �Ig�� ��4��l�OD� ��L����� R���c���j�_�uX 6��3?nk��Wy�f;^*B� ��@ �~a�`��Eu������ +� �� 6�L��.ü>��}y���}_�O�6�͐�:�Yr G�X��kG�� ���l^w�� �~㒶sy� �Iu�!� W ��X��N�7BV��O��!X�2����wvG�R�f�T#�����t�/?���%8�^�W�aT ��G�cL�M���I��(J����1~�8�?aT ���]����AS�E��(��*E}� 2�� #I/�׍qz��^t�̔��� b�Yz4x ���t�){ OH� �+(E��A&�N�������XT��o��"�XC�� '���)}�J�z�p� ��~5�}�^����+�6����w��c��Q�| Lp�d�H��}�(�.|����k��c4^� "�����Z?ȕ ��a< �L�!0 39C� �Eu� C�F�Ew�ç ;�n?�*o���B�8�bʝ���'#Rqf�� �M}7����]��� �s2tcS{�\icTx;�\��7K���P ���ʇ Z O-��~�� c>"��?�� �����P ��E��O�8��@�8��G��Q�g�a�Վ���󁶠 �䧘��_%#r�>� 1�z�a�� eb��qcP ѵ��n���#L��� =��׀t� L�7�` ��V��� A{�C:�g���e@ �w1 Xp 3�c3�ġ���� p��M"'-�@n4���fG� �B3�DJ�8[Jo�ߐ���gK)ƛ��$���� � ��8�3�����+���� �����6�ʻ���� ���S�kI�*KZlT _`�� �?��K� ���QK�d ����B`�s}�>���` ��*�>��,*@J�d�oF*� ���弝��O}�k��s��]��y�ߘ ��c1G�V���<=�7��7����6 �q�PT��tXԀ�!9*4�4Tހ 3XΛex�46�� �Y��D ����� �BdemDa����\�_l,� �G�/���֌7���Y�](�xTt^%�GE�����4�}bT ���ڹ�����; Y)���B�Q��u��>J/J � ⮶.�XԄ��j�ݳ� +E��d ��r�5�_D �1 �� o�� �B�x�΢�#� ��<��W�����8���R6�@ g�M�.��� dr�D��>(otU��@ x=��~v���2� ӣ�d�oBd ��3�eO�6�㣷�� ���ݜ 6��6Y��Qz`�� S��{���\P �~z m5{J/L��1������<�e�ͅPu� b�]�ϔ ���'�� ����f�b� Zpw��c`"��i���BD@:)ִ�:�]��h v�E� w���T�l ��P� ��"Ju�}��وV J��G6��. J/�Qgl߭�e�����@�z�Zev2u� )]կ��� ��7x�� �s�M�-<ɯ�c��r� v�����@��$�ޮ}lk���a�� �'����>x��O\�Z Fu>��� ��ck#��&:��`�$ �ai�>2Δ����l���oF[h� �lE�ܺ�Π k:)���` �� $[6�����9�����kOw�\|��� 8}������ބ:��񶐕� �I�A1/� =�2[�,�!��.}gN#�u����b ��� ~� �݊��}34q��� �d�E��L c��$ ��"�[q�U�硬g^��%B � z���r�p J�ru%v\h 1Y�ne` ǥ:g�� �pQM~�^� Xi� ��`S�:V2 9.�P���V� ?B�k�� AEvw%�_�9C�Q����wKekP ؠ�\� ;Io d�{ ߞo�c1eP��� �\� `����E=���@K<�Y�� �eڼ�J ���w����{av�F�'�M�@ /J��+9p ���|]���� �Iw &` ��8���& M�hg ��[�{ ��Xj�� %��Ӓ� $��(��� �ʹN��� <>�I���RY� ��K2�NPlL�ɀ )��&e� ���B+ь����( � �JTx ���_?EZ� }@ 6�U���뙢ط�z��dWI� n` D����噥�[��uV��"�G& Ú����2 g�}&m� �?ċ �"����Om#� ������� � ��{� ON��"S�X ��Ne��ysQ���@ Fn��Vg��� dX�~nj� ]J�<�K]: ��FW�� b�������62 �=��5f����JKw� �bf�X� 55��~J �%^� ���:�-�QIE��P��v�nZum� z � ~ə ���� ���ة����;�f��\v��� g�8�1��f2 4;�V���ǔ�)��� �9���1\�� c��v�/'Ƞ�w����� ��$�4�R-��t�� �� e�6�/�ġ �̕Ecy�J���u�B���<�W�ַ~�w[B1L۲�-JS΂�{���΃���� ��A��20�c# �� @    0!1@AP"#2Q`$3V�%45a6�FRUq���   � ���^7ׅ,$n� ������+��F�`��2X'��0vM��p�L=������ 5��8������u�p~���.�`r�����\��� O��,ư�0oS ��_�M�����l���4�kv\JSd���x���SW�<��Ae�IX����������$I���w�:S���y���›R��9�Q[���,�5�;�@]�%���u�@ *ro�lbI �� ��+���%m:�͇ZV�����u�̉����θau<�fc�.����{�4Ա� �Q����*�Sm��8\ujqs]{kN���)qO�y�_*dJ�b�7���yQqI&9�ԌK!�M}�R�;�� ����S�T���1���i[U�ɵz�]��U)V�S6���3$K{� ߊ<�(� E]Զ[ǼENg�����'�\?#)Dkf��J���o��v���'�%ƞ�&K�u� !��b�35LX�Ϸ��63$K�a�;�9>,R��W��3�3� d�JeTYE.Mϧ��-�o�j3+y��y^�c�������VO�9NV\nd�1 ��!͕_)a�v;����թ�M�lWR1��)El��P;��yوÏ�u 3�k�5Pr6<�⒲l�!˞*��u־�n�!�l:����UNW ��%��Chx8vL'��X�@��*��)���̮��ˍ��� � ��D-M�+J�U�kvK����+�x8��cY������?�Ԡ��~3mo��|�u@[XeY�C�\Kp�x8�oC�C�&����N�~3-H���� ��MX�s�u<`���~"WL��$8ξ��3���a�)|:@�m�\���^�`�@ҷ)�5p+��6���p�%i)P M���ngc�����#0Aruz���RL+xSS?���ʮ}()#�t��mˇ!��0}}y����<�e� �-ή�Ԩ��X������ MF���ԙ~l L.3���}�V뽺�v��� ��멬��Nl�)�2����^�Iq��a��M��qG��T�����c3#������3U�Ǎ���}��לS�|qa��ڃ�+���-��2�f����/��bz��ڐ�� �ݼ[2�ç����k�X�2�* �Z�d���J�G����M*9W���s{��w���T��x��y,�in�O�v��]���n����P�$� JB@=4�OTI�n��e�22a\����q�d���%�$��(���:���: /*�K[PR�fr\nڙdN���F�n�$�4� [�� U�zƶ����� �mʋ���,�ao�u 3�z� �x��Kn����\[��VFmbE;�_U��&V�Gg�]L�۪&#n%�$ɯ� dG���D�TI=�%+AB�Ru#��b4�1�»x�cs�YzڙJG��f��Il� �d�eF'T� iA��T���uC�$����Y��H?����[!G`}���ͪ� �纤Hv\������j�Ex�K���!���OiƸ�Yj�+u-<���'q����uN�*�r\��+�]���<�wOZ.fp�ێ��,-*)V?j-kÊ#�`�r��dV����(�ݽBk�����G�ƛk�QmUڗe��Z���f}|����8�8��a���i��3'J�����~G_�^���d�8w������ R�`(�~�.��u���l�s+g�bv���W���lGc}��u���afE~1�Ue������Z�0�8�=e�� f@/�jqEKQQ�J� �oN��J���W5~M>$6�Lt�;$ʳ{���^��6�{����v6���ķܰg�V�cnn �~z�x�«�,2�u�?cE+Ș�H؎�%�Za�)���X>uW�Tz�Nyo����s���FQƤ��$��*�&�LLXL)�1�" L��eO��ɟ�9=���:t��Z���c��Ž���Y?�ӭV�wv�~,Y��r�ۗ�|�y��GaF�����C�����.�+� ���v1���fήJ�����]�S��T��B��n5sW}y�$��~z�'�c ��8 ��� ,! �p��VN�S��N�N�q��y8z˱�A��4��*��'������2n<�s���^ǧ˭P�Jޮɏ�U�G�L�J�*#��<�V��t7�8����TĜ>��i}K%,���)[��z�21z ?�N�i�n1?T�I�R#��m-�����������������1����lA�`��fT5+��ܐ�c�q՝��ʐ��,���3�f2U�եmab��#ŠdQ�y>\��)�SLY����w#��.���ʑ�f��� ,"+�w�~�N�'�c�O�3F�������N<���)j��&��,-� �љ���֊�_�zS���TǦ����w�>��?�������n��U仆�V���e�����0���$�C�d���rP �m�׈e�Xm�Vu� �L��.�bֹ��� �[Դaզ���*��\y�8�Է:�Ez\�0�Kq�C b��̘��cө���Q��=0Y��s�N��S.��� 3.���O�o:���#���v7�[#߫ ��5�܎�L���Er4���9n��COWlG�^��0k�%<���ZB���aB_���������'=��{i�v�l�$�uC���mƎҝ{�c㱼�y]���W�i ��ߧc��m�H� m�"�"�����;Y�ߝ�Z�Ǔ�����:S#��|}�y�,/k�Ld� TA�(�AI$+I3��;Y*���Z��}|��ӧO��d�v��..#:n��f>�>���ȶI�TX��� 8��y����"d�R�|�)0���=���n4��6ⲑ�+��r<�O�܂~zh�z����7ܓ�HH�Ga롏���nCo�>������a ���~]���R���̲c?�6(�q�;5%� |�uj�~z8R =X��I�V=�|{v�Gj\gc��q����z�؋%M�ߍ����1y��#��@f^���^�>N��� ��#x#۹��6�Y~�?�dfPO��{��P�4��V��u1E1J �*|���%�� �JN��`eWu�zk M6���q t[�� ��g�G���v��WIG��u_ft����5�j�"�Y�:T��ɐ���*�;� e5���4����q$C��2d�}���� _S�L#m�Yp��O�.�C�;��c����Hi#֩%+) �Ӎ��ƲV���SYź��g |���tj��3�8���r|���V��1#;.SQ�A[���S������#���`n�+���$��$ I �P\[�@�s��(�ED�z���P��])8�G#��0B��[ى��X�II�q<��9�~[Z멜�Z�⊔IWU&A>�P~�#��dp<�?����7���c��'~���5 ��+$���lx@�M�dm��n<=e�dyX��?{�|Aef ,|n3�<~z�ƃ�uۧ�����P��Y,�ӥQ�*g�#먙R�\���;T��i,��[9Qi歉����c>]9�� ��"�c��P�� �Md?٥��If�ت�u��k��/����F��9�c*9��Ǎ:�ØF���z�n*�@|I�ށ9����N3{'��[�'ͬ�Ҳ4��#}��!�V� Fu��,�,mTIk���v C�7v���B�6k�T9��1�*l� '~��ƞF��lU��'�M ����][ΩũJ_�{�i�I�n��$�� �L�� j��O�dx�����kza۪��#�E��Cl����x˘�o�����V���ɞ�ljr��)�/,�߬h�L��#��^��L�ф�,íMƁe�̩�NB�L�����iL����q�}��(��q��6IçJ$�W�E$��:������=#����(�K�B����zђ <��K(�N�۫K�w��^O{!����) �H���>x�������lx�?>Պ�+�>�W���,Ly!_�D���Ō�l���Q�!�[ �S����J��1��Ɛ�Y}��b,+�Lo�x�ɓ)����=�y�oh�@�꥟/��I��ѭ=��P�y9��� �ۍYӘ�e+�p�Jnϱ?V\SO%�(�t� ���=?MR�[Ș�����d�/ ��n�l��B�7j� ��!�;ӥ�/�[-���A�>� dN�sLj ��,ɪv��=1c�.SQ�O3�U���ƀ�ܽ�E����������̻��9G�ϷD�7(�}��Ävӌ\� y�_0[w ���<΍>����a_��[0+�L��F.�޺��f�>oN�T����q;���y\��bՃ��y�jH�<|q-eɏ�_?_9+P���Hp$�����[ux�K w�Mw��N�ی'$Y2�=��q���KB��P��~�� ����Yul:�[<����F1�2�O���5=d����]Y�sw:���Ϯ���E��j,_Q��X��z`H1,#II ��d�wr��P˂@�ZJV����y$�\y�{}��^~���[:N����ߌ�U�������O��d�����ؾe��${p>G��3c���Ė�lʌ�� ת��[��`ϱ�-W����dg�I��ig2��� ��}s ��ؤ(%#sS@���~���3�X�nRG�~\jc3�v��ӍL��M[JB�T��s3}��j�Nʖ��W����;7� �ç?=X�F=-�=����q�ߚ���#���='�c��7���ڑW�I(O+=:uxq�������������e2�zi+�kuG�R��������0�&e�n���iT^J����~\jy���p'dtG��s����O��3����9* �b#Ɋ�� p������[Bws�T�>d4�ۧs���nv�n���U���_�~,�v����ƜJ1��s�� �QIz�� )�(lv8M���U=�;����56��G���s#�K���MP�=��LvyGd��}�VwWBF�'�à �?MH�U�g2�� ����!�p�7Q��j��ڴ����=��j�u��� Jn�A s���uM������e��Ɔ�Ҕ�!) '��8Ϣ�ٔ� �ޝ(��Vp���צ֖d=�IC�J�Ǡ{q������kԭ�߸���i��@K����u�|�p=..�*+����x�����z[Aqġ#s2a�Ɗ���RR�)*HRsi�~�a &f��M��P����-K�L@��Z��Xy�'x�{}��Zm+���:�)�) IJ�-i�u���� ���ܒH��'� L(7�y�GӜq���� j��� 6ߌg1�g�o���,kر���tY�?W,���p���e���f�OQS��!K�۟cҒA�|ս�j�>��=⬒��˧L[�� �߿2JaB~R��u�:��Q�] �0H~���]�7��Ƽ�I���( }��cq '�ήET���q�?f�ab���ӥvr� �)o��-Q��_'����ᴎo��K������;��V���o��%���~OK ����*��b�f:���-ťIR��`B�5!RB@���ï�� �u �̯e\�_U�_������� g�ES��3������� QT��a�� ��x����U<~�c?�*�#]�MW,[8O�a�x��]�1bC|踤�P��lw5V%�)�{t�<��d��5���0i�XSU��m:��Z�┵�i�"��1�^B�-��P�hJ��&)O��*�D��c�W��vM��)����}���P��ܗ-q����\mmζZ-l@�}��a��E�6��F�@��&Sg@���ݚ�M����� ȹ 4����#p�\H����dYDo�H���"��\��..R�B�H�z_�/5˘����6��KhJR��P�mƶi�m���3� ,#c�co��q�a)*P t����R�m�k�7x�D�E�\Y�閣_X�<���~�)���c[[�BP����6�Yq���S��0����%_����;��Àv�~�| VS؇ ��'O0��F0��\���U�-�d@�����7�SJ*z��3n��y��P����O��������� m�~�P�3|Y��ʉr#�C�<�G~�.,! ���bqx���h~0=��!ǫ�jy����l� O,�[B��~��|9��ٱ����Xly�#�i�B��g%�S��������tˋ���e���ې��\[d�t)��.+u�|1 ������#�~Oj����hS�%��i.�~X���I�H�m��0n���c�1uE�q��cF�RF�o���7� �O�ꮧ� ���ۛ{��ʛi5�rw?׌#Qn�TW��~?y$��m\�\o����%W� ?=>S�N@�� �Ʈ���R����N�)�r"C�:��:����� �����#��qb��Y�. �6[��2K����2u�Ǧ�HYR��Q�MV��� �G�$��Q+.>�����nNH��q�^��� ����q��mM��V��D�+�-�#*�U�̒ ���p욳��u:�������IB���m� ��PV@O���r[b= �� ��1U�E��_Nm�yKbN�O���U�}�the�`�|6֮P>�\2�P�V���I�D�i�P�O;�9�r�mAHG�W�S]��J*�_�G��+kP�2����Ka�Z���H�'K�x�W�MZ%�O�YD�Rc+o��?�q��Ghm��d�S�oh�\�D�|:W������UA�Qc yT�q� �����~^�H��/��#p�CZ���T�I�1�ӏT����4��"�ČZ�����}��`w�#�*,ʹ�� ��0�i��課�Om�*�da��^gJ݅{���l�e9uF#T�ֲ��̲�ٞC"�q���ߍ ոޑ�o#�XZTp����@ o�8��(jd��xw�]�,f���`~� |,s��^����f�1���t��|��m�򸄭/ctr��5s��7�9Q�4�H1꠲BB@ l9@���C�����+�wp�xu�£Yc�9��?`@#�o�mH�s2��)�=��2�.�l����jg�9$�Y�S�%*L������R�Y������7Z���,*=�䷘$�������arm�o�ϰ���UW.|�r�uf����IGw�t����Zwo��~5 ��YյhO+=8fF�)�W�7�L9lM�̘·Y���֘YLf�큹�pRF���99.A �"wz��=E\Z���'a� 2��Ǚ�#;�'}�G���*��l��^"q��+2FQ� hj��kŦ��${���ޮ-�T�٭cf�|�3#~�RJ����t��$b�(R��(����r���dx� >U b�&9,>���%E\� Ά�e�$��'�q't��*�א���ެ�b��-|d���SB�O�O��$�R+�H�)�܎�K��1m`;�J�2�Y~9��O�g8=vqD`K[�F)k�[���1m޼c��n���]s�k�z$@��)!I �x՝"v��9=�ZA=`Ɠi �:�E��)` 7��vI��}d�YI�_ �o�:ob���o ���3Q��&D&�2=�� �Ά��;>�h����y.*ⅥS������Ӭ�+q&����j|UƧ��� �}���J0��WW< ۋS�)jQR�j���Ư��rN)�Gű�4Ѷ(�S)Ǣ�8��i��W52���No˓� ۍ%�5brOn�L�;�n��\G����=�^U�dI���8$�&���h��'���+�(������cȁ߫k�l��S^���cƗjԌE�ꭔ��gF���Ȓ��@���}O���*;e�v�WV���YJ\�]X'5��ղ�k�F��b 6R�o՜m��i N�i���� >J����?��lPm�U��}>_Z&�KK��q�r��I�D�Չ~�q�3fL�:S�e>���E���-G���{L�6p�e,8��������QI��h��a�Xa��U�A'���ʂ���s�+טIjP�-��y�8ۈZ?J$��W�P� ��R�s�]��|�l(�ԓ��sƊi��o(��S0 ��Y� 8�T97.�����WiL��c�~�dxc�E|�2!�X�K�Ƙਫ਼�$((�6�~|d9u+�qd�^3�89��Y�6L�.I�����?���iI�q���9�)O/뚅����O���X��X�V��ZF[�یgQ�L��K1���RҖr@v�#��X�l��F���Нy�S�8�7�kF!A��sM���^rkp�jP�DyS$N���q�� nxҍ!U�f�!eh�i�2�m ���`�Y�I�9r�6� �TF���C}/�y�^���Η���5d�'��9A-��J��>{�_l+�`��A���[�'��յ�ϛ#w:݅�%��X�}�&�PSt�Q�"�-��\縵�/����$Ɨh�Xb�*�y��BS����;W�ջ_mc�����vt?2}1�;qS�d�d~u:2k5�2�R�~�z+|HE!)�Ǟl��7`��0�<�,�2*���Hl-��x�^����'_TV�gZA�'j� ^�2Ϊ��N7t�����?w�� �x1��f��Iz�C-Ȗ��K�^q�;���-W�DvT�7��8�Z�������� hK�(P:��Q- �8�n�Z���܃e貾�<�1�YT<�,�����"�6{ / �?�͟��|1�:�#g��W�>$����d��J��d�B�� =��jf[��%rE^��il:��B���x���Sּ�1հ��,�=��*�7 fcG��#q� �eh?��2�7�����,�!7x��6�n�LC�4x��},Geǝ�tC.��vS �F�43��zz\��;QYC,6����~;RYS/6���|2���5���v��T��i����������mlv��������&� �nRh^ejR�LG�f���? �ۉҬܦƩ��|��Ȱ����>3����!v��i�ʯ�>�v��オ�X3e���_1z�Kȗ\<������!�8���V��]��?b�k41�Re��T�q��mz��TiOʦ�Z��Xq���L������q"+���2ۨ��8}�&N7XU7Ap�d�X��~�׿��&4e�o�F��� �H�� ��O���č�c�� 懴�6���͉��+)��v;j��ݷ�� �UV�� i��� j���Y9GdÒJ1��詞�����V?h��l�� ��l�cGs�ځ�������y�Ac���� �\V3�? �� ܙg�>qH�S,�E�W�[�㺨�uch�⍸�O�}���a��>�q�6�n6� ���N6�q�� ���� N    ! 1AQaq�0@����"2BRb�#Pr���3C`��Scst���$4D���%Td��  ? � ��N����a��3��m���C���w��������xA�m�q�m��� m������$����4n淿t'��C"w��zU=D�\R+w�p+Y�T�&�պ@��ƃ��3ޯ?�Aﶂ��aŘ���@-�����Q�=���9D��ռ�ѻ@��M�V��P��܅�G5�f�Y<�u=,EC)�<�Fy'�"�&�չ�X~f��l�KԆV��?�� �W�N����=(� �;���{�r����ٌ�Y���h{�١������jW����P���Tc�����X�K�r��}���w�R��%��?���E��m�� �Y�q|����\lEE4� ��r���}�lsI�Y������f�$�=�d�yO����p�����yBj8jU�o�/�S��?�U��*������ˍ�0����� �u�q�m [�?f����a�� )Q�>����6#������� ?����0UQ����,IX���(6ڵ[�DI�MNލ�c&���υ�j\��X�R|,4��� j������T�hA�e��^���d���b<����n�� �즇�=!���3�^�`j�h�ȓr��jẕ�c�,ٞX����-����a�ﶔ���#�$��]w�O��Ӫ�1y%��L�Y<�wg#�ǝ�̗`�x�xa�t�w��»1���o7o5��>�m뭛C���Uƃߜ}�C���y1Xνm�F8�jI���]����H���ۺиE@I�i;r�8ӭ���� V�F�Շ| ��&?�3|x�B�MuS�Ge�=Ӕ�#BE5G�� ���Y!z��_e��q�р/W>|-�Ci߇�t�1ޯќd�R3�u��g�=0 5��[?�#͏��q�cf���H��{ ?u�=?�?ǯ���}Z��z���hmΔ�BFTW�����<�q� (v� ��!��z���iW]*�J�V�z��gX֧A�q�&��/w���u�gYӘa���; �i=����g:��?2�dž6�ى�k�4�>�Pxs����}������G�9� �3 ���)gG�R<>r h�$��'nc�h�P��Bj��J�ҧH� -��N1���N��?��~��}-q!=��_2hc�M��l�vY%UE�@|�v����M2�.Y[|y�"Eï��K�ZF,�ɯ?,q�?v�M 80jx�"�;�9vk�����+ ֧�� �ȺU��?�%�vcV��mA�6��Qg^M��� �A}�3�nl� QRN�l8�kkn�'�����(��M�7m9و�q���%ޟ���*h$Zk"��$�9��: �?U8�Sl��,,|ɒ��xH(ѷ����Gn�/Q�4�P��G�%��Ա8�N��!� �&�7�;���eKM7�4��9R/%����l�c>�x;������>��C�:�����t��h?aKX�bhe�ᜋ^�$�Iհ �hr7%F$�E��Fd���t��5���+�(M6�t����Ü�UU|zW�=a�Ts�Tg������dqP�Q����b'�m���1{|Y����X�N��b �P~��F^F:����k6�"�j!�� �I�r�`��1&�-$�Bevk:y���#y w��I0��x��=D�4��tU���P�ZH��ڠ底taP��6����b>�xa� ���Q�#� WeF��ŮNj�p�J* mQ�N��� �*I�-*�ȩ�F�g�3 �5��V�ʊ�ɮ�a��5F���O@{���NX��?����H�]3��1�Ri_u��������ѕ�� ����0��� F��~��:60�p�͈�S��qX#a�5>���`�o&+�<2�D����: �������ڝ�$�nP���*)�N�|y�Ej�F�5ټ�e���ihy�Z �>���k�bH�a�v��h�-#���!�Po=@k̆IEN��@��}Ll?j�O������߭�ʞ���Q|A07x���wt!xf���I2?Z��<ץ�T���cU�j��]�� 陎Ltl �}5�ϓ��$�,��O�mˊ�;�@O��jE��j(�ا,��LX���LO���Ц�90�O �.����a��nA���7������j4 ��W��_ٓ���zW�jcB������y՗+EM�)d���N�g6�y1_x��p�$Lv :��9�"z��p���ʙ$��^��JԼ*�ϭ����o���=x�Lj�6�J��u82�A�H�3$�ٕ@�=Vv�]�'�qEz�;I˼��)��=��ɯ���x �/�W(V���p�����$ �m�������u�����񶤑Oqˎ�T����r��㠚x�sr�GC��byp�G��1ߠ�w e�8�$⿄����/�M{*}��W�]˷.�CK\�ުx���/$�WP w���r� |i���&�}�{�X� �>��$-��l���?-z���g����lΆ���(F���h�vS*���b���߲ڡn,|)mrH[���a�3�ר�[1��3o_�U�3�TC�$��(�=�)0�kgP���� ��u�^=��4 �WYCҸ:��vQ�ר�X�à��tk�m,�t*��^�,�}D*� �"(�I��9R����>`�`��[~Q]�#af��i6l��8���6�:,s�s�N6�j"�A4���IuQ��6E,�GnH��zS�HO�uk�5$�I�4��ؤ�Q9�@��C����wp �BGv[]�u�Ov��� 0I4���\��y�����Q�Ѹ��~>Z��8�T��a��q�ޣ;z��a���/��S��I:�ܫ_�|������>=Z����8:�S��U�I�J��"IY���8%b8���H��:�QO�6�;7�I�S��J��ҌAά3��>c���E+&jf$eC+�z�;��V����� �r���ʺ������my�e���aQ�f&��6�ND ��.:��NT�vm�<- u���ǝ\MvZY�N�NT��-A�>jr!S��n�O 1�3�Ns�%�3D@���`������ܟ 1�^c<���� �a�ɽ�̲�Xë#�w�|y�cW�=�9I*H8�p�^(4���՗�k��arOcW�tO�\�ƍR��8����'�K���I�Q�����?5�>[�}��yU�ײ -h��=��% q�ThG�2�)���"ו3]�!kB��*p�FDl�A���,�eEi�H�f�Ps�����5�H:�Փ~�H�0Dت�D�I����h�F3�������c��2���E��9�H��5�zԑ�ʚ�i�X�=:m�xg�hd(�v����׊�9iS��O��d@0ڽ���:�p�5�h-��t�&���X�q�ӕ,��ie�|���7A�2���O%P��E��htj��Y1��w�Ѓ!����  ���� ࢽ��My�7�\�a�@�ţ�J �4�Ȼ�F�@o�̒?4�wx��)��]�P��~�����u�����5�����7X ��9��^ܩ�U;Iꭆ 5 �������eK2�7(�{|��Y׎ �V��\"���Z�1� Z�����}��(�Ǝ"�1S���_�vE30>���p;� ΝD��%x�W�?W?v����o�^V�i�d��r[��/&>�~`�9Wh��y�;���R�� � ;;ɮT��?����r$�g1�K����A��C��c��K��l:�'��3 c�ﳯ*"t8�~l��)���m��+U,z��`( �>yJ�?����h>��]��v��ЍG*�{`��;y]��I�T� ;c��NU�fo¾h���/$���|NS���1�S�"�H��V���T���4��uhǜ�]�v;���5�͠x��'C\�SBpl���h}�N����� A�Bx���%��ޭ�l��/����T��w�ʽ]D�=����K���ž�r㻠l4�S�O?=�k �M:� ��c�C�a�#ha���)�ѐxc�s���gP�iG�� {+���x���Q���I= �� z��ԫ+ �8"�k�ñ�j=|����c ��y��CF��/ ��*9ж�h{ �?4�o� ��k�m�Q�N�x��;�Y��4膚�a�w?�6�> e]�����Q�r�:����g�,i"�����ԩA� *M�<�G��b�if��l^M��5� �Ҩ�{����6J��ZJ�����P�*�����Y���ݛu�_4�9�I8�7���������,^ToR���m4�H��?�N�S�ѕw��/S��甍�@�9H�S�T��t�ƻ���ʒU��*{Xs�@����f��� ��֒Li�K{H�w^���������Ϥm�tq���s� ���ք��f:��o~s��g�r��ט� �S�ѱC�e]�x���a��) ���(b-$(�j>�7q�B?ӕ�F��hV25r[7 Y� }L�R��}����*sg+��x�r�2�U=�*'WS��ZDW]�WǞ�<��叓���{�$�9Ou4��y�90-�1�'*D`�c�^o?(�9��u���ݐ��'PI&� f�Jݮ�������:wS����jfP1F:X �H�9dԯ�� �˝[�_54 �}*;@�ܨ�� ð�yn�T���?�ןd�#���4rG�ͨ��H�1�|-#���Mr�S3��G�3�����)�.᧏3v�z֑��r����$G"�`j �1t��x0<Ɔ�Wh6�y�6��,œ�Ga��gA����y��b��)� �h�D��ß�_�m��ü �gG;��e�v��ݝ�nQ� ��C����-�*��o���y�a��M��I�>�<���]obD��"�:���G�A��-\%LT�8���c�)��+y76���o�Q�#*{�(F�⽕�y����=���rW�\p���۩�c���A���^e6��K������ʐ�cVf5$�'->���ՉN"���F�"�UQ@�f��Gb~��#�&�M=��8�ט�JNu9��D��[̤�s�o�~��� ��� G��9T�tW^g5y$b��Y'��س�Ǵ�=��U-2 #�MC�t(�i� �lj�@Q 5�̣i�*�O����s�x�K�f��}\��M{E�V�{�υ��Ƈ�����);�H����I��fe�Lȣr�2��>��W� I�Ȃ6������i��k�� �5�YOxȺ����>��Y�f5'��|��H+��98pj�n�.O�y�������jY��~��i�w'������l�;�s�2��Y��:'lg�ꥴ)o#'Sa�a�K��Z� �m��}�`169�n���"���x��I ��*+� }F<��cГ���F�P�������ֹ*�PqX�x۩��,� ��N�� �4<-����%����:��7����W���u�`����� $�?�I��&����o��o��`v�>��P��"��l���4��5'�Z�gE���8���?��[�X�7(��.Q�-��*���ތL@̲����v��.5���[��=�t\+�CNܛ��,g�SQnH����}*F�G16���&:�t��4ُ"A��̣��$�b �|����#rs��a�����T�� ]�<�j��B S�('$�ɻ� �wP;�/�n��?�ݜ��x�F��yUn�~mL*-�������Xf�wd^�a�}��f�,=t�׵i�.2/wpN�Ep8�OР���•��R�FJ� 55TZ��T �ɭ�<��]��/�0�r�@�f��V��V����Nz�G��^���7hZi����k��3�,kN�e|�vg�1{9]_i��X5y7� 8e]�U����'�-2,���e"����]ot�I��Y_��n�(JҼ��1�O ]bXc���Nu�No��pS���Q_���_�?i�~�x h5d'�(qw52] ��'ޤ�q��o1�R!���`ywy�A4u���h<קy���\[~�4�\ X�Wt/� 6�����n�F�a8��f���z �3$�t(���q��q�x��^�XWeN'p<-v�!�{�(>ӽDP7��ո0�y)�e$ٕv�Ih'Q�EA�m*�H��RI��=:��� ���4牢) �%_iN�ݧ�l]� �Nt���G��H�L��� ɱ�g<���1V�,�J~�ٹ�"K��Q�� 9�HS�9�?@��k����r�;we݁�]I�!{ �@�G�[�"��`���J:�n]�{�cA�E����V��ʆ���#��U9�6����j�#Y�m\��q�e4h�B�7��C�������d<�?J����1g:ٳ���=Y���D�p�ц� ׈ǔ��1�]26؜oS�'��9�V�FVu�P�h�9�xc�oq�X��p�o�5��Ա5$�9W�V(�[Ak�aY錎qf;�'�[�|���b�6�Ck��)��#a#a˙��8���=äh�4��2��C��4tm^ �n'c� ��]GQ$[Wҿ��i���vN�{Fu ��1�gx��1┷���N�m��{j-,��x�� Ūm�ЧS�[�s���Gna���䑴�� x�p 8<������97�Q���ϴ�v�aϚG��Rt�Һ׈�f^\r��WH�JU�7Z���y)�vg=����n��4�_)y��D'y�6�]�c�5̪ �\� �PF�k����&�c;��cq�$~T�7j ���nç]�<�g ":�to�t}�159�<�/�8������m�b�K#g'I'.W����� 6��I/��>v��\�MN��g���m�A�yQL�4u�Lj�j9��#44�t��l^�}L����n��R��!��t��±]��r��h6ٍ>�yҏ�N��fU�� ���� Fm@�8}�/u��jb9������he:A�y�ծw��GpΧh�5����l}�3p468��)U��d��c����;Us/�֔�YX�1�O2��uq�s��`hwg�r~�{ R��mhN��؎*q 42�*th��>�#���E����#��Hv�O����q�}����� 6�e��\�,Wk�#���X��b>��p}�դ��3���T5��†��6��[��@ �P�y*n��|'f�֧>�lư΂�̺����SU�'*�q�p�_S�����M�� '��c�6��� ��m�� ySʨ;M��r���Ƌ�m�Kxo,���Gm�P��A�G�:��i��w�9�}M(�^�V��$ǒ�ѽ�9���|���� �a����J�SQ�a���r�B;����}���ٻ֢�2�%U���c�#�g���N�a�ݕ�'�v�[�OY'��3L�3�;,p�]@�S��{ls��X�'���c�jw� k'a�.��}�}&�� �dP�*�bK=ɍ!����;3n�gΊU�ߴmt�'*{,=SzfD� A��ko~�G�aoq�_mi}#�m�������P�Xhύ��� �mxǍ�΂���巿zf��Q���c���|kc�����?���W��Y�$���_Lv����l߶��c���`?����l�j�ݲˏ!V��6����U�Ђ(A���4y)H���p�Z_�x��>���e�� R��$�/�`^'3qˏ�-&Q�=?��CFVR �D�fV�9��{�8g�������n�h�(P"��6�[�D���< E�����~0<@�`�G�6����Hг�cc�� �c�K.5��D��d�B���`?�XQ��2��ٿyqo&+�1^� DW�0�ꊩ���G�#��Q�nL3��c���������/��x ��1�1 [y�x�პCW��C�c�UĨ80�m�e�4.{�m��u���I=��f�����0QRls9���f���������9���~f�����Ǩ��a�"@�8���ȁ�Q����#c�ic������G��$���G���r/$W�(��W���V�"��m�7�[m�A�m����bo��D� j����۳� l���^�k�h׽����� ��#� iXn�v��eT�k�a�^Y�4�BN�� ĕ�� 0    !01@Q"2AaPq3BR������ ? � ��@4�Q�����T3,���㺠�W�[=JK�Ϟ���2�r^7��vc�:�9 �E�ߴ�w�S#d���Ix��u��:��Hp��9E!�� V 2;73|F��9Y���*ʬ�F��D����u&���y؟��^EA��A��(ɩ���^��GV:ݜDy�`��Jr29ܾ�㝉��[���E;Fzx��YG��U�e�Y�C���� ����v-tx����I�sם�Ę�q��Eb�+P\ :>�i�C'�;�����k|z�رn�y]�#ǿb��Q��������w�����(�r|ӹs��[�D��2v-%��@;�8<a���[\o[ϧw��I!��*0�krs)�[�J9^��ʜ��p1)� "��/_>��o��<1����A�E�y^�C��`�x1'ܣn�p��s`l���fQ��):�l����b>�Me�jH^?�kl3(�z:���1ŠK&?Q�~�{�ٺ�h�y���/�[��V�|6��}�KbX����mn[-��7�5q�94�������dm���c^���h� X��5��<�eޘ>G���-�}�دB�ޟ� ��|�rt�M��V+�]�c?�-#ڛ��^ǂ}���Lkr���O��u�>�-D�ry� D?:ޞ�U��ǜ�7�V��?瓮�"�#���r��չģVR;�n���/_� ؉v�ݶe5d�b9��/O��009�G���5n�W����JpA�*�r9�>�1��.[t���s�F���nQ� V 77R�]�ɫ8����_0<՜�IF�u(v��4��F�k�3��E)��N:��yڮe��P�`�1}�$WS��J�SQ�N�j �ٺ��޵�#l���ј(�5=��5�lǏmoW�v-�1����v,W�mn��߀$x�<����v�j(����c]��@#��1������Ǔ���o'��u+����;G�#�޸��v-lη��/(`i⣍Pm^� ��ԯ̾9Z��F��������n��1��� ��]�[��)�'������ :�֪�W��FC����� �B9،!?���]��V��A�Վ�M��b�w��G F>_DȬ0¤�#�QR�[V��kz���m�w�"��9ZG�7'[��=�Q����j8R?�zf�\a�=��O�U����*oB�A�|G���2�54 �p��.w7� �� ��&������ξxGHp� B%��$g�����t�Џ򤵍z���HN�u�Я�-�'4��0�� ;_�� 3     !01"@AQa2Pq#3BR������ ? � �ʩca��en��^��8���<�u#��m*08r��y�N"�<�Ѳ0��@\�p��� �����Kv�D��J8�Fҽ� �f�Y��-m�ybX�NP����}�!*8t(�OqѢ��Q�wW�K��ZD��Δ^e��!� ��B�K��p~�����e*l}z#9ң�k���q#�Ft�o��S�R����-�w�!�S���Ӥß|M�l޶V��!eˈ�8Y���c�ЮM2��tk���� ������J�fS����Ö*i/2�����n]�k�\���|4yX�8��U�P.���Ы[���l��@"�t�<������5�lF���vU�����W��W��;�b�cД^6[#7@vU�xgZv��F�6��Q,K�v��� �+Ъ��n��Ǣ��Ft���8��0��c�@�!�Zq s�v�t�;#](B��-�nῃ~���3g������5�J�%���O������n�kB�ĺ�.r��+���#�N$?�q�/�s�6��p��a����a��J/��M�8��6�ܰ"�*������ɗud"\w���aT(����[��F��U՛����RT�b���n�*��6���O��SJ�.�ij<�v�MT��R\c��5l�sZB>F��<7�;EA��{��E���Ö��1U/�#��d1�a�n.1ě����0�ʾR�h��|�R��Ao�3�m3 ��%�� ���28Q� ��y��φ���H�To�7�lW>����#i`�q���c����a��� �m,B�-j����݋�'mR1Ήt�>��V��p���s�0IbI�C.���1R�ea�����]H�6�������� ��4B>��o��](��$B���m�����a�!=� �?�B� K�Ǿ+�Ծ"�n���K��*��+��[T#�{ E�J�S����Q�����s�5�:�U�\wĐ�f�3����܆&�)��� �I���Ԇw��E T�lrTf6Q|R�h:��[K�� �z��c֧�G�C��%\��_�a �84��HcO�bi��ؖV��7H �)*ģK~Xhչ0��4?�0��� �E<���}3���#���u�?�� ��|g�S�6ꊤ�|�I#Hڛ� �ա��w�X��9��7���Ŀ%�SL��y6č��|�F�a 8���b� �$�sק�h���b9RAu7�˨p�Č�_\*w��묦��F ����4D~�f����|(�"m���NK��i�S�>�$d7SlA��/�²����SL��|6N�}���S�˯���g��]6��; �#�.��<���q'Q�1|KQ$�����񛩶"�$r�b:���N8�w@��8$�� �AjfG|~�9F ���Y��ʺ��Bwؒ������M:I岎�G��`s�YV5����6��A �b:�W���G�q%l�����F��H���7�������Fsv7� �k�� 403WebShell
403Webshell
Server IP : 142.11.200.226  /  Your IP : 216.73.216.159
Web Server : Apache
System : Linux ded1037.hostwindsdns.com 3.10.0-1160.114.2.el7.x86_64 #1 SMP Wed Mar 20 15:54:52 UTC 2024 x86_64
User : dreamlifellc ( 1001)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/dreamlifellc/public_html/420Life.com_bk/games/RunAway/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/dreamlifellc/public_html/420Life.com_bk/games/RunAway/c2runtime.js
// Generated by Construct 2, the HTML5 game and app creator :: http://www.scirra.com
'use strict';var aa,ca,da,ea,ha,ia,ja,la,ma,na,oa,pa,qa,ra,sa,ua,va,wa,ya,za,Aa,Ba,Ca,B,Da,Ea,Fa,Ga,Ia,J,Ja,Ka,La,Ma,Na,Oa,Pa,Qa,Ra,Sa,Ta,Ua,Wa,Xa,Ya,Za,$a,ab,bb,cb,eb,fb,gb,hb,ib,jb,kb,lb,mb,nb,ob,pb,qb,rb,sb,vb,wb,xb,yb,zb,Ab,Bb,Cb,Db,Eb,Fb,Gb,Hb,Kb,Lb,Mb,Nb,Ob,Pb,Qb,Rb,Sb,Tb,Ub,Vb,Wb,Zb,ac,bc,cc,dc,ec,fc,gc,hc,ic,jc={};"function"!==typeof Object.getPrototypeOf&&(Object.getPrototypeOf="object"===typeof"test".__proto__?function(g){return g.__proto__}:function(g){return g.constructor.prototype});
(function(){function g(a,e,c,f){this.set(a,e,c,f)}function l(){this.Nb=this.Mb=this.Pb=this.Ob=this.$b=this.Zb=this.gb=this.fb=0}function b(a,e,c,f){a<e?c<f?(t=a<c?a:c,w=e>f?e:f):(t=a<f?a:f,w=e>c?e:c):c<f?(t=e<c?e:c,w=a>f?a:f):(t=e<f?e:f,w=a>c?a:c)}function p(){this.items=this.dd=null;this.gk=0;O&&(this.dd=new Set);this.jj=[];this.dg=!0}function h(a){u[ba++]=a}function r(){this.fa=this.aj=this.y=this.zj=0}function n(a){this.Ya=[];this.Rl=this.Tl=this.Ul=this.Sl=0;this.Vk(a)}function a(a,e){this.Qb=
a;this.ac=e;this.cells={}}function c(a,e){this.Qb=a;this.ac=e;this.cells={}}function d(a,e,c){var f;return W.length?(f=W.pop(),f.Tp=a,f.x=e,f.y=c,f):new ca(a,e,c)}function v(a,e,c){this.Tp=a;this.x=e;this.y=c;this.kc=new da}function f(a,e,c){var f;return y.length?(f=y.pop(),f.Tp=a,f.x=e,f.y=c,f):new ea(a,e,c)}function m(a,e,c){this.Tp=a;this.x=e;this.y=c;this.kc=[];this.xi=!0;this.Me=new da;this.wj=!1}function k(a,e){return a.ve-e.ve}ha=function(a){window.console&&window.console.log&&window.console.log(a)};
ia=function(a){window.console&&window.console.error&&window.console.error(a)};aa=function(a){return a};ja=function(a){return"undefined"===typeof a};la=function(a){return"number"===typeof a};ma=function(a){return"string"===typeof a};na=function(a){return 0<a&&0===(a-1&a)};oa=function(a){--a;for(var e=1;32>e;e<<=1)a=a|a>>e;return a+1};pa=function(a){return 0>a?-a:a};qa=function(a,e){return a>e?a:e};ra=function(a,e){return a<e?a:e};sa=Math.PI;ua=function(a){return 0<=a?a|0:(a|0)-1};va=function(a){var e=
a|0;return e===a?e:e+1};wa=function(a,e,c,f,m,d,q,k){var u,A,t,b;a<c?(A=a,u=c):(A=c,u=a);m<q?(b=m,t=q):(b=q,t=m);if(u<b||A>t)return!1;e<f?(A=e,u=f):(A=f,u=e);d<k?(b=d,t=k):(b=k,t=d);if(u<b||A>t)return!1;u=m-a+q-c;A=d-e+k-f;a=c-a;e=f-e;m=q-m;d=k-d;k=pa(e*m-d*a);return pa(m*A-d*u)>k?!1:pa(a*A-e*u)<=k};g.prototype.set=function(a,e,c,f){this.left=a;this.top=e;this.right=c;this.bottom=f};g.prototype.Zh=function(a){this.left=a.left;this.top=a.top;this.right=a.right;this.bottom=a.bottom};g.prototype.width=
function(){return this.right-this.left};g.prototype.height=function(){return this.bottom-this.top};g.prototype.offset=function(a,e){this.left+=a;this.top+=e;this.right+=a;this.bottom+=e;return this};g.prototype.normalize=function(){var a=0;this.left>this.right&&(a=this.left,this.left=this.right,this.right=a);this.top>this.bottom&&(a=this.top,this.top=this.bottom,this.bottom=a)};g.prototype.ZB=function(a){return!(a.right<this.left||a.bottom<this.top||a.left>this.right||a.top>this.bottom)};g.prototype.$B=
function(a,e,c){return!(a.right+e<this.left||a.bottom+c<this.top||a.left+e>this.right||a.top+c>this.bottom)};g.prototype.Sb=function(a,e){return a>=this.left&&a<=this.right&&e>=this.top&&e<=this.bottom};g.prototype.Jj=function(a){return this.left===a.left&&this.top===a.top&&this.right===a.right&&this.bottom===a.bottom};ya=g;l.prototype.Uk=function(a){this.fb=a.left;this.gb=a.top;this.Zb=a.right;this.$b=a.top;this.Ob=a.right;this.Pb=a.bottom;this.Mb=a.left;this.Nb=a.bottom};l.prototype.Tv=function(a,
e){if(0===e)this.Uk(a);else{var c=Math.sin(e),f=Math.cos(e),m=a.left*c,d=a.top*c,q=a.right*c,c=a.bottom*c,k=a.left*f,u=a.top*f,A=a.right*f,f=a.bottom*f;this.fb=k-d;this.gb=u+m;this.Zb=A-d;this.$b=u+q;this.Ob=A-c;this.Pb=f+q;this.Mb=k-c;this.Nb=f+m}};l.prototype.offset=function(a,e){this.fb+=a;this.gb+=e;this.Zb+=a;this.$b+=e;this.Ob+=a;this.Pb+=e;this.Mb+=a;this.Nb+=e;return this};var t=0,w=0;l.prototype.mt=function(a){b(this.fb,this.Zb,this.Ob,this.Mb);a.left=t;a.right=w;b(this.gb,this.$b,this.Pb,
this.Nb);a.top=t;a.bottom=w};l.prototype.Sb=function(a,e){var c=this.fb,f=this.gb,m=this.Zb-c,d=this.$b-f,q=this.Ob-c,k=this.Pb-f,u=a-c,A=e-f,t=m*m+d*d,b=m*q+d*k,d=m*u+d*A,n=q*q+k*k,g=q*u+k*A,h=1/(t*n-b*b),m=(n*d-b*g)*h,t=(t*g-b*d)*h;if(0<=m&&0<t&&1>m+t)return!0;m=this.Mb-c;d=this.Nb-f;t=m*m+d*d;b=m*q+d*k;d=m*u+d*A;h=1/(t*n-b*b);m=(n*d-b*g)*h;t=(t*g-b*d)*h;return 0<=m&&0<t&&1>m+t};l.prototype.ag=function(a,e){if(e)switch(a){case 0:return this.fb;case 1:return this.Zb;case 2:return this.Ob;case 3:return this.Mb;
case 4:return this.fb;default:return this.fb}else switch(a){case 0:return this.gb;case 1:return this.$b;case 2:return this.Pb;case 3:return this.Nb;case 4:return this.gb;default:return this.gb}};l.prototype.Tu=function(){return(this.fb+this.Zb+this.Ob+this.Mb)/4};l.prototype.Uu=function(){return(this.gb+this.$b+this.Pb+this.Nb)/4};l.prototype.fu=function(a){var e=a.Tu(),c=a.Uu();if(this.Sb(e,c))return!0;e=this.Tu();c=this.Uu();if(a.Sb(e,c))return!0;var f,m,d,q,k,u,A,t;for(A=0;4>A;A++)for(t=0;4>t;t++)if(e=
this.ag(A,!0),c=this.ag(A,!1),f=this.ag(A+1,!0),m=this.ag(A+1,!1),d=a.ag(t,!0),q=a.ag(t,!1),k=a.ag(t+1,!0),u=a.ag(t+1,!1),wa(e,c,f,m,d,q,k,u))return!0;return!1};za=l;Aa=function(a,e){for(var c in e)e.hasOwnProperty(c)&&(a[c]=e[c]);return a};Ba=function(a,e){var c,f;e=ua(e);if(!(0>e||e>=a.length)){c=e;for(f=a.length-1;c<f;c++)a[c]=a[c+1];Ca(a,f)}};Ca=function(a,e){a.length=e};B=function(a){Ca(a,0)};Da=function(a,e){B(a);var c,f;c=0;for(f=e.length;c<f;++c)a[c]=e[c]};Ea=function(a,e){a.push.apply(a,
e)};Fa=function(a,e){var c,f;c=0;for(f=a.length;c<f;++c)if(a[c]===e)return c;return-1};Ga=function(a,e){var c=Fa(a,e);-1!==c&&Ba(a,c)};Ia=function(a,e,c){return a<e?e:a>c?c:a};J=function(a){return a/(180/sa)};Ja=function(a){return 180/sa*a};Ka=function(a){a%=360;0>a&&(a+=360);return a};La=function(a){a%=2*sa;0>a&&(a+=2*sa);return a};Ma=function(a){return Ka(Ja(a))};Na=function(a){return La(J(a))};Oa=function(a,e,c,f){return Math.atan2(f-e,c-a)};Pa=function(a,e){if(a===e)return 0;var c=Math.sin(a),
f=Math.cos(a),m=Math.sin(e),d=Math.cos(e),c=c*m+f*d;return 1<=c?0:-1>=c?sa:Math.acos(c)};Qa=function(a,e,c){var f=Math.sin(a),m=Math.cos(a),d=Math.sin(e),q=Math.cos(e);return Math.acos(f*d+m*q)>c?0<m*d-f*q?La(a+c):La(a-c):La(e)};Ra=function(a,e){var c=Math.sin(a),f=Math.cos(a),m=Math.sin(e),d=Math.cos(e);return 0>=f*m-c*d};Sa=function(a,e,c,f,m,d){if(0===c)return d?a:e;var q=Math.sin(c);c=Math.cos(c);a-=f;e-=m;var k=a*q;a=a*c-e*q;e=e*c+k;return d?a+f:e+m};Ta=function(a,e,c,f){a=c-a;e=f-e;return Math.sqrt(a*
a+e*e)};Ua=function(a,e){return!a!==!e};Wa=function(a,e,c){return a+(e-a)*c};Xa=function(a){for(var e in a)if(a.hasOwnProperty(e))return!0;return!1};Ya=function(a){for(var e in a)a.hasOwnProperty(e)&&delete a[e]};var z=+new Date;Za=function(){if("undefined"!==typeof window.performance){var a=window.performance;if("undefined"!==typeof a.now)return a.now();if("undefined"!==typeof a.webkitNow)return a.webkitNow();if("undefined"!==typeof a.mozNow)return a.mozNow();if("undefined"!==typeof a.msNow)return a.msNow()}return Date.now()-
z};var e=!1,q=e=!1,G=!1;"undefined"!==typeof window&&(e=/chrome/i.test(navigator.userAgent)||/chromium/i.test(navigator.userAgent),e=!e&&/safari/i.test(navigator.userAgent),q=/(iphone|ipod|ipad)/i.test(navigator.userAgent),G=window.c2ejecta);var O=!e&&!G&&!q&&"undefined"!==typeof Set&&"undefined"!==typeof Set.prototype.forEach;p.prototype.contains=function(a){return this.tf()?!1:O?this.dd.has(a):this.items&&this.items.hasOwnProperty(a)};p.prototype.add=function(a){if(O)this.dd.has(a)||(this.dd.add(a),
this.dg=!1);else{var e=a.toString(),c=this.items;c?c.hasOwnProperty(e)||(c[e]=a,this.gk++,this.dg=!1):(this.items={},this.items[e]=a,this.gk=1,this.dg=!1)}};p.prototype.remove=function(a){if(!this.tf())if(O)this.dd.has(a)&&(this.dd["delete"](a),this.dg=!1);else if(this.items){a=a.toString();var e=this.items;e.hasOwnProperty(a)&&(delete e[a],this.gk--,this.dg=!1)}};p.prototype.clear=function(){this.tf()||(O?this.dd.clear():(this.items=null,this.gk=0),B(this.jj),this.dg=!0)};p.prototype.tf=function(){return 0===
this.count()};p.prototype.count=function(){return O?this.dd.size:this.gk};var u=null,ba=0;p.prototype.FD=function(){if(!this.dg){if(O)B(this.jj),u=this.jj,ba=0,this.dd.forEach(h),u=null,ba=0;else{var a=this.jj;B(a);var e,c=0,f=this.items;if(f)for(e in f)f.hasOwnProperty(e)&&(a[c++]=f[e])}this.dg=!0}};p.prototype.ue=function(){this.FD();return this.jj};da=p;new da;$a=function(a,e){O?ab(a,e.dd):bb(a,e.ue())};ab=function(a,e){var c,f,m,d;f=c=0;for(m=a.length;c<m;++c)d=a[c],e.has(d)||(a[f++]=d);Ca(a,
f)};bb=function(a,e){var c,f,m,d;f=c=0;for(m=a.length;c<m;++c)d=a[c],-1===Fa(e,d)&&(a[f++]=d);Ca(a,f)};r.prototype.add=function(a){this.y=a-this.zj;this.aj=this.fa+this.y;this.zj=this.aj-this.fa-this.y;this.fa=this.aj};r.prototype.reset=function(){this.fa=this.aj=this.y=this.zj=0};cb=r;eb=function(a){return a.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")};n.prototype.Vk=function(a){this.zv=a;this.od=a.length/2;this.Ya.length=a.length;this.Wl=this.Xl=-1;this.pt=0};n.prototype.ti=function(){return!this.zv.length};
n.prototype.Sa=function(){for(var a=this.Ya,e=a[0],c=e,f=a[1],m=f,d,q,k=1,u=this.od;k<u;++k)q=2*k,d=a[q],q=a[q+1],d<e&&(e=d),d>c&&(c=d),q<f&&(f=q),q>m&&(m=q);this.Sl=e;this.Tl=c;this.Ul=f;this.Rl=m};n.prototype.Uk=function(a,e,c){this.Ya.length=8;this.od=4;var f=this.Ya;f[0]=a.left-e;f[1]=a.top-c;f[2]=a.right-e;f[3]=a.top-c;f[4]=a.right-e;f[5]=a.bottom-c;f[6]=a.left-e;f[7]=a.bottom-c;this.Xl=a.right-a.left;this.Wl=a.bottom-a.top;this.Sa()};n.prototype.Zi=function(a,e,c,f,m){this.Ya.length=8;this.od=
4;var d=this.Ya;d[0]=a.fb-e;d[1]=a.gb-c;d[2]=a.Zb-e;d[3]=a.$b-c;d[4]=a.Ob-e;d[5]=a.Pb-c;d[6]=a.Mb-e;d[7]=a.Nb-c;this.Xl=f;this.Wl=m;this.Sa()};n.prototype.Sv=function(a){this.od=a.od;Da(this.Ya,a.Ya);this.Sl=a.Sl;this.Ul-a.Ul;this.Tl=a.Tl;this.Rl=a.Rl};n.prototype.Ng=function(a,e,c){if(this.Xl!==a||this.Wl!==e||this.pt!==c){this.Xl=a;this.Wl=e;this.pt=c;var f,m,d,q,k,u=0,A=1,t=this.zv,b=this.Ya;0!==c&&(u=Math.sin(c),A=Math.cos(c));c=0;for(d=this.od;c<d;c++)f=2*c,m=f+1,q=t[f]*a,k=t[m]*e,b[f]=q*A-k*
u,b[m]=k*A+q*u;this.Sa()}};n.prototype.Sb=function(a,e){var c=this.Ya;if(a===c[0]&&e===c[1])return!0;var f,m,d,q=this.od,k=this.Sl-110,u=this.Ul-101,A=this.Tl+131,t=this.Rl+120,b,n,g=0,h=0;for(f=0;f<q;f++)m=2*f,d=(f+1)%q*2,b=c[m],m=c[m+1],n=c[d],d=c[d+1],wa(k,u,a,e,b,m,n,d)&&g++,wa(A,t,a,e,b,m,n,d)&&h++;return 1===g%2||1===h%2};n.prototype.Yj=function(a,e,c){var f=a.Ya,m=this.Ya;if(this.Sb(f[0]+e,f[1]+c)||a.Sb(m[0]-e,m[1]-c))return!0;var d,q,k,u,A,t,b,n,g,h,v,l;d=0;for(u=this.od;d<u;d++)for(q=2*d,
k=(d+1)%u*2,n=m[q],q=m[q+1],g=m[k],h=m[k+1],k=0,b=a.od;k<b;k++)if(A=2*k,t=(k+1)%b*2,v=f[A]+e,A=f[A+1]+c,l=f[t]+e,t=f[t+1]+c,wa(n,q,g,h,v,A,l,t))return!0;return!1};n.prototype.yC=function(a){var e,c,f;e=0;for(c=this.od;e<c;++e)f=2*e,this.Ya[f]=2*a-this.Ya[f]};n.prototype.jB=function(a){var e,c,f;e=0;for(c=this.od;e<c;++e)f=2*e+1,this.Ya[f]=2*a-this.Ya[f]};n.prototype.cA=function(){var a,e,c,f,m;a=0;for(e=this.od;a<e;++a)c=2*a,f=c+1,m=this.Ya[c],this.Ya[c]=this.Ya[f],this.Ya[f]=m};fb=n;a.prototype.lg=
function(a,e,c){var f;f=this.cells[a];return f?(f=f[e])?f:c?(f=d(this,a,e),this.cells[a][e]=f):null:c?(f=d(this,a,e),this.cells[a]={},this.cells[a][e]=f):null};a.prototype.Rc=function(a){return ua(a/this.Qb)};a.prototype.Sc=function(a){return ua(a/this.ac)};a.prototype.update=function(a,e,c){var f,m,d,q,k;if(e)for(f=e.left,m=e.right;f<=m;++f)for(d=e.top,q=e.bottom;d<=q;++d)if(!c||!c.Sb(f,d))if(k=this.lg(f,d,!1))k.remove(a),k.tf()&&(k.kc.clear(),1E3>W.length&&W.push(k),this.cells[f][d]=null);if(c)for(f=
c.left,m=c.right;f<=m;++f)for(d=c.top,q=c.bottom;d<=q;++d)e&&e.Sb(f,d)||this.lg(f,d,!0).$p(a)};a.prototype.Un=function(a,e){var c,f,m,d,q,k;c=this.Rc(a.left);m=this.Sc(a.top);f=this.Rc(a.right);for(q=this.Sc(a.bottom);c<=f;++c)for(d=m;d<=q;++d)(k=this.lg(c,d,!1))&&k.dump(e)};gb=a;c.prototype.lg=function(a,e,c){var m;m=this.cells[a];return m?(m=m[e])?m:c?(m=f(this,a,e),this.cells[a][e]=m):null:c?(m=f(this,a,e),this.cells[a]={},this.cells[a][e]=m):null};c.prototype.Rc=function(a){return ua(a/this.Qb)};
c.prototype.Sc=function(a){return ua(a/this.ac)};c.prototype.update=function(a,e,c){var f,m,d,q,k;if(e)for(f=e.left,m=e.right;f<=m;++f)for(d=e.top,q=e.bottom;d<=q;++d)if(!c||!c.Sb(f,d))if(k=this.lg(f,d,!1))k.remove(a),k.tf()&&(k.reset(),1E3>y.length&&y.push(k),this.cells[f][d]=null);if(c)for(f=c.left,m=c.right;f<=m;++f)for(d=c.top,q=c.bottom;d<=q;++d)e&&e.Sb(f,d)||this.lg(f,d,!0).$p(a)};c.prototype.Un=function(a,e,c,f,m){var d,q;a=this.Rc(a);e=this.Sc(e);c=this.Rc(c);for(d=this.Sc(f);a<=c;++a)for(f=
e;f<=d;++f)(q=this.lg(a,f,!1))&&q.dump(m)};c.prototype.vC=function(a){var e,c,f,m,d;e=a.left;f=a.top;c=a.right;for(m=a.bottom;e<=c;++e)for(a=f;a<=m;++a)if(d=this.lg(e,a,!1))d.xi=!1};hb=c;var W=[];v.prototype.tf=function(){return this.kc.tf()};v.prototype.$p=function(a){this.kc.add(a)};v.prototype.remove=function(a){this.kc.remove(a)};v.prototype.dump=function(a){Ea(a,this.kc.ue())};ca=v;var y=[];m.prototype.tf=function(){if(!this.kc.length)return!0;if(this.kc.length>this.Me.count())return!1;this.Fp();
return!0};m.prototype.$p=function(a){this.Me.contains(a)?(this.Me.remove(a),this.Me.tf()&&(this.wj=!1)):this.kc.length?(this.kc[this.kc.length-1].Ld()>a.Ld()&&(this.xi=!1),this.kc.push(a)):(this.kc.push(a),this.xi=!0)};m.prototype.remove=function(a){this.Me.add(a);this.wj=!0;30<=this.Me.count()&&this.Fp()};m.prototype.Fp=function(){this.wj&&(this.Me.count()===this.kc.length?this.reset():($a(this.kc,this.Me),this.Me.clear(),this.wj=!1))};m.prototype.CA=function(){this.xi||(this.kc.sort(k),this.xi=
!0)};m.prototype.reset=function(){B(this.kc);this.xi=!0;this.Me.clear();this.wj=!1};m.prototype.dump=function(a){this.Fp();this.CA();this.kc.length&&a.push(this.kc)};ea=m;var E="lighter xor copy destination-over source-in destination-in source-out destination-out source-atop destination-atop".split(" ");ib=function(a){return 0>=a||11<=a?"source-over":E[a-1]};jb=function(a,e,c){if(c)switch(a.Gc=c.ONE,a.zc=c.ONE_MINUS_SRC_ALPHA,e){case 1:a.Gc=c.ONE;a.zc=c.ONE;break;case 3:a.Gc=c.ONE;a.zc=c.ZERO;break;
case 4:a.Gc=c.ONE_MINUS_DST_ALPHA;a.zc=c.ONE;break;case 5:a.Gc=c.DST_ALPHA;a.zc=c.ZERO;break;case 6:a.Gc=c.ZERO;a.zc=c.SRC_ALPHA;break;case 7:a.Gc=c.ONE_MINUS_DST_ALPHA;a.zc=c.ZERO;break;case 8:a.Gc=c.ZERO;a.zc=c.ONE_MINUS_SRC_ALPHA;break;case 9:a.Gc=c.DST_ALPHA;a.zc=c.ONE_MINUS_SRC_ALPHA;break;case 10:a.Gc=c.ONE_MINUS_DST_ALPHA,a.zc=c.SRC_ALPHA}};kb=function(a){return Math.round(1E6*a)/1E6};lb=function(a,e){return"string"!==typeof a||"string"!==typeof e||a.length!==e.length?!1:a===e?!0:a.toLowerCase()===
e.toLowerCase()};mb=function(a){a=a.target;return!a||a===document||a===window||document&&document.body&&a===document.body||lb(a.tagName,"canvas")?!0:!1}})();var kc="undefined"!==typeof Float32Array?Float32Array:Array;function lc(g){var l=new kc(3);g&&(l[0]=g[0],l[1]=g[1],l[2]=g[2]);return l}
function mc(g){var l=new kc(16);g&&(l[0]=g[0],l[1]=g[1],l[2]=g[2],l[3]=g[3],l[4]=g[4],l[5]=g[5],l[6]=g[6],l[7]=g[7],l[8]=g[8],l[9]=g[9],l[10]=g[10],l[11]=g[11],l[12]=g[12],l[13]=g[13],l[14]=g[14],l[15]=g[15]);return l}function nc(g,l){l[0]=g[0];l[1]=g[1];l[2]=g[2];l[3]=g[3];l[4]=g[4];l[5]=g[5];l[6]=g[6];l[7]=g[7];l[8]=g[8];l[9]=g[9];l[10]=g[10];l[11]=g[11];l[12]=g[12];l[13]=g[13];l[14]=g[14];l[15]=g[15]}
function oc(g,l){var b=l[0],p=l[1];l=l[2];g[0]*=b;g[1]*=b;g[2]*=b;g[3]*=b;g[4]*=p;g[5]*=p;g[6]*=p;g[7]*=p;g[8]*=l;g[9]*=l;g[10]*=l;g[11]*=l}
function pc(g,l,b,p){p||(p=mc());var h,r,n,a,c,d,v,f,m=g[0],k=g[1];g=g[2];r=b[0];n=b[1];h=b[2];b=l[1];d=l[2];m===l[0]&&k===b&&g===d?(g=p,g[0]=1,g[1]=0,g[2]=0,g[3]=0,g[4]=0,g[5]=1,g[6]=0,g[7]=0,g[8]=0,g[9]=0,g[10]=1,g[11]=0,g[12]=0,g[13]=0,g[14]=0,g[15]=1):(b=m-l[0],d=k-l[1],v=g-l[2],f=1/Math.sqrt(b*b+d*d+v*v),b*=f,d*=f,v*=f,l=n*v-h*d,h=h*b-r*v,r=r*d-n*b,(f=Math.sqrt(l*l+h*h+r*r))?(f=1/f,l*=f,h*=f,r*=f):r=h=l=0,n=d*r-v*h,a=v*l-b*r,c=b*h-d*l,(f=Math.sqrt(n*n+a*a+c*c))?(f=1/f,n*=f,a*=f,c*=f):c=a=n=0,
p[0]=l,p[1]=n,p[2]=b,p[3]=0,p[4]=h,p[5]=a,p[6]=d,p[7]=0,p[8]=r,p[9]=c,p[10]=v,p[11]=0,p[12]=-(l*m+h*k+r*g),p[13]=-(n*m+a*k+c*g),p[14]=-(b*m+d*k+v*g),p[15]=1)}
(function(){function g(a,c,d){this.uf=/msie/i.test(navigator.userAgent)||/trident/i.test(navigator.userAgent);this.height=this.width=0;this.Wa=!!d;this.Zm=this.$j=!1;this.lm=0;this.Fo=1;this.es=1E3;this.TD=(this.es-this.Fo)/32768;this.gp=lc([0,0,100]);this.Bu=lc([0,0,0]);this.sw=lc([0,1,0]);this.xl=lc([1,1,1]);this.Ft=!0;this.xn=mc();this.xd=mc();this.qq=mc();this.pp=mc();this.O=a;this.version=0===this.O.getParameter(this.O.VERSION).indexOf("WebGL 2")?2:1;this.bu()}function l(a,c,d){this.O=a;this.Wk=
c;this.name=d;this.Nd=a.getAttribLocation(c,"aPos");this.wg=a.getAttribLocation(c,"aTex");this.zu=a.getUniformLocation(c,"matP");this.tn=a.getUniformLocation(c,"matMV");this.Ii=a.getUniformLocation(c,"opacity");this.xq=a.getUniformLocation(c,"colorFill");this.Au=a.getUniformLocation(c,"samplerFront");this.ok=a.getUniformLocation(c,"samplerBack");this.wh=a.getUniformLocation(c,"destStart");this.vh=a.getUniformLocation(c,"destEnd");this.qk=a.getUniformLocation(c,"seconds");this.zq=a.getUniformLocation(c,
"pixelWidth");this.yq=a.getUniformLocation(c,"pixelHeight");this.nk=a.getUniformLocation(c,"layerScale");this.mk=a.getUniformLocation(c,"layerAngle");this.rk=a.getUniformLocation(c,"viewOrigin");this.pk=a.getUniformLocation(c,"scrollPos");this.UB=!!(this.zq||this.yq||this.qk||this.ok||this.wh||this.vh||this.nk||this.mk||this.rk||this.pk);this.Ju=this.Ku=-999;this.wn=1;this.Fu=this.Eu=0;this.Hu=this.Du=this.Cu=1;this.Nu=this.Mu=this.Lu=this.Pu=this.Ou=this.Gu=0;this.pq=[];this.Iu=mc();this.Ii&&a.uniform1f(this.Ii,
1);this.xq&&a.uniform4f(this.xq,1,1,1,1);this.Au&&a.uniform1i(this.Au,0);this.ok&&a.uniform1i(this.ok,1);this.wh&&a.uniform2f(this.wh,0,0);this.vh&&a.uniform2f(this.vh,1,1);this.nk&&a.uniform1f(this.nk,1);this.mk&&a.uniform1f(this.mk,0);this.rk&&a.uniform2f(this.rk,0,0);this.pk&&a.uniform2f(this.pk,0,0);this.qk&&a.uniform1f(this.qk,0);this.ah=!1}function b(a,c){return a[0]===c[0]&&a[1]===c[1]&&a[2]===c[2]&&a[3]===c[3]&&a[4]===c[4]&&a[5]===c[5]&&a[6]===c[6]&&a[7]===c[7]&&a[8]===c[8]&&a[9]===c[9]&&
a[10]===c[10]&&a[11]===c[11]&&a[12]===c[12]&&a[13]===c[13]&&a[14]===c[14]&&a[15]===c[15]}function p(a,c){this.type=a;this.C=c;this.O=c.O;this.wd=this.Hc=this.kv=0;this.qa=this.Vd=null;this.Uv=[]}var h=mc();g.prototype.bu=function(){var a=this.O,c;this.su=1;this.oh=this.tg=null;this.km=1;a.clearColor(0,0,0,0);a.clear(a.COLOR_BUFFER_BIT);a.enable(a.BLEND);a.blendFunc(a.ONE,a.ONE_MINUS_SRC_ALPHA);a.disable(a.CULL_FACE);a.disable(a.STENCIL_TEST);a.disable(a.DITHER);this.Wa?(a.enable(a.DEPTH_TEST),a.depthFunc(a.LEQUAL)):
a.disable(a.DEPTH_TEST);this.tu=a.ONE;this.ru=a.ONE_MINUS_SRC_ALPHA;this.pl=new Float32Array(8E3*(this.Wa?3:2));this.el=new Float32Array(16E3);this.uv=new Float32Array(32E3);this.br=a.createBuffer();a.bindBuffer(a.ARRAY_BUFFER,this.br);a.bufferData(a.ARRAY_BUFFER,this.uv.byteLength,a.DYNAMIC_DRAW);this.ol=Array(4);this.dl=Array(4);for(c=0;4>c;c++)this.ol[c]=a.createBuffer(),a.bindBuffer(a.ARRAY_BUFFER,this.ol[c]),a.bufferData(a.ARRAY_BUFFER,this.pl.byteLength,a.DYNAMIC_DRAW),this.dl[c]=a.createBuffer(),
a.bindBuffer(a.ARRAY_BUFFER,this.dl[c]),a.bufferData(a.ARRAY_BUFFER,this.el.byteLength,a.DYNAMIC_DRAW);this.ff=0;this.XB=a.createBuffer();a.bindBuffer(a.ELEMENT_ARRAY_BUFFER,this.XB);for(var d=new Uint16Array(12E3),b=c=0;12E3>c;)d[c++]=b,d[c++]=b+1,d[c++]=b+2,d[c++]=b,d[c++]=b+2,d[c++]=b+3,b+=4;a.bufferData(a.ELEMENT_ARRAY_BUFFER,d,a.STATIC_DRAW);this.dr=this.Gg=this.Xd=0;this.pb=[];c=this.Wa?"attribute highp vec3 aPos;\nattribute mediump vec2 aTex;\nvarying mediump vec2 vTex;\nuniform highp mat4 matP;\nuniform highp mat4 matMV;\nvoid main(void) {\n\tgl_Position = matP * matMV * vec4(aPos.x, aPos.y, aPos.z, 1.0);\n\tvTex = aTex;\n}":
"attribute highp vec2 aPos;\nattribute mediump vec2 aTex;\nvarying mediump vec2 vTex;\nuniform highp mat4 matP;\nuniform highp mat4 matMV;\nvoid main(void) {\n\tgl_Position = matP * matMV * vec4(aPos.x, aPos.y, 0.0, 1.0);\n\tvTex = aTex;\n}";d=this.Fj({src:"varying mediump vec2 vTex;\nuniform lowp float opacity;\nuniform lowp sampler2D samplerFront;\nvoid main(void) {\n\tgl_FragColor = texture2D(samplerFront, vTex);\n\tgl_FragColor *= opacity;\n}"},c,"<default>");this.pb.push(d);d=this.Fj({src:"uniform mediump sampler2D samplerFront;\nvarying lowp float opacity;\nvoid main(void) {\n\tgl_FragColor = texture2D(samplerFront, gl_PointCoord);\n\tgl_FragColor *= opacity;\n}"},
"attribute vec4 aPos;\nvarying float opacity;\nuniform mat4 matP;\nuniform mat4 matMV;\nvoid main(void) {\n\tgl_Position = matP * matMV * vec4(aPos.x, aPos.y, 0.0, 1.0);\n\tgl_PointSize = aPos.z;\n\topacity = aPos.w;\n}","<point>");this.pb.push(d);d=this.Fj({src:"varying mediump vec2 vTex;\nuniform lowp sampler2D samplerFront;\nvoid main(void) {\n\tif (texture2D(samplerFront, vTex).a < 1.0)\n\t\tdiscard;\n}"},c,"<earlyz>");this.pb.push(d);d=this.Fj({src:"uniform lowp vec4 colorFill;\nvoid main(void) {\n\tgl_FragColor = colorFill;\n}"},
c,"<fill>");this.pb.push(d);for(var f in qc)qc.hasOwnProperty(f)&&this.pb.push(this.Fj(qc[f],c,f));a.activeTexture(a.TEXTURE0);a.bindTexture(a.TEXTURE_2D,null);this.ze=[];this.de=0;this.ec=!1;this.zt=this.ik=-1;this.ai=null;this.Cp=a.createFramebuffer();this.rm=this.Vn=null;this.it=!1;this.Wa&&(this.rm=a.createRenderbuffer());this.Jg=lc([0,0,0]);this.Qu=a.getParameter(a.ALIASED_POINT_SIZE_RANGE)[1];2048<this.Qu&&(this.Qu=2048);this.fd(0)};l.prototype.Yr=function(a){b(this.Iu,a)||(nc(a,this.Iu),this.O.uniformMatrix4fv(this.tn,
!1,a))};g.prototype.Fj=function(a,c,d){var b=this.O,f=b.createShader(b.FRAGMENT_SHADER);b.shaderSource(f,a.src);b.compileShader(f);if(!b.getShaderParameter(f,b.COMPILE_STATUS))throw a=b.getShaderInfoLog(f),b.deleteShader(f),Error("error compiling fragment shader: "+a);var m=b.createShader(b.VERTEX_SHADER);b.shaderSource(m,c);b.compileShader(m);if(!b.getShaderParameter(m,b.COMPILE_STATUS))throw a=b.getShaderInfoLog(m),b.deleteShader(f),b.deleteShader(m),Error("error compiling vertex shader: "+a);c=
b.createProgram();b.attachShader(c,f);b.attachShader(c,m);b.linkProgram(c);if(!b.getProgramParameter(c,b.LINK_STATUS))throw a=b.getProgramInfoLog(c),b.deleteShader(f),b.deleteShader(m),b.deleteProgram(c),Error("error linking shader program: "+a);b.useProgram(c);b.deleteShader(f);b.deleteShader(m);f=new l(b,c,d);f.Ap=a.Ap||0;f.Bp=a.Bp||0;f.yt=!!a.yt;f.me=!!a.me;f.et=!!a.et;f.na=a.na||[];a=0;for(m=f.na.length;a<m;a++)f.na[a][1]=b.getUniformLocation(c,f.na[a][0]),f.pq.push(0),b.uniform1f(f.na[a][1],
0);return f};g.prototype.Qp=function(a){var c,d;c=0;for(d=this.pb.length;c<d;c++)if(this.pb[c].name===a)return c;return-1};g.prototype.yv=function(a,c,d){var b=this.xd,f=this.xn,m=[0,0,0,0,0,0,0,0];m[0]=b[0]*a+b[4]*c+b[12];m[1]=b[1]*a+b[5]*c+b[13];m[2]=b[2]*a+b[6]*c+b[14];m[3]=b[3]*a+b[7]*c+b[15];m[4]=f[0]*m[0]+f[4]*m[1]+f[8]*m[2]+f[12]*m[3];m[5]=f[1]*m[0]+f[5]*m[1]+f[9]*m[2]+f[13]*m[3];m[6]=f[2]*m[0]+f[6]*m[1]+f[10]*m[2]+f[14]*m[3];m[7]=-m[2];0!==m[7]&&(m[7]=1/m[7],m[4]*=m[7],m[5]*=m[7],m[6]*=m[7],
d[0]=(.5*m[4]+.5)*this.width,d[1]=(.5*m[5]+.5)*this.height)};g.prototype.Ih=function(a,c,d){if(this.width!==a||this.height!==c||d){this.pf();d=this.O;this.width=a;this.height=c;d.viewport(0,0,a,c);pc(this.gp,this.Bu,this.sw,this.xd);if(this.Wa){var b=-a/2;a=a/2;var f=c/2;c=-c/2;var m=this.Fo,k=this.es,t=this.xn;t||(t=mc());var n=a-b,g=c-f,e=k-m;t[0]=2/n;t[1]=0;t[2]=0;t[3]=0;t[4]=0;t[5]=2/g;t[6]=0;t[7]=0;t[8]=0;t[9]=0;t[10]=-2/e;t[11]=0;t[12]=-(b+a)/n;t[13]=-(c+f)/g;t[14]=-(k+m)/e;t[15]=1;this.xl[0]=
1;this.xl[1]=1}else c=a/c,b=this.Fo,a=this.es,t=this.xn,k=b*Math.tan(45*Math.PI/360),c*=k,f=-c,m=-k,t||(t=mc()),n=c-f,g=k-m,e=a-b,t[0]=2*b/n,t[1]=0,t[2]=0,t[3]=0,t[4]=0,t[5]=2*b/g,t[6]=0,t[7]=0,t[8]=(c+f)/n,t[9]=(k+m)/g,t[10]=-(a+b)/e,t[11]=-1,t[12]=0,t[13]=0,t[14]=-(a*b*2)/e,t[15]=0,b=[0,0],a=[0,0],this.yv(0,0,b),this.yv(1,1,a),this.xl[0]=1/(a[0]-b[0]),this.xl[1]=-1/(a[1]-b[1]);b=0;for(a=this.pb.length;b<a;b++)f=this.pb[b],f.ah=!1,f.zu&&(d.useProgram(f.Wk),d.uniformMatrix4fv(f.zu,!1,this.xn));d.useProgram(this.pb[this.ik].Wk);
d.bindTexture(d.TEXTURE_2D,null);d.activeTexture(d.TEXTURE1);d.bindTexture(d.TEXTURE_2D,null);d.activeTexture(d.TEXTURE0);this.oh=this.tg=null;this.rm&&(d.bindFramebuffer(d.FRAMEBUFFER,this.Cp),d.bindRenderbuffer(d.RENDERBUFFER,this.rm),d.renderbufferStorage(d.RENDERBUFFER,d.DEPTH_COMPONENT16,this.width,this.height),this.it||(d.framebufferRenderbuffer(d.FRAMEBUFFER,d.DEPTH_ATTACHMENT,d.RENDERBUFFER,this.rm),this.it=!0),d.bindRenderbuffer(d.RENDERBUFFER,null),d.bindFramebuffer(d.FRAMEBUFFER,null),
this.Vn=null)}};g.prototype.Re=function(){pc(this.gp,this.Bu,this.sw,this.xd);oc(this.xd,this.xl)};g.prototype.translate=function(a,c){if(0!==a||0!==c){this.Jg[0]=a;this.Jg[1]=c;this.Jg[2]=0;var d=this.xd,b=this.Jg,f=b[0],m=b[1],b=b[2];d[12]=d[0]*f+d[4]*m+d[8]*b+d[12];d[13]=d[1]*f+d[5]*m+d[9]*b+d[13];d[14]=d[2]*f+d[6]*m+d[10]*b+d[14];d[15]=d[3]*f+d[7]*m+d[11]*b+d[15]}};g.prototype.scale=function(a,c){if(1!==a||1!==c)this.Jg[0]=a,this.Jg[1]=c,this.Jg[2]=1,oc(this.xd,this.Jg)};g.prototype.pr=function(a){if(0!==
a){var c=this.xd,d,b=Math.sin(a);a=Math.cos(a);var f=c[0],m=c[1],k=c[2],t=c[3],n=c[4],g=c[5],e=c[6],q=c[7];d?c!==d&&(d[8]=c[8],d[9]=c[9],d[10]=c[10],d[11]=c[11],d[12]=c[12],d[13]=c[13],d[14]=c[14],d[15]=c[15]):d=c;d[0]=f*a+n*b;d[1]=m*a+g*b;d[2]=k*a+e*b;d[3]=t*a+q*b;d[4]=f*-b+n*a;d[5]=m*-b+g*a;d[6]=k*-b+e*a;d[7]=t*-b+q*a}};g.prototype.te=function(){if(!b(this.qq,this.xd)){var a=this.ad();a.type=5;a.qa?nc(this.xd,a.qa):a.qa=mc(this.xd);nc(this.xd,this.qq);this.ec=!1}};g.prototype.co=function(a){this.Wa&&
(32760<a&&(a=32760),this.lm=this.gp[2]-this.Fo-a*this.TD)};p.prototype.mA=function(){var a=this.O,c=this.C;0!==this.Hc?(a.depthMask(!0),a.colorMask(!1,!1,!1,!1),a.disable(a.BLEND),a.bindFramebuffer(a.FRAMEBUFFER,c.Cp),a.framebufferTexture2D(a.FRAMEBUFFER,a.COLOR_ATTACHMENT0,a.TEXTURE_2D,null,0),a.clear(a.DEPTH_BUFFER_BIT),a.bindFramebuffer(a.FRAMEBUFFER,null),c.Zm=!0):(a.depthMask(!1),a.colorMask(!0,!0,!0,!0),a.enable(a.BLEND),c.Zm=!1)};p.prototype.qA=function(){this.O.bindTexture(this.O.TEXTURE_2D,
this.Vd)};p.prototype.rA=function(){var a=this.O;a.activeTexture(a.TEXTURE1);a.bindTexture(a.TEXTURE_2D,this.Vd);a.activeTexture(a.TEXTURE0)};p.prototype.nA=function(){var a=this.kv,c=this.C;c.km=a;c=c.ai;c.Ii&&c.wn!==a&&(c.wn=a,this.O.uniform1f(c.Ii,a))};p.prototype.hA=function(){this.O.drawElements(this.O.TRIANGLES,this.wd,this.O.UNSIGNED_SHORT,this.Hc)};p.prototype.jA=function(){this.O.blendFunc(this.Hc,this.wd)};p.prototype.sA=function(){var a,c,d,b=this.C.pb,f=this.C.zt;a=0;for(c=b.length;a<
c;a++)d=b[a],a===f&&d.tn?(d.Yr(this.qa),d.ah=!0):d.ah=!1;nc(this.qa,this.C.pp)};p.prototype.iA=function(){var a=this.O,c=this.C;this.Vd?(c.oh===this.Vd&&(a.activeTexture(a.TEXTURE1),a.bindTexture(a.TEXTURE_2D,null),c.oh=null,a.activeTexture(a.TEXTURE0)),a.bindFramebuffer(a.FRAMEBUFFER,c.Cp),c.Zm||a.framebufferTexture2D(a.FRAMEBUFFER,a.COLOR_ATTACHMENT0,a.TEXTURE_2D,this.Vd,0)):(c.Wa||a.framebufferTexture2D(a.FRAMEBUFFER,a.COLOR_ATTACHMENT0,a.TEXTURE_2D,null,0),a.bindFramebuffer(a.FRAMEBUFFER,null))};
p.prototype.eA=function(){var a=this.O,c=this.Hc;0===c?(a.clearColor(this.qa[0],this.qa[1],this.qa[2],this.qa[3]),a.clear(a.COLOR_BUFFER_BIT)):1===c?(a.enable(a.SCISSOR_TEST),a.scissor(this.qa[0],this.qa[1],this.qa[2],this.qa[3]),a.clearColor(0,0,0,0),a.clear(a.COLOR_BUFFER_BIT),a.disable(a.SCISSOR_TEST)):a.clear(a.DEPTH_BUFFER_BIT)};p.prototype.lA=function(){var a=this.O;0!==this.Hc?a.enable(a.DEPTH_TEST):a.disable(a.DEPTH_TEST)};p.prototype.gA=function(){var a=this.O,c=this.C;c.Wa&&a.disable(a.DEPTH_TEST);
var d=c.pb[1];a.useProgram(d.Wk);!d.ah&&d.tn&&(d.Yr(c.pp),d.ah=!0);a.enableVertexAttribArray(d.Nd);a.bindBuffer(a.ARRAY_BUFFER,c.br);a.vertexAttribPointer(d.Nd,4,a.FLOAT,!1,0,0);a.drawArrays(a.POINTS,this.Hc/4,this.wd);d=c.ai;a.useProgram(d.Wk);0<=d.Nd&&(a.enableVertexAttribArray(d.Nd),a.bindBuffer(a.ARRAY_BUFFER,c.ol[c.ff]),a.vertexAttribPointer(d.Nd,c.Wa?3:2,a.FLOAT,!1,0,0));0<=d.wg&&(a.enableVertexAttribArray(d.wg),a.bindBuffer(a.ARRAY_BUFFER,c.dl[c.ff]),a.vertexAttribPointer(d.wg,2,a.FLOAT,!1,
0,0));c.Wa&&a.enable(a.DEPTH_TEST)};p.prototype.oA=function(){var a=this.O,c=this.C,d=c.pb[this.Hc];c.zt=this.Hc;c.ai=d;a.useProgram(d.Wk);!d.ah&&d.tn&&(d.Yr(c.pp),d.ah=!0);d.Ii&&d.wn!==c.km&&(d.wn=c.km,a.uniform1f(d.Ii,c.km));0<=d.Nd&&(a.enableVertexAttribArray(d.Nd),a.bindBuffer(a.ARRAY_BUFFER,c.ol[c.ff]),a.vertexAttribPointer(d.Nd,c.Wa?3:2,a.FLOAT,!1,0,0));0<=d.wg&&(a.enableVertexAttribArray(d.wg),a.bindBuffer(a.ARRAY_BUFFER,c.dl[c.ff]),a.vertexAttribPointer(d.wg,2,a.FLOAT,!1,0,0))};p.prototype.kA=
function(){var a=this.qa;this.O.uniform4f(this.C.ai.xq,a[0],a[1],a[2],a[3])};p.prototype.pA=function(){var a,c,d=this.C.ai,b=this.O;a=this.qa;d.ok&&this.C.oh!==this.Vd&&(b.activeTexture(b.TEXTURE1),b.bindTexture(b.TEXTURE_2D,this.Vd),this.C.oh=this.Vd,b.activeTexture(b.TEXTURE0));var f=a[0];d.zq&&f!==d.Ku&&(d.Ku=f,b.uniform1f(d.zq,f));f=a[1];d.yq&&f!==d.Ju&&(d.Ju=f,b.uniform1f(d.yq,f));f=a[2];c=a[3];!d.wh||f===d.Eu&&c===d.Fu||(d.Eu=f,d.Fu=c,b.uniform2f(d.wh,f,c));f=a[4];c=a[5];!d.vh||f===d.Cu&&c===
d.Du||(d.Cu=f,d.Du=c,b.uniform2f(d.vh,f,c));f=a[6];d.nk&&f!==d.Hu&&(d.Hu=f,b.uniform1f(d.nk,f));f=a[7];d.mk&&f!==d.Gu&&(d.Gu=f,b.uniform1f(d.mk,f));f=a[8];c=a[9];!d.rk||f===d.Ou&&c===d.Pu||(d.Ou=f,d.Pu=c,b.uniform2f(d.rk,f,c));f=a[10];c=a[11];!d.pk||f===d.Lu&&c===d.Mu||(d.Lu=f,d.Mu=c,b.uniform2f(d.pk,f,c));f=a[12];d.qk&&f!==d.Nu&&(d.Nu=f,b.uniform1f(d.qk,f));if(d.na.length)for(a=0,c=d.na.length;a<c;a++)f=this.Uv[a],f!==d.pq[a]&&(d.pq[a]=f,b.uniform1f(d.na[a][1],f))};g.prototype.ad=function(){this.de===
this.ze.length&&this.ze.push(new p(0,this));return this.ze[this.de++]};g.prototype.pf=function(){if(0!==this.de&&!this.O.isContextLost()){var a=this.O;0<this.dr&&(a.bindBuffer(a.ARRAY_BUFFER,this.br),a.bufferSubData(a.ARRAY_BUFFER,0,this.uv.subarray(0,this.dr)),c&&0<=c.Nd&&"<point>"===c.name&&a.vertexAttribPointer(c.Nd,4,a.FLOAT,!1,0,0));if(0<this.Xd){var c=this.ai;a.bindBuffer(a.ARRAY_BUFFER,this.ol[this.ff]);a.bufferSubData(a.ARRAY_BUFFER,0,this.pl.subarray(0,this.Xd));c&&0<=c.Nd&&"<point>"!==c.name&&
a.vertexAttribPointer(c.Nd,this.Wa?3:2,a.FLOAT,!1,0,0);a.bindBuffer(a.ARRAY_BUFFER,this.dl[this.ff]);a.bufferSubData(a.ARRAY_BUFFER,0,this.el.subarray(0,this.Gg));c&&0<=c.wg&&"<point>"!==c.name&&a.vertexAttribPointer(c.wg,2,a.FLOAT,!1,0,0)}for(var d,a=0,c=this.de;a<c;a++)switch(d=this.ze[a],d.type){case 1:d.hA();break;case 2:d.qA();break;case 3:d.nA();break;case 4:d.jA();break;case 5:d.sA();break;case 6:d.iA();break;case 7:d.eA();break;case 8:d.gA();break;case 9:d.oA();break;case 10:d.pA();break;
case 11:d.rA();break;case 12:d.kA();break;case 13:d.lA();break;case 14:d.mA()}this.dr=this.Gg=this.Xd=this.de=0;this.Zm=this.ec=!1;this.ff++;4<=this.ff&&(this.ff=0)}};g.prototype.Jf=function(a){if(a!==this.su&&!this.$j){var c=this.ad();c.type=3;this.su=c.kv=a;this.ec=!1}};g.prototype.Fc=function(a){if(a!==this.tg){var c=this.ad();c.type=2;this.tg=c.Vd=a;this.ec=!1}};g.prototype.Eg=function(a,c){if((a!==this.tu||c!==this.ru)&&!this.$j){var d=this.ad();d.type=4;d.Hc=a;d.wd=c;this.tu=a;this.ru=c;this.ec=
!1}};g.prototype.Jv=function(){this.Eg(this.O.ONE,this.O.ONE_MINUS_SRC_ALPHA)};g.prototype.Jk=function(a,c,d,b,f,m,k,t){15992<=this.Xd&&this.pf();var n=this.Xd,g=this.Gg,e=this.pl,q=this.el,h=this.lm;if(this.ec)this.ze[this.de-1].wd+=6;else{var l=this.ad();l.type=1;l.Hc=this.Wa?n:n/2*3;l.wd=6;this.ec=!0}this.Wa?(e[n++]=a,e[n++]=c,e[n++]=h,e[n++]=d,e[n++]=b,e[n++]=h,e[n++]=f,e[n++]=m,e[n++]=h,e[n++]=k,e[n++]=t,e[n++]=h):(e[n++]=a,e[n++]=c,e[n++]=d,e[n++]=b,e[n++]=f,e[n++]=m,e[n++]=k,e[n++]=t);q[g++]=
0;q[g++]=0;q[g++]=1;q[g++]=0;q[g++]=1;q[g++]=1;q[g++]=0;q[g++]=1;this.Xd=n;this.Gg=g};g.prototype.Ad=function(a,c,d,b,f,m,k,t,n){15992<=this.Xd&&this.pf();var g=this.Xd,e=this.Gg,q=this.pl,h=this.el,l=this.lm;if(this.ec)this.ze[this.de-1].wd+=6;else{var u=this.ad();u.type=1;u.Hc=this.Wa?g:g/2*3;u.wd=6;this.ec=!0}var u=n.left,r=n.top,p=n.right;n=n.bottom;this.Wa?(q[g++]=a,q[g++]=c,q[g++]=l,q[g++]=d,q[g++]=b,q[g++]=l,q[g++]=f,q[g++]=m,q[g++]=l,q[g++]=k,q[g++]=t,q[g++]=l):(q[g++]=a,q[g++]=c,q[g++]=d,
q[g++]=b,q[g++]=f,q[g++]=m,q[g++]=k,q[g++]=t);h[e++]=u;h[e++]=r;h[e++]=p;h[e++]=r;h[e++]=p;h[e++]=n;h[e++]=u;h[e++]=n;this.Xd=g;this.Gg=e};g.prototype.VC=function(a,c,d,b,f,m,k,t,n,g,e,q,h,l,u,r){15992<=this.Xd&&this.pf();var p=this.Xd,y=this.Gg,E=this.pl,H=this.el,F=this.lm;if(this.ec)this.ze[this.de-1].wd+=6;else{var R=this.ad();R.type=1;R.Hc=this.Wa?p:p/2*3;R.wd=6;this.ec=!0}this.Wa?(E[p++]=a,E[p++]=c,E[p++]=F,E[p++]=d,E[p++]=b,E[p++]=F,E[p++]=f,E[p++]=m,E[p++]=F,E[p++]=k,E[p++]=t,E[p++]=F):(E[p++]=
a,E[p++]=c,E[p++]=d,E[p++]=b,E[p++]=f,E[p++]=m,E[p++]=k,E[p++]=t);H[y++]=n;H[y++]=g;H[y++]=e;H[y++]=q;H[y++]=h;H[y++]=l;H[y++]=u;H[y++]=r;this.Xd=p;this.Gg=y};g.prototype.fd=function(a){if(this.ik!==a){if(!this.pb[a]){if(0===this.ik)return;a=0}var c=this.ad();c.type=9;this.ik=c.Hc=a;this.ec=!1}};g.prototype.Hk=function(a){a=this.pb[a];return!(!a.wh&&!a.vh)};g.prototype.fr=function(a){a=this.pb[a];return!!(a.wh||a.vh||a.yt)};g.prototype.er=function(a){return this.pb[a].me};g.prototype.TC=function(a){a=
this.pb[a];return 0!==a.Ap||0!==a.Bp};g.prototype.zB=function(a){return this.pb[a].Ap};g.prototype.AB=function(a){return this.pb[a].Bp};g.prototype.BB=function(a,c){return this.pb[a].na[c][2]};g.prototype.Rn=function(a){return this.pb[a].et};g.prototype.Yi=function(a,c,d,b,f,m,k,t,n,g,e,q,h,l,u){var r=this.pb[this.ik],p,y;if(r.UB||u.length){p=this.ad();p.type=10;p.qa?nc(this.xd,p.qa):p.qa=mc();y=p.qa;y[0]=c;y[1]=d;y[2]=b;y[3]=f;y[4]=m;y[5]=k;y[6]=t;y[7]=n;y[8]=g;y[9]=e;y[10]=q;y[11]=h;y[12]=l;r.ok?
p.Vd=a:p.Vd=null;if(u.length)for(d=p.Uv,d.length=u.length,a=0,c=u.length;a<c;a++)d[a]=u[a];this.ec=!1}};g.prototype.clear=function(a,c,d,b){var f=this.ad();f.type=7;f.Hc=0;f.qa||(f.qa=mc());f.qa[0]=a;f.qa[1]=c;f.qa[2]=d;f.qa[3]=b;this.ec=!1};g.prototype.clearRect=function(a,c,d,b){if(!(0>d||0>b)){var f=this.ad();f.type=7;f.Hc=1;f.qa||(f.qa=mc());f.qa[0]=a;f.qa[1]=c;f.qa[2]=d;f.qa[3]=b;this.ec=!1}};g.prototype.Nv=function(a){if(this.Wa&&(a=!!a,this.$j!==a)){var c=this.ad();c.type=14;c.Hc=a?1:0;this.ec=
!1;this.$j=a;this.Vn=null;this.$j?this.fd(2):this.fd(0)}};g.prototype.Lv=function(a){if(this.Wa){var c=this.ad();c.type=13;c.Hc=a?1:0;this.ec=!1}};g.prototype.Nt=function(){nc(this.qq,h);this.Re();this.te();var a=this.width/2,c=this.height/2;this.Jk(-a,c,a,c,a,-c,-a,-c);nc(h,this.xd);this.te()};g.prototype.Kv=function(a,c,d){this.fd(3);var b=this.ad();b.type=12;b.qa||(b.qa=mc());b.qa[0]=a;b.qa[1]=c;b.qa[2]=d;b.qa[3]=1;this.ec=!1};g.prototype.uD=function(){this.fd(0)};g.prototype.bD=function(){this.fd(2)};
g.prototype.SC=function(){this.pf();this.O.flush()};var r=[],n={};g.prototype.Uz=function(){B(r);n={}};g.prototype.Zc=function(a,c,d,b,f){c=!!c;d=!!d;var m=a.src+","+c+","+d+(c?","+f:""),k=null;if("undefined"!==typeof a.src&&n.hasOwnProperty(m))return k=n[m],k.Vl++,k;this.pf();var t=this.O,g=na(a.width)&&na(a.height),k=t.createTexture();t.bindTexture(t.TEXTURE_2D,k);t.pixelStorei(t.UNPACK_PREMULTIPLY_ALPHA_WEBGL,!0);var h=t.RGBA,e=t.RGBA,q=t.UNSIGNED_BYTE;if(b&&!this.uf)switch(b){case 1:e=h=t.RGB;
break;case 2:q=t.UNSIGNED_SHORT_4_4_4_4;break;case 3:q=t.UNSIGNED_SHORT_5_5_5_1;break;case 4:e=h=t.RGB,q=t.UNSIGNED_SHORT_5_6_5}if(1===this.version&&!g&&c){b=document.createElement("canvas");b.width=oa(a.width);b.height=oa(a.height);var l=b.getContext("2d");"undefined"!==typeof l.imageSmoothingEnabled?l.imageSmoothingEnabled=d:(l.webkitImageSmoothingEnabled=d,l.mozImageSmoothingEnabled=d,l.msImageSmoothingEnabled=d);l.drawImage(a,0,0,a.width,a.height,0,0,b.width,b.height);t.texImage2D(t.TEXTURE_2D,
0,h,e,q,b)}else t.texImage2D(t.TEXTURE_2D,0,h,e,q,a);c?"repeat-x"===f?(t.texParameteri(t.TEXTURE_2D,t.TEXTURE_WRAP_S,t.REPEAT),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_WRAP_T,t.CLAMP_TO_EDGE)):("repeat-y"===f?t.texParameteri(t.TEXTURE_2D,t.TEXTURE_WRAP_S,t.CLAMP_TO_EDGE):t.texParameteri(t.TEXTURE_2D,t.TEXTURE_WRAP_S,t.REPEAT),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_WRAP_T,t.REPEAT)):(t.texParameteri(t.TEXTURE_2D,t.TEXTURE_WRAP_S,t.CLAMP_TO_EDGE),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_WRAP_T,t.CLAMP_TO_EDGE));
d?(t.texParameteri(t.TEXTURE_2D,t.TEXTURE_MAG_FILTER,t.LINEAR),(g||2<=this.version)&&this.Ft?(t.texParameteri(t.TEXTURE_2D,t.TEXTURE_MIN_FILTER,t.LINEAR_MIPMAP_LINEAR),t.generateMipmap(t.TEXTURE_2D)):t.texParameteri(t.TEXTURE_2D,t.TEXTURE_MIN_FILTER,t.LINEAR)):(t.texParameteri(t.TEXTURE_2D,t.TEXTURE_MAG_FILTER,t.NEAREST),t.texParameteri(t.TEXTURE_2D,t.TEXTURE_MIN_FILTER,t.NEAREST));t.bindTexture(t.TEXTURE_2D,null);this.tg=null;k.ge=a.width;k.fe=a.height;k.Vl=1;k.ot=m;r.push(k);return n[m]=k};g.prototype.sd=
function(a,c,d,b,f){this.pf();var m=this.O;this.uf&&(b=!1);var k=m.createTexture();m.bindTexture(m.TEXTURE_2D,k);m.texImage2D(m.TEXTURE_2D,0,m.RGBA,a,c,0,m.RGBA,b?m.UNSIGNED_SHORT_4_4_4_4:m.UNSIGNED_BYTE,null);f?(m.texParameteri(m.TEXTURE_2D,m.TEXTURE_WRAP_S,m.REPEAT),m.texParameteri(m.TEXTURE_2D,m.TEXTURE_WRAP_T,m.REPEAT)):(m.texParameteri(m.TEXTURE_2D,m.TEXTURE_WRAP_S,m.CLAMP_TO_EDGE),m.texParameteri(m.TEXTURE_2D,m.TEXTURE_WRAP_T,m.CLAMP_TO_EDGE));m.texParameteri(m.TEXTURE_2D,m.TEXTURE_MAG_FILTER,
d?m.LINEAR:m.NEAREST);m.texParameteri(m.TEXTURE_2D,m.TEXTURE_MIN_FILTER,d?m.LINEAR:m.NEAREST);m.bindTexture(m.TEXTURE_2D,null);this.tg=null;k.ge=a;k.fe=c;r.push(k);return k};g.prototype.KD=function(a,c){var d;this.pf();var b=this.O;this.uf&&(d=!1);b.bindTexture(b.TEXTURE_2D,c);b.pixelStorei(b.UNPACK_PREMULTIPLY_ALPHA_WEBGL,!0);try{b.texImage2D(b.TEXTURE_2D,0,b.RGBA,b.RGBA,d?b.UNSIGNED_SHORT_4_4_4_4:b.UNSIGNED_BYTE,a)}catch(f){console&&console.error&&console.error("Error updating WebGL texture: ",
f)}b.bindTexture(b.TEXTURE_2D,null);this.tg=null};g.prototype.deleteTexture=function(a){a&&("undefined"!==typeof a.Vl&&1<a.Vl?a.Vl--:(this.pf(),a===this.tg&&(this.O.bindTexture(this.O.TEXTURE_2D,null),this.tg=null),a===this.oh&&(this.O.activeTexture(this.O.TEXTURE1),this.O.bindTexture(this.O.TEXTURE_2D,null),this.O.activeTexture(this.O.TEXTURE0),this.oh=null),Ga(r,a),"undefined"!==typeof a.ot&&delete n[a.ot],this.O.deleteTexture(a)))};g.prototype.Sd=function(a){if(a!==this.Vn){var c=this.ad();c.type=
6;this.Vn=c.Vd=a;this.ec=!1}};nb=g})();
(function(){function g(a){if(a&&(a.getContext||a.dc)&&!a.c2runtime){a.c2runtime=this;var e=this;this.Mc=(this.Zj=/crosswalk/i.test(navigator.userAgent)||/xwalk/i.test(navigator.userAgent)||!("undefined"===typeof window.c2isCrosswalk||!window.c2isCrosswalk))||"undefined"!==typeof window.device&&("undefined"!==typeof window.device.cordova||"undefined"!==typeof window.device.phonegap)||"undefined"!==typeof window.c2iscordova&&window.c2iscordova;this.qc=!!a.dc;this.gu="undefined"!==typeof window.AppMobi||
this.qc;this.Xc=!!window.c2cocoonjs;this.Md=!!window.c2ejecta;this.Xc&&(CocoonJS.App.onSuspended.addEventListener(function(){e.setSuspended(!0)}),CocoonJS.App.onActivated.addEventListener(function(){e.setSuspended(!1)}));this.Md&&(document.addEventListener("pagehide",function(){e.setSuspended(!0)}),document.addEventListener("pageshow",function(){e.setSuspended(!1)}),document.addEventListener("resize",function(){e.setSize(window.innerWidth,window.innerHeight)}));this.Xa=this.qc||this.Xc||this.Md;this.bk=
/edge\//i.test(navigator.userAgent);this.uf=(/msie/i.test(navigator.userAgent)||/trident/i.test(navigator.userAgent)||/iemobile/i.test(navigator.userAgent))&&!this.bk;this.jq=/tizen/i.test(navigator.userAgent);this.qi=/android/i.test(navigator.userAgent)&&!this.jq&&!this.uf&&!this.bk;this.mu=(/iphone/i.test(navigator.userAgent)||/ipod/i.test(navigator.userAgent))&&!this.uf&&!this.bk;this.lC=/ipad/i.test(navigator.userAgent);this.jh=this.mu||this.lC||this.Md;this.dq=(/chrome/i.test(navigator.userAgent)||
/chromium/i.test(navigator.userAgent))&&!this.uf&&!this.bk;this.Xm=/amazonwebappplatform/i.test(navigator.userAgent);this.eC=/firefox/i.test(navigator.userAgent);this.hC=/safari/i.test(navigator.userAgent)&&!this.dq&&!this.uf&&!this.bk;this.iC=/windows/i.test(navigator.userAgent);this.an=this.$m="undefined"!==typeof window.c2nodewebkit||"undefined"!==typeof window.c2nwjs||/nodewebkit/i.test(navigator.userAgent)||/nwjs/i.test(navigator.userAgent);this.bC="undefined"!==typeof window.is_scirra_arcade;
this.kq=!("undefined"===typeof window.c2isWindows8||!window.c2isWindows8);this.ku=!("undefined"===typeof window.c2isWindows8Capable||!window.c2isWindows8Capable);this.ih=!("undefined"===typeof window.c2isWindowsPhone8||!window.c2isWindowsPhone8);this.lq=!("undefined"===typeof window.c2isWindowsPhone81||!window.c2isWindowsPhone81);this.dk=!!window.cr_windows10;this.cn=this.kq||this.ku||this.lq||this.dk;this.bq=!("undefined"===typeof window.c2isBlackberry10||!window.c2isBlackberry10);this.Ym=this.qi&&
!this.dq&&!this.Zj&&!this.eC&&!this.Xm&&!this.Xa;this.devicePixelRatio=1;this.fh=this.Mc||this.Zj||this.gu||this.Xc||this.qi||this.jh||this.ih||this.lq||this.bq||this.jq||this.Md;this.fh||(this.fh=/(blackberry|bb10|playbook|palm|symbian|nokia|windows\s+ce|phone|mobile|tablet|kindle|silk)/i.test(navigator.userAgent));this.bn=!!(this.jh&&this.Mc&&window.webkit);"undefined"===typeof cr_is_preview||this.$m||"?nw"!==window.location.search&&!/nodewebkit/i.test(navigator.userAgent)&&!/nwjs/i.test(navigator.userAgent)||
(this.$m=!0);this.dC="undefined"!==typeof cr_is_preview&&-1<window.location.search.indexOf("debug");this.canvas=a;this.hp=document.getElementById("c2canvasdiv");this.C=this.O=null;this.Sp="(unavailable)";this.Wa=!1;this.Tg=0;this.Va=null;this.Cm=!1;this.dv=this.gv=0;this.canvas.oncontextmenu=function(a){a.preventDefault&&a.preventDefault();return!1};this.canvas.onselectstart=function(a){a.preventDefault&&a.preventDefault();return!1};this.canvas.ontouchstart=function(a){a.preventDefault&&a.preventDefault();
return!1};this.qc&&(window.c2runtime=this);this.$m&&(window.ondragover=function(a){a.preventDefault();return!1},window.ondrop=function(a){a.preventDefault();return!1},window.nwgui&&window.nwgui.App.clearCache&&window.nwgui.App.clearCache());this.Ym&&"undefined"!==typeof jQuery&&jQuery("canvas").parents("*").css("overflow","visible");this.width=a.width;this.height=a.height;this.aa=this.width;this.Z=this.height;this.im=this.width;this.Hj=this.height;this.Fi=window.innerWidth;this.Ei=window.innerHeight;
this.ca=!0;this.ck=!1;Date.now||(Date.now=function(){return+new Date});this.plugins=[];this.types={};this.K=[];this.jb=[];this.Hi={};this.ke=[];this.zp={};this.qf=[];this.lj=[];this.xo=[];this.Fz=[];this.Gz=[];this.pu=this.$v=null;this.Rg={};this.gq=this.ng=!1;this.Yc=0;this.fq=this.iq=!1;this.he=[];this.ak=!1;this.nn=this.tr="";this.Wb=null;this.xf="";this.al=this.Xv=!1;this.Bm=[];this.Sg=this.of=0;this.Vu=30;this.op=this.sk=0;this.Ig=1;this.hc=new cb;this.Qf=new cb;this.An=this.Im=this.Xg=this.Ph=
this.qh=this.Gp=this.hn=0;this.df=null;this.um=[];this.yp=[];this.xm=-1;this.Aq=[[]];this.Rr=this.un=0;this.Sn(null);this.tk=[];this.uk=-1;this.Zu=this.xk=0;this.tq=!0;this.Mj=0;this.bl=[];this.Nr=this.gr=-1;this.kh=!0;this.sn=0;this.gh=!1;this.wD=0;this.Xh=null;this.Ec=this.Yt=!1;this.cv=new da;this.Jq=new da;this.Kq=new da;this.Fh=[];this.pe=new fb([]);this.Hr=new fb([]);this.Yf=[];this.oi={};this.gg={};this.Xf={};this.kj={};this.kt={};this.xu=this.mn=this.Db=this.Vb=this.wu=this.ln=this.ua=null;
this.ij=this.nq=!1;this.Hp=[null,null];this.kg=0;this.Dp="";this.Bf={};this.Yk=this.ug=null;this.Zv="";this.zn=[];this.aD()}}function l(a,e){return 128>=e?a[3]:256>=e?a[2]:512>=e?a[1]:a[0]}function b(){try{return!!window.indexedDB}catch(a){return!1}}function p(a){a.target.result.createObjectStore("saves",{keyPath:"slot"})}function h(a,e,c,f){try{var m=indexedDB.open("_C2SaveStates");m.onupgradeneeded=p;m.onerror=f;m.onsuccess=function(m){m=m.target.result;m.onerror=f;m.transaction(["saves"],"readwrite").objectStore("saves").put({slot:a,
data:e}).onsuccess=c}}catch(d){f(d)}}function r(a,e,c){try{var f=indexedDB.open("_C2SaveStates");f.onupgradeneeded=p;f.onerror=c;f.onsuccess=function(f){f=f.target.result;f.onerror=c;var m=f.transaction(["saves"]).objectStore("saves").get(a);m.onsuccess=function(){m.result?e(m.result.data):e(null)}}}catch(m){c(m)}}function n(){ha("Reloading for continuous preview");window.c2cocoonjs?CocoonJS.App.reload():-1<window.location.search.indexOf("continuous")?window.location.reload(!0):window.location=window.location+
"?continuous"}function a(a){var e,c={};for(e in a)!a.hasOwnProperty(e)||a[e]instanceof da||a[e]&&"undefined"!==typeof a[e].cF||"spriteCreatedDestroyCallback"!==e&&(c[e]=a[e]);return c}var c=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame;g.prototype.aD=function(){var a=this;if(this.bn)this.gB(function(e){a.lk(JSON.parse(e))},function(){alert("Error fetching data.js")});else{var e;this.ih?
e=new ActiveXObject("Microsoft.XMLHTTP"):e=new XMLHttpRequest;var c="data.js";if(this.kq||this.ih||this.lq||this.dk)c="data.json";e.open("GET",c,!0);var f=!1;if(!this.Xa&&"response"in e&&"responseType"in e)try{e.responseType="json",f="json"===e.responseType}catch(m){f=!1}if(!f&&"responseType"in e)try{e.responseType="text"}catch(d){}if("overrideMimeType"in e)try{e.overrideMimeType("application/json; charset=utf-8")}catch(q){}this.ih?e.onreadystatechange=function(){4===e.readyState&&a.lk(JSON.parse(e.responseText))}:
(e.onload=function(){if(f)a.lk(e.response);else if(a.Md){var c=e.responseText,c=c.substr(c.indexOf("{"));a.lk(JSON.parse(c))}else a.lk(JSON.parse(e.responseText))},e.onerror=function(a){ia("Error requesting "+c+":");ia(a)});e.send()}};g.prototype.YB=function(){var a=this,e,c,f,m,d,q,k,b,u;this.hh=(!this.Xa||this.Md||this.Mc)&&this.HD&&!this.Ym;0===this.Kc&&this.jh&&(this.hh=!1);this.devicePixelRatio=this.hh?window.devicePixelRatio||window.webkitDevicePixelRatio||window.mozDevicePixelRatio||window.msDevicePixelRatio||
1:1;this.xc();0<this.Kc&&this.setSize(window.innerWidth,window.innerHeight,!0);this.canvas.addEventListener("webglcontextlost",function(e){e.preventDefault();a.BC();ha("[Construct 2] WebGL context lost");window.cr_setSuspended(!0)},!1);this.canvas.addEventListener("webglcontextrestored",function(){a.C.bu();a.C.Ih(a.C.width,a.C.height,!0);a.Vb=null;a.Db=null;a.Hp[0]=null;a.Hp[1]=null;a.CC();a.ca=!0;ha("[Construct 2] WebGL context restored");window.cr_setSuspended(!1)},!1);try{this.AA&&(this.Xc||this.Md||
!this.Xa)&&(e={alpha:!0,depth:!1,antialias:!1,powerPreference:"high-performance",failIfMajorPerformanceCaveat:!0},this.qi||(this.O=this.canvas.getContext("webgl2",e)),this.O||(this.O=this.canvas.getContext("webgl",e)||this.canvas.getContext("experimental-webgl",e)))}catch(t){}if(this.O){if(e=this.O.getExtension("WEBGL_debug_renderer_info"))this.Sp=this.O.getParameter(e.UNMASKED_RENDERER_WEBGL)+" ["+this.O.getParameter(e.UNMASKED_VENDOR_WEBGL)+"]";this.Wa&&(this.Sp+=" [front-to-back enabled]");this.Xa||
(this.tc=document.createElement("canvas"),jQuery(this.tc).appendTo(this.canvas.parentNode),this.tc.oncontextmenu=function(){return!1},this.tc.onselectstart=function(){return!1},this.tc.width=Math.round(this.im*this.devicePixelRatio),this.tc.height=Math.round(this.Hj*this.devicePixelRatio),jQuery(this.tc).css({width:this.im+"px",height:this.Hj+"px"}),this.wv(),this.Yq=this.tc.getContext("2d"));this.C=new nb(this.O,this.fh,this.Wa);this.C.Ih(this.canvas.width,this.canvas.height);this.C.Ft=0!==this.tA;
this.Va=null;e=0;for(c=this.K.length;e<c;e++)for(d=this.K[e],f=0,m=d.ka.length;f<m;f++)k=d.ka[f],k.Jb=this.C.Qp(k.id),k.me=this.C.er(k.Jb),this.ij=this.ij||this.C.Hk(k.Jb);e=0;for(c=this.ke.length;e<c;e++){b=this.ke[e];f=0;for(m=b.ka.length;f<m;f++)k=b.ka[f],k.Jb=this.C.Qp(k.id),k.me=this.C.er(k.Jb);b.se();f=0;for(m=b.ea.length;f<m;f++){u=b.ea[f];d=0;for(q=u.ka.length;d<q;d++)k=u.ka[d],k.Jb=this.C.Qp(k.id),k.me=this.C.er(k.Jb),this.ij=this.ij||this.C.Hk(k.Jb);u.se()}}}else{if(0<this.Kc&&this.qc){this.canvas=
null;document.oncontextmenu=function(){return!1};document.onselectstart=function(){return!1};this.Va=AppMobi.canvas.getContext("2d");try{this.Va.samplingMode=this.Na?"smooth":"sharp",this.Va.globalScale=1,this.Va.HTML5CompatibilityMode=!0,this.Va.imageSmoothingEnabled=this.Na}catch(n){}0!==this.width&&0!==this.height&&(this.Va.width=this.width,this.Va.height=this.height)}this.Va||(this.Xc?(e={antialias:!!this.Na,alpha:!0},this.Va=this.canvas.getContext("2d",e)):(e={alpha:!0},this.Va=this.canvas.getContext("2d",
e)),this.bo(this.Va,this.Na));this.Yq=this.tc=null}this.gw=function(e){a.$a(!1,e)};window==window.top||this.Xa||this.cn||this.ih||(document.addEventListener("mousedown",function(){window.focus()},!0),document.addEventListener("touchstart",function(){window.focus()},!0));"undefined"!==typeof cr_is_preview&&(this.Xc&&console.log("[Construct 2] In preview-over-wifi via CocoonJS mode"),-1<window.location.search.indexOf("continuous")&&(ha("Reloading for continuous preview"),this.nn="__c2_continuouspreview",
this.al=!0),this.KC&&!this.fh&&(jQuery(window).focus(function(){a.setSuspended(!1)}),jQuery(window).blur(function(){var e=window.parent;e&&e.document.hasFocus()||a.setSuspended(!0)})));window.addEventListener("blur",function(){a.Ch()});this.Xa||(e=function(a){if(mb(a)&&document.activeElement&&document.activeElement!==document.getElementsByTagName("body")[0]&&document.activeElement.blur)try{document.activeElement.blur()}catch(e){}},"undefined"!==typeof PointerEvent?document.addEventListener("pointerdown",
e):window.navigator.msPointerEnabled?document.addEventListener("MSPointerDown",e):document.addEventListener("touchstart",e),document.addEventListener("mousedown",e));0===this.Kc&&this.hh&&1<this.devicePixelRatio&&this.setSize(this.Fb,this.Eb,!0);this.qw();this.RB();this.go();this.U={}};g.prototype.setSize=function(a,e,c){var f=0,m=0,d=0,q=0,q=0;if(this.Fi!==a||this.Ei!==e||c){this.Fi=a;this.Ei=e;var k=this.Kc;if((d=(document.mozFullScreen||document.webkitIsFullScreen||!!document.msFullscreenElement||
document.fullScreen||this.gh)&&!this.Mc)||0!==this.Kc||c)d&&(k=this.kg),c=this.devicePixelRatio,4<=k?(d=this.Fb/this.Eb,a/e>d?(d*=e,5===k?(q=d*c/this.Fb,1<q?q=Math.floor(q):1>q&&(q=1/Math.ceil(1/q)),d=this.Fb*q/c,q=this.Eb*q/c,f=(a-d)/2,m=(e-q)/2,a=d,e=q):(f=(a-d)/2,a=d)):(q=a/d,5===k?(q=q*c/this.Eb,1<q?q=Math.floor(q):1>q&&(q=1/Math.ceil(1/q)),d=this.Fb*q/c,q=this.Eb*q/c,f=(a-d)/2,m=(e-q)/2,a=d):m=(e-q)/2,e=q)):d&&0===k&&(f=Math.floor((a-this.Fb)/2),m=Math.floor((e-this.Eb)/2),a=this.Fb,e=this.Eb),
2>k&&(this.yj=c),this.im=Math.round(a),this.Hj=Math.round(e),this.width=Math.round(a*c),this.height=Math.round(e*c),this.ca=!0,this.zw?(this.aa=this.width,this.Z=this.height,this.ud=!0):this.width<this.Fb&&this.height<this.Eb||1===k?(this.aa=this.width,this.Z=this.height,this.ud=!0):(this.aa=this.Fb,this.Z=this.Eb,this.ud=!1,2===k?(d=this.Fb/this.Eb,k=this.Fi/this.Ei,k<d?this.aa=this.Z*k:k>d&&(this.Z=this.aa/k)):3===k&&(d=this.Fb/this.Eb,k=this.Fi/this.Ei,k>d?this.aa=this.Z*k:k<d&&(this.Z=this.aa/
k))),this.hp&&!this.Xa&&(jQuery(this.hp).css({width:Math.round(a)+"px",height:Math.round(e)+"px","margin-left":Math.floor(f)+"px","margin-top":Math.floor(m)+"px"}),"undefined"!==typeof cr_is_preview&&jQuery("#borderwrap").css({width:Math.round(a)+"px",height:Math.round(e)+"px"})),this.canvas&&(this.canvas.width=Math.round(a*c),this.canvas.height=Math.round(e*c),this.Md?(this.canvas.style.left=Math.floor(f)+"px",this.canvas.style.top=Math.floor(m)+"px",this.canvas.style.width=Math.round(a)+"px",this.canvas.style.height=
Math.round(e)+"px"):this.hh&&!this.Xa&&(this.canvas.style.width=Math.round(a)+"px",this.canvas.style.height=Math.round(e)+"px")),this.tc&&(this.tc.width=Math.round(a*c),this.tc.height=Math.round(e*c),this.tc.style.width=this.im+"px",this.tc.style.height=this.Hj+"px"),this.C&&this.C.Ih(Math.round(a*c),Math.round(e*c)),this.qc&&this.Va&&(this.Va.width=Math.round(a),this.Va.height=Math.round(e)),this.Va&&this.bo(this.Va,this.Na),this.qw(),this.mu&&!this.Mc&&window.scrollTo(0,0)}};g.prototype.qw=function(){if(this.jt&&
0!==this.Xq){var a="portrait";2===this.Xq&&(a="landscape");try{screen.orientation&&screen.orientation.lock?screen.orientation.lock(a).catch(function(){}):screen.lockOrientation?screen.lockOrientation(a):screen.webkitLockOrientation?screen.webkitLockOrientation(a):screen.mozLockOrientation?screen.mozLockOrientation(a):screen.msLockOrientation&&screen.msLockOrientation(a)}catch(e){console&&console.warn&&console.warn("Failed to lock orientation: ",e)}}};g.prototype.BC=function(){this.C.Uz();this.nq=
!0;var a,e,c;a=0;for(e=this.K.length;a<e;a++)c=this.K[a],c.Oi&&c.Oi()};g.prototype.CC=function(){this.nq=!1;var a,e,c;a=0;for(e=this.K.length;a<e;a++)c=this.K[a],c.Pi&&c.Pi()};g.prototype.wv=function(){if(!this.Xa){var a=(document.mozFullScreen||document.webkitIsFullScreen||document.fullScreen||document.msFullscreenElement||this.gh)&&!this.Mc?jQuery(this.canvas).offset():jQuery(this.canvas).position();a.position="absolute";jQuery(this.tc).css(a)}};var d=window.cancelAnimationFrame||window.mozCancelAnimationFrame||
window.webkitCancelAnimationFrame||window.msCancelAnimationFrame||window.oCancelAnimationFrame;g.prototype.setSuspended=function(a){var e;if(a&&!this.ck)for(ha("[Construct 2] Suspending"),this.ck=!0,-1!==this.gr&&d&&d(this.gr),-1!==this.Nr&&clearTimeout(this.Nr),a=0,e=this.bl.length;a<e;a++)this.bl[a](!0);else if(!a&&this.ck){ha("[Construct 2] Resuming");this.ck=!1;this.hn=Za();this.qh=Za();a=this.sk=this.Im=0;for(e=this.bl.length;a<e;a++)this.bl[a](!1);this.$a(!1)}};g.prototype.bt=function(a){this.bl.push(a)};
g.prototype.Tf=function(a){return this.zn[a]};g.prototype.lk=function(a){a&&a.project||ia("Project model unavailable");a=a.project;this.name=a[0];this.Mt=a[1];this.Kc=a[12];this.Fb=a[10];this.Eb=a[11];this.sv=this.Fb/2;this.tv=this.Eb/2;this.Xa&&!this.Md&&(4<=a[12]||0===a[12])&&(ha("[Construct 2] Letterbox scale fullscreen modes are not supported on this platform - falling back to 'Scale outer'"),this.Kc=3);this.as=a[18];this.vg=a[19];if(0===this.vg){var e=new Image;e.crossOrigin="anonymous";this.Rk(e,
"loading-logo.png");this.ug={vn:e}}else if(4===this.vg){e=new Image;e.src="";var c=new Image;c.src="";var f=new Image;f.src="";var m=new Image;m.src="";var d=new Image;d.src="";var q=new Image;q.src="";var k=new Image;k.src="";var b=new Image;b.src="";var u=new Image;u.src="";var t=new Image;t.src="";var n=new Image;n.src="";var g=new Image;g.src="";this.ug={vn:[e,c,f,m],PC:[d,q,k,b],PD:[u,t,n,g]}}this.xk=a[21];this.zn=rc();this.Ue=new L(this);e=0;for(c=a[2].length;e<c;e++)k=a[2][e],f=this.Tf(k[0]),
ob(k,f.prototype),b=new f(this),b.ko=k[1],b.rg=k[2],b.hF=k[5],b.Wu=k[9],b.P&&b.P(),this.plugins.push(b);this.zn=rc();e=0;for(c=a[3].length;e<c;e++){k=a[3][e];d=this.Tf(k[1]);b=null;f=0;for(m=this.plugins.length;f<m;f++)if(this.plugins[f]instanceof d){b=this.plugins[f];break}u=new b.X(b);u.name=k[0];u.S=k[2];u.aq=k[3].slice(0);u.JD=k[3].length;u.Jz=k[4];u.lB=k[5];u.ya=k[11];u.S?(u.yg=[],u.rf=this.Mj++,u.cb=null):(u.yg=null,u.rf=-1,u.cb=[]);u.zm=null;u.gi=null;u.Gt=null;u.fc=!1;u.jd=null;k[6]?(u.ej=
k[6][0],u.fl=k[6][1],u.Hg=k[6][2]):(u.ej=null,u.fl=0,u.Hg=0);k[7]?u.hd=k[7]:u.hd=null;u.index=e;u.k=[];u.om=[];u.Mf=[new pb(u)];u.Be=0;u.Id=null;u.$z=0;u.$i=!0;u.yo=qb;u.rB=rb;u.xB=sb;u.ba=vb;u.Ik=wb;u.Eh=xb;u.Oe=yb;u.Mm=zb;u.Ip=Ab;u.Mp=Bb;u.pd=Cb;u.Np=Db;u.Cj=new gb(this.Fb,this.Eb);u.Ol=!0;u.Pl=!1;u.U={};u.toString=Eb;u.jb=[];f=0;for(m=k[8].length;f<m;f++){t=k[8][f];n=this.Tf(t[1]);g=null;d=0;for(q=this.jb.length;d<q;d++)if(this.jb[d]instanceof n){g=this.jb[d];break}g||(g=new n(this),g.yn=[],g.Mi=
new da,g.P&&g.P(),this.jb.push(g),sc&&g instanceof sc&&(this.$v=g),jc.nC&&g instanceof jc.nC&&(this.pu=g));-1===g.yn.indexOf(u)&&g.yn.push(u);d=new g.X(g,u);d.name=t[0];d.ya=t[2];d.P();u.jb.push(d)}u.global=k[9];u.hq=k[10];u.ka=[];f=0;for(m=k[12].length;f<m;f++)u.ka.push({id:k[12][f][0],name:k[12][f][1],Jb:-1,me:!1,ib:!0,index:f});u.so=k[13];this.as&&!u.S&&!u.hq&&b.rg||u.P();u.name&&(this.types[u.name]=u);this.K.push(u);b.ko&&(f=new b.T(u),f.uid=this.xk++,f.Av=this.Zu++,f.dh=0,f.Rj=Fb,f.toString=
Gb,f.m=k[14],f.P(),u.k.push(f),this.Bf[f.uid.toString()]=f)}e=0;for(c=a[4].length;e<c;e++)for(d=a[4][e],q=this.K[d[0]],f=1,m=d.length;f<m;f++)k=this.K[d[f]],k.cb.push(q),q.yg.push(k);e=0;for(c=a[28].length;e<c;e++){d=a[28][e];q=[];f=0;for(m=d.length;f<m;f++)q.push(this.K[d[f]]);f=0;for(m=q.length;f<m;f++)q[f].fc=!0,q[f].jd=q}if(0<this.Mj)for(e=0,c=this.K.length;e<c;e++)if(k=this.K[e],!k.S&&k.cb.length){k.zm=Array(this.Mj);k.gi=Array(this.Mj);k.Gt=Array(this.Mj);u=[];f=g=n=t=0;for(m=k.cb.length;f<
m;f++)for(b=k.cb[f],k.zm[b.rf]=t,t+=b.JD,k.gi[b.rf]=n,n+=b.Jz,k.Gt[b.rf]=g,g+=b.lB,d=0,q=b.ka.length;d<q;d++)u.push(Aa({},b.ka[d]));k.ka=u.concat(k.ka);f=0;for(m=k.ka.length;f<m;f++)k.ka[f].index=f}e=0;for(c=a[5].length;e<c;e++)k=a[5][e],f=new Hb(this,k),this.Hi[f.name]=f,this.ke.push(f);e=0;for(c=a[6].length;e<c;e++)k=a[6][e],f=new Kb(this,k),this.zp[f.name]=f,this.qf.push(f);e=0;for(c=this.qf.length;e<c;e++)this.qf[e].xb();e=0;for(c=this.qf.length;e<c;e++)this.qf[e].Wr();e=0;for(c=this.xo.length;e<
c;e++)this.xo[e].xb();B(this.xo);this.Iz=a[7];this.Dp=a[8];this.$c=a[9];this.yj=1;this.AA=a[13];this.Na=a[14];this.tt=a[15];this.HD=a[17];this.Xq=a[20];this.jt=0<this.Xq;this.KC=a[22];this.ud=this.zw=a[23];this.tA=a[24];this.QC=a[25];this.Wa=a[27]&&!this.uf;this.lo=Date.now();B(this.zn);this.YB()};var v=!1,f=0,m=[];g.prototype.WC=function(a,e){function c(){f--;d.Ru()}var d=this;a.addEventListener("load",c);a.addEventListener("error",c);m.push([a,e]);this.Ru()};g.prototype.Ru=function(){for(var a;m.length&&
100>f;)f++,a=m.shift(),this.Rk(a[0],a[1])};g.prototype.ql=function(a,e){a.cocoonLazyLoad=!0;a.onerror=function(e){v=a.nt=!0;console&&console.error&&console.error("Error loading image '"+a.src+"': ",e)};this.Md?a.src=e:a.src||("undefined"!==typeof XAPKReader?XAPKReader.get(e,function(e){a.src=e},function(c){v=a.nt=!0;console&&console.error&&console.error("Error extracting image '"+e+"' from expansion file: ",c)}):(a.crossOrigin="anonymous",this.WC(a,e)));this.lj.push(a)};g.prototype.iB=function(a){var e,
c;e=0;for(c=this.lj.length;e<c;e++)if(this.lj[e].Vz===a)return this.lj[e];return null};var k=0,t=!1;g.prototype.RB=function(){this.Xh&&(k=this.Xh.rD(this.Iz))};g.prototype.ht=function(){var a=k,e=0,c=0,f=!0,m,d,c=0;for(m=this.lj.length;c<m;c++){d=this.lj[c];var q=d.gm;if(!q||0>=q)q=5E4;a+=q;d.src&&(d.complete||d.loaded)&&!d.nt?e+=q:f=!1}f&&this.QC&&this.Xh&&(t||(this.Xh.xD(),t=!0),c=this.Xh.yB(),e+=c,c<k&&(f=!1));this.ta=0==a?1:e/a;return f};var w=!1;g.prototype.go=function(){if(this.Va||this.C){var a=
this.Va||this.Yq;this.tc&&this.wv();var e=window.innerWidth,f=window.innerHeight;this.Fi===e&&this.Ei===f||this.setSize(e,f);this.ta=0;this.vu=-1;var m=this;if(this.ht()&&(4!==this.vg||w))this.SB();else{f=Date.now()-this.lo;if(a){var d=this.width,k=this.height,e=this.devicePixelRatio;if(3>this.vg&&(this.Xc||500<=f&&this.vu!=this.ta)){a.clearRect(0,0,d,k);var f=d/2,k=k/2,d=0===this.vg&&this.ug.vn.complete,q=40*e,b=0,u=80*e,t;if(d){var n=this.ug.vn,u=n.width*e;t=n.height*e;q=u/2;b=t/2;a.drawImage(n,
ua(f-q),ua(k-b),u,t)}1>=this.vg?(f=ua(f-q)+.5,k=ua(k+(b+(d?12*e:0)))+.5,a.fillStyle=v?"red":"DodgerBlue",a.fillRect(f,k,Math.floor(u*this.ta),6*e),a.strokeStyle="black",a.strokeRect(f,k,u,6*e),a.strokeStyle="white",a.strokeRect(f-1*e,k-1*e,u+2*e,8*e)):2===this.vg&&(a.font=this.Md?"12pt ArialMT":"12pt Arial",a.fillStyle=v?"#f00":"#999",a.vF="middle",e=Math.round(100*this.ta)+"%",d=a.measureText?a.measureText(e):null,a.fillText(e,f-(d?d.width:0)/2,k));this.vu=this.ta}else if(4===this.vg){this.yA(a);
c?c(function(){m.go()}):setTimeout(function(){m.go()},16);return}}setTimeout(function(){m.go()},this.Xc?10:100)}}};var z=-1,e="undefined"===typeof cr_is_preview?200:0,q=!0,G=!1,O=0,u=0,ba="undefined"===typeof cr_is_preview?3E3:0,W=null,y=null,E=0;g.prototype.yA=function(a){if(!w){for(var c=Math.ceil(this.width),f=Math.ceil(this.height),m=this.ug.vn,d=this.ug.PC,k=this.ug.PD,b=0;4>b;++b)if(!m[b].complete||!d[b].complete||!k[b].complete)return;0===E&&(z=Date.now());var b=Date.now(),t=!1,n=a,g,h;q||
G?(a.clearRect(0,0,c,f),W&&W.width===c&&W.height===f||(W=document.createElement("canvas"),W.width=c,W.height=f,y=W.getContext("2d")),n=y,t=!0,q&&1===E&&(z=Date.now())):a.globalAlpha=1;n.fillStyle="#333333";n.fillRect(0,0,c,f);256<this.Hj?(g=Ia(.22*f,105,.6*c),h=.25*g,n.drawImage(l(d,g),.5*c-g/2,.2*f-h/2,g,h),h=g=Math.min(.395*f,.95*c),n.drawImage(l(m,g),.5*c-g/2,.485*f-h/2,g,h),g=Ia(.22*f,105,.6*c),h=.25*g,n.drawImage(l(k,g),.5*c-g/2,.868*f-h/2,g,h),n.fillStyle="#3C3C3C",g=c,h=Math.max(.005*f,2),
n.fillRect(0,.8*f-h/2,g,h),n.fillStyle=v?"red":"#E0FF65",g=c*this.ta,n.fillRect(.5*c-g/2,.8*f-h/2,g,h)):(h=g=.55*f,n.drawImage(l(m,g),.5*c-g/2,.45*f-h/2,g,h),n.fillStyle="#3C3C3C",g=c,h=Math.max(.005*f,2),n.fillRect(0,.85*f-h/2,g,h),n.fillStyle=v?"red":"#E0FF65",g=c*this.ta,n.fillRect(.5*c-g/2,.85*f-h/2,g,h));t&&(q?a.globalAlpha=0===E?0:Math.min((b-z)/300,1):G&&(a.globalAlpha=Math.max(1-(b-u)/300,0)),a.drawImage(W,0,0,c,f));q&&300<=b-z&&2<=E&&(q=!1,O=b);!q&&b-O>=ba&&!G&&1<=this.ta&&(G=!0,u=b);if(G&&
b-u>=300+e||"undefined"!==typeof cr_is_preview&&1<=this.ta&&500>Date.now()-z)w=!0,G=q=!1,this.ug=y=W=null;++E}};g.prototype.SB=function(){this.tc&&(this.canvas.parentNode.removeChild(this.tc),this.tc=this.Yq=null);this.lo=Date.now();this.qh=Za();var a,e,c;if(this.as)for(a=0,e=this.K.length;a<e;a++)c=this.K[a],c.S||c.hq||!c.xa.rg||c.P();else this.kh=!1;a=0;for(e=this.ke.length;a<e;a++)this.ke[a].Wz();2<=this.Kc&&(a=this.Fb/this.Eb,e=this.width/this.height,this.yj=2!==this.Kc&&e>a||2===this.Kc&&e<a?
this.height/this.Eb:this.width/this.Fb);this.Mt?this.Hi[this.Mt].Fr():this.ke[0].Fr();this.as||(this.sn=1,this.trigger(L.prototype.j.Fs,null),window.C2_RegisterSW&&window.C2_RegisterSW());navigator.splashscreen&&navigator.splashscreen.hide&&navigator.splashscreen.hide();a=0;for(e=this.K.length;a<e;a++)c=this.K[a],c.hv&&c.hv();document.hidden||document.webkitHidden||document.mozHidden||document.msHidden?window.cr_setSuspended(!0):this.$a(!1);this.qc&&AppMobi.webview.execute("onGameReady();")};g.prototype.$a=
function(a,e,f){if(this.ua){var m=Za();if(f||!this.ck||a){a||(c?this.gr=c(this.gw):this.Nr=setTimeout(this.gw,this.fh?1:16));e=e||m;var d=this.Kc;((f=(document.mozFullScreen||document.webkitIsFullScreen||document.fullScreen||!!document.msFullscreenElement)&&!this.Mc)||this.gh)&&0<this.kg&&(d=this.kg);if(0<d){var d=window.innerWidth,k=window.innerHeight;this.Fi===d&&this.Ei===k||this.setSize(d,k)}this.Xa||(f?this.Cm||(this.Cm=!0):this.Cm?(this.Cm=!1,0===this.Kc&&this.setSize(Math.round(this.gv/this.devicePixelRatio),
Math.round(this.dv/this.devicePixelRatio),!0)):(this.gv=this.width,this.dv=this.height));this.kh&&(f=this.ht(),this.sn=this.ta,f&&(this.kh=!1,this.ta=1,this.trigger(L.prototype.j.Fs,null),window.C2_RegisterSW&&window.C2_RegisterSW()));this.tC(e);!this.ca&&!this.Xc||this.nq||this.al||a||(this.ca=!1,this.C?this.nc():this.ie(),this.Yk&&(this.canvas&&this.canvas.toDataURL&&(this.Zv=this.canvas.toDataURL(this.Yk[0],this.Yk[1]),window.cr_onSnapshot&&window.cr_onSnapshot(this.Zv),this.trigger(L.prototype.j.Mx,
null)),this.Yk=null));this.fF||(this.Ph++,this.Xg++,this.Im++);this.sk+=Za()-m}}};g.prototype.tC=function(a){var e,c,f,m,d,k,q,b;1E3<=a-this.qh&&(this.qh+=1E3,1E3<=a-this.qh&&(this.qh=a),this.Gp=this.Im,this.Im=0,this.op=this.sk,this.sk=0);e=0;0!==this.hn&&(e=a-this.hn,0>e&&(e=0),this.Sg=e/=1E3,.5<this.Sg?this.Sg=0:this.Sg>1/this.Vu&&(this.Sg=1/this.Vu));this.hn=a;this.of=this.Sg*this.Ig;this.hc.add(this.of);this.Qf.add(e);a=(document.mozFullScreen||document.webkitIsFullScreen||document.fullScreen||
!!document.msFullscreenElement||this.gh)&&!this.Mc;2<=this.Kc||a&&0<this.kg?(e=this.Fb/this.Eb,c=this.width/this.height,f=this.Kc,a&&0<this.kg&&(f=this.kg),this.yj=2!==f&&c>e||2===f&&c<e?this.height/this.Eb:this.width/this.Fb,this.ua&&(this.ua.ur(this.ua.scrollX),this.ua.wr(this.ua.scrollY))):this.yj=this.hh?this.devicePixelRatio:1;this.xc();this.Yc++;this.Ue.fD();this.Yc--;this.xc();this.Yc++;c=this.cv.ue();a=0;for(e=c.length;a<e;a++)c[a].qF();a=0;for(e=this.K.length;a<e;a++)if(k=this.K[a],!k.S&&
(k.jb.length||k.cb.length))for(c=0,f=k.k.length;c<f;c++)for(q=k.k[c],m=0,d=q.Y.length;m<d;m++)q.Y[m].$a();a=0;for(e=this.K.length;a<e;a++)if(k=this.K[a],!k.S&&(k.jb.length||k.cb.length))for(c=0,f=k.k.length;c<f;c++)for(q=k.k[c],m=0,d=q.Y.length;m<d;m++)b=q.Y[m],b.xv&&b.xv();c=this.Jq.ue();a=0;for(e=c.length;a<e;a++)c[a].$a();this.Yc--;this.TB();for(a=0;this.df&&10>a++;)this.Dt(this.df);a=0;for(e=this.qf.length;a<e;a++)this.qf[a].Vp=!1;this.ua.Vg&&this.ua.Vg.Ib();B(this.Fh);this.tq=!1;this.Yc++;a=
0;for(e=this.K.length;a<e;a++)if(k=this.K[a],!k.S&&(k.jb.length||k.cb.length))for(c=0,f=k.k.length;c<f;c++)for(q=k.k[c],m=0,d=q.Y.length;m<d;m++)b=q.Y[m],b.Ir&&b.Ir();c=this.Kq.ue();a=0;for(e=c.length;a<e;a++)c[a].Ir();this.Yc--};g.prototype.Ch=function(){var a,e,c,f,m,d,k,q,b;a=0;for(e=this.K.length;a<e;a++)if(k=this.K[a],!k.S)for(c=0,f=k.k.length;c<f;c++)if(q=k.k[c],q.Ch&&q.Ch(),q.Y)for(m=0,d=q.Y.length;m<d;m++)b=q.Y[m],b.Ch&&b.Ch()};g.prototype.Dt=function(a){var e=this.ua;this.ua.yD();var c,f,
m;if(this.C)for(c=0,f=this.K.length;c<f;c++)m=this.K[c],m.S||!m.hj||m.global&&0!==m.k.length||-1!==a.Xj.indexOf(m)||m.hj();e==a&&B(this.Ue.gd);B(this.Fh);this.Hv(!0);a.Fr();this.Hv(!1);this.tq=this.ca=!0;this.xc()};g.prototype.Hv=function(a){var e,c,f,m,d,k,q,b,u;e=0;for(c=this.jb.length;e<c;e++)f=this.jb[e],a?f.yk&&f.yk():f.zk&&f.zk();e=0;for(c=this.K.length;e<c;e++)if(f=this.K[e],f.global||f.xa.ko)for(m=0,d=f.k.length;m<d;m++)if(k=f.k[m],a?k.yk&&k.yk():k.zk&&k.zk(),k.Y)for(q=0,b=k.Y.length;q<b;q++)u=
k.Y[q],a?u.yk&&u.yk():u.zk&&u.zk()};g.prototype.Oh=function(a){this.Jq.add(a)};g.prototype.CD=function(a){this.Kq.add(a)};g.prototype.Ge=function(a){return a&&-1!==a.Ni?this.Sg*a.Ni:this.of};g.prototype.ie=function(){this.ua.ie(this.Va);this.qc&&this.Va.present()};g.prototype.nc=function(){this.Wa&&(this.Tg=1,this.ua.lf(this.C));this.ua.nc(this.C);this.C.SC()};g.prototype.Zo=function(a){a&&this.um.push(a)};g.prototype.$C=function(a){Ga(this.um,a)};g.prototype.mi=function(a){a=a.toString();return this.Bf.hasOwnProperty(a)?
this.Bf[a]:null};var H=[];g.prototype.Sf=function(a){var e,c;e=a.type.name;var f=null;if(this.Rg.hasOwnProperty(e)){if(f=this.Rg[e],f.contains(a))return}else f=H.length?H.pop():new da,this.Rg[e]=f;f.add(a);this.ng=!0;if(a.fc)for(e=0,c=a.siblings.length;e<c;e++)this.Sf(a.siblings[e]);this.gq&&f.jj.push(a);this.fq||(this.Yc++,this.trigger(Object.getPrototypeOf(a.type.xa).j.rs,a),this.Yc--)};g.prototype.xc=function(){if(this.ng){var a,e,c,f,m,d;this.gq=!0;c=0;for(m=this.he.length;c<m;++c)for(a=this.he[c],
e=a.type,e.k.push(a),f=0,d=e.cb.length;f<d;++f)e.cb[f].k.push(a),e.cb[f].$i=!0;B(this.he);this.Ex();Ya(this.Rg);this.ng=this.gq=!1}};g.prototype.Ex=function(){for(var a in this.Rg)this.Rg.hasOwnProperty(a)&&this.Lw(this.Rg[a])};g.prototype.Lw=function(a){var e=a.ue(),c=e[0].type,f,m,d,k,q,b;$a(c.k,a);c.$i=!0;0===c.k.length&&(c.Pl=!1);f=0;for(m=c.cb.length;f<m;++f)b=c.cb[f],$a(b.k,a),b.$i=!0;f=0;for(m=this.Ue.gd.length;f<m;++f)if(q=this.Ue.gd[f],q.Pc.hasOwnProperty(c.index)&&$a(q.Pc[c.index].sf,a),
!c.S)for(d=0,k=c.cb.length;d<k;++d)b=c.cb[d],q.Pc.hasOwnProperty(b.index)&&$a(q.Pc[b.index].sf,a);if(q=e[0].A){if(q.Cd)for(d=q.k,f=0,m=d.length;f<m;++f)k=d[f],a.contains(k)&&(k.Sa(),q.vc.update(k,k.bd,null),k.bd.set(0,0,-1,-1));$a(q.k,a);q.Tk(0)}for(f=0;f<e.length;++f)this.Kw(e[f],c);a.clear();H.push(a);this.ca=!0};g.prototype.Kw=function(a,e){var c,f,m;c=0;for(f=this.um.length;c<f;++c)this.um[c](a);a.Ed&&e.Cj.update(a,a.Ed,null);(c=a.A)&&c.Vi(a,!0);if(a.Y)for(c=0,f=a.Y.length;c<f;++c)m=a.Y[c],m.Cf&&
m.Cf(),m.behavior.Mi.remove(a);this.cv.remove(a);this.Jq.remove(a);this.Kq.remove(a);a.Cf&&a.Cf();this.Bf.hasOwnProperty(a.uid.toString())&&delete this.Bf[a.uid.toString()];this.An--;100>e.om.length&&e.om.push(a)};g.prototype.hm=function(a,e,c,f){if(a.S){var m=ua(Math.random()*a.yg.length);return this.hm(a.yg[m],e,c,f)}return a.Id?this.ef(a.Id,e,!1,c,f,!1):null};var F=[];g.prototype.ef=function(a,e,c,f,m,d){var k,q,b,u;if(!a)return null;var t=this.K[a[1]],n=t.xa.rg;if(this.kh&&n&&!t.hq||n&&!this.C&&
11===a[0][11])return null;var g=e;n||(e=null);var h;t.om.length?(h=t.om.pop(),h.Hb=!0,t.xa.T.call(h,t)):(h=new t.xa.T(t),h.Hb=!1);!c||d||this.Bf.hasOwnProperty(a[2].toString())?h.uid=this.xk++:h.uid=a[2];this.Bf[h.uid.toString()]=h;h.Av=this.Zu++;h.dh=t.k.length;k=0;for(q=this.he.length;k<q;++k)this.he[k].type===t&&h.dh++;h.Rj=Fb;h.toString=Gb;b=a[3];if(h.Hb)Ya(h.U);else{h.U={};if("undefined"!==typeof cr_is_preview)for(h.eu=[],h.eu.length=b.length,k=0,q=b.length;k<q;k++)h.eu[k]=b[k][1];h.Ub=[];h.Ub.length=
b.length}k=0;for(q=b.length;k<q;k++)h.Ub[k]=b[k][0];if(n){var l=a[0];h.x=ja(f)?l[0]:f;h.y=ja(m)?l[1]:m;h.z=l[2];h.width=l[3];h.height=l[4];h.depth=l[5];h.u=l[6];h.opacity=l[7];h.Cc=l[8];h.Dc=l[9];h.yc=l[10];k=l[11];!this.C&&t.ka.length&&(h.yc=k);h.Dj=ib(h.yc);this.O&&jb(h,h.yc,this.O);if(h.Hb){k=0;for(q=l[12].length;k<q;k++)for(b=0,u=l[12][k].length;b<u;b++)h.mb[k][b]=l[12][k][b];h.bb.set(0,0,0,0);h.Ed.set(0,0,-1,-1);h.bd.set(0,0,-1,-1);h.Uc.Uk(h.bb);B(h.ep)}else{h.mb=l[12].slice(0);k=0;for(q=h.mb.length;k<
q;k++)h.mb[k]=l[12][k].slice(0);h.Ia=[];h.Wf=[];h.Wf.length=t.ka.length;h.bb=new ya(0,0,0,0);h.Ed=new ya(0,0,-1,-1);h.bd=new ya(0,0,-1,-1);h.Uc=new za;h.ep=[];h.D=Lb;h.$E=Mb;h.Sb=Nb;h.Sa=Ob;h.GD=Pb;h.ww=Qb;h.Ld=Rb}h.fj=!1;h.kw=0;h.jw=0;h.iw=null;14===l.length&&(h.fj=!0,h.kw=l[13][0],h.jw=l[13][1],h.iw=l[13][2]);k=0;for(q=t.ka.length;k<q;k++)h.Wf[k]=!0;h.Kf=!0;h.se=Sb;h.se();h.xw=!!h.Ia.length;h.dp=!0;h.kp=!0;t.Ol=!0;h.visible=!0;h.Ni=-1;h.A=e;h.ve=e.k.length;h.Tg=0;"undefined"===typeof h.Ma&&(h.Ma=
null);this.ca=h.Fd=!0}var r;B(F);k=0;for(q=t.cb.length;k<q;k++)F.push.apply(F,t.cb[k].jb);F.push.apply(F,t.jb);if(h.Hb)for(k=0,q=F.length;k<q;k++){var G=F[k];r=h.Y[k];r.Hb=!0;G.behavior.T.call(r,G,h);l=a[4][k];b=0;for(u=l.length;b<u;b++)r.m[b]=l[b];r.P();G.behavior.Mi.add(h)}else for(h.Y=[],k=0,q=F.length;k<q;k++)G=F[k],r=new G.behavior.T(G,h),r.Hb=!1,r.m=a[4][k].slice(0),r.P(),h.Y.push(r),G.behavior.Mi.add(h);l=a[5];if(h.Hb)for(k=0,q=l.length;k<q;k++)h.m[k]=l[k];else h.m=l.slice(0);this.he.push(h);
this.ng=!0;e&&(e.xj(h,!0),1!==e.Qd||1!==e.Rd)&&(t.Pl=!0);this.An++;if(t.fc){if(h.fc=!0,h.Hb?B(h.siblings):h.siblings=[],!c&&!d){k=0;for(q=t.jd.length;k<q;k++)if(t.jd[k]!==t){if(!t.jd[k].Id)return null;h.siblings.push(this.ef(t.jd[k].Id,g,!1,n?h.x:f,n?h.y:m,!0))}k=0;for(q=h.siblings.length;k<q;k++)for(h.siblings[k].siblings.push(h),b=0;b<q;b++)k!==b&&h.siblings[k].siblings.push(h.siblings[b])}}else h.fc=!1,h.siblings=null;h.P();k=0;for(q=h.Y.length;k<q;k++)h.Y[k].OC&&h.Y[k].OC();return h};g.prototype.Om=
function(a){var e,c;e=0;for(c=this.ua.ea.length;e<c;e++){var f=this.ua.ea[e];if(lb(f.name,a))return f}return null};g.prototype.li=function(a){a=ua(a);0>a&&(a=0);a>=this.ua.ea.length&&(a=this.ua.ea.length-1);return this.ua.ea[a]};g.prototype.Nm=function(a){return la(a)?this.li(a):this.Om(a.toString())};g.prototype.lp=function(a){var e,c;e=0;for(c=a.length;e<c;e++)a[e].ba().la=!0};g.prototype.Ik=function(a){var e,c;e=0;for(c=a.length;e<c;e++)a[e].Ik()};g.prototype.Eh=function(a){var e,c;e=0;for(c=a.length;e<
c;e++)a[e].Eh()};g.prototype.Oe=function(a){var e,c;e=0;for(c=a.length;e<c;e++)a[e].Oe()};g.prototype.vw=function(a){if(a.Ol){var e,c,f=a.k;e=0;for(c=f.length;e<c;++e)f[e].ww();f=this.he;e=0;for(c=f.length;e<c;++e)f[e].type===a&&f[e].ww();a.Ol=!1}};g.prototype.Kp=function(a,e,c,f){var m,d,k=a?1!==a.Qd||1!==a.Rd:!1;if(e.S)for(a=0,m=e.yg.length;a<m;++a)d=e.yg[a],k||d.Pl?Ea(f,d.k):(this.vw(d),d.Cj.Un(c,f));else k||e.Pl?Ea(f,e.k):(this.vw(e),e.Cj.Un(c,f))};g.prototype.Xt=function(a,e,c,f){var m,d;m=0;
for(d=e.length;m<d;++m)this.Kp(a,e[m],c,f)};g.prototype.CB=function(a,e,c){var f=this.$v;f&&this.Xt(a,f.yn,e,c)};g.prototype.vB=function(a,e,c){var f=this.pu;f&&this.Xt(a,f.yn,e,c)};g.prototype.qo=function(a,e,c){var f=a.ba(),m,d,k,q,b=this.nb().tb.yd,u,h,t;if(f.la)for(f.la=!1,B(f.k),m=0,q=a.k.length;m<q;m++)k=a.k[m],k.Sa(),u=k.A.sb(e,c,!0),h=k.A.sb(e,c,!1),k.Sb(u,h)?f.k.push(k):b&&f.pa.push(k);else{d=0;t=b?f.pa:f.k;m=0;for(q=t.length;m<q;m++)k=t[m],k.Sa(),u=k.A.sb(e,c,!0),h=k.A.sb(e,c,!1),k.Sb(u,
h)&&(b?f.k.push(k):(f.k[d]=f.k[m],d++));t.length=d}a.pd();return f.Up()};g.prototype.wc=function(a,e){if(!(a&&e&&a!==e&&a.Fd&&e.Fd))return!1;a.Sa();e.Sa();var c=a.A,f=e.A,m,d,k,q,b,u,h,t;if(c===f||c.Qd===f.Qd&&f.Rd===f.Rd&&c.scale===f.scale&&c.u===f.u&&c.we===f.we){if(!a.bb.ZB(e.bb)||!a.Uc.fu(e.Uc)||a.fj&&e.fj)return!1;if(a.fj)return this.ew(a,e);if(e.fj)return this.ew(e,a);h=a.Ma&&!a.Ma.ti();m=e.Ma&&!e.Ma.ti();if(!h&&!m)return!0;h?(a.Ma.Ng(a.width,a.height,a.u),h=a.Ma):(this.pe.Zi(a.Uc,a.x,a.y,a.width,
a.height),h=this.pe);m?(e.Ma.Ng(e.width,e.height,e.u),t=e.Ma):(this.pe.Zi(e.Uc,e.x,e.y,e.width,e.height),t=this.pe);return h.Yj(t,e.x-a.x,e.y-a.y)}h=a.Ma&&!a.Ma.ti();m=e.Ma&&!e.Ma.ti();h?(a.Ma.Ng(a.width,a.height,a.u),this.pe.Sv(a.Ma)):this.pe.Zi(a.Uc,a.x,a.y,a.width,a.height);h=this.pe;m?(e.Ma.Ng(e.width,e.height,e.u),this.Hr.Sv(e.Ma)):this.Hr.Zi(e.Uc,e.x,e.y,e.width,e.height);t=this.Hr;m=0;for(d=h.od;m<d;m++)k=2*m,q=k+1,b=h.Ya[k],u=h.Ya[q],h.Ya[k]=c.Oc(b+a.x,u+a.y,!0),h.Ya[q]=c.Oc(b+a.x,u+a.y,!1);
h.Sa();m=0;for(d=t.od;m<d;m++)k=2*m,q=k+1,b=t.Ya[k],u=t.Ya[q],t.Ya[k]=f.Oc(b+e.x,u+e.y,!0),t.Ya[q]=f.Oc(b+e.x,u+e.y,!1);t.Sa();return h.Yj(t,0,0)};var R=new za;new ya(0,0,0,0);var C=[];g.prototype.ew=function(a,e){var c,f,m,k,d=e.bb,q=a.x,b=a.y;a.pB(d,C);var u=e.Ma&&!e.Ma.ti();c=0;for(f=C.length;c<f;++c)if(m=C[c],k=m.Qa,d.$B(k,q,b)&&(R.Uk(k),R.offset(q,b),R.fu(e.Uc)))if(u)if(e.Ma.Ng(e.width,e.height,e.u),m.Ff){if(m.Ff.Yj(e.Ma,e.x-(q+k.left),e.y-(b+k.top)))return B(C),!0}else{if(this.pe.Zi(R,0,0,k.right-
k.left,k.bottom-k.top),this.pe.Yj(e.Ma,e.x,e.y))return B(C),!0}else if(m.Ff){if(this.pe.Zi(e.Uc,0,0,e.width,e.height),m.Ff.Yj(this.pe,-(q+k.left),-(b+k.top)))return B(C),!0}else return B(C),!0;B(C);return!1};g.prototype.Sr=function(a,e){if(!e)return!1;var c,f,m,k,d;c=0;for(f=a.jb.length;c<f;c++)if(a.jb[c].behavior instanceof e)return!0;if(!a.S)for(c=0,f=a.cb.length;c<f;c++)for(d=a.cb[c],m=0,k=d.jb.length;m<k;m++)if(d.jb[m].behavior instanceof e)return!0;return!1};g.prototype.Tr=function(a){return this.Sr(a,
jc.qE)};g.prototype.Ur=function(a){return this.Sr(a,tc)};var X=[];g.prototype.Lb=function(a){var e,c,f;a.Sa();this.CB(a.A,a.bb,X);e=0;for(c=X.length;e<c;++e)if(f=X[e],f.U.solidEnabled&&this.wc(a,f))return B(X),f;B(X);return null};var Y=[];g.prototype.Nf=function(a,e){var c=null;e&&(c=Y,B(c));a.Sa();this.vB(a.A,a.bb,X);var f,m,k;f=0;for(m=X.length;f<m;++f)if(k=X[f],k.U.jumpthruEnabled&&this.wc(a,k))if(e)c.push(k);else return B(X),k;B(X);return c};g.prototype.zd=function(a,e,c,f,m,k){f=f||50;var d=
a.x,q=a.y,b,u=null,h=null;for(b=0;b<f;b++)if(a.x=d+e*b,a.y=q+c*b,a.D(),!this.wc(a,u)&&((u=this.Lb(a))&&(h=u),!u&&(m&&(k?u=this.wc(a,k)?k:null:u=this.Nf(a),u&&(h=u)),!u)))return h&&this.Tn(a,e,c,h),!0;a.x=d;a.y=q;a.D();return!1};g.prototype.Cv=function(a,e,c,f){f=f||50;var m=a.x,k=a.y,d=null,q=null,b,u,h;for(b=0;b<f;++b)for(u=0;2>u;++u)if(h=2*u-1,a.x=m+e*b*h,a.y=k+c*b*h,a.D(),!this.wc(a,d))if(d=this.Lb(a))q=d;else return q&&this.Tn(a,e*h,c*h,q),!0;a.x=m;a.y=k;a.D();return!1};g.prototype.Tn=function(a,
e,c,f){var m=2,k,d=!1;k=!1;for(var q=a.x,b=a.y;16>=m;)k=1/m,m*=2,a.x+=e*k*(d?1:-1),a.y+=c*k*(d?1:-1),a.D(),this.wc(a,f)?k=d=!0:(k=d=!1,q=a.x,b=a.y);k&&(a.x=q,a.y=b,a.D())};g.prototype.Dv=function(a,e){var c=ja(e)?100:e,f=0,m=a.x,k=a.y,d=0,q=0,b=0,u=this.Lb(a);if(!u)return!0;for(;f<=c;){switch(d){case 0:q=0;b=-1;f++;break;case 1:q=1;b=-1;break;case 2:q=1;b=0;break;case 3:b=q=1;break;case 4:q=0;b=1;break;case 5:q=-1;b=1;break;case 6:q=-1;b=0;break;case 7:b=q=-1}d=(d+1)%8;a.x=ua(m+q*f);a.y=ua(k+b*f);
a.D();if(!this.wc(a,u)&&(u=this.Lb(a),!u))return!0}a.x=m;a.y=k;a.D();return!1};g.prototype.Bg=function(a,e){a.Fd&&e.Fd&&this.Fh.push([a,e])};g.prototype.Ez=function(a,e,c){var f,m,k;f=0;for(m=this.Fh.length;f<m;++f){k=this.Fh[f];if(k[0]===a)k=k[1];else if(k[1]===a)k=k[0];else continue;if(e.S){if(-1===e.yg.indexOf(e))continue}else if(k.type!==e)continue;-1===c.indexOf(k)&&c.push(k)}};g.prototype.Qz=function(a,e){var c,f,m;c=0;for(f=this.Fh.length;c<f;c++)if(m=this.Fh[c],m[0]===a&&m[1]===e||m[0]===
e&&m[1]===a)return!0;return!1};g.prototype.Nz=function(a,e,c){var f=a.x,m=a.y,k=qa(10,Ta(e,c,f,m)),d=Oa(e,c,f,m),q=this.Lb(a);if(!q)return La(d+sa);var b=q,u,h,t,n,g=J(5);for(u=1;36>u;u++)if(h=d-u*g,a.x=e+Math.cos(h)*k,a.y=c+Math.sin(h)*k,a.D(),!this.wc(a,b)&&(b=this.Lb(a),!b)){t=h;break}36===u&&(t=La(d+sa));b=q;for(u=1;36>u;u++)if(h=d+u*g,a.x=e+Math.cos(h)*k,a.y=c+Math.sin(h)*k,a.D(),!this.wc(a,b)&&(b=this.Lb(a),!b)){n=h;break}36===u&&(n=La(d+sa));a.x=f;a.y=m;a.D();if(n===t)return n;a=Pa(n,t)/2;
a=Ra(n,t)?La(t+a+sa):La(n+a);t=Math.cos(d);d=Math.sin(d);n=Math.cos(a);a=Math.sin(a);e=t*n+d*a;return Oa(0,0,t-2*e*n,d-2*e*a)};var I=-1;g.prototype.trigger=function(a,e,c){if(!this.ua)return!1;var f=this.ua.Vg;if(!f)return!1;var m=!1,k,d,q;I++;var b=f.rp;d=0;for(q=b.length;d<q;++d)k=this.ow(a,e,b[d],c),m=m||k;k=this.ow(a,e,f,c);I--;return m||k};g.prototype.ow=function(a,e,c,f){var m=!1,k,d,q,b;if(e)for(q=this.Qr(a,e,e.type.name,c,f),m=m||q,b=e.type.cb,k=0,d=b.length;k<d;++k)q=this.Qr(a,e,b[k].name,
c,f),m=m||q;else q=this.Qr(a,e,"system",c,f),m=m||q;return m};g.prototype.Qr=function(a,e,c,f,m){var k,d=!1,q=!1,q="undefined"!==typeof m,b=(q?f.It:f.pw)[c];if(!b)return d;var u=null;f=0;for(k=b.length;f<k;++f)if(b[f].method==a){u=b[f].Kj;break}if(!u)return d;var h;q?h=u[m]:h=u;if(!h)return null;f=0;for(k=h.length;f<k;f++)a=h[f][0],m=h[f][1],q=this.fB(e,c,a,m),d=d||q;return d};g.prototype.fB=function(a,e,c,f){var m,k,d=!1;this.Rr++;var q=this.nb().tb;q&&this.Ik(q.Fg);var b=1<this.Rr;this.Ik(c.Fg);
b&&this.UC();var u=this.Sn(c);u.tb=c;a&&(m=this.types[e].ba(),m.la=!1,B(m.k),m.k[0]=a,this.types[e].pd());a=!0;if(c.parent){e=u.dw;for(m=c.parent;m;)e.push(m),m=m.parent;e.reverse();m=0;for(k=e.length;m<k;m++)if(!e[m].hD()){a=!1;break}}a&&(this.Xg++,c.yd?c.gD(f):c.Ib(),d=d||u.ph);this.On();b&&this.NC();this.Oe(c.Fg);q&&this.Oe(q.Fg);this.ng&&0===this.Yc&&0===I&&!this.iq&&this.xc();this.Rr--;return d};g.prototype.ki=function(){var a=this.nb();return a.tb.Rb[a.Ab]};g.prototype.cC=function(){return 0===
this.nb().Ab};g.prototype.qB=function(){var a=this.nb();return a.tb.Dd[a.Tc]};g.prototype.UC=function(){this.un++;this.un>=this.Aq.length&&this.Aq.push([])};g.prototype.NC=function(){this.un--};g.prototype.Qt=function(){return this.Aq[this.un]};g.prototype.Sn=function(a){this.xm++;this.xm>=this.yp.length&&this.yp.push(new Tb);var e=this.nb();e.reset(a);return e};g.prototype.On=function(){this.xm--};g.prototype.nb=function(){return this.yp[this.xm]};g.prototype.Bv=function(a){this.uk++;this.uk>=this.tk.length&&
this.tk.push(aa({name:a,index:0,qb:!1}));var e=this.Rt();e.name=a;e.index=0;e.qb=!1;return e};g.prototype.vv=function(){this.uk--};g.prototype.Rt=function(){return this.tk[this.uk]};g.prototype.Tt=function(a,e){for(var c,f,m,k,d,q;e;){c=0;for(f=e.Ud.length;c<f;c++)if(q=e.Ud[c],q instanceof Ub&&lb(a,q.name))return q;e=e.parent}c=0;for(f=this.qf.length;c<f;c++)for(d=this.qf[c],m=0,k=d.jg.length;m<k;m++)if(q=d.jg[m],q instanceof Ub&&lb(a,q.name))return q;return null};g.prototype.Ut=function(a){var e,
c;e=0;for(c=this.ke.length;e<c;e++)if(this.ke[e].ya===a)return this.ke[e];return null};g.prototype.Qm=function(a){var e,c;e=0;for(c=this.K.length;e<c;e++)if(this.K[e].ya===a)return this.K[e];return null};g.prototype.sB=function(a){var e,c;e=0;for(c=this.Yf.length;e<c;e++)if(this.Yf[e].ya===a)return this.Yf[e];return null};g.prototype.dA=function(a,e){this.Yk=[a,e];this.ca=!0};g.prototype.TB=function(){var a=this,e=this.tr,c=this.xf,f=this.nn,m=!1;this.Xv&&(m=!0,e="__c2_continuouspreview",this.Xv=
!1);if(e.length){this.xc();c=this.lD();if(b()&&!this.Xc)h(e,c,function(){ha("Saved state to IndexedDB storage ("+c.length+" bytes)");a.xf=c;a.trigger(L.prototype.j.Ko,null);a.xf="";m&&n()},function(f){try{localStorage.setItem("__c2save_"+e,c),ha("Saved state to WebStorage ("+c.length+" bytes)"),a.xf=c,a.trigger(L.prototype.j.Ko,null),a.xf="",m&&n()}catch(k){ha("Failed to save game state: "+f+"; "+k),a.trigger(L.prototype.j.Ks,null)}});else try{localStorage.setItem("__c2save_"+e,c),ha("Saved state to WebStorage ("+
c.length+" bytes)"),a.xf=c,this.trigger(L.prototype.j.Ko,null),a.xf="",m&&n()}catch(k){ha("Error saving to WebStorage: "+k),a.trigger(L.prototype.j.Ks,null)}this.nn=this.tr="";this.Wb=null}if(f.length){if(b()&&!this.Xc)r(f,function(e){e?(a.Wb=e,ha("Loaded state from IndexedDB storage ("+a.Wb.length+" bytes)")):(a.Wb=localStorage.getItem("__c2save_"+f)||"",ha("Loaded state from WebStorage ("+a.Wb.length+" bytes)"));a.al=!1;a.Wb||(a.Wb=null,a.trigger(L.prototype.j.El,null))},function(){a.Wb=localStorage.getItem("__c2save_"+
f)||"";ha("Loaded state from WebStorage ("+a.Wb.length+" bytes)");a.al=!1;a.Wb||(a.Wb=null,a.trigger(L.prototype.j.El,null))});else{try{this.Wb=localStorage.getItem("__c2save_"+f)||"",ha("Loaded state from WebStorage ("+this.Wb.length+" bytes)")}catch(d){this.Wb=null}this.al=!1;a.Wb||(a.Wb=null,a.trigger(L.prototype.j.El,null))}this.tr=this.nn=""}null!==this.Wb&&(this.xc(),this.sC(this.Wb)?(this.xf=this.Wb,this.trigger(L.prototype.j.by,null),this.xf=""):a.trigger(L.prototype.j.El,null),this.Wb=null)};
g.prototype.lD=function(){var e,c,f,m,k,d,q,b={c2save:!0,version:1,rt:{time:this.hc.fa,walltime:this.Qf.fa,timescale:this.Ig,tickcount:this.Ph,execcount:this.Xg,next_uid:this.xk,running_layout:this.ua.ya,start_time_offset:Date.now()-this.lo},types:{},layouts:{},events:{groups:{},cnds:{},acts:{},vars:{}}};e=0;for(c=this.K.length;e<c;e++)if(k=this.K[e],!k.S&&!this.Tr(k)){d={instances:[]};Xa(k.U)&&(d.ex=a(k.U));f=0;for(m=k.k.length;f<m;f++)d.instances.push(this.sr(k.k[f]));b.types[k.ya.toString()]=d}e=
0;for(c=this.ke.length;e<c;e++)f=this.ke[e],b.layouts[f.ya.toString()]=f.Ha();m=b.events.groups;e=0;for(c=this.Yf.length;e<c;e++)f=this.Yf[e],m[f.ya.toString()]=this.oi[f.Sj].$g;c=b.events.cnds;for(q in this.gg)this.gg.hasOwnProperty(q)&&(e=this.gg[q],Xa(e.U)&&(c[q]={ex:a(e.U)}));c=b.events.acts;for(q in this.Xf)this.Xf.hasOwnProperty(q)&&(e=this.Xf[q],Xa(e.U)&&(c[q]={ex:a(e.U)}));c=b.events.vars;for(q in this.kj)this.kj.hasOwnProperty(q)&&(e=this.kj[q],e.dn||e.parent&&!e.fk||(c[q]=e.data));b.system=
this.Ue.Ha();return JSON.stringify(b)};g.prototype.Fv=function(){var a,e,c,f,m,k;this.Bf={};a=0;for(e=this.K.length;a<e;a++)if(c=this.K[a],!c.S)for(f=0,m=c.k.length;f<m;f++)k=c.k[f],this.Bf[k.uid.toString()]=k};g.prototype.sC=function(a){var e;try{e=JSON.parse(a)}catch(c){return!1}if(!e.c2save||1<e.version)return!1;this.ak=!0;a=e.rt;this.hc.reset();this.hc.fa=a.time;this.Qf.reset();this.Qf.fa=a.walltime||0;this.Ig=a.timescale;this.Ph=a.tickcount;this.Xg=a.execcount;this.lo=Date.now()-a.start_time_offset;
var f=a.running_layout;if(f!==this.ua.ya)if(f=this.Ut(f))this.Dt(f);else return;var m,k,d,q,b,u,h;u=e.types;for(k in u)if(u.hasOwnProperty(k)&&(q=this.Qm(parseInt(k,10)))&&!q.S&&!this.Tr(q)){u[k].ex?q.U=u[k].ex:Ya(q.U);b=q.k;d=u[k].instances;f=0;for(m=ra(b.length,d.length);f<m;f++)this.pn(b[f],d[f]);f=d.length;for(m=b.length;f<m;f++)this.Sf(b[f]);f=b.length;for(m=d.length;f<m;f++){b=null;if(q.xa.rg&&(b=this.ua.Pm(d[f].w.l),!b))continue;b=this.ef(q.Id,b,!1,0,0,!0);this.pn(b,d[f])}q.$i=!0}this.xc();
this.Fv();m=e.layouts;for(k in m)m.hasOwnProperty(k)&&(f=this.Ut(parseInt(k,10)))&&f.Oa(m[k]);m=e.events.groups;for(k in m)m.hasOwnProperty(k)&&(f=this.sB(parseInt(k,10)))&&this.oi[f.Sj]&&this.oi[f.Sj].Qk(m[k]);f=e.events.cnds;for(k in this.gg)this.gg.hasOwnProperty(k)&&(f.hasOwnProperty(k)?this.gg[k].U=f[k].ex:this.gg[k].U={});f=e.events.acts;for(k in this.Xf)this.Xf.hasOwnProperty(k)&&(f.hasOwnProperty(k)?this.Xf[k].U=f[k].ex:this.Xf[k].U={});f=e.events.vars;for(k in f)f.hasOwnProperty(k)&&this.kj.hasOwnProperty(k)&&
(this.kj[k].data=f[k]);this.xk=a.next_uid;this.ak=!1;f=0;for(m=this.Bm.length;f<m;++f)b=this.Bm[f],this.trigger(Object.getPrototypeOf(b.type.xa).j.Uf,b);B(this.Bm);this.Ue.Oa(e.system);f=0;for(m=this.K.length;f<m;f++)if(q=this.K[f],!q.S&&!this.Tr(q))for(e=0,k=q.k.length;e<k;e++){b=q.k[e];if(q.fc)for(u=b.Rj(),B(b.siblings),a=0,d=q.jd.length;a<d;a++)h=q.jd[a],q!==h&&b.siblings.push(h.k[u]);b.ye&&b.ye();if(b.Y)for(a=0,d=b.Y.length;a<d;a++)u=b.Y[a],u.ye&&u.ye()}return this.ca=!0};g.prototype.sr=function(e,
c){var f,m,k,d,q;d=e.type;k=d.xa;var b={};c?b.c2=!0:b.uid=e.uid;Xa(e.U)&&(b.ex=a(e.U));if(e.Ub&&e.Ub.length)for(b.ivs={},f=0,m=e.Ub.length;f<m;f++)b.ivs[e.type.aq[f].toString()]=e.Ub[f];if(k.rg){k={x:e.x,y:e.y,w:e.width,h:e.height,l:e.A.ya,zi:e.Ld()};0!==e.u&&(k.a=e.u);1!==e.opacity&&(k.o=e.opacity);.5!==e.Cc&&(k.hX=e.Cc);.5!==e.Dc&&(k.hY=e.Dc);0!==e.yc&&(k.bm=e.yc);e.visible||(k.v=e.visible);e.Fd||(k.ce=e.Fd);-1!==e.Ni&&(k.mts=e.Ni);if(d.ka.length)for(k.fx=[],f=0,m=d.ka.length;f<m;f++)q=d.ka[f],
k.fx.push({name:q.name,active:e.Wf[q.index],params:e.mb[q.index]});b.w=k}if(e.Y&&e.Y.length)for(b.behs={},f=0,m=e.Y.length;f<m;f++)d=e.Y[f],d.Ha&&(b.behs[d.type.ya.toString()]=d.Ha());e.Ha&&(b.data=e.Ha());return b};g.prototype.uB=function(a,e){var c,f;c=0;for(f=a.aq.length;c<f;c++)if(a.aq[c]===e)return c;return-1};g.prototype.oB=function(a,e){var c,f;c=0;for(f=a.Y.length;c<f;c++)if(a.Y[c].type.ya===e)return c;return-1};g.prototype.pn=function(a,e,c){var f,m,k,d,q;q=a.type;var b=q.xa;if(c){if(!e.c2)return}else a.uid=
e.uid;e.ex?a.U=e.ex:Ya(a.U);if(m=e.ivs)for(f in m)m.hasOwnProperty(f)&&(k=this.uB(q,parseInt(f,10)),0>k||k>=a.Ub.length||(d=m[f],null===d&&(d=NaN),a.Ub[k]=d));if(b.rg){k=e.w;a.A.ya!==k.l&&(m=a.A,a.A=this.ua.Pm(k.l),a.A?(m.Vi(a,!0),a.A.xj(a,!0),a.D(),a.A.Tk(0)):(a.A=m,c||this.Sf(a)));a.x=k.x;a.y=k.y;a.width=k.w;a.height=k.h;a.ve=k.zi;a.u=k.hasOwnProperty("a")?k.a:0;a.opacity=k.hasOwnProperty("o")?k.o:1;a.Cc=k.hasOwnProperty("hX")?k.hX:.5;a.Dc=k.hasOwnProperty("hY")?k.hY:.5;a.visible=k.hasOwnProperty("v")?
k.v:!0;a.Fd=k.hasOwnProperty("ce")?k.ce:!0;a.Ni=k.hasOwnProperty("mts")?k.mts:-1;a.yc=k.hasOwnProperty("bm")?k.bm:0;a.Dj=ib(a.yc);this.O&&jb(a,a.yc,this.O);a.D();if(k.hasOwnProperty("fx"))for(c=0,m=k.fx.length;c<m;c++)d=q.Mp(k.fx[c].name),0>d||(a.Wf[d]=k.fx[c].active,a.mb[d]=k.fx[c].params);a.se()}if(q=e.behs)for(f in q)q.hasOwnProperty(f)&&(c=this.oB(a,parseInt(f,10)),0>c||a.Y[c].Oa(q[f]));e.data&&a.Oa(e.data)};g.prototype.Jt=function(a,e,c){window.resolveLocalFileSystemURL(cordova.file.applicationDirectory+
"www/"+a,function(a){a.file(e,c)},c)};g.prototype.gB=function(a,e){this.Jt("data.js",function(c){var f=new FileReader;f.onload=function(e){a(e.target.result)};f.onerror=e;f.readAsText(c)},e)};var N=[],Q=0;g.prototype.Fq=function(){if(N.length&&!(8<=Q)){Q++;var a=N.shift();this.fA(a.filename,a.AD,a.DA)}};g.prototype.Kt=function(a,e,c){var f=this;N.push({filename:a,AD:function(a){Q--;f.Fq();e(a)},DA:function(a){Q--;f.Fq();c(a)}});this.Fq()};g.prototype.fA=function(a,e,c){this.Jt(a,function(a){var c=
new FileReader;c.onload=function(a){e(a.target.result)};c.readAsArrayBuffer(a)},c)};g.prototype.hB=function(a,e,c){var f="",m=a.toLowerCase(),k=m.substr(m.length-4),m=m.substr(m.length-5);".mp4"===k?f="video/mp4":".webm"===m?f="video/webm":".m4a"===k?f="audio/mp4":".mp3"===k&&(f="audio/mpeg");this.Kt(a,function(a){a=URL.createObjectURL(new Blob([a],{type:f}));e(a)},c)};g.prototype.aC=function(a){return/^(?:[a-z]+:)?\/\//.test(a)||"data:"===a.substr(0,5)||"blob:"===a.substr(0,5)};g.prototype.Rk=function(a,
e){this.bn&&!this.aC(e)?this.hB(e,function(e){a.src=e},function(a){alert("Failed to load image: "+a)}):a.src=e};g.prototype.bo=function(a,e){"undefined"!==typeof a.imageSmoothingEnabled?a.imageSmoothingEnabled=e:(a.webkitImageSmoothingEnabled=e,a.mozImageSmoothingEnabled=e,a.msImageSmoothingEnabled=e)};Vb=function(a){return new g(document.getElementById(a))};Wb=function(a,e){return new g({dc:!0,width:a,height:e})};window.cr_createRuntime=Vb;window.cr_createDCRuntime=Wb;window.createCocoonJSRuntime=
function(){window.c2cocoonjs=!0;var a=document.createElement("screencanvas")||document.createElement("canvas");a.cf=!0;document.body.appendChild(a);a=new g(a);window.c2runtime=a;window.addEventListener("orientationchange",function(){window.c2runtime.setSize(window.innerWidth,window.innerHeight)});window.c2runtime.setSize(window.innerWidth,window.innerHeight);return a};window.createEjectaRuntime=function(){var a=new g(document.getElementById("canvas"));window.c2runtime=a;window.c2runtime.setSize(window.innerWidth,
window.innerHeight);return a}})();window.cr_getC2Runtime=function(){var g=document.getElementById("c2canvas");return g?g.c2runtime:window.c2runtime?window.c2runtime:null};window.cr_getSnapshot=function(g,l){var b=window.cr_getC2Runtime();b&&b.dA(g,l)};window.cr_sizeCanvas=function(g,l){if(0!==g&&0!==l){var b=window.cr_getC2Runtime();b&&b.setSize(g,l)}};window.cr_setSuspended=function(g){var l=window.cr_getC2Runtime();l&&l.setSuspended(g)};
(function(){function g(a,c){this.b=a;this.Vg=null;this.scrollX=this.b.Fb/2;this.scrollY=this.b.Eb/2;this.scale=1;this.u=0;this.hi=!0;this.name=c[0];this.JC=c[1];this.IC=c[2];this.width=c[1];this.height=c[2];this.rw=c[3];this.Vv=c[4];this.ya=c[5];var k=c[6],d,b;this.ea=[];this.Xj=[];d=0;for(b=k.length;d<b;d++){var h=new Zb(this,k[d]);h.av=d;this.ea.push(h)}k=c[7];this.pg=[];d=0;for(b=k.length;d<b;d++){var h=k[d],e=this.b.K[h[1]];e.Id||(e.Id=h);this.pg.push(h);-1===this.Xj.indexOf(e)&&this.Xj.push(e)}this.ka=
[];this.Ia=[];this.Kf=!0;this.mb=[];d=0;for(b=c[8].length;d<b;d++)this.ka.push({id:c[8][d][0],name:c[8][d][1],Jb:-1,me:!1,ib:!0,index:d}),this.mb.push(c[8][d][2].slice(0));this.se();this.Hf=new ya(0,0,1,1);this.hr=new ya(0,0,1,1);this.Ag={}}function l(a,c){return a.ve-c.ve}function b(a,c){this.ic=a;this.b=a.b;this.k=[];this.scale=1;this.u=0;this.kf=!1;this.Of=new ya(0,0,0,0);this.lw=new za;this.Ta=this.Ka=this.Ua=this.Ja=0;this.Qh=!1;this.Rf=-1;this.mp=0;this.name=c[0];this.index=c[1];this.ya=c[2];
this.visible=c[3];this.be=c[4];this.re=c[5];this.Qd=c[6];this.Rd=c[7];this.opacity=c[8];this.Hm=c[9];this.Cd=c[10];this.we=c[11];this.yc=c[12];this.zA=c[13];this.Dj="source-over";this.zc=this.Gc=0;this.vc=null;this.yf=p();this.ne=!0;this.Gi=new ya(0,0,-1,-1);this.mc=new ya(0,0,-1,-1);this.Cd&&(this.vc=new hb(this.b.Fb,this.b.Eb));this.Qe=!1;var k=c[14],d,b;this.aw=[];this.Wc=[];this.Gj=[];d=0;for(b=k.length;d<b;d++){var h=k[d],e=this.b.K[h[1]];e.Id||(e.Id=h,e.$z=this.index);this.Wc.push(h);-1===this.ic.Xj.indexOf(e)&&
this.ic.Xj.push(e)}Da(this.aw,this.Wc);this.ka=[];this.Ia=[];this.Kf=!0;this.mb=[];d=0;for(b=c[15].length;d<b;d++)this.ka.push({id:c[15][d][0],name:c[15][d][1],Jb:-1,me:!1,ib:!0,index:d}),this.mb.push(c[15][d][2].slice(0));this.se();this.Hf=new ya(0,0,1,1);this.hr=new ya(0,0,1,1)}function p(){return c.length?c.pop():[]}function h(a){B(a);c.push(a)}g.prototype.kD=function(a){var c=a.type.ya.toString();this.Ag.hasOwnProperty(c)||(this.Ag[c]=[]);this.Ag[c].push(this.b.sr(a))};g.prototype.Zt=function(){var a=
this.ea[0];return!a.re&&1===a.opacity&&!a.Hm&&a.visible};g.prototype.se=function(){B(this.Ia);this.Kf=!0;var a,c,k;a=0;for(c=this.ka.length;a<c;a++)k=this.ka[a],k.ib&&(this.Ia.push(k),k.me||(this.Kf=!1))};g.prototype.Lp=function(a){var c,k,d;c=0;for(k=this.ka.length;c<k;c++)if(d=this.ka[c],d.name===a)return d;return null};var r=[],n=!0;g.prototype.Fr=function(){this.Vv&&(this.Vg=this.b.zp[this.Vv],this.Vg.Wr());this.b.ua=this;this.width=this.JC;this.height=this.IC;this.scrollX=this.b.Fb/2;this.scrollY=
this.b.Eb/2;var a,c,k,d,b,h,e;a=0;for(k=this.b.K.length;a<k;a++)if(c=this.b.K[a],!c.S)for(b=c.k,c=0,d=b.length;c<d;c++)if(h=b[c],h.A){var q=h.A.av;q>=this.ea.length&&(q=this.ea.length-1);h.A=this.ea[q];-1===h.A.k.indexOf(h)&&h.A.k.push(h);h.A.Qh=!0}if(!n)for(a=0,k=this.ea.length;a<k;++a)this.ea[a].k.sort(l);B(r);this.Lz();a=0;for(k=this.ea.length;a<k;a++)h=this.ea[a],h.Xz(),h.zo();b=!1;if(!this.hi){for(e in this.Ag)if(this.Ag.hasOwnProperty(e)&&(c=this.b.Qm(parseInt(e,10)))&&!c.S&&this.b.Ur(c)){d=
this.Ag[e];a=0;for(k=d.length;a<k;a++){h=null;if(c.xa.rg&&(h=this.Pm(d[a].w.l),!h))continue;h=this.b.ef(c.Id,h,!1,0,0,!0);this.b.pn(h,d[a]);b=!0;r.push(h)}B(d)}a=0;for(k=this.ea.length;a<k;a++)this.ea[a].k.sort(l),this.ea[a].Qh=!0}b&&(this.b.xc(),this.b.Fv());for(a=0;a<r.length;a++)if(h=r[a],h.type.fc)for(k=h.Rj(),c=0,d=h.type.jd.length;c<d;c++)e=h.type.jd[c],h.type!==e&&(e.k.length>k?h.siblings.push(e.k[k]):e.Id&&(b=this.b.ef(e.Id,h.A,!0,h.x,h.y,!0),this.b.xc(),e.yo(),h.siblings.push(b),r.push(b)));
a=0;for(k=this.pg.length;a<k;a++)h=this.pg[a],c=this.b.K[h[1]],c.fc||this.b.ef(this.pg[a],null,!0);this.b.df=null;this.b.xc();if(this.b.Va&&!this.b.Xa)for(a=0,k=this.b.K.length;a<k;a++)e=this.b.K[a],!e.S&&e.k.length&&e.Gk&&e.Gk(this.b.Va);if(this.b.ak)Da(this.b.Bm,r);else for(a=0,k=r.length;a<k;a++)h=r[a],this.b.trigger(Object.getPrototypeOf(h.type.xa).j.Uf,h);B(r);this.b.ak||this.b.trigger(L.prototype.j.Es,null);this.hi=!1};g.prototype.Wz=function(){var a,c,k,d,b;c=a=0;for(k=this.pg.length;a<k;a++)d=
this.pg[a],b=this.b.K[d[1]],b.global?b.fc||this.b.ef(d,null,!0):(this.pg[c]=d,c++);Ca(this.pg,c)};g.prototype.yD=function(){this.b.ak||this.b.trigger(L.prototype.j.ay,null);this.b.fq=!0;B(this.b.Ue.gd);var a,c,k,d,b,h;if(!this.hi)for(a=0,c=this.ea.length;a<c;a++)for(this.ea[a].$r(),b=this.ea[a].k,k=0,d=b.length;k<d;k++)h=b[k],h.type.global||this.b.Ur(h.type)&&this.kD(h);a=0;for(c=this.ea.length;a<c;a++){b=this.ea[a].k;k=0;for(d=b.length;k<d;k++)h=b[k],h.type.global||this.b.Sf(h);this.b.xc();B(b);
this.ea[a].Qh=!0}a=0;for(c=this.b.K.length;a<c;a++)if(b=this.b.K[a],!(b.global||b.xa.rg||b.xa.ko||b.S)){k=0;for(d=b.k.length;k<d;k++)this.b.Sf(b.k[k]);this.b.xc()}n=!1;this.b.fq=!1};var a=new ya(0,0,0,0);g.prototype.jr=function(c,m,k,d,b){a.set(m,k,d,b);m=0;for(k=this.ea.length;m<k;m++)this.ea[m].jr(c,a)};g.prototype.ie=function(a){var c,k=a,d=!1,b=!this.b.ud;b&&(this.b.mn||(this.b.mn=document.createElement("canvas"),c=this.b.mn,c.width=this.b.aa,c.height=this.b.Z,this.b.xu=c.getContext("2d"),d=!0),
c=this.b.mn,k=this.b.xu,c.width!==this.b.aa&&(c.width=this.b.aa,d=!0),c.height!==this.b.Z&&(c.height=this.b.Z,d=!0),d&&this.b.bo(k,this.b.Na));k.globalAlpha=1;k.globalCompositeOperation="source-over";this.b.tt&&!this.Zt()&&k.clearRect(0,0,this.b.aa,this.b.Z);var h,e,d=0;for(h=this.ea.length;d<h;d++)e=this.ea[d],e.visible&&0<e.opacity&&11!==e.yc&&(e.k.length||!e.re)?e.ie(k):e.zo();b&&a.drawImage(c,0,0,this.b.width,this.b.height)};g.prototype.lf=function(a){a.Nv(!0);this.b.Db||(this.b.Db=a.sd(this.b.aa,
this.b.Z,this.b.Na));if(this.b.Db.ge!==this.b.aa||this.b.Db.fe!==this.b.Z)a.deleteTexture(this.b.Db),this.b.Db=a.sd(this.b.aa,this.b.Z,this.b.Na);a.Sd(this.b.Db);this.b.ud||a.Ih(this.b.aa,this.b.Z);var c,k;for(c=this.ea.length-1;0<=c;--c)k=this.ea[c],k.visible&&1===k.opacity&&k.Kf&&0===k.yc&&(k.k.length||!k.re)?k.lf(a):k.zo();a.Nv(!1)};g.prototype.nc=function(a){var c=0<this.Ia.length||this.b.ij||!this.b.ud||this.b.Wa;if(c){this.b.Db||(this.b.Db=a.sd(this.b.aa,this.b.Z,this.b.Na));if(this.b.Db.ge!==
this.b.aa||this.b.Db.fe!==this.b.Z)a.deleteTexture(this.b.Db),this.b.Db=a.sd(this.b.aa,this.b.Z,this.b.Na);a.Sd(this.b.Db);this.b.ud||a.Ih(this.b.aa,this.b.Z)}else this.b.Db&&(a.Sd(null),a.deleteTexture(this.b.Db),this.b.Db=null);this.b.tt&&!this.Zt()&&a.clear(0,0,0,0);var k,d,b;k=0;for(d=this.ea.length;k<d;k++)b=this.ea[k],b.visible&&0<b.opacity&&(b.k.length||!b.re)?b.nc(a):b.zo();c&&(0===this.Ia.length||1===this.Ia.length&&this.b.ud?(1===this.Ia.length?(c=this.Ia[0].index,a.fd(this.Ia[0].Jb),a.Yi(null,
1/this.b.aa,1/this.b.Z,0,0,1,1,this.scale,this.u,0,0,this.b.aa/2,this.b.Z/2,this.b.hc.fa,this.mb[c]),a.Rn(this.Ia[0].Jb)&&(this.b.ca=!0)):a.fd(0),this.b.ud||a.Ih(this.b.width,this.b.height),a.Sd(null),a.Lv(!1),a.Jf(1),a.Fc(this.b.Db),a.Jv(),a.Re(),a.te(),c=this.b.width/2,k=this.b.height/2,a.Jk(-c,k,c,k,c,-k,-c,-k),a.Fc(null),a.Lv(!0)):this.kr(a,null,null,null))};g.prototype.Pj=function(){return 0<this.Ia.length||this.b.ij||!this.b.ud||this.b.Wa?this.b.Db:null};g.prototype.Vt=function(){var a=this.ea[0].Kd(),
c,k,d;c=1;for(k=this.ea.length;c<k;c++)d=this.ea[c],(0!==d.Qd||0!==d.Rd)&&d.Kd()<a&&(a=d.Kd());return a};g.prototype.ur=function(a){if(!this.rw){var c=1/this.Vt()*this.b.aa/2;a>this.width-c&&(a=this.width-c);a<c&&(a=c)}this.scrollX!==a&&(this.scrollX=a,this.b.ca=!0)};g.prototype.wr=function(a){if(!this.rw){var c=1/this.Vt()*this.b.Z/2;a>this.height-c&&(a=this.height-c);a<c&&(a=c)}this.scrollY!==a&&(this.scrollY=a,this.b.ca=!0)};g.prototype.Lz=function(){this.ur(this.scrollX);this.wr(this.scrollY)};
g.prototype.kr=function(a,c,k,d){var b=k?k.Ia:c?c.Ia:this.Ia,h=1,e=0,q=0,n=0,g=this.b.aa,u=this.b.Z;k?(h=k.A.Kd(),e=k.A.pc(),q=k.A.Ja,n=k.A.Ka,g=k.A.Ua,u=k.A.Ta):c&&(h=c.Kd(),e=c.pc(),q=c.Ja,n=c.Ka,g=c.Ua,u=c.Ta);var l=this.b.Hp,r,p,v,H,F=0,R=1,C,X,Y=this.b.aa,I=this.b.Z,N=Y/2,Q=I/2,A=c?c.Hf:this.Hf,K=c?c.hr:this.hr,x=0,M=0,D=0,P=0,V=Y,ga=Y,S=I,T=I,fa=v=0;H=k?k.A.pc():0;if(k){r=0;for(p=b.length;r<p;r++)v+=a.zB(b[r].Jb),fa+=a.AB(b[r].Jb);P=k.bb;x=c.Oc(P.left,P.top,!0,!0);D=c.Oc(P.left,P.top,!1,!0);
V=c.Oc(P.right,P.bottom,!0,!0);S=c.Oc(P.right,P.bottom,!1,!0);0!==H&&(r=c.Oc(P.right,P.top,!0,!0),p=c.Oc(P.right,P.top,!1,!0),M=c.Oc(P.left,P.bottom,!0,!0),P=c.Oc(P.left,P.bottom,!1,!0),H=Math.min(x,V,r,M),V=Math.max(x,V,r,M),x=H,H=Math.min(D,S,p,P),S=Math.max(D,S,p,P),D=H);x-=v;D-=fa;V+=v;S+=fa;K.left=x/Y;K.top=1-D/I;K.right=V/Y;K.bottom=1-S/I;M=x=ua(x);P=D=ua(D);ga=V=va(V);T=S=va(S);M-=v;P-=fa;ga+=v;T+=fa;0>x&&(x=0);0>D&&(D=0);V>Y&&(V=Y);S>I&&(S=I);0>M&&(M=0);0>P&&(P=0);ga>Y&&(ga=Y);T>I&&(T=I);
A.left=x/Y;A.top=1-D/I;A.right=V/Y;A.bottom=1-S/I}else A.left=K.left=0,A.top=K.top=0,A.right=K.right=1,A.bottom=K.bottom=1;fa=k&&(a.Hk(b[0].Jb)||0!==v||0!==fa||1!==k.opacity||k.type.xa.Wu)||c&&!k&&1!==c.opacity;a.Jv();if(fa){l[F]||(l[F]=a.sd(Y,I,this.b.Na));if(l[F].ge!==Y||l[F].fe!==I)a.deleteTexture(l[F]),l[F]=a.sd(Y,I,this.b.Na);a.fd(0);a.Sd(l[F]);X=T-P;a.clearRect(M,I-P-X,ga-M,X);k?k.nc(a):(a.Fc(this.b.Vb),a.Jf(c.opacity),a.Re(),a.translate(-N,-Q),a.te(),a.Ad(x,S,V,S,V,D,x,D,A));K.left=K.top=0;
K.right=K.bottom=1;k&&(H=A.top,A.top=A.bottom,A.bottom=H);F=1;R=0}a.Jf(1);v=b.length-1;var ta=a.fr(b[v].Jb)||!c&&!k&&!this.b.ud;r=H=0;for(p=b.length;r<p;r++){l[F]||(l[F]=a.sd(Y,I,this.b.Na));if(l[F].ge!==Y||l[F].fe!==I)a.deleteTexture(l[F]),l[F]=a.sd(Y,I,this.b.Na);a.fd(b[r].Jb);H=b[r].index;a.Rn(b[r].Jb)&&(this.b.ca=!0);0!=r||fa?(a.Yi(d,1/Y,1/I,K.left,K.top,K.right,K.bottom,h,e,q,n,(q+g)/2,(n+u)/2,this.b.hc.fa,k?k.mb[H]:c?c.mb[H]:this.mb[H]),a.Fc(null),r!==v||ta?(a.Sd(l[F]),X=T-P,C=I-P-X,a.clearRect(M,
C,ga-M,X)):(k?a.Eg(k.Gc,k.zc):c&&a.Eg(c.Gc,c.zc),a.Sd(d)),a.Fc(l[R]),a.Re(),a.translate(-N,-Q),a.te(),a.Ad(x,S,V,S,V,D,x,D,A),r!==v||ta||a.Fc(null)):(a.Sd(l[F]),X=T-P,C=I-P-X,a.clearRect(M,C,ga-M,X),k?(k.Za&&k.Za.F?(C=k.Za.F,R=1/C.width,C=1/C.height):(R=1/k.width,C=1/k.height),a.Yi(d,R,C,K.left,K.top,K.right,K.bottom,h,e,q,n,(q+g)/2,(n+u)/2,this.b.hc.fa,k.mb[H]),k.nc(a)):(a.Yi(d,1/Y,1/I,0,0,1,1,h,e,q,n,(q+g)/2,(n+u)/2,this.b.hc.fa,c?c.mb[H]:this.mb[H]),a.Fc(c?this.b.Vb:this.b.Db),a.Re(),a.translate(-N,
-Q),a.te(),a.Ad(x,S,V,S,V,D,x,D,A)),K.left=K.top=0,K.right=K.bottom=1,k&&!ta&&(H=S,S=D,D=H));F=0===F?1:0;R=0===F?1:0}ta&&(a.fd(0),k?a.Eg(k.Gc,k.zc):c?a.Eg(c.Gc,c.zc):this.b.ud||(a.Ih(this.b.width,this.b.height),N=this.b.width/2,Q=this.b.height/2,D=x=0,V=this.b.width,S=this.b.height),a.Sd(d),a.Fc(l[R]),a.Re(),a.translate(-N,-Q),a.te(),k&&1===b.length&&!fa?a.Ad(x,D,V,D,V,S,x,S,A):a.Ad(x,S,V,S,V,D,x,D,A),a.Fc(null))};g.prototype.Pm=function(a){var c,k;c=0;for(k=this.ea.length;c<k;c++)if(this.ea[c].ya===
a)return this.ea[c];return null};g.prototype.Ha=function(){var a,c,k,d={sx:this.scrollX,sy:this.scrollY,s:this.scale,a:this.u,w:this.width,h:this.height,fv:this.hi,persist:this.Ag,fx:[],layers:{}};a=0;for(c=this.ka.length;a<c;a++)k=this.ka[a],d.fx.push({name:k.name,active:k.ib,params:this.mb[k.index]});a=0;for(c=this.ea.length;a<c;a++)k=this.ea[a],d.layers[k.ya.toString()]=k.Ha();return d};g.prototype.Oa=function(a){var c,k,d,b;this.scrollX=a.sx;this.scrollY=a.sy;this.scale=a.s;this.u=a.a;this.width=
a.w;this.height=a.h;this.Ag=a.persist;"undefined"!==typeof a.fv&&(this.hi=a.fv);var h=a.fx;c=0;for(k=h.length;c<k;c++)if(d=this.Lp(h[c].name))d.ib=h[c].active,this.mb[d.index]=h[c].params;this.se();c=a.layers;for(b in c)c.hasOwnProperty(b)&&(a=this.Pm(parseInt(b,10)))&&a.Oa(c[b])};Hb=g;b.prototype.se=function(){B(this.Ia);this.Kf=!0;var a,c,k;a=0;for(c=this.ka.length;a<c;a++)k=this.ka[a],k.ib&&(this.Ia.push(k),k.me||(this.Kf=!1))};b.prototype.Lp=function(a){var c,k,d;c=0;for(k=this.ka.length;c<k;c++)if(d=
this.ka[c],d.name===a)return d;return null};b.prototype.Xz=function(){var a,c,d,b,h,n;c=a=0;for(d=this.Wc.length;a<d;a++){b=this.Wc[a];h=this.b.K[b[1]];n=this.b.Ur(h);h=!0;if(!n||this.ic.hi){b=this.b.ef(b,this,!0);if(!b)continue;r.push(b);b.type.global&&(h=!1,this.Gj.push(b.uid))}h&&(this.Wc[c]=this.Wc[a],c++)}this.Wc.length=c;this.b.xc();!this.b.C&&this.ka.length&&(this.yc=this.zA);this.Dj=ib(this.yc);this.b.O&&jb(this,this.yc,this.b.O);this.ne=!0};b.prototype.jr=function(a,c){var d,b,h,n,e,q,g=
this.b.K,l=a.S,u=a.yg;d=0;for(b=this.Wc.length;d<b;++d)if(h=this.Wc[d],e=h[0],n=e[0],e=e[1],c.Sb(n,e)){n=g[h[1]];if(n!==a)if(l){if(0>u.indexOf(n))continue}else continue;h=this.b.ef(h,this,!1);this.b.Yc++;this.b.trigger(Object.getPrototypeOf(n.xa).j.Uf,h);if(h.fc)for(n=0,e=h.siblings.length;n<e;n++)q=h.siblings[d],this.b.trigger(Object.getPrototypeOf(q.type.xa).j.Uf,q);this.b.Yc--}};b.prototype.Vi=function(a,c){var d=Fa(this.k,a);0>d||(c&&this.Cd&&a.bd&&a.bd.right>=a.bd.left&&(a.Sa(),this.vc.update(a,
a.bd,null),a.bd.set(0,0,-1,-1)),d===this.k.length-1?this.k.pop():(Ba(this.k,d),this.Tk(d)),this.ne=!0)};b.prototype.xj=function(a,c){a.ve=this.k.length;this.k.push(a);c&&this.Cd&&a.bd&&a.D();this.ne=!0};b.prototype.RC=function(a){this.k.unshift(a);this.Tk(0)};b.prototype.zC=function(a,c,d){var b=a.Ld();c=c.Ld();Ba(this.k,b);b<c&&c--;d&&c++;c===this.k.length?this.k.push(a):this.k.splice(c,0,a);this.Tk(b<c?b:c)};b.prototype.Tk=function(a){-1===this.Rf?this.Rf=a:a<this.Rf&&(this.Rf=a);this.ne=this.Qh=
!0};b.prototype.$r=function(){if(this.Qh){-1===this.Rf&&(this.Rf=0);var a,c,d;if(this.Cd)for(a=this.Rf,c=this.k.length;a<c;++a)d=this.k[a],d.ve=a,this.vc.vC(d.bd);else for(a=this.Rf,c=this.k.length;a<c;++a)this.k[a].ve=a;this.Qh=!1;this.Rf=-1}};b.prototype.Kd=function(a){return this.wB()*(this.b.ud||a?this.b.yj:1)};b.prototype.wB=function(){return(this.scale*this.ic.scale-1)*this.we+1};b.prototype.pc=function(){return this.kf?0:La(this.ic.u+this.u)};var c=[],d=[],v=[];b.prototype.Pp=function(){this.$r();
this.vc.Un(this.Ja,this.Ka,this.Ua,this.Ta,v);if(!v.length)return p();if(1===v.length){var a=p();Da(a,v[0]);B(v);return a}for(var c=!0;1<v.length;){for(var a=v,k=void 0,b=void 0,n=void 0,g=void 0,e=void 0,k=0,b=a.length;k<b-1;k+=2){var n=a[k],g=a[k+1],e=p(),q=n,l=g,r=e,u=0,ba=0,W=0,y=q.length,E=l.length,H=void 0,F=void 0;for(r.length=y+E;u<y&&ba<E;++W)H=q[u],F=l[ba],H.ve<F.ve?(r[W]=H,++u):(r[W]=F,++ba);for(;u<y;++u,++W)r[W]=q[u];for(;ba<E;++ba,++W)r[W]=l[ba];c||(h(n),h(g));d.push(e)}1===b%2&&(c?(n=
p(),Da(n,a[b-1]),d.push(n)):d.push(a[b-1]));Da(a,d);B(d);c=!1}a=v[0];B(v);return a};b.prototype.ie=function(a){this.Qe=this.Hm||1!==this.opacity||0!==this.yc;var c=this.b.canvas,d=a,b=!1;this.Qe&&(this.b.ln||(this.b.ln=document.createElement("canvas"),c=this.b.ln,c.width=this.b.aa,c.height=this.b.Z,this.b.wu=c.getContext("2d"),b=!0),c=this.b.ln,d=this.b.wu,c.width!==this.b.aa&&(c.width=this.b.aa,b=!0),c.height!==this.b.Z&&(c.height=this.b.Z,b=!0),b&&this.b.bo(d,this.b.Na),this.re&&d.clearRect(0,0,
this.b.aa,this.b.Z));d.globalAlpha=1;d.globalCompositeOperation="source-over";this.re||(d.fillStyle="rgb("+this.be[0]+","+this.be[1]+","+this.be[2]+")",d.fillRect(0,0,this.b.aa,this.b.Z));d.save();this.kf=!0;var b=this.sb(0,0,!0,!0),n=this.sb(0,0,!1,!0);this.kf=!1;this.b.$c&&(b=Math.round(b),n=Math.round(n));this.Xn(b,n,d);var g=this.Kd();d.scale(g,g);d.translate(-b,-n);this.Cd?(this.mc.left=this.vc.Rc(this.Ja),this.mc.top=this.vc.Sc(this.Ka),this.mc.right=this.vc.Rc(this.Ua),this.mc.bottom=this.vc.Sc(this.Ta),
this.ne||!this.mc.Jj(this.Gi)?(h(this.yf),b=this.Pp(),this.ne=!1,this.Gi.Zh(this.mc)):b=this.yf):b=this.k;for(var e,q=null,n=0,g=b.length;n<g;++n)e=b[n],e!==q&&(this.uA(e,d),q=e);this.Cd&&(this.yf=b);d.restore();this.Qe&&(a.globalCompositeOperation=this.Dj,a.globalAlpha=this.opacity,a.drawImage(c,0,0))};b.prototype.uA=function(a,c){if(a.visible&&0!==a.width&&0!==a.height){a.Sa();var d=a.bb;d.right<this.Ja||d.bottom<this.Ka||d.left>this.Ua||d.top>this.Ta||(c.globalCompositeOperation=a.Dj,a.ie(c))}};
b.prototype.zo=function(){this.kf=!0;var a=this.sb(0,0,!0,!0),c=this.sb(0,0,!1,!0);this.kf=!1;this.b.$c&&(a=Math.round(a),c=Math.round(c));this.Xn(a,c,null)};b.prototype.Xn=function(a,c,d){var b=this.Kd();this.Ja=a;this.Ka=c;this.Ua=a+1/b*this.b.aa;this.Ta=c+1/b*this.b.Z;this.Ja>this.Ua&&(a=this.Ja,this.Ja=this.Ua,this.Ua=a);this.Ka>this.Ta&&(a=this.Ka,this.Ka=this.Ta,this.Ta=a);a=this.pc();0!==a&&(d&&(d.translate(this.b.aa/2,this.b.Z/2),d.rotate(-a),d.translate(this.b.aa/-2,this.b.Z/-2)),this.Of.set(this.Ja,
this.Ka,this.Ua,this.Ta),this.Of.offset((this.Ja+this.Ua)/-2,(this.Ka+this.Ta)/-2),this.lw.Tv(this.Of,a),this.lw.mt(this.Of),this.Of.offset((this.Ja+this.Ua)/2,(this.Ka+this.Ta)/2),this.Ja=this.Of.left,this.Ka=this.Of.top,this.Ua=this.Of.right,this.Ta=this.Of.bottom)};b.prototype.lf=function(a){if(this.Qe=this.Hm){this.b.Vb||(this.b.Vb=a.sd(this.b.aa,this.b.Z,this.b.Na));if(this.b.Vb.ge!==this.b.aa||this.b.Vb.fe!==this.b.Z)a.deleteTexture(this.b.Vb),this.b.Vb=a.sd(this.b.aa,this.b.Z,this.b.Na);a.Sd(this.b.Vb)}this.kf=
!0;var c=this.sb(0,0,!0,!0),d=this.sb(0,0,!1,!0);this.kf=!1;this.b.$c&&(c=Math.round(c),d=Math.round(d));this.Xn(c,d,null);c=this.Kd();a.Re();a.scale(c,c);a.pr(-this.pc());a.translate((this.Ja+this.Ua)/-2,(this.Ka+this.Ta)/-2);a.te();this.Cd?(this.mc.left=this.vc.Rc(this.Ja),this.mc.top=this.vc.Sc(this.Ka),this.mc.right=this.vc.Rc(this.Ua),this.mc.bottom=this.vc.Sc(this.Ta),this.ne||!this.mc.Jj(this.Gi)?(h(this.yf),c=this.Pp(),this.ne=!1,this.Gi.Zh(this.mc)):c=this.yf):c=this.k;for(var b,n=null,d=
c.length-1;0<=d;--d)b=c[d],b!==n&&(this.wA(c[d],a),n=b);this.Cd&&(this.yf=c);this.re||(this.mp=this.b.Tg++,a.co(this.mp),a.Kv(1,1,1),a.Nt(),a.bD())};b.prototype.nc=function(a){var c=0,d=0;if(this.Qe=this.Hm||1!==this.opacity||0<this.Ia.length||0!==this.yc){this.b.Vb||(this.b.Vb=a.sd(this.b.aa,this.b.Z,this.b.Na));if(this.b.Vb.ge!==this.b.aa||this.b.Vb.fe!==this.b.Z)a.deleteTexture(this.b.Vb),this.b.Vb=a.sd(this.b.aa,this.b.Z,this.b.Na);a.Sd(this.b.Vb);this.re&&a.clear(0,0,0,0)}this.re||(this.b.Wa?
(a.co(this.mp),a.Kv(this.be[0]/255,this.be[1]/255,this.be[2]/255),a.Nt(),a.uD()):a.clear(this.be[0]/255,this.be[1]/255,this.be[2]/255,1));this.kf=!0;var b=this.sb(0,0,!0,!0),c=this.sb(0,0,!1,!0);this.kf=!1;this.b.$c&&(b=Math.round(b),c=Math.round(c));this.Xn(b,c,null);b=this.Kd();a.Re();a.scale(b,b);a.pr(-this.pc());a.translate((this.Ja+this.Ua)/-2,(this.Ka+this.Ta)/-2);a.te();this.Cd?(this.mc.left=this.vc.Rc(this.Ja),this.mc.top=this.vc.Sc(this.Ka),this.mc.right=this.vc.Rc(this.Ua),this.mc.bottom=
this.vc.Sc(this.Ta),this.ne||!this.mc.Jj(this.Gi)?(h(this.yf),c=this.Pp(),this.ne=!1,this.Gi.Zh(this.mc)):c=this.yf):c=this.k;var n,g,e=null,d=0;for(n=c.length;d<n;++d)g=c[d],g!==e&&(this.vA(c[d],a),e=g);this.Cd&&(this.yf=c);this.Qe&&(c=this.Ia.length?this.Ia[0].Jb:0,d=this.Ia.length?this.Ia[0].index:0,0===this.Ia.length||1===this.Ia.length&&!a.fr(c)&&1===this.opacity?(1===this.Ia.length?(a.fd(c),a.Yi(this.ic.Pj(),1/this.b.aa,1/this.b.Z,0,0,1,1,b,this.pc(),this.Ja,this.Ka,(this.Ja+this.Ua)/2,(this.Ka+
this.Ta)/2,this.b.hc.fa,this.mb[d]),a.Rn(c)&&(this.b.ca=!0)):a.fd(0),a.Sd(this.ic.Pj()),a.Jf(this.opacity),a.Fc(this.b.Vb),a.Eg(this.Gc,this.zc),a.Re(),a.te(),b=this.b.aa/2,c=this.b.Z/2,a.Jk(-b,c,b,c,b,-c,-b,-c),a.Fc(null)):this.ic.kr(a,this,null,this.ic.Pj()))};b.prototype.vA=function(a,c){if(a.visible&&0!==a.width&&0!==a.height){a.Sa();var d=a.bb;d.right<this.Ja||d.bottom<this.Ka||d.left>this.Ua||d.top>this.Ta||(c.co(a.Tg),a.xw?this.xA(a,c):(c.fd(0),c.Eg(a.Gc,a.zc),a.nc(c)))}};b.prototype.wA=function(a,
c){if(a.visible&&0!==a.width&&0!==a.height){a.Sa();var d=a.bb;d.right<this.Ja||d.bottom<this.Ka||d.left>this.Ua||d.top>this.Ta||(a.Tg=this.b.Tg++,0===a.yc&&1===a.opacity&&a.Kf&&a.lf&&(c.co(a.Tg),a.lf(c)))}};b.prototype.xA=function(a,c){var d=a.Ia[0].Jb,b=a.Ia[0].index,h=this.Kd();if(1!==a.Ia.length||c.fr(d)||c.TC(d)||(a.u||a.A.pc())&&c.Hk(d)||1!==a.opacity||a.type.xa.Wu)this.ic.kr(c,this,a,this.Qe?this.b.Vb:this.ic.Pj()),c.Re(),c.scale(h,h),c.pr(-this.pc()),c.translate((this.Ja+this.Ua)/-2,(this.Ka+
this.Ta)/-2),c.te();else{c.fd(d);c.Eg(a.Gc,a.zc);c.Rn(d)&&(this.b.ca=!0);var n=0,e=0,q=0,g=0;c.Hk(d)&&(g=a.bb,n=this.Oc(g.left,g.top,!0,!0),e=this.Oc(g.left,g.top,!1,!0),q=this.Oc(g.right,g.bottom,!0,!0),g=this.Oc(g.right,g.bottom,!1,!0),n=n/windowWidth,e=1-e/windowHeight,q=q/windowWidth,g=1-g/windowHeight);var l;a.Za&&a.Za.F?(l=a.Za.F,d=1/l.width,l=1/l.height):(d=1/a.width,l=1/a.height);c.Yi(this.Qe?this.b.Vb:this.ic.Pj(),d,l,n,e,q,g,h,this.pc(),this.Ja,this.Ka,(this.Ja+this.Ua)/2,(this.Ka+this.Ta)/
2,this.b.hc.fa,a.mb[b]);a.nc(c)}};b.prototype.sb=function(a,c,d,b){var h=this.b.devicePixelRatio;this.b.hh&&(a*=h,c*=h);var h=this.b.sv,n=this.b.tv,h=(this.ic.scrollX-h)*this.Qd+h,n=(this.ic.scrollY-n)*this.Rd+n,e=h,q=n,g=1/this.Kd(!b);b?(e-=this.b.aa*g/2,q-=this.b.Z*g/2):(e-=this.b.width*g/2,q-=this.b.height*g/2);e+=a*g;q+=c*g;c=this.pc();0!==c&&(e-=h,q-=n,a=Math.cos(c),c=Math.sin(c),b=e*a-q*c,q=q*a+e*c,e=b+h,q+=n);return d?e:q};b.prototype.Oc=function(a,c,d,b){var h=this.b.sv,n=this.b.tv,e=(this.ic.scrollX-
h)*this.Qd+h,q=(this.ic.scrollY-n)*this.Rd+n,n=e,h=q,g=this.pc();if(0!==g){a-=e;c-=q;var l=Math.cos(-g),g=Math.sin(-g),u=a*l-c*g;c=c*l+a*g;a=u+e;c+=q}e=1/this.Kd(!b);b?(n-=this.b.aa*e/2,h-=this.b.Z*e/2):(n-=this.b.width*e/2,h-=this.b.height*e/2);n=(a-n)/e;h=(c-h)/e;a=this.b.devicePixelRatio;this.b.hh&&!b&&(n/=a,h/=a);return d?n:h};b.prototype.Ha=function(){var a,c,d,b={s:this.scale,a:this.u,vl:this.Ja,vt:this.Ka,vr:this.Ua,vb:this.Ta,v:this.visible,bc:this.be,t:this.re,px:this.Qd,py:this.Rd,o:this.opacity,
zr:this.we,fx:[],cg:this.Gj,instances:[]};a=0;for(c=this.ka.length;a<c;a++)d=this.ka[a],b.fx.push({name:d.name,active:d.ib,params:this.mb[d.index]});return b};b.prototype.Oa=function(a){var c,d,b;this.scale=a.s;this.u=a.a;this.Ja=a.vl;this.Ka=a.vt;this.Ua=a.vr;this.Ta=a.vb;this.visible=a.v;this.be=a.bc;this.re=a.t;this.Qd=a.px;this.Rd=a.py;this.opacity=a.o;this.we=a.zr;this.Gj=a.cg||[];Da(this.Wc,this.aw);var h=new da;c=0;for(b=this.Gj.length;c<b;++c)h.add(this.Gj[c]);d=c=0;for(b=this.Wc.length;c<
b;++c)h.contains(this.Wc[c][2])||(this.Wc[d]=this.Wc[c],++d);Ca(this.Wc,d);d=a.fx;c=0;for(b=d.length;c<b;c++)if(a=this.Lp(d[c].name))a.ib=d[c].active,this.mb[a.index]=d[c].params;this.se();this.k.sort(l);this.Qh=!0};Zb=b})();
(function(){function g(a,c){var d,b=a.length;switch(b){case 0:return!0;case 1:return a[0]===c[0];case 2:return a[0]===c[0]&&a[1]===c[1];default:for(d=0;d<b;d++)if(a[d]!==c[d])return!1;return!0}}function l(a,c){return a.index-c.index}function b(a){var c,d,b,k;2===a.length?a[0].index>a[1].index&&(c=a[0],a[0]=a[1],a[1]=c):2<a.length&&a.sort(l);a.length>=t.length&&(t.length=a.length+1);t[a.length]||(t[a.length]=[]);k=t[a.length];c=0;for(d=k.length;c<d;c++)if(b=k[c],g(a,b))return b;k.push(a);return a}
function p(a,c){this.b=a;this.pw={};this.It={};this.Vp=!1;this.au=new da;this.rp=[];this.$o=[];this.name=c[0];var d=c[1];this.jg=[];var b,k;b=0;for(k=d.length;b<k;b++)this.cu(d[b],null,this.jg)}function h(a){this.type=a;this.k=[];this.pa=[];this.la=!0}function r(a,c,d){this.sheet=a;this.parent=c;this.b=a.b;this.Ca=[];this.Fg=[];this.$t=this.uo=this.Pr=this.Vm=this.group=this.Er=!1;this.Rb=[];this.Dd=[];this.Ud=[];this.Sj="";this.$g=this.Vm=this.group=!1;this.em=null;d[1]&&(this.Sj=d[1][1].toLowerCase(),
this.group=!0,this.Vm=!!d[1][0],this.em=[],this.$g=this.Vm,this.b.Yf.push(this),this.b.oi[this.Sj]=this);this.yd=d[2];this.ya=d[4];this.group||(this.b.kt[this.ya.toString()]=this);var b=d[5];a=0;for(c=b.length;a<c;a++){var k=new ac(this,b[a]);k.index=a;this.Rb.push(k);this.$s(k.type)}b=d[6];a=0;for(c=b.length;a<c;a++)k=new bc(this,b[a]),k.index=a,this.Dd.push(k);if(8===d.length)for(d=d[7],a=0,c=d.length;a<c;a++)this.sheet.cu(d[a],this,this.Ud);this.gn=!1;this.Rb.length&&(this.gn=null==this.Rb[0].type&&
this.Rb[0].oc==L.prototype.j.Tw)}function n(a,c){var d,b,k;if(a&&(-1===c.indexOf(a)&&c.push(a),a.fc))for(d=0,b=a.jd.length;d<b;d++)k=a.jd[d],a!==k&&-1===c.indexOf(k)&&c.push(k)}function a(a,c){this.qd=a;this.sheet=a.sheet;this.b=a.b;this.na=[];this.ob=[];this.U={};this.index=-1;this.vj=!1;this.oc=this.b.Tf(c[1]);this.trigger=0<c[3];this.Ht=2===c[3];this.Je=c[4];this.Wm=c[5];this.mC=c[6];this.ya=c[7];this.b.gg[this.ya.toString()]=this;-1===c[0]?(this.type=null,this.Ib=this.rr,this.Mg=null,this.ee=
-1):(this.type=this.b.K[c[0]],this.Ib=this.mC?this.iD:this.qr,c[2]?(this.Mg=this.type.Mm(c[2]),this.ee=this.type.Ip(c[2])):(this.Mg=null,this.ee=-1),this.qd.parent&&this.qd.parent.eo());this.Ht&&(this.Ib=this.jD);if(10===c.length){var d,b,k=c[9];d=0;for(b=k.length;d<b;d++){var f=new cc(this,k[d]);this.na.push(f)}this.ob.length=k.length}}function c(a,c){this.qd=a;this.sheet=a.sheet;this.b=a.b;this.na=[];this.ob=[];this.U={};this.index=-1;this.vj=!1;this.oc=this.b.Tf(c[1]);-1===c[0]?(this.type=null,
this.Ib=this.rr,this.Mg=null,this.ee=-1):(this.type=this.b.K[c[0]],this.Ib=this.qr,c[2]?(this.Mg=this.type.Mm(c[2]),this.ee=this.type.Ip(c[2])):(this.Mg=null,this.ee=-1));this.ya=c[3];this.b.Xf[this.ya.toString()]=this;if(6===c.length){var d,b,k=c[5];d=0;for(b=k.length;d<b;d++){var f=new cc(this,k[d]);this.na.push(f)}this.ob.length=k.length}}function d(){z++;w.length===z&&w.push(new dc);return w[z]}function v(a,c){this.Pd=a;this.qd=a.qd;this.sheet=a.sheet;this.b=a.b;this.type=c[0];this.De=null;this.Lf=
0;this.get=null;this.ut=0;this.ic=null;this.key=0;this.object=null;this.index=0;this.ll=this.Lh=this.ll=this.Lh=this.Lt=this.Wg=this.ml=null;this.Wd=!1;var d,b,k;switch(c[0]){case 0:case 7:this.De=new ec(this,c[1]);this.Lf=0;this.get=this.IB;break;case 1:this.De=new ec(this,c[1]);this.Lf=0;this.get=this.JB;break;case 5:this.De=new ec(this,c[1]);this.Lf=0;this.get=this.NB;break;case 3:case 8:this.ut=c[1];this.get=this.GB;break;case 6:this.ic=this.b.Hi[c[1]];this.get=this.OB;break;case 9:this.key=c[1];
this.get=this.MB;break;case 4:this.object=this.b.K[c[1]];this.get=this.PB;this.qd.$s(this.object);this.Pd instanceof bc?this.qd.eo():this.qd.parent&&this.qd.parent.eo();break;case 10:this.index=c[1];a.type&&a.type.S?(this.get=this.KB,this.Wd=!0):this.get=this.LB;break;case 11:this.ml=c[1];this.Wg=null;this.get=this.HB;break;case 2:case 12:this.Lt=c[1];this.get=this.EB;break;case 13:for(this.get=this.QB,this.Lh=[],this.ll=[],d=1,b=c.length;d<b;d++)k=new cc(this.Pd,c[d]),this.Lh.push(k),this.ll.push(0)}}
function f(a,c,d){this.sheet=a;this.parent=c;this.b=a.b;this.Ca=[];this.name=d[1];this.Co=d[2];this.Zp=d[3];this.fk=!!d[4];this.dn=!!d[5];this.ya=d[6];this.b.kj[this.ya.toString()]=this;this.data=this.Zp;this.parent?(this.xh=this.fk||this.dn?-1:this.b.wD++,this.b.Gz.push(this)):(this.xh=-1,this.b.Fz.push(this))}function m(a,c,d){this.sheet=a;this.parent=c;this.b=a.b;this.Ca=[];this.Wj=null;this.WB=d[1];this.ib=!0}function k(){this.dw=[];this.reset(null)}var t=[];p.prototype.toString=function(){return this.name};
p.prototype.cu=function(a,c,d){switch(a[0]){case 0:a=new fc(this,c,a);if(a.yd)for(d.push(a),d=0,c=a.Rb.length;d<c;d++)a.Rb[d].trigger&&this.du(a,d);else a.lu()?this.du(a,0):d.push(a);break;case 1:a=new Ub(this,c,a);d.push(a);break;case 2:a=new gc(this,c,a),d.push(a)}};p.prototype.xb=function(){var a,c;a=0;for(c=this.jg.length;a<c;a++)this.jg[a].xb(a<c-1&&this.jg[a+1].gn)};p.prototype.Wr=function(){B(this.rp);B(this.$o);this.Zs(this);B(this.$o)};p.prototype.Zs=function(a){var c,d,b,k,f=a.rp,m=a.$o,
h=this.au.ue();c=0;for(d=h.length;c<d;++c)b=h[c],k=b.Wj,!b.ib||a===k||-1<m.indexOf(k)||(m.push(k),k.Zs(a),f.push(k))};p.prototype.Ib=function(a){this.b.tF||(this.Vp=!0,a||(this.b.iq=!0));var c,d;c=0;for(d=this.jg.length;c<d;c++){var b=this.jg[c];b.Ib();this.b.lp(b.Ca);this.b.ng&&this.b.xc()}a||(this.b.iq=!1)};p.prototype.du=function(a,c){a.yd||this.b.xo.push(a);var d,b,k=a.Rb[c],f;k.type?f=k.type.name:f="system";var m=(d=k.Ht)?this.It:this.pw;m[f]||(m[f]=[]);f=m[f];m=k.oc;if(d){if(k.na.length&&(k=
k.na[0],1===k.type&&2===k.De.type)){k=k.De.value.toLowerCase();d=0;for(b=f.length;d<b;d++)if(f[d].method==m){d=f[d].Kj;d[k]?d[k].push([a,c]):d[k]=[[a,c]];return}d={};d[k]=[[a,c]];f.push({method:m,Kj:d})}}else{d=0;for(b=f.length;d<b;d++)if(f[d].method==m){f[d].Kj.push([a,c]);return}U&&m===U.prototype.j.Th?f.unshift({method:m,Kj:[[a,c]]}):f.push({method:m,Kj:[[a,c]]})}};Kb=p;h.prototype.Up=function(){return this.la?this.type.k.length:this.k.length};h.prototype.Bc=function(){return this.la?this.type.k:
this.k};h.prototype.Fk=function(a){a&&(a.b.nb().tb.yd?(this.la&&(B(this.k),Da(this.pa,a.type.k),this.la=!1),a=this.pa.indexOf(a),-1!==a&&(this.k.push(this.pa[a]),this.pa.splice(a,1))):(this.la=!1,B(this.k),this.k[0]=a))};pb=h;window._c2hh_="606A3938A4A36E44BCC0FF02AAE6F23CCB380B26";r.prototype.xb=function(a){var c,d=this.parent;if(this.group)for(this.uo=!0;d;){if(!d.group){this.uo=!1;break}d=d.parent}this.Pr=!this.lu()&&(!this.parent||this.parent.group&&this.parent.uo);this.$t=!!a;this.Fg=this.Ca.slice(0);
for(d=this.parent;d;){a=0;for(c=d.Ca.length;a<c;a++)this.Dz(d.Ca[a]);d=d.parent}this.Ca=b(this.Ca);this.Fg=b(this.Fg);a=0;for(c=this.Rb.length;a<c;a++)this.Rb[a].xb();a=0;for(c=this.Dd.length;a<c;a++)this.Dd[a].xb();a=0;for(c=this.Ud.length;a<c;a++)this.Ud[a].xb(a<c-1&&this.Ud[a+1].gn)};r.prototype.Qk=function(a){if(this.$g!==!!a){this.$g=!!a;var c;a=0;for(c=this.em.length;a<c;++a)this.em[a].uw();0<c&&this.b.ua.Vg&&this.b.ua.Vg.Wr()}};r.prototype.$s=function(a){n(a,this.Ca)};r.prototype.Dz=function(a){n(a,
this.Fg)};r.prototype.eo=function(){this.Er=!0;this.parent&&this.parent.eo()};r.prototype.lu=function(){return this.Rb.length?this.Rb[0].trigger:!1};r.prototype.Ib=function(){var a,c,d=!1,b=this.b,k=this.b.nb();k.tb=this;var f=this.Rb;this.gn||(k.wp=!1);if(this.yd){0===f.length&&(d=!0);k.Ab=0;for(a=f.length;k.Ab<a;k.Ab++)c=f[k.Ab],c.trigger||(c=c.Ib())&&(d=!0);(k.ph=d)&&this.Yn()}else{k.Ab=0;for(a=f.length;k.Ab<a;k.Ab++)if(c=f[k.Ab].Ib(),!c){k.ph=!1;this.Pr&&b.ng&&b.xc();return}k.ph=!0;this.Yn()}this.BA(k)};
r.prototype.BA=function(a){a.ph&&this.$t&&(a.wp=!0);this.Pr&&this.b.ng&&this.b.xc()};r.prototype.gD=function(a){this.b.nb().tb=this;this.Rb[a].Ib()&&(this.Yn(),this.b.nb().ph=!0)};r.prototype.Yn=function(){var a=this.b.nb(),c;a.Tc=0;for(c=this.Dd.length;a.Tc<c;a.Tc++)if(this.Dd[a.Tc].Ib())return;this.Iv()};r.prototype.dD=function(){var a=this.b.nb(),c;for(c=this.Dd.length;a.Tc<c;a.Tc++)if(this.Dd[a.Tc].Ib())return;this.Iv()};r.prototype.Iv=function(){if(this.Ud.length){var a,c,d,b,k=this.Ud.length-
1;this.b.Sn(this);if(this.Er)for(a=0,c=this.Ud.length;a<c;a++)d=this.Ud[a],(b=!this.uo||!this.group&&a<k)&&this.b.Eh(d.Ca),d.Ib(),b?this.b.Oe(d.Ca):this.b.lp(d.Ca);else for(a=0,c=this.Ud.length;a<c;a++)this.Ud[a].Ib();this.b.On()}};r.prototype.hD=function(){var a=this.b.nb();a.tb=this;var c=!1,d;a.Ab=0;for(d=this.Rb.length;a.Ab<d;a.Ab++)if(this.Rb[a.Ab].Ib())c=!0;else if(!this.yd)return!1;return this.yd?c:!0};r.prototype.Gh=function(){this.b.Xg++;var a=this.b.nb().Ab,c=this.b.Sn(this);if(!this.yd)for(c.Ab=
a+1,a=this.Rb.length;c.Ab<a;c.Ab++)if(!this.Rb[c.Ab].Ib()){this.b.On();return}this.Yn();this.b.On()};r.prototype.fC=function(a){var c=a.index;if(0===c)return!0;for(--c;0<=c;--c)if(this.Rb[c].type===a.type)return!1;return!0};fc=r;a.prototype.xb=function(){var a,c,d;a=0;for(c=this.na.length;a<c;a++)d=this.na[a],d.xb(),d.Wd&&(this.vj=!0)};a.prototype.jD=function(){return!0};a.prototype.rr=function(){var a,c;a=0;for(c=this.na.length;a<c;a++)this.ob[a]=this.na[a].get();return Ua(this.oc.apply(this.b.Ue,
this.ob),this.Wm)};a.prototype.iD=function(){var a,c;a=0;for(c=this.na.length;a<c;a++)this.ob[a]=this.na[a].get();a=this.oc.apply(this.Mg?this.Mg:this.type,this.ob);this.type.pd();return a};a.prototype.qr=function(){var a,c,d,b,k,f,m,h,n=this.type,g=n.ba(),l=this.qd.yd&&!this.trigger;c=0;var t=n.fc,r=n.S,p=n.rf,v=this.ee,w=-1<v,z=this.vj,Q=this.na,A=this.ob,K=this.Wm,x=this.oc,M;if(z)for(c=0,k=Q.length;c<k;++c)f=Q[c],f.Wd||(A[c]=f.get(0));else for(c=0,k=Q.length;c<k;++c)A[c]=Q[c].get(0);if(g.la){B(g.k);
B(g.pa);M=n.k;a=0;for(b=M.length;a<b;++a){h=M[a];if(z)for(c=0,k=Q.length;c<k;++c)f=Q[c],f.Wd&&(A[c]=f.get(a));w?(c=0,r&&(c=h.type.gi[p]),c=x.apply(h.Y[v+c],A)):c=x.apply(h,A);(m=Ua(c,K))?g.k.push(h):l&&g.pa.push(h)}n.finish&&n.finish(!0);g.la=!1;n.pd();return g.Up()}d=0;M=(m=l&&!this.qd.fC(this))?g.pa:g.k;var D=!1;a=0;for(b=M.length;a<b;++a){h=M[a];if(z)for(c=0,k=Q.length;c<k;++c)f=Q[c],f.Wd&&(A[c]=f.get(a));w?(c=0,r&&(c=h.type.gi[p]),c=x.apply(h.Y[v+c],A)):c=x.apply(h,A);if(Ua(c,K))if(D=!0,m){if(g.k.push(h),
t)for(c=0,k=h.siblings.length;c<k;c++)f=h.siblings[c],f.type.ba().k.push(f)}else{M[d]=h;if(t)for(c=0,k=h.siblings.length;c<k;c++)f=h.siblings[c],f.type.ba().k[d]=f;d++}else if(m){M[d]=h;if(t)for(c=0,k=h.siblings.length;c<k;c++)f=h.siblings[c],f.type.ba().pa[d]=f;d++}else if(l&&(g.pa.push(h),t))for(c=0,k=h.siblings.length;c<k;c++)f=h.siblings[c],f.type.ba().pa.push(f)}Ca(M,d);if(t)for(r=n.jd,a=0,b=r.length;a<b;a++)h=r[a].ba(),m?Ca(h.pa,d):Ca(h.k,d);d=D;if(m&&!D)for(a=0,b=g.k.length;a<b;a++){h=g.k[a];
if(z)for(c=0,k=Q.length;c<k;c++)f=Q[c],f.Wd&&(A[c]=f.get(a));c=w?x.apply(h.Y[v],A):x.apply(h,A);if(Ua(c,K)){D=!0;break}}n.finish&&n.finish(d||l);return l?D:g.Up()};ac=a;c.prototype.xb=function(){var a,c,d;a=0;for(c=this.na.length;a<c;a++)d=this.na[a],d.xb(),d.Wd&&(this.vj=!0)};c.prototype.rr=function(){var a=this.b,c,d,k=this.na,b=this.ob;c=0;for(d=k.length;c<d;++c)b[c]=k[c].get();return this.oc.apply(a.Ue,b)};c.prototype.qr=function(){var a=this.type,c=this.ee,d=a.rf,k=this.vj,b=this.na,f=this.ob,
m=this.oc,h=a.ba().Bc(),a=a.S,n=-1<c,g,l,t,r,p,v;if(k)for(l=0,r=b.length;l<r;++l)p=b[l],p.Wd||(f[l]=p.get(0));else for(l=0,r=b.length;l<r;++l)f[l]=b[l].get(0);g=0;for(t=h.length;g<t;++g){v=h[g];if(k)for(l=0,r=b.length;l<r;++l)p=b[l],p.Wd&&(f[l]=p.get(g));n?(l=0,a&&(l=v.type.gi[d]),m.apply(v.Y[c+l],f)):m.apply(v,f)}return!1};bc=c;var w=[],z=-1;v.prototype.xb=function(){var a,c;if(11===this.type)this.Wg=this.b.Tt(this.ml,this.qd.parent);else if(13===this.type)for(a=0,c=this.Lh.length;a<c;a++)this.Lh[a].xb();
this.De&&this.De.xb()};v.prototype.xC=function(a){this.Wd||!a||a.xa.ko||(this.Wd=!0)};v.prototype.Rv=function(){this.Wd=!0};v.prototype.IB=function(a){this.Lf=a||0;a=d();this.De.get(a);z--;return a.data};v.prototype.JB=function(a){this.Lf=a||0;a=d();this.De.get(a);z--;return ma(a.data)?a.data:""};v.prototype.PB=function(){return this.object};v.prototype.GB=function(){return this.ut};v.prototype.NB=function(a){this.Lf=a||0;a=d();this.De.get(a);z--;return a.gc()?this.b.li(a.data):this.b.Om(a.data)};
v.prototype.OB=function(){return this.ic};v.prototype.MB=function(){return this.key};v.prototype.LB=function(){return this.index};v.prototype.KB=function(a){a=a||0;var c=this.Pd.type,d=null,d=c.ba(),b=d.Bc();if(b.length)d=b[a%b.length].type;else if(d.pa.length)d=d.pa[a%d.pa.length].type;else if(c.k.length)d=c.k[a%c.k.length].type;else return 0;return this.index+d.zm[c.rf]};v.prototype.HB=function(){return this.Wg};v.prototype.EB=function(){return this.Lt};v.prototype.QB=function(){var a,c;a=0;for(c=
this.Lh.length;a<c;a++)this.ll[a]=this.Lh[a].get();return this.ll};cc=v;f.prototype.xb=function(){this.Ca=b(this.Ca)};f.prototype.Jh=function(a){var c=this.b.Qt();this.parent&&!this.fk&&c?(this.xh>=c.length&&(c.length=this.xh+1),c[this.xh]=a):this.data=a};f.prototype.Qj=function(){var a=this.b.Qt();return!this.parent||this.fk||!a||this.dn?this.data:this.xh>=a.length||"undefined"===typeof a[this.xh]?this.Zp:a[this.xh]};f.prototype.Ib=function(){!this.parent||this.fk||this.dn||this.Jh(this.Zp)};Ub=
f;m.prototype.toString=function(){return"include:"+this.Wj.toString()};m.prototype.xb=function(){this.Wj=this.b.zp[this.WB];this.sheet.au.add(this);this.Ca=b(this.Ca);for(var a=this.parent;a;)a.group&&a.em.push(this),a=a.parent;this.uw()};m.prototype.Ib=function(){this.parent&&this.b.Ik(this.b.K);this.Wj.Vp||this.Wj.Ib(!0);this.parent&&this.b.Oe(this.b.K)};m.prototype.uw=function(){for(var a=this.parent;a;){if(a.group&&!a.$g){this.ib=!1;return}a=a.parent}this.ib=!0};gc=m;k.prototype.reset=function(a){this.tb=
a;this.Tc=this.Ab=0;B(this.dw);this.wp=this.ph=!1};k.prototype.iu=function(){return this.tb.Er?!0:this.Ab<this.tb.Rb.length-1?!!this.tb.Ca.length:!1};Tb=k})();
(function(){function g(b,a){this.Pd=b;this.b=b.b;this.type=a[0];this.get=[this.TA,this.PA,this.bB,this.eB,this.EA,this.cB,this.XA,this.MA,this.WA,this.aB,this.FA,this.$A,this.NA,this.YA,this.UA,this.VA,this.QA,this.RA,this.LA,this.dB,this.ZA,this.SA,this.KA,this.OA][this.type];var c=null;this.Af=this.na=this.ob=this.oc=this.ro=this.second=this.first=this.value=null;this.ee=-1;this.je=null;this.yw=-1;this.Wg=this.ml=null;this.Wi=!1;switch(this.type){case 0:case 1:case 2:this.value=a[1];break;case 3:this.first=
new ec(b,a[1]);break;case 18:this.first=new ec(b,a[1]);this.second=new ec(b,a[2]);this.ro=new ec(b,a[3]);break;case 19:this.oc=this.b.Tf(a[1]);this.oc!==L.prototype.L.random&&this.oc!==L.prototype.L.Rz||this.Pd.Rv();this.ob=[];this.na=[];3===a.length?(c=a[2],this.ob.length=c.length+1):this.ob.length=1;break;case 20:this.Af=this.b.K[a[1]];this.ee=-1;this.oc=this.b.Tf(a[2]);this.Wi=a[3];uc&&this.oc===uc.prototype.L.Hw&&this.Pd.Rv();a[4]?this.je=new ec(b,a[4]):this.je=null;this.ob=[];this.na=[];6===
a.length?(c=a[5],this.ob.length=c.length+1):this.ob.length=1;break;case 21:this.Af=this.b.K[a[1]];this.Wi=a[2];a[3]?this.je=new ec(b,a[3]):this.je=null;this.yw=a[4];break;case 22:this.Af=this.b.K[a[1]];this.Af.Mm(a[2]);this.ee=this.Af.Ip(a[2]);this.oc=this.b.Tf(a[3]);this.Wi=a[4];a[5]?this.je=new ec(b,a[5]):this.je=null;this.ob=[];this.na=[];7===a.length?(c=a[6],this.ob.length=c.length+1):this.ob.length=1;break;case 23:this.ml=a[1],this.Wg=null}this.Pd.xC(this.Af);4<=this.type&&17>=this.type&&(this.first=
new ec(b,a[1]),this.second=new ec(b,a[2]));if(c){var d,h;d=0;for(h=c.length;d<h;d++)this.na.push(new ec(b,c[d]))}}function l(){++r;h.length===r&&h.push(new dc);return h[r]}function b(b,a,c){var d,h;d=0;for(h=b.length;d<h;++d)b[d].get(c),a[d+1]=c.data}function p(b,a){this.type=b||hc.Sh;this.data=a||0;this.zh=null;this.type==hc.Sh&&(this.data=Math.floor(this.data))}g.prototype.xb=function(){23===this.type&&(this.Wg=this.Pd.b.Tt(this.ml,this.Pd.qd.parent));this.first&&this.first.xb();this.second&&this.second.xb();
this.ro&&this.ro.xb();this.je&&this.je.xb();if(this.na){var b,a;b=0;for(a=this.na.length;b<a;b++)this.na[b].xb()}};var h=[],r=-1;g.prototype.dB=function(h){var a=this.na,c=this.ob;c[0]=h;h=l();b(a,c,h);--r;this.oc.apply(this.b.Ue,c)};g.prototype.ZA=function(h){var a=this.Af,c=this.ob,d=this.na,g=this.je,f=this.oc,m=this.Pd.Lf,k=a.ba(),t=k.Bc();if(!t.length)if(k.pa.length)t=k.pa;else{this.Wi?h.ed(""):h.Ba(0);return}c[0]=h;h.zh=a;h=l();b(d,c,h);g&&(g.get(h),h.gc()&&(m=h.data,t=a.k));--r;a=t.length;
if(m>=a||m<=-a)m%=a;0>m&&(m+=a);f.apply(t[m],c)};g.prototype.KA=function(h){var a=this.Af,c=this.ob,d=this.na,g=this.je,f=this.ee,m=this.oc,k=this.Pd.Lf,t=a.ba(),p=t.Bc();if(!p.length)if(t.pa.length)p=t.pa;else{this.Wi?h.ed(""):h.Ba(0);return}c[0]=h;h.zh=a;h=l();b(d,c,h);g&&(g.get(h),h.gc()&&(k=h.data,p=a.k));--r;d=p.length;if(k>=d||k<=-d)k%=d;0>k&&(k+=d);k=p[k];p=0;a.S&&(p=k.type.gi[a.rf]);m.apply(k.Y[f+p],c)};g.prototype.SA=function(b){var a=this.je,c=this.Af,d=this.yw,h=this.Pd.Lf,f=c.ba(),m=f.Bc();
if(!m.length)if(f.pa.length)m=f.pa;else{this.Wi?b.ed(""):b.Ba(0);return}if(a){f=l();a.get(f);if(f.gc()){h=f.data;m=c.k;0!==m.length&&(h%=m.length,0>h&&(h+=m.length));h=c.Np(h);c=h.Ub[d];ma(c)?b.ed(c):b.H(c);--r;return}--r}a=m.length;if(h>=a||h<=-a)h%=a;0>h&&(h+=a);h=m[h];m=0;c.S&&(m=h.type.zm[c.rf]);c=h.Ub[d+m];ma(c)?b.ed(c):b.H(c)};g.prototype.TA=function(b){b.type=hc.Sh;b.data=this.value};g.prototype.PA=function(b){b.type=hc.Rh;b.data=this.value};g.prototype.bB=function(b){b.type=hc.String;b.data=
this.value};g.prototype.eB=function(b){this.first.get(b);b.gc()&&(b.data=-b.data)};g.prototype.EA=function(b){this.first.get(b);var a=l();this.second.get(a);b.gc()&&a.gc()&&(b.data+=a.data,a.vi()&&b.Ji());--r};g.prototype.cB=function(b){this.first.get(b);var a=l();this.second.get(a);b.gc()&&a.gc()&&(b.data-=a.data,a.vi()&&b.Ji());--r};g.prototype.XA=function(b){this.first.get(b);var a=l();this.second.get(a);b.gc()&&a.gc()&&(b.data*=a.data,a.vi()&&b.Ji());--r};g.prototype.MA=function(b){this.first.get(b);
var a=l();this.second.get(a);b.gc()&&a.gc()&&(b.data/=a.data,b.Ji());--r};g.prototype.WA=function(b){this.first.get(b);var a=l();this.second.get(a);b.gc()&&a.gc()&&(b.data%=a.data,a.vi()&&b.Ji());--r};g.prototype.aB=function(b){this.first.get(b);var a=l();this.second.get(a);b.gc()&&a.gc()&&(b.data=Math.pow(b.data,a.data),a.vi()&&b.Ji());--r};g.prototype.FA=function(b){this.first.get(b);var a=l();this.second.get(a);a.yi()||b.yi()?this.HA(b,a):this.GA(b,a);--r};g.prototype.HA=function(b,a){b.yi()&&
a.yi()?this.JA(b,a):this.IA(b,a)};g.prototype.JA=function(b,a){b.data+=a.data};g.prototype.IA=function(b,a){b.yi()?b.data+=(Math.round(1E10*a.data)/1E10).toString():b.ed(b.data.toString()+a.data)};g.prototype.GA=function(b,a){b.Ba(b.data&&a.data?1:0)};g.prototype.$A=function(b){this.first.get(b);var a=l();this.second.get(a);b.gc()&&a.gc()&&(b.data||a.data?b.Ba(1):b.Ba(0));--r};g.prototype.LA=function(b){this.first.get(b);b.data?this.second.get(b):this.ro.get(b)};g.prototype.NA=function(b){this.first.get(b);
var a=l();this.second.get(a);b.Ba(b.data===a.data?1:0);--r};g.prototype.YA=function(b){this.first.get(b);var a=l();this.second.get(a);b.Ba(b.data!==a.data?1:0);--r};g.prototype.UA=function(b){this.first.get(b);var a=l();this.second.get(a);b.Ba(b.data<a.data?1:0);--r};g.prototype.VA=function(b){this.first.get(b);var a=l();this.second.get(a);b.Ba(b.data<=a.data?1:0);--r};g.prototype.QA=function(b){this.first.get(b);var a=l();this.second.get(a);b.Ba(b.data>a.data?1:0);--r};g.prototype.RA=function(b){this.first.get(b);
var a=l();this.second.get(a);b.Ba(b.data>=a.data?1:0);--r};g.prototype.OA=function(b){var a=this.Wg.Qj();la(a)?b.H(a):b.ed(a)};ec=g;p.prototype.vi=function(){return this.type===hc.Rh};p.prototype.gc=function(){return this.type===hc.Sh||this.type===hc.Rh};p.prototype.yi=function(){return this.type===hc.String};p.prototype.Ji=function(){this.vi()||(this.yi()&&(this.data=parseFloat(this.data)),this.type=hc.Rh)};p.prototype.Ba=function(b){this.type=hc.Sh;this.data=Math.floor(b)};p.prototype.H=function(b){this.type=
hc.Rh;this.data=b};p.prototype.ed=function(b){this.type=hc.String;this.data=b};p.prototype.ho=function(b){la(b)?(this.type=hc.Rh,this.data=b):ma(b)?(this.type=hc.String,this.data=b.toString()):(this.type=hc.Sh,this.data=0)};dc=p;hc={Sh:0,Rh:1,String:2}})();function L(g){this.b=g;this.gd=[]}
L.prototype.Ha=function(){var g={},l,b,p,h,r,n,a,c;g.waits=[];var d=g.waits,v;l=0;for(b=this.gd.length;l<b;l++){n=this.gd[l];v={t:n.time,st:n.Yv,s:n.Dr,ev:n.ei.ya,sm:[],sols:{}};n.ei.Dd[n.Tc]&&(v.act=n.ei.Dd[n.Tc].ya);p=0;for(h=n.Ca.length;p<h;p++)v.sm.push(n.Ca[p].ya);for(r in n.Pc)if(n.Pc.hasOwnProperty(r)){a=this.b.K[parseInt(r,10)];c={sa:n.Pc[r].Zn,insts:[]};p=0;for(h=n.Pc[r].sf.length;p<h;p++)c.insts.push(n.Pc[r].sf[p].uid);v.sols[a.ya.toString()]=c}d.push(v)}return g};
L.prototype.Oa=function(g){g=g.waits;var l,b,p,h,r,n,a,c,d,v,f;B(this.gd);l=0;for(b=g.length;l<b;l++)if(n=g[l],c=this.b.kt[n.ev.toString()]){d=-1;p=0;for(h=c.Dd.length;p<h;p++)if(c.Dd[p].ya===n.act){d=p;break}if(-1!==d){a={Pc:{},Ca:[],sp:!1};a.time=n.t;a.Yv=n.st||"";a.Dr=!!n.s;a.ei=c;a.Tc=d;p=0;for(h=n.sm.length;p<h;p++)(c=this.b.Qm(n.sm[p]))&&a.Ca.push(c);for(r in n.sols)if(n.sols.hasOwnProperty(r)&&(c=this.b.Qm(parseInt(r,10)))){d=n.sols[r];v={Zn:d.sa,sf:[]};p=0;for(h=d.insts.length;p<h;p++)(f=
this.b.mi(d.insts[p]))&&v.sf.push(f);a.Pc[c.index.toString()]=v}this.gd.push(a)}}};
(function(){function g(){}function l(){}function b(){}var p=L.prototype;g.prototype.Vw=function(){return!0};g.prototype.Es=function(){return!0};g.prototype.ay=function(){return!0};g.prototype.Mw=function(a,d,b){return ic(a,d,b)};g.prototype.Xw=function(a,d,b){var f=this.b.nb(),h=f.tb,f=f.iu();a=this.b.Bv(a);if(b<d)if(f)for(;d>=b&&!a.qb;--d)this.b.Eh(h.Ca),a.index=d,h.Gh(),this.b.Oe(h.Ca);else for(;d>=b&&!a.qb;--d)a.index=d,h.Gh();else if(f)for(;d<=b&&!a.qb;++d)this.b.Eh(h.Ca),a.index=d,h.Gh(),this.b.Oe(h.Ca);
else for(;d<=b&&!a.qb;++d)a.index=d,h.Gh();this.b.vv();return!1};var h=[],r=-1;g.prototype.Yw=function(a){var d=a.ba();r++;h.length===r&&h.push([]);var b=h[r];Da(b,d.Bc());var f=this.b.nb(),m=f.tb,k=f.iu(),f=this.b.Bv(),g,l,n,e,q,p,O=a.fc;if(k)for(k=0,g=b.length;k<g&&!f.qb;k++){this.b.Eh(m.Ca);e=b[k];d=a.ba();d.la=!1;B(d.k);d.k[0]=e;if(O)for(l=0,n=e.siblings.length;l<n;l++)q=e.siblings[l],p=q.type.ba(),p.la=!1,B(p.k),p.k[0]=q;f.index=k;m.Gh();this.b.Oe(m.Ca)}else for(d.la=!1,B(d.k),k=0,g=b.length;k<
g&&!f.qb;k++){e=b[k];d.k[0]=e;if(O)for(l=0,n=e.siblings.length;l<n;l++)q=e.siblings[l],p=q.type.ba(),p.la=!1,B(p.k),p.k[0]=q;f.index=k;m.Gh()}B(b);this.b.vv();r--;return!1};g.prototype.vy=function(a,d,b,f){var m,k,g,l;if(a){r++;h.length===r&&h.push([]);var n=h[r],e=a.ba();Da(n,e.Bc());e.la&&B(e.pa);var q=this.b.ki();g=m=0;for(k=n.length;m<k;m++)l=n[m],n[g]=l,d=q.na[1].get(m),f=q.na[3].get(m),ic(d,b,f)?g++:e.pa.push(l);Ca(n,g);e.la=!1;Da(e.k,n);B(n);r--;a.pd();return!!e.k.length}};g.prototype.qz=function(){var a=
this.b.ki().U;"undefined"===typeof a.TriggerOnce_lastTick&&(a.TriggerOnce_lastTick=-1);var d=a.TriggerOnce_lastTick,b=this.b.Ph;a.TriggerOnce_lastTick=b;return this.b.tq||d!==b-1};g.prototype.Uw=function(a){var d=this.b.ki(),b=d.U.Every_lastTime||0,f=this.b.hc.fa;"undefined"===typeof d.U.Every_seconds&&(d.U.Every_seconds=a);var h=d.U.Every_seconds;if(f>=b+h)return d.U.Every_lastTime=b+h,f>=d.U.Every_lastTime+.04&&(d.U.Every_lastTime=f),d.U.Every_seconds=a,!0;f<b-.1&&(d.U.Every_lastTime=f);return!1};
g.prototype.Ow=function(a,d,b){return ic(a.Qj(),d,b)};g.prototype.rx=function(a){return(a=this.b.oi[a.toLowerCase()])&&a.$g};g.prototype.vx=function(){return this.b.fh};g.prototype.Tw=function(){var a=this.b.nb();return a.wp?!1:!a.ph};g.prototype.Fs=function(){return!0};g.prototype.Mx=function(){return!0};g.prototype.Ko=function(){return!0};g.prototype.Ks=function(){return!0};g.prototype.by=function(){return!0};g.prototype.El=function(){return!0};g.prototype.yx=function(a){var d=this.b;switch(a){case 0:return!d.Xa&&
!d.an&&!d.Mc&&!d.cn&&!d.ih&&!d.bq&&!d.Xm;case 1:return d.jh;case 2:return d.qi;case 3:return d.kq;case 4:return d.ih;case 5:return d.bq;case 6:return d.jq;case 7:return d.Xc;case 8:return d.Mc;case 9:return d.bC;case 10:return d.an;case 11:return d.Zj;case 12:return d.Xm;case 13:return d.dk;default:return!1}};g.prototype.Fw=function(a,d,b){return Pa(J(a),J(b))<=J(d)};g.prototype.nx=function(a,d){return Ra(J(a),J(d))};g.prototype.jx=function(a,d,b){a=Na(a);d=Na(d);b=Na(b);return Ra(b,d)?Ra(a,d)&&!Ra(a,
b):!(!Ra(a,d)&&Ra(a,b))};p.j=new g;l.prototype.$w=function(a){this.b.kh||this.b.df||(this.b.df=a)};l.prototype.Qw=function(a,d,b,f){if(d&&a&&(d=this.b.hm(a,d,b,f))){this.b.Yc++;var h;this.b.trigger(Object.getPrototypeOf(a.xa).j.Uf,d);if(d.fc)for(b=0,f=d.siblings.length;b<f;b++)h=d.siblings[b],this.b.trigger(Object.getPrototypeOf(h.type.xa).j.Uf,h);this.b.Yc--;a=a.ba();a.la=!1;B(a.k);a.k[0]=d;if(d.fc)for(b=0,f=d.siblings.length;b<f;b++)h=d.siblings[b],a=h.type.ba(),a.la=!1,B(a.k),a.k[0]=h}};l.prototype.Uy=
function(a,d){a&&a.visible!==d&&(a.visible=d,this.b.ca=!0)};l.prototype.Dy=function(a,d){this.b.ua.ur(a);this.b.ua.wr(d)};l.prototype.fz=function(a,d){0===a.Co?la(d)?a.Jh(d):a.Jh(parseFloat(d)):1===a.Co&&a.Jh(d.toString())};l.prototype.Dw=function(a,d){0===a.Co?la(d)?a.Jh(a.Qj()+d):a.Jh(a.Qj()+parseFloat(d)):1===a.Co&&a.Jh(a.Qj()+d.toString())};l.prototype.Py=function(a,d){var b=this.b.oi[a.toLowerCase()];if(b)switch(d){case 0:b.Qk(!1);break;case 1:b.Qk(!0);break;case 2:b.Qk(!b.$g)}};l.prototype.ez=
function(a){0>a&&(a=0);this.b.Ig=a};l.prototype.Zy=function(a,d){var b=d;0>b&&(b=0);if(a){var f=a.ba().Bc(),h,k;h=0;for(k=f.length;h<k;h++)f[h].Ni=b}};var n=[],a=[];l.prototype.uz=function(c){if(!(0>c)){var d,b,f,h=this.b.nb(),k;n.length?k=n.pop():k={Pc:{},Ca:[]};k.sp=!1;k.time=this.b.hc.fa+c;k.Yv="";k.Dr=!1;k.ei=h.tb;k.Tc=h.Tc+1;c=0;for(d=this.b.K.length;c<d;c++)f=this.b.K[c],b=f.ba(),b.la&&-1===h.tb.Ca.indexOf(f)||(k.Ca.push(f),f=void 0,a.length?f=a.pop():f={sf:[]},f.Zn=!1,f.Zn=b.la,Da(f.sf,b.k),
k.Pc[c.toString()]=f);this.gd.push(k);return!0}};l.prototype.ax=function(a){if(!this.b.kh&&!this.b.df)for(var d in this.b.Hi)if(this.b.Hi.hasOwnProperty(d)&&lb(d,a)){this.b.df=this.b.Hi[d];break}};l.prototype.Cy=function(){if(!this.b.kh&&!this.b.df&&this.b.ua){this.b.df=this.b.ua;var a,d,b;a=0;for(d=this.b.Yf.length;a<d;a++)b=this.b.Yf[a],b.Qk(b.Vm)}};l.prototype.yy=function(a,d,b,f,h){a&&this.b.ua.jr(a,d,b,f,h)};p.n=new l;b.prototype["int"]=function(a,d){ma(d)?(a.Ba(parseInt(d,10)),isNaN(a.data)&&
(a.data=0)):a.Ba(d)};b.prototype["float"]=function(a,d){ma(d)?(a.H(parseFloat(d)),isNaN(a.data)&&(a.data=0)):a.H(d)};b.prototype.random=function(a,d,b){void 0===b?a.H(Math.random()*d):a.H(Math.random()*(b-d)+d)};b.prototype.sqrt=function(a,d){a.H(Math.sqrt(d))};b.prototype.abs=function(a,d){a.H(Math.abs(d))};b.prototype.round=function(a,d){a.Ba(Math.round(d))};b.prototype.floor=function(a,d){a.Ba(Math.floor(d))};b.prototype.ceil=function(a,d){a.Ba(Math.ceil(d))};b.prototype.sin=function(a,d){a.H(Math.sin(J(d)))};
b.prototype.cos=function(a,d){a.H(Math.cos(J(d)))};b.prototype.tan=function(a,d){a.H(Math.tan(J(d)))};b.prototype.asin=function(a,d){a.H(Ja(Math.asin(d)))};b.prototype.acos=function(a,d){a.H(Ja(Math.acos(d)))};b.prototype.atan=function(a,d){a.H(Ja(Math.atan(d)))};b.prototype.exp=function(a,d){a.H(Math.exp(d))};b.prototype.log10=function(a,d){a.H(Math.log(d)/Math.LN10)};b.prototype.max=function(a){var d=arguments[1];"number"!==typeof d&&(d=0);var b,f,h;b=2;for(f=arguments.length;b<f;b++)h=arguments[b],
"number"===typeof h&&d<h&&(d=h);a.H(d)};b.prototype.min=function(a){var d=arguments[1];"number"!==typeof d&&(d=0);var b,f,h;b=2;for(f=arguments.length;b<f;b++)h=arguments[b],"number"===typeof h&&d>h&&(d=h);a.H(d)};b.prototype.of=function(a){a.H(this.b.of)};b.prototype.Ig=function(a){a.H(this.b.Ig)};b.prototype.time=function(a){a.H(this.b.hc.fa)};b.prototype.Ph=function(a){a.Ba(this.b.Ph)};b.prototype.An=function(a){a.Ba(this.b.An)};b.prototype.Gp=function(a){a.Ba(this.b.Gp)};b.prototype.uC=function(a,
d){var b,f;if(this.b.tk.length)if(d){for(f=this.b.uk;0<=f;--f)if(b=this.b.tk[f],b.name===d){a.Ba(b.index);return}a.Ba(0)}else b=this.b.Rt(),a.Ba(b?b.index:-1);else a.Ba(0)};b.prototype.u=function(a,d,b,f,h){a.H(Ja(Oa(d,b,f,h)))};b.prototype.mD=function(a){a.H(this.b.ua.scrollX)};b.prototype.nD=function(a){a.H(this.b.ua.scrollY)};b.prototype.rC=function(a,d,b,f){a.H(Wa(d,b,f))};b.prototype.Sz=function(a,d,b,f){d<b?a.H(b):d>f?a.H(f):a.H(d)};b.prototype.qC=function(a){a.Ba(this.b.ua.width)};b.prototype.pC=
function(a){a.Ba(this.b.ua.height)};b.prototype.left=function(a,d,b){a.ed(ma(d)?d.substr(0,b):"")};b.prototype.right=function(a,d,b){a.ed(ma(d)?d.substr(d.length-b):"")};b.prototype.replace=function(a,d,b,f){ma(d)&&ma(b)&&ma(f)?a.ed(d.replace(new RegExp(eb(b),"gi"),f)):a.ed(ma(d)?d:"")};b.prototype.trim=function(a,d){a.ed(ma(d)?d.trim():"")};b.prototype.Rz=function(a){var d=ua(Math.random()*(arguments.length-1));a.ho(arguments[d+1])};b.prototype.op=function(a){a.H(this.b.op/1E3)};b.prototype.MD=function(a,
d){var b=this.b.Nm(d);a.H(b?b.Ja:0)};b.prototype.OD=function(a,b){var h=this.b.Nm(b);a.H(h?h.Ka:0)};b.prototype.ND=function(a,b){var h=this.b.Nm(b);a.H(h?h.Ua:0)};b.prototype.LD=function(a,b){var h=this.b.Nm(b);a.H(h?h.Ta:0)};b.prototype.sn=function(a){a.H(this.b.sn)};p.L=new b;p.fD=function(){var c,b,h,f,m,k,g=this.b.nb();c=0;for(h=this.gd.length;c<h;c++){f=this.gd[c];if(-1===f.time){if(!f.Dr)continue}else if(f.time>this.b.hc.fa)continue;g.tb=f.ei;g.Tc=f.Tc;g.Ab=0;for(b in f.Pc)f.Pc.hasOwnProperty(b)&&
(m=this.b.K[parseInt(b,10)].ba(),k=f.Pc[b],m.la=k.Zn,Da(m.k,k.sf),m=k,B(m.sf),a.push(m));f.ei.dD();this.b.lp(f.Ca);f.sp=!0}b=c=0;for(h=this.gd.length;c<h;c++)f=this.gd[c],this.gd[b]=f,f.sp?(Ya(f.Pc),B(f.Ca),n.push(f)):b++;Ca(this.gd,b)}})();
(function(){ob=function(g,b){var p=g[1],h=g[3],r=g[4],n=g[5],a=g[6],c=g[7],d=g[8];b.j||(b.j={});b.n||(b.n={});b.L||(b.L={});var v=b.j,f=b.n,m=b.L;h&&(v.cE=function(a,c){return ic(this.x,a,c)},v.Pw=function(a,c){return ic(this.y,a,c)},v.zx=function(){var a=this.A;this.Sa();var c=this.bb;return!(c.right<a.Ja||c.bottom<a.Ka||c.left>a.Ua||c.top>a.Ta)},v.gE=function(){this.Sa();var a=this.bb,c=this.b.ua;return 0>a.right||0>a.bottom||a.left>c.width||a.top>c.height},v.sE=function(a,c,b){var d=this.ba(),
e=d.Bc();if(!e.length)return!1;var f=e[0],h=f,m=Ta(f.x,f.y,c,b),u,g,l;u=1;for(g=e.length;u<g;u++)if(f=e[u],l=Ta(f.x,f.y,c,b),0===a&&l<m||1===a&&l>m)m=l,h=f;d.Fk(h);return!0},f.Qs=function(a){this.x!==a&&(this.x=a,this.D())},f.Rs=function(a){this.y!==a&&(this.y=a,this.D())},f.Os=function(a,c){if(this.x!==a||this.y!==c)this.x=a,this.y=c,this.D()},f.cz=function(a,c){var b=a.xB(this);if(b){var d;b.Zg?(d=b.Zg(c,!0),b=b.Zg(c,!1)):(d=b.x,b=b.y);if(this.x!==d||this.y!==b)this.x=d,this.y=b,this.D()}},f.mE=
function(a){0!==a&&(this.x+=Math.cos(this.u)*a,this.y+=Math.sin(this.u)*a,this.D())},f.lE=function(a,c){0!==c&&(this.x+=Math.cos(J(a))*c,this.y+=Math.sin(J(a))*c,this.D())},m.Uo=function(a){a.H(this.x)},m.Hl=function(a){a.H(this.y)},m.of=function(a){a.H(this.b.Ge(this))});r&&(v.bE=function(a,c){return ic(this.width,a,c)},v.ZD=function(a,c){return ic(this.height,a,c)},f.RE=function(a){this.width!==a&&(this.width=a,this.D())},f.Qy=function(a){this.height!==a&&(this.height=a,this.D())},f.Qo=function(a,
c){if(this.width!==a||this.height!==c)this.width=a,this.height=c,this.D()},m.vz=function(a){a.H(this.width)},m.ls=function(a){a.H(this.height)},m.WD=function(a){this.Sa();a.H(this.bb.left)},m.YD=function(a){this.Sa();a.H(this.bb.top)},m.XD=function(a){this.Sa();a.H(this.bb.right)},m.VD=function(a){this.Sa();a.H(this.bb.bottom)});n&&(v.Fw=function(a,c){return Pa(this.u,J(c))<=J(a)},v.nx=function(a){return Ra(this.u,J(a))},v.jx=function(a,c){var b=Na(a),d=Na(c),e=La(this.u);return Ra(d,b)?Ra(e,b)&&
!Ra(e,d):!(!Ra(e,b)&&Ra(e,d))},f.Gy=function(a){a=J(Ka(a));isNaN(a)||this.u===a||(this.u=a,this.D())},f.AE=function(a){0===a||isNaN(a)||(this.u+=J(a),this.u=La(this.u),this.D())},f.BE=function(a){0===a||isNaN(a)||(this.u-=J(a),this.u=La(this.u),this.D())},f.CE=function(a,c){var b=Qa(this.u,J(c),J(a));isNaN(b)||this.u===b||(this.u=b,this.D())},f.DE=function(a,c,b){a=Qa(this.u,Math.atan2(b-this.y,c-this.x),J(a));isNaN(a)||this.u===a||(this.u=a,this.D())},f.NE=function(a,c){var b=Math.atan2(c-this.y,
a-this.x);isNaN(b)||this.u===b||(this.u=b,this.D())},m.Ew=function(a){a.H(Ma(this.u))});p||(v.gs=function(a,c,b){return ic(this.Ub[a],c,b)},v.kx=function(a){return this.Ub[a]},v.tE=function(a,c){var b=this.ba(),d=b.Bc();if(!d.length)return!1;var e=d[0],f=e,h=e.Ub[c],m,u,g;m=1;for(u=d.length;m<u;m++)if(e=d[m],g=e.Ub[c],0===a&&g<h||1===a&&g>h)h=g,f=e;b.Fk(f);return!0},v.Fl=function(a){var c,b,d,e,f;if(this.b.ki().Wm){f=this.ba();if(f.la)for(f.la=!1,B(f.k),B(f.pa),d=this.k,c=0,b=d.length;c<b;c++)e=d[c],
e.uid===a?f.pa.push(e):f.k.push(e);else{d=c=0;for(b=f.k.length;c<b;c++)e=f.k[c],f.k[d]=e,e.uid===a?f.pa.push(e):d++;Ca(f.k,d)}this.pd();return!!f.k.length}e=this.b.mi(a);if(!e)return!1;f=this.ba();if(!f.la&&-1===f.k.indexOf(e))return!1;if(this.S)for(a=e.type.cb,c=0,b=a.length;c<b;c++){if(a[c]===this)return f.Fk(e),this.pd(),!0}else if(e.type===this)return f.Fk(e),this.pd(),!0;return!1},v.Uf=function(){return!0},v.rs=function(){return!0},f.Ry=function(a,c){var b=this.Ub;la(b[a])?b[a]=la(c)?c:parseFloat(c):
ma(b[a])&&(b[a]=ma(c)?c:c.toString())},f.UD=function(a,c){var b=this.Ub;la(b[a])?b[a]=la(c)?b[a]+c:b[a]+parseFloat(c):ma(b[a])&&(b[a]=ma(c)?b[a]+c:b[a]+c.toString())},f.TE=function(a,c){var b=this.Ub;la(b[a])&&(b[a]=la(c)?b[a]-c:b[a]-parseFloat(c))},f.Ky=function(a,c){this.Ub[a]=c?1:0},f.VE=function(a){this.Ub[a]=1-this.Ub[a]},f.Ho=function(){this.b.Sf(this)},f.Gx||(f.Gx=function(a){var c,b;try{c=JSON.parse(a)}catch(d){return}this.b.pn(this,c,!0);this.ye&&this.ye();if(this.Y)for(a=0,c=this.Y.length;a<
c;++a)b=this.Y[a],b.ye&&b.ye()}),m.dE=function(a){var c=a.zh.k.length,b,d,e;b=0;for(d=this.b.he.length;b<d;b++)e=this.b.he[b],a.zh.S?0<=e.type.cb.indexOf(a.zh)&&c++:e.type===a.zh&&c++;a.Ba(c)},m.vE=function(a){a.Ba(a.zh.ba().Bc().length)},m.To=function(a){a.Ba(this.uid)},m.eE=function(a){a.Ba(this.Rj())},m.Gw||(m.Gw=function(a){a.ed(JSON.stringify(this.b.sr(this,!0)))}));a&&(v.iE=function(){return this.visible},f.QE=function(a){!a!==!this.visible&&(this.visible=!!a,this.b.ca=!0)},v.$D=function(a,
c){return ic(kb(100*this.opacity),a,c)},f.$y=function(a){a=a/100;0>a?a=0:1<a&&(a=1);a!==this.opacity&&(this.opacity=a,this.b.ca=!0)},m.Opacity=function(a){a.H(kb(100*this.opacity))});c&&(v.fE=function(a){return a?this.A===a:!1},v.uE=function(a){var c=this.ba(),b=c.Bc();if(!b.length)return!1;var d=b[0],e=d,f,h;f=1;for(h=b.length;f<h;f++)if(d=b[f],0===a){if(d.A.index>e.A.index||d.A.index===e.A.index&&d.Ld()>e.Ld())e=d}else if(d.A.index<e.A.index||d.A.index===e.A.index&&d.Ld()<e.Ld())e=d;c.Fk(e);return!0},
f.pE=function(){var a=this.A,c=a.k;c.length&&c[c.length-1]===this||(a.Vi(this,!1),a.xj(this,!1),this.b.ca=!0)},f.nE=function(){var a=this.A,c=a.k;c.length&&c[0]===this||(a.Vi(this,!1),a.RC(this),this.b.ca=!0)},f.oE=function(a){a&&a!=this.A&&(this.A.Vi(this,!0),this.A=a,a.xj(this,!0),this.b.ca=!0)},f.YE=function(a,c){var b=0===a;if(c){var d=c.rB(this);d&&d.uid!==this.uid&&(this.A.index!==d.A.index&&(this.A.Vi(this,!0),this.A=d.A,d.A.xj(this,!0)),this.A.zC(this,d,b),this.b.ca=!0)}},m.kE=function(a){a.Ba(this.A.av)},
m.jE=function(a){a.ed(this.A.name)},m.XE=function(a){a.Ba(this.Ld())});d&&(f.HE=function(a,c){if(this.b.C){var b=this.type.Mp(c);if(!(0>b)){var d=1===a;this.Wf[b]!==d&&(this.Wf[b]=d,this.se(),this.b.ca=!0)}}},f.IE=function(a,c,b){if(this.b.C){var d=this.type.Mp(a);0>d||(a=this.type.ka[d],d=this.mb[d],c=Math.floor(c),0>c||c>=d.length||(1===this.b.C.BB(a.Jb,c)&&(b/=100),d[c]!==b&&(d[c]=b,a.ib&&(this.b.ca=!0))))}})};Lb=function(){this.kp=this.dp=!0;this.type.Ol=!0;this.b.ca=!0;var g,b,p=this.ep;g=0;
for(b=p.length;g<b;++g)p[g](this);this.A.Cd&&this.Sa()};Mb=function(g){g&&this.ep.push(g)};Ob=function(){if(this.dp){var g=this.bb,b=this.Uc;g.set(this.x,this.y,this.x+this.width,this.y+this.height);g.offset(-this.Cc*this.width,-this.Dc*this.height);this.u?(g.offset(-this.x,-this.y),b.Tv(g,this.u),b.offset(this.x,this.y),b.mt(g)):b.Uk(g);g.normalize();this.dp=!1;this.GD()}};var g=new ya(0,0,0,0);Pb=function(){if(this.A.Cd){var l=this.A.vc,b=this.bb;g.set(l.Rc(b.left),l.Sc(b.top),l.Rc(b.right),l.Sc(b.bottom));
this.bd.Jj(g)||(this.bd.right<this.bd.left?l.update(this,null,g):l.update(this,this.bd,g),this.bd.Zh(g),this.A.ne=!0)}};Qb=function(){if(this.kp&&this.Fd){this.Sa();var l=this.type.Cj,b=this.bb;g.set(l.Rc(b.left),l.Sc(b.top),l.Rc(b.right),l.Sc(b.bottom));this.Ed.Jj(g)||(this.Ed.right<this.Ed.left?l.update(this,null,g):l.update(this,this.Ed,g),this.Ed.Zh(g),this.kp=!1)}};Nb=function(g,b){return this.bb.Sb(g,b)&&this.Uc.Sb(g,b)?this.fj?this.BD(g,b):this.Ma&&!this.Ma.ti()?(this.Ma.Ng(this.width,this.height,
this.u),this.Ma.Sb(g-this.x,b-this.y)):!0:!1};Fb=function(){this.type.yo();return this.dh};Rb=function(){this.A.$r();return this.ve};Sb=function(){B(this.Ia);var g,b,p,h=!0;g=0;for(b=this.Wf.length;g<b;g++)this.Wf[g]&&(p=this.type.ka[g],this.Ia.push(p),p.me||(h=!1));this.xw=!!this.Ia.length;this.Kf=h};Gb=function(){return"Inst"+this.Av};rb=function(g){if(g&&g.fc&&g.type!=this){var b,p,h;b=0;for(p=g.siblings.length;b<p;b++)if(h=g.siblings[b],h.type==this)return h}g=this.ba().Bc();return g.length?g[0]:
null};sb=function(g){var b=this.ba().Bc();return b.length?b[g.Rj()%b.length]:null};qb=function(){if(this.$i&&!this.S){var g,b;g=0;for(b=this.k.length;g<b;g++)this.k[g].dh=g;var p=g,h=this.b.he;g=0;for(b=h.length;g<b;++g)h[g].type===this&&(h[g].dh=p++);this.$i=!1}};Db=function(g){if(g<this.k.length)return this.k[g];g-=this.k.length;var b=this.b.he,p,h;p=0;for(h=b.length;p<h;++p)if(b[p].type===this){if(0===g)return b[p];--g}return null};vb=function(){return this.Mf[this.Be]};wb=function(){this.Be++;
this.Be===this.Mf.length?this.Mf.push(new pb(this)):(this.Mf[this.Be].la=!0,B(this.Mf[this.Be].pa))};xb=function(){this.Be++;this.Be===this.Mf.length&&this.Mf.push(new pb(this));var g=this.Mf[this.Be],b=this.Mf[this.Be-1];b.la?g.la=!0:(g.la=!1,Da(g.k,b.k));B(g.pa)};yb=function(){this.Be--};zb=function(g){var b,p,h,r,n,a=0;if(!this.S)for(b=0,p=this.cb.length;b<p;b++)for(n=this.cb[b],h=0,r=n.jb.length;h<r;h++){if(g===n.jb[h].name)return this.U.lastBehIndex=a,n.jb[h];a++}b=0;for(p=this.jb.length;b<p;b++){if(g===
this.jb[b].name)return this.U.lastBehIndex=a,this.jb[b];a++}return null};Ab=function(g){return this.Mm(g)?this.U.lastBehIndex:-1};Bb=function(g){var b,p;b=0;for(p=this.ka.length;b<p;b++)if(this.ka[b].name===g)return b;return-1};Cb=function(){if(this.fc&&!this.S){var g,b,p,h,r,n,a;this.yo();n=this.ba();var c=n.la,d=(g=this.b.nb())&&g.tb&&g.tb.yd;g=0;for(b=this.jd.length;g<b;g++)if(r=this.jd[g],r!==this&&(r.yo(),a=r.ba(),a.la=c,!c)){B(a.k);p=0;for(h=n.k.length;p<h;++p)a.k[p]=r.Np(n.k[p].dh);if(d)for(B(a.pa),
p=0,h=n.pa.length;p<h;++p)a.pa[p]=r.Np(n.pa[p].dh)}}};Eb=function(){return"Type"+this.ya};ic=function(g,b,p){if("undefined"===typeof g||"undefined"===typeof p)return!1;switch(b){case 0:return g===p;case 1:return g!==p;case 2:return g<p;case 3:return g<=p;case 4:return g>p;case 5:return g>=p;default:return!1}}})();var qc={};function vc(g){this.b=g}
(function(){function g(a){-1===Ib.indexOf(a)&&Ib.push(a)}function l(a){var c=a.B,b;try{b=c.play()}catch(e){g(a);return}b?b.catch(function(){g(a)}):bd&&!I.Ec&&g(a)}function b(){var a,c,b,e;cd||Va||!x||(p(),"running"===x.state&&(cd=!0));var d=Ib.slice(0);B(Ib);if(!S)for(a=0,c=d.length;a<c;++a)b=d[a],b.qb||b.kd||(e=b.B.play())&&e.catch(function(){g(b)})}function p(){"suspended"===x.state&&x.resume&&x.resume();if(x.createBuffer){var a=x.createBuffer(1,220,22050),b=x.createBufferSource();b.buffer=a;b.connect(x.destination);
c(b)}}function h(a){0>a&&(a=0);1<a&&(a=1);return Math.log(a)/Math.log(10)*20}function r(a){a=a.toLowerCase();return ka.hasOwnProperty(a)&&ka[a].length?ka[a][0].vd():x.destination}function n(){return x.createGain?x.createGain():x.createGainNode()}function a(a){return x.createDelay?x.createDelay(a):x.createDelayNode(a)}function c(a,c){a.start?a.start(c||0):a.noteOn(c||0)}function d(a,c,b,e){a.start?a.start(e||0,c):a.noteGrainOn(e||0,c,b-c)}function v(a){try{a.stop?a.stop(0):a.noteOff(0)}catch(c){}}
function f(a,c,b,e,d,f){this.type="filter";this.wb=[a,c,b,e,d,f];this.Aa=n();this.ja=n();this.ja.gain.value=f;this.da=n();this.da.gain.value=1-f;this.Bb=x.createBiquadFilter();this.Bb.type="number"===typeof this.Bb.type?a:nd[a];this.Bb.frequency.value=c;this.Bb.detune&&(this.Bb.detune.value=b);this.Bb.Q.value=e;this.Bb.gain.value=d;this.Aa.connect(this.Bb);this.Aa.connect(this.da);this.Bb.connect(this.ja)}function m(c,b,e){this.type="delay";this.wb=[c,b,e];this.Aa=n();this.ja=n();this.ja.gain.value=
e;this.da=n();this.da.gain.value=1-e;this.vk=n();this.Jd=a(c);this.Jd.delayTime.value=c;this.qm=n();this.qm.gain.value=b;this.Aa.connect(this.vk);this.Aa.connect(this.da);this.vk.connect(this.ja);this.vk.connect(this.Jd);this.Jd.connect(this.qm);this.qm.connect(this.vk)}function k(a,c,b,e){this.type="convolve";this.wb=[c,b,e];this.Aa=n();this.ja=n();this.ja.gain.value=b;this.da=n();this.da.gain.value=1-b;this.Og=x.createConvolver();a&&(this.Og.normalize=c,this.Og.buffer=a);this.Aa.connect(this.Og);
this.Aa.connect(this.da);this.Og.connect(this.ja)}function t(b,e,d,f,h){this.type="flanger";this.wb=[b,e,d,f,h];this.Aa=n();this.da=n();this.da.gain.value=1-h/2;this.ja=n();this.ja.gain.value=h/2;this.Am=n();this.Am.gain.value=f;this.Jd=a(b+e);this.Jd.delayTime.value=b;this.lc=x.createOscillator();this.lc.frequency.value=d;this.nd=n();this.nd.gain.value=e;this.Aa.connect(this.Jd);this.Aa.connect(this.da);this.Jd.connect(this.ja);this.Jd.connect(this.Am);this.Am.connect(this.Jd);this.lc.connect(this.nd);
this.nd.connect(this.Jd.delayTime);c(this.lc)}function w(a,b,e,d,f,h){this.type="phaser";this.wb=[a,b,e,d,f,h];this.Aa=n();this.da=n();this.da.gain.value=1-h/2;this.ja=n();this.ja.gain.value=h/2;this.Bb=x.createBiquadFilter();this.Bb.type="number"===typeof this.Bb.type?7:"allpass";this.Bb.frequency.value=a;this.Bb.detune&&(this.Bb.detune.value=b);this.Bb.Q.value=e;this.lc=x.createOscillator();this.lc.frequency.value=f;this.nd=n();this.nd.gain.value=d;this.Aa.connect(this.Bb);this.Aa.connect(this.da);
this.Bb.connect(this.ja);this.lc.connect(this.nd);this.nd.connect(this.Bb.frequency);c(this.lc)}function z(a){this.type="gain";this.wb=[a];this.Ga=n();this.Ga.gain.value=a}function e(a,b){this.type="tremolo";this.wb=[a,b];this.Ga=n();this.Ga.gain.value=1-b/2;this.lc=x.createOscillator();this.lc.frequency.value=a;this.nd=n();this.nd.gain.value=b/2;this.lc.connect(this.nd);this.nd.connect(this.Ga.gain);c(this.lc)}function q(a,b){this.type="ringmod";this.wb=[a,b];this.Aa=n();this.ja=n();this.ja.gain.value=
b;this.da=n();this.da.gain.value=1-b;this.Pk=n();this.Pk.gain.value=0;this.lc=x.createOscillator();this.lc.frequency.value=a;this.lc.connect(this.Pk.gain);c(this.lc);this.Aa.connect(this.Pk);this.Aa.connect(this.da);this.Pk.connect(this.ja)}function G(a,c,b,e,d){this.type="distortion";this.wb=[a,c,b,e,d];this.Aa=n();this.Qn=n();this.Pn=n();this.oD(b,Math.pow(10,e/20));this.ja=n();this.ja.gain.value=d;this.da=n();this.da.gain.value=1-d;this.Eo=x.createWaveShaper();this.mm=new Float32Array(65536);this.mB(a,
c);this.Eo.mm=this.mm;this.Aa.connect(this.Qn);this.Aa.connect(this.da);this.Qn.connect(this.Eo);this.Eo.connect(this.Pn);this.Pn.connect(this.ja)}function O(a,c,b,e,d){this.type="compressor";this.wb=[a,c,b,e,d];this.Ga=x.createDynamicsCompressor();try{this.Ga.threshold.value=a,this.Ga.knee.value=c,this.Ga.ratio.value=b,this.Ga.attack.value=e,this.Ga.release.value=d}catch(f){}}function u(a,c){this.type="analyser";this.wb=[a,c];this.Ga=x.createAnalyser();this.Ga.fftSize=a;this.Ga.smoothingTimeConstant=
c;this.kB=new Float32Array(this.Ga.frequencyBinCount);this.Wv=new Uint8Array(a);this.Dk=0}function ba(){this.Pa=null;this.rn=0}function W(a,c){this.src=a;this.wa=K;this.He=c;this.Nl=!1;var b=this;this.Ki=this.Si=null;this.Ti=[];this.$n=0;this.cs=this.ym=this.bw=this.Ln=!1;1===K&&c&&!Jb&&(this.wa=0,this.Si=n());this.bf=this.Ea=null;var e;switch(this.wa){case 0:this.Ea=new Audio;this.Ea.crossOrigin="anonymous";this.Ea.addEventListener("canplaythrough",function(){b.cs=!0});1===K&&x.createMediaElementSource&&
!/wiiu/i.test(navigator.userAgent)&&(this.bw=!0,this.Ea.addEventListener("canplay",function(){!b.Ki&&b.Ea&&(b.Ki=x.createMediaElementSource(b.Ea),b.Ki.connect(b.Si))}));this.Ea.autoplay=!1;this.Ea.pF="auto";this.Ea.src=a;break;case 1:I.bn?I.Kt(a,function(a){b.bf=a;b.At()},function(){b.ym=!0}):(e=new XMLHttpRequest,e.open("GET",a,!0),e.responseType="arraybuffer",e.onload=function(){b.bf=e.response;b.At()},e.onerror=function(){b.ym=!0},e.send());break;case 2:this.Ea=!0;break;case 3:this.Ea=!0}}function y(a,
c){var b=this;this.tag=c;this.qb=this.Fe=!0;this.src=a.src;this.buffer=a;this.wa=K;this.He=a.He;this.playbackRate=1;this.pi=!0;this.kd=this.Bd=!1;this.cd=0;this.ek=this.wi=this.Je=!1;this.volume=1;this.Wq=function(a){if(!b.kd&&!b.Bd){var c=this;c||(c=a.target);c===b.Ml&&(b.pi=!0,b.qb=!0,Q=b.tag,I.trigger(vc.prototype.j.Bl,N))}};this.Ml=null;this.si=1===ga&&!this.He||2===ga;this.Li=1;this.startTime=this.si?I.hc.fa:I.Qf.fa;this.Gb=this.Tb=null;this.Ke=!1;this.sc=null;this.pv=this.ov=this.nv=this.lv=
this.rv=this.qv=0;this.B=null;var e=!1;1!==this.wa||0!==this.buffer.wa||this.buffer.bw||(this.wa=0);switch(this.wa){case 0:this.He?(this.B=a.Ea,e=!a.Nl,a.Nl=!0):(this.B=new Audio,this.B.crossOrigin="anonymous",this.B.autoplay=!1,this.B.src=a.Ea.src,e=!0);e&&this.B.addEventListener("ended",function(){Q=b.tag;b.qb=!0;I.trigger(vc.prototype.j.Bl,N)});break;case 1:this.Tb=n();this.Tb.connect(r(c));1===this.buffer.wa?a.Ea&&(this.B=x.createBufferSource(),this.B.buffer=a.Ea,this.B.connect(this.Tb)):(this.B=
this.buffer.Ea,this.buffer.Si.connect(this.Tb),this.buffer.Nl||(this.buffer.Nl=!0,this.buffer.Ea.addEventListener("ended",function(){Q=b.tag;b.qb=!0;I.trigger(vc.prototype.j.Bl,N)})));break;case 2:this.B=new window.Media(A+this.src,null,null,function(a){a===window.Media.MEDIA_STOPPED&&(b.pi=!0,b.qb=!0,Q=b.tag,I.trigger(vc.prototype.j.Bl,N))});break;case 3:this.B=!0}}function E(a,c){var b=a.qg()?1:0,e=c.qg()?1:0;return b===e?0:b<e?1:-1}function H(a,c){B(xa);if(a.length){var b,e,d;b=0;for(e=D.length;b<
e;b++)d=D[b],lb(a,d.tag)&&xa.push(d);c&&xa.sort(E)}else P&&!P.bh()&&(B(xa),xa[0]=P)}function F(a,c){ka.hasOwnProperty(a)?ka[a].push(c):ka[a]=[c];var b,e,d,f,h=x.destination;if(ka.hasOwnProperty(a)&&(d=ka[a],d.length))for(h=d[0].vd(),b=0,e=d.length;b<e;b++)f=d[b],b+1===e?f.Gd(x.destination):f.Gd(d[b+1].vd());H(a);b=0;for(e=xa.length;b<e;b++)xa[b].XC(h);db&&$b===a&&(db.disconnect(),db.connect(h))}function R(){}function C(){}function X(){}var Y=vc.prototype;Y.X=function(a){this.xa=a;this.b=a.b};Y.X.prototype.P=
function(){};var I=null,N=null,Q="",A="",K=0,x=null,M=[],D=[],P=null,V=!1,ga=0,S=!1,T=1,fa=0,ta=0,Va=!1,Xb=1,Yb=1,$c=10,ad=1E4,dd=1,db=null,$b="",bd=!1,Ib=[],Jb=!1,cd=!1;document.addEventListener("pointerup",b,!0);document.addEventListener("touchend",b,!0);document.addEventListener("click",b,!0);document.addEventListener("keydown",b,!0);document.addEventListener("gamepadconnected",b,!0);var ka={},nd="lowpass highpass bandpass lowshelf highshelf peaking notch allpass".split(" ");f.prototype.Gd=function(a){this.ja.disconnect();
this.ja.connect(a);this.da.disconnect();this.da.connect(a)};f.prototype.remove=function(){this.Aa.disconnect();this.Bb.disconnect();this.ja.disconnect();this.da.disconnect()};f.prototype.vd=function(){return this.Aa};m.prototype.Gd=function(a){this.ja.disconnect();this.ja.connect(a);this.da.disconnect();this.da.connect(a)};m.prototype.remove=function(){this.Aa.disconnect();this.vk.disconnect();this.Jd.disconnect();this.qm.disconnect();this.ja.disconnect();this.da.disconnect()};m.prototype.vd=function(){return this.Aa};
k.prototype.Gd=function(a){this.ja.disconnect();this.ja.connect(a);this.da.disconnect();this.da.connect(a)};k.prototype.remove=function(){this.Aa.disconnect();this.Og.disconnect();this.ja.disconnect();this.da.disconnect()};k.prototype.vd=function(){return this.Aa};t.prototype.Gd=function(a){this.da.disconnect();this.da.connect(a);this.ja.disconnect();this.ja.connect(a)};t.prototype.remove=function(){this.Aa.disconnect();this.Jd.disconnect();this.lc.disconnect();this.nd.disconnect();this.da.disconnect();
this.ja.disconnect();this.Am.disconnect()};t.prototype.vd=function(){return this.Aa};w.prototype.Gd=function(a){this.da.disconnect();this.da.connect(a);this.ja.disconnect();this.ja.connect(a)};w.prototype.remove=function(){this.Aa.disconnect();this.Bb.disconnect();this.lc.disconnect();this.nd.disconnect();this.da.disconnect();this.ja.disconnect()};w.prototype.vd=function(){return this.Aa};z.prototype.Gd=function(a){this.Ga.disconnect();this.Ga.connect(a)};z.prototype.remove=function(){this.Ga.disconnect()};
z.prototype.vd=function(){return this.Ga};e.prototype.Gd=function(a){this.Ga.disconnect();this.Ga.connect(a)};e.prototype.remove=function(){this.lc.disconnect();this.nd.disconnect();this.Ga.disconnect()};e.prototype.vd=function(){return this.Ga};q.prototype.Gd=function(a){this.ja.disconnect();this.ja.connect(a);this.da.disconnect();this.da.connect(a)};q.prototype.remove=function(){this.lc.disconnect();this.Pk.disconnect();this.Aa.disconnect();this.ja.disconnect();this.da.disconnect()};q.prototype.vd=
function(){return this.Aa};G.prototype.oD=function(a,c){.01>a&&(a=.01);this.Qn.gain.value=a;this.Pn.gain.value=Math.pow(1/a,.6)*c};G.prototype.shape=function(a,c,b){var e=1.05*b*c-c;b=0>a?-1:1;a=0>a?-a:a;c=a<c?a:c+e*(1-Math.exp(-(1/e)*(a-c)));return c*b};G.prototype.mB=function(a,c){for(var b=Math.pow(10,a/20),e=Math.pow(10,c/20),d=0,f=0;32768>f;++f)d=f/32768,d=this.shape(d,b,e),this.mm[32768+f]=d,this.mm[32768-f-1]=-d};G.prototype.Gd=function(a){this.ja.disconnect();this.ja.connect(a);this.da.disconnect();
this.da.connect(a)};G.prototype.remove=function(){this.Aa.disconnect();this.Qn.disconnect();this.Eo.disconnect();this.Pn.disconnect();this.ja.disconnect();this.da.disconnect()};G.prototype.vd=function(){return this.Aa};O.prototype.Gd=function(a){this.Ga.disconnect();this.Ga.connect(a)};O.prototype.remove=function(){this.Ga.disconnect()};O.prototype.vd=function(){return this.Ga};u.prototype.$a=function(){this.Ga.getFloatFrequencyData(this.kB);this.Ga.getByteTimeDomainData(this.Wv);for(var a=this.Ga.fftSize,
c=0,b=this.Dk=0,e=0;c<a;c++)e=(this.Wv[c]-128)/128,0>e&&(e=-e),this.Dk<e&&(this.Dk=e),b+=e*e;this.Dk=h(this.Dk);h(Math.sqrt(b/a))};u.prototype.Gd=function(a){this.Ga.disconnect();this.Ga.connect(a)};u.prototype.remove=function(){this.Ga.disconnect()};u.prototype.vd=function(){return this.Ga};ba.prototype.Sk=function(a){this.Pa=a};ba.prototype.Tm=function(){return!!this.Pa};ba.prototype.$a=function(){};W.prototype.YC=function(){var a,c,b,e;b=a=0;for(c=D.length;a<c;++a)e=D[a],D[b]=e,e.buffer===this?
e.stop():++b;D.length=b;this.Ki&&(this.Ki.disconnect(),this.Ki=null);this.Si&&(this.Si.disconnect(),this.Si=null);this.bf=this.Ea=null};W.prototype.At=function(){if(!this.Ea&&this.bf){var a=this;if(x.decodeAudioData)x.decodeAudioData(this.bf,function(c){a.Ea=c;a.bf=null;var b,e,d;if(ja(a.Mn)||S)ja(a.fm)||(b=a.fm.Og,b.normalize=a.$u,b.buffer=c);else if(a.Ti.length){b=0;for(e=a.Ti.length;b<e;b++){c=a.Ti[b];d=new y(a,c.fw);d.Ar(!0);if("undefined"!==typeof c.bv&&(c.Pa=I.mi(c.bv),!c.Pa))continue;if(c.Pa){var f=
Sa(c.Pa.x,c.Pa.y,-c.Pa.A.pc(),fa,ta,!0),h=Sa(c.Pa.x,c.Pa.y,-c.Pa.A.pc(),fa,ta,!1);d.yr(f,h,Ja(c.Pa.u-c.Pa.A.pc()),c.Wp,c.Iq,c.Lq);d.Sk(c.Pa)}else d.yr(c.x,c.y,c.Wh,c.Wp,c.Iq,c.Lq);d.play(a.Bq,a.bs,a.$n);a.Ln&&d.pause();D.push(d)}B(a.Ti)}else d=new y(a,a.Mn||""),d.play(a.Bq,a.bs,a.$n),a.Ln&&d.pause(),D.push(d)},function(){a.ym=!0});else if(this.Ea=x.createBuffer(this.bf,!1),this.bf=null,ja(this.Mn)||S)ja(this.fm)||(c=this.fm.Og,c.normalize=this.$u,c.buffer=this.Ea);else{var c=new y(this,this.Mn);c.play(this.Bq,
this.bs,this.$n);this.Ln&&c.pause();D.push(c)}}};W.prototype.hu=function(){switch(this.wa){case 0:var a=4<=this.Ea.readyState;a&&(this.cs=!0);return a||this.cs;case 1:return!!this.bf||!!this.Ea;case 2:return!0;case 3:return!0}return!1};W.prototype.gC=function(){switch(this.wa){case 0:return this.hu();case 1:return!!this.Ea;case 2:return!0;case 3:return!0}return!1};W.prototype.VB=function(){switch(this.wa){case 0:return!!this.Ea.error;case 1:return this.ym}return!1};y.prototype.bh=function(){switch(this.wa){case 0:return this.B.ended;
case 1:return 1===this.buffer.wa?!this.Fe&&!this.qb&&this.B.loop||this.kd?!1:this.pi:this.B.ended;case 2:return this.pi;case 3:!0}return!0};y.prototype.Pz=function(){return this.Fe||this.qb?!0:this.bh()};y.prototype.Ar=function(a){1===K&&(!this.Ke&&a?this.Tb&&(this.Gb||(this.Gb=x.createPanner(),this.Gb.panningModel="number"===typeof this.Gb.panningModel?Xb:["equalpower","HRTF","soundfield"][Xb],this.Gb.distanceModel="number"===typeof this.Gb.distanceModel?Yb:["linear","inverse","exponential"][Yb],
this.Gb.refDistance=$c,this.Gb.maxDistance=ad,this.Gb.rolloffFactor=dd),this.Tb.disconnect(),this.Tb.connect(this.Gb),this.Gb.connect(r(this.tag)),this.Ke=!0):this.Ke&&!a&&this.Tb&&(this.Gb.disconnect(),this.Tb.disconnect(),this.Tb.connect(r(this.tag)),this.Ke=!1))};y.prototype.yr=function(a,c,b,e,d,f){this.Ke&&1===K&&(this.Gb.setPosition(a,c,0),this.Gb.setOrientation(Math.cos(J(b)),Math.sin(J(b)),0),this.Gb.coneInnerAngle=e,this.Gb.coneOuterAngle=d,this.Gb.coneOuterGain=f,this.qv=a,this.rv=c,this.lv=
b,this.nv=e,this.ov=d,this.pv=f)};y.prototype.Sk=function(a){this.Ke&&1===K&&(this.sc||(this.sc=new ba),this.sc.Sk(a))};y.prototype.$a=function(a){if(this.Ke&&1===K&&this.sc&&this.sc.Tm()&&this.qg()){this.sc.$a(a);a=this.sc.Pa;var c=Sa(a.x,a.y,-a.A.pc(),fa,ta,!0),b=Sa(a.x,a.y,-a.A.pc(),fa,ta,!1);this.Gb.setPosition(c,b,0);c=0;"undefined"!==typeof this.sc.Pa.u&&(c=a.u-a.A.pc(),this.Gb.setOrientation(Math.cos(c),Math.sin(c),0))}};y.prototype.play=function(a,b,e,f){var h=this.B;this.Je=a;this.volume=
b;e=e||0;f=f||0;switch(this.wa){case 0:1!==h.playbackRate&&(h.playbackRate=1);h.volume!==b*T&&(h.volume=b*T);h.loop!==a&&(h.loop=a);h.muted&&(h.muted=!1);if(h.currentTime!==e)try{h.currentTime=e}catch(k){}l(this);break;case 1:this.muted=!1;this.Li=1;if(1===this.buffer.wa)this.Tb.gain.value=b*T,this.Fe||(this.B=x.createBufferSource(),this.B.buffer=this.buffer.Ea,this.B.connect(this.Tb)),this.B.onended=this.Wq,this.Ml=this.B,this.B.loop=a,this.pi=!1,0===e?c(this.B,f):d(this.B,e,this.mg(),f);else{1!==
h.playbackRate&&(h.playbackRate=1);h.loop!==a&&(h.loop=a);h.volume=b*T;if(h.currentTime!==e)try{h.currentTime=e}catch(m){}l(this)}break;case 2:(!this.Fe&&this.qb||0!==e)&&h.seekTo(e);h.play();this.pi=!1;break;case 3:I.qc?AppMobi.context.playSound(this.src,a):AppMobi.player.playSound(this.src,a)}this.playbackRate=1;this.startTime=(this.si?I.hc.fa:I.Qf.fa)-e;this.kd=this.qb=this.Fe=!1};y.prototype.stop=function(){switch(this.wa){case 0:this.B.paused||this.B.pause();break;case 1:1===this.buffer.wa?v(this.B):
this.B.paused||this.B.pause();break;case 2:this.B.stop();break;case 3:I.qc&&AppMobi.context.stopSound(this.src)}this.qb=!0;this.kd=!1};y.prototype.pause=function(){if(!(this.Fe||this.qb||this.bh()||this.kd)){switch(this.wa){case 0:this.B.paused||this.B.pause();break;case 1:1===this.buffer.wa?(this.cd=this.Op(!0),this.Je&&(this.cd=this.cd%this.mg()),this.kd=!0,v(this.B)):this.B.paused||this.B.pause();break;case 2:this.B.pause();break;case 3:I.qc&&AppMobi.context.stopSound(this.src)}this.kd=!0}};y.prototype.cD=
function(){if(!(this.Fe||this.qb||this.bh())&&this.kd){switch(this.wa){case 0:l(this);break;case 1:1===this.buffer.wa?(this.B=x.createBufferSource(),this.B.buffer=this.buffer.Ea,this.B.connect(this.Tb),this.B.onended=this.Wq,this.Ml=this.B,this.B.loop=this.Je,this.Tb.gain.value=T*this.volume*this.Li,this.jl(),this.startTime=(this.si?I.hc.fa:I.Qf.fa)-this.cd/(this.playbackRate||.001),d(this.B,this.cd,this.mg())):l(this);break;case 2:this.B.play();break;case 3:I.qc&&AppMobi.context.resumeSound(this.src)}this.kd=
!1}};y.prototype.seek=function(a){if(!(this.Fe||this.qb||this.bh()))switch(this.wa){case 0:try{this.B.currentTime=a}catch(c){}break;case 1:if(1===this.buffer.wa)this.kd?this.cd=a:(this.pause(),this.cd=a,this.cD());else try{this.B.currentTime=a}catch(b){}break;case 3:I.qc&&AppMobi.context.seekSound(this.src,a)}};y.prototype.XC=function(a){1===this.wa&&(this.Ke?(this.Gb.disconnect(),this.Gb.connect(a)):(this.Tb.disconnect(),this.Tb.connect(a)))};y.prototype.mg=function(){var a=0;switch(this.wa){case 0:"undefined"!==
typeof this.B.duration&&(a=this.B.duration);break;case 1:a=this.buffer.Ea.duration;break;case 2:a=this.B.getDuration();break;case 3:I.qc&&(a=AppMobi.context.getDurationSound(this.src))}return a};y.prototype.Op=function(a){var c=this.mg(),b=0;switch(this.wa){case 0:"undefined"!==typeof this.B.currentTime&&(b=this.B.currentTime);break;case 1:if(1===this.buffer.wa){if(this.kd)return this.cd;b=(this.si?I.hc.fa:I.Qf.fa)-this.startTime}else"undefined"!==typeof this.B.currentTime&&(b=this.B.currentTime);
break;case 3:I.qc&&(b=AppMobi.context.getPlaybackTimeSound(this.src))}a&&(b*=this.playbackRate);!this.Je&&b>c&&(b=c);return b};y.prototype.qg=function(){return!this.kd&&!this.Fe&&!this.qb&&!this.bh()};y.prototype.vD=function(){return!this.Fe&&!this.qb&&!this.bh()};y.prototype.ED=function(){var a=this.volume*T;isFinite(a)||(a=0);switch(this.wa){case 0:"undefined"!==typeof this.B.volume&&this.B.volume!==a&&(this.B.volume=a);break;case 1:1===this.buffer.wa?this.Tb.gain.value=a*this.Li:"undefined"!==
typeof this.B.volume&&this.B.volume!==a&&(this.B.volume=a)}};y.prototype.vm=function(a){switch(this.wa){case 0:this.B.muted!==!!a&&(this.B.muted=!!a);break;case 1:1===this.buffer.wa?(this.Li=a?0:1,this.Tb.gain.value=T*this.volume*this.Li):this.B.muted!==!!a&&(this.B.muted=!!a)}};y.prototype.pD=function(){this.wi=!0;this.vm(this.wi||this.ek)};y.prototype.Pv=function(a){this.ek=!!a;this.vm(this.wi||this.ek)};y.prototype.qD=function(a){this.playbackRate=a;this.jl()};y.prototype.jl=function(){var a=this.playbackRate;
this.si&&(a*=I.Ig);switch(this.wa){case 0:this.B.playbackRate!==a&&(this.B.playbackRate=a);break;case 1:1===this.buffer.wa?this.B.playbackRate.value!==a&&(this.B.playbackRate.value=a):this.B.playbackRate!==a&&(this.B.playbackRate=a)}};y.prototype.tD=function(a){switch(this.wa){case 0:a?this.qg()?(this.Bd=!0,this.B.pause()):this.Bd=!1:this.Bd&&(this.B.play(),this.Bd=!1);break;case 1:a?this.qg()?(this.Bd=!0,1===this.buffer.wa?(this.cd=this.Op(!0),this.Je&&(this.cd=this.cd%this.mg()),v(this.B)):this.B.pause()):
this.Bd=!1:this.Bd&&(1===this.buffer.wa?(this.B=x.createBufferSource(),this.B.buffer=this.buffer.Ea,this.B.connect(this.Tb),this.B.onended=this.Wq,this.Ml=this.B,this.B.loop=this.Je,this.Tb.gain.value=T*this.volume*this.Li,this.jl(),this.startTime=(this.si?I.hc.fa:I.Qf.fa)-this.cd/(this.playbackRate||.001),d(this.B,this.cd,this.mg())):this.B.play(),this.Bd=!1);break;case 2:a?this.qg()?(this.B.pause(),this.Bd=!0):this.Bd=!1:this.Bd&&(this.Bd=!1,this.B.play())}};Y.T=function(a){this.type=a;I=this.b=
a.b;N=this;this.ld=null;this.kk=-600;this.b.bn&&(Jb=!0);!(this.b.jh||this.b.qi&&(this.b.dq||this.b.Ym))||this.b.Zj||this.b.Xa||this.b.Xm||Jb||(bd=!0);x=null;"undefined"!==typeof AudioContext?(K=1,x=new AudioContext):"undefined"!==typeof webkitAudioContext&&(K=1,x=new webkitAudioContext);this.b.jh&&x&&(x.close&&x.close(),"undefined"!==typeof AudioContext?x=new AudioContext:"undefined"!==typeof webkitAudioContext&&(x=new webkitAudioContext));1!==K&&(this.b.Mc&&"undefined"!==typeof window.Media?K=2:
this.b.gu&&(K=3));2===K&&(A=location.href,a=A.lastIndexOf("/"),-1<a&&(A=A.substr(0,a+1)),A=A.replace("file://",""));if(this.b.hC&&this.b.iC&&"undefined"===typeof Audio)alert("It looks like you're using Safari for Windows without Quicktime.  Audio cannot be played until Quicktime is installed."),this.b.Sf(this);else{if(this.b.qc)V=this.b.qi;else try{V=!!(new Audio).canPlayType('audio/ogg; codecs="vorbis"')&&!this.b.dk}catch(c){V=!1}this.b.Oh(this)}};var Ha=Y.T.prototype;Ha.P=function(){this.b.Xh=this;
ga=this.m[0];this.If=this.m[1];this.LC=0!==this.m[2];this.Yu=0;Xb=this.m[3];Yb=this.m[4];this.kk=-this.m[5];$c=this.m[6];ad=this.m[7];dd=this.m[8];this.ld=new ba;var a=this.b.aa||this.b.width,c=this.b.Z||this.b.height;1===K&&(x.listener.setPosition(a/2,c/2,this.kk),x.listener.setOrientation(0,0,1,0,-1,0),window.c2OnAudioMicStream=function(a,c){db&&db.disconnect();$b=c.toLowerCase();db=x.createMediaStreamSource(a);db.connect(r($b))});this.b.bt(function(a){N.GC(a)});var b=this;this.b.Zo(function(a){b.Qq(a)})};
Ha.Qq=function(a){var c,b,e;c=0;for(b=D.length;c<b;c++)e=D[c],e.sc&&e.sc.Pa===a&&(e.sc.Pa=null,e.Ke&&e.qg()&&e.Je&&e.stop());this.ld.Pa===a&&(this.ld.Pa=null)};Ha.Ha=function(){var a={silent:S,masterVolume:T,listenerZ:this.kk,listenerUid:this.ld.Tm()?this.ld.Pa.uid:-1,playing:[],effects:{}},c=a.playing,b,e,d,f,h,k;b=0;for(e=D.length;b<e;b++)d=D[b],!d.vD()||3===this.If||d.He&&1===this.If||!d.He&&2===this.If||(f=d.Op(),d.Je&&(f=f%d.mg()),f={tag:d.tag,buffersrc:d.buffer.src,is_music:d.He,playbackTime:f,
volume:d.volume,looping:d.Je,muted:d.wi,playbackRate:d.playbackRate,paused:d.kd,resume_position:d.cd},d.Ke&&(f.pan={},k=f.pan,d.sc&&d.sc.Tm()?k.objUid=d.sc.Pa.uid:(k.x=d.qv,k.y=d.rv,k.a=d.lv),k.ia=d.nv,k.oa=d.ov,k.og=d.pv),c.push(f));c=a.effects;for(h in ka)if(ka.hasOwnProperty(h)){d=[];b=0;for(e=ka[h].length;b<e;b++)d.push({type:ka[h][b].type,params:ka[h][b].wb});c[h]=d}return a};var tb=[];Ha.Oa=function(a){var c=a.silent;T=a.masterVolume;this.kk=a.listenerZ;this.ld.Sk(null);var b=a.listenerUid;
-1!==b&&(this.ld.rn=b,tb.push(this.ld));var b=a.playing,d,h,g,n,l,r,p,W,y,v,H;if(3!==this.If)for(d=0,h=D.length;d<h;d++)y=D[d],y.He&&1===this.If||(y.He||2!==this.If)&&y.stop();for(l in ka)if(ka.hasOwnProperty(l))for(d=0,h=ka[l].length;d<h;d++)ka[l][d].remove();Ya(ka);for(l in a.effects)if(a.effects.hasOwnProperty(l))for(r=a.effects[l],d=0,h=r.length;d<h;d++)switch(g=r[d].type,v=r[d].params,g){case "filter":F(l,new f(v[0],v[1],v[2],v[3],v[4],v[5]));break;case "delay":F(l,new m(v[0],v[1],v[2]));break;
case "convolve":g=v[2];y=this.Lm(g,!1);y.Ea?g=new k(y.Ea,v[0],v[1],g):(g=new k(null,v[0],v[1],g),y.$u=v[0],y.fm=g);F(l,g);break;case "flanger":F(l,new t(v[0],v[1],v[2],v[3],v[4]));break;case "phaser":F(l,new w(v[0],v[1],v[2],v[3],v[4],v[5]));break;case "gain":F(l,new z(v[0]));break;case "tremolo":F(l,new e(v[0],v[1]));break;case "ringmod":F(l,new q(v[0],v[1]));break;case "distortion":F(l,new G(v[0],v[1],v[2],v[3],v[4]));break;case "compressor":F(l,new O(v[0],v[1],v[2],v[3],v[4]));break;case "analyser":F(l,
new u(v[0],v[1]))}d=0;for(h=b.length;d<h;d++)3===this.If||(a=b[d],g=a.buffersrc,n=a.is_music,l=a.tag,r=a.playbackTime,p=a.looping,W=a.volume,H=(v=a.pan)&&v.hasOwnProperty("objUid")?v.objUid:-1,n&&1===this.If)||!n&&2===this.If||((y=this.Pt(g,l,n,p,W))?(y.cd=a.resume_position,y.Ar(!!v),y.play(p,W,r),y.jl(),y.ED(),y.vm(y.wi||y.ek),a.paused&&y.pause(),a.muted&&y.pD(),y.vm(y.wi||y.ek),v&&(-1!==H?(y.sc=y.sc||new ba,y.sc.rn=H,tb.push(y.sc)):y.yr(v.x,v.y,v.a,v.ia,v.oa,v.og))):(y=this.Lm(g,n),y.$n=r,y.Ln=
a.paused,v&&(-1!==H?y.Ti.push({bv:H,Wp:v.ia,Iq:v.oa,Lq:v.og,fw:l}):y.Ti.push({x:v.x,y:v.y,Wh:v.a,Wp:v.ia,Iq:v.oa,Lq:v.og,fw:l}))));if(c&&!S){d=0;for(h=D.length;d<h;d++)D[d].Pv(!0);S=!0}else if(!c&&S){d=0;for(h=D.length;d<h;d++)D[d].Pv(!1);S=!1}};Ha.ye=function(){var a,c,b,d;a=0;for(c=tb.length;a<c;a++)b=tb[a],d=this.b.mi(b.rn),b.Sk(d),b.rn=-1,d&&(fa=d.x,ta=d.y);B(tb)};Ha.GC=function(a){if(!this.LC){!a&&x&&x.resume&&(x.resume(),Va=!1);var c,b;c=0;for(b=D.length;c<b;c++)D[c].tD(a);a&&x&&x.suspend&&
(x.suspend(),Va=!0)}};Ha.$a=function(){var a=this.b.of,c,b,d;c=0;for(b=D.length;c<b;c++)d=D[c],d.$a(a),0!==ga&&d.jl();var e,f;for(e in ka)if(ka.hasOwnProperty(e))for(d=ka[e],c=0,b=d.length;c<b;c++)f=d[c],f.$a&&f.$a();1===K&&this.ld.Tm()&&(this.ld.$a(a),fa=this.ld.Pa.x,ta=this.ld.Pa.y,x.listener.setPosition(this.ld.Pa.x,this.ld.Pa.y,this.kk))};var ub=[];Ha.rD=function(a){var c,b,d,e,f,h=0;c=0;for(b=a.length;c<b;++c)if(d=a[c],e=d[0],d=2*d[1],(f=4<e.length&&".ogg"===e.substr(e.length-4))&&V||!f&&!V)ub.push({filename:e,
size:d,Pa:null}),h+=d;return h};Ha.xD=function(){var a,c,b,d;a=0;for(c=ub.length;a<c;++a)b=ub[a],d=this.b.Dp+b.filename,b.Pa=this.Lm(d,!1)};Ha.yB=function(){var a=0,c,b,d;c=0;for(b=ub.length;c<b;++c)d=ub[c],d.Pa.gC()||d.Pa.VB()||this.b.Xa||this.b.Ym?a+=d.size:d.Pa.hu()&&(a+=Math.floor(d.size/2));return a};Ha.ZC=function(){var a,c,b,d;b=a=0;for(c=M.length;a<c;++a)d=M[a],M[b]=d,d.He?d.YC():++b;M.length=b};Ha.Lm=function(a,c){var b,d,e,f=null;b=0;for(d=M.length;b<d;b++)if(e=M[b],e.src===a){f=e;break}f||
(Jb&&c&&this.ZC(),f=new W(a,c),M.push(f));return f};Ha.Pt=function(a,c,b,d,e){var f,h,k;f=0;for(h=D.length;f<h;f++)if(k=D[f],k.src===a&&(k.Pz()||b))return k.tag=c,k;a=this.Lm(a,b);if(!a.Ea)return"<preload>"!==c&&(a.Mn=c,a.Bq=d,a.bs=e),null;k=new y(a,c);D.push(k);return k};var xa=[];R.prototype.Bl=function(a){return lb(Q,a)};R.prototype.Bx=function(a){H(a);var c;a=0;for(c=xa.length;a<c;a++)if(xa[a].qg())return!0;return!1};Y.j=new R;C.prototype.Play=function(a,c,b,d){!S&&(b=Math.pow(10,b/20),isFinite(b)||
(b=0),0>b&&(b=0),1<b&&(b=1),P=this.Pt(this.b.Dp+a[0]+(V?".ogg":".m4a"),d,a[1],0!==c,b))&&(P.Ar(!1),P.play(0!==c,b,0,this.Yu),this.Yu=0)};C.prototype.bz=function(a,c){H(a);0>c&&(c=0);var b,d;b=0;for(d=xa.length;b<d;b++)xa[b].qD(c)};C.prototype.Gl=function(a){H(a);var c;a=0;for(c=xa.length;a<c;a++)xa[a].stop()};C.prototype.nz=function(){var a,c;a=0;for(c=D.length;a<c;a++)D[a].stop()};Y.n=new C;X.prototype.Sw=function(a,c){H(c,!0);xa.length?a.H(xa[0].mg()):a.H(0)};Y.L=new X})();
function wc(g){this.b=g}
(function(){function g(){n&&a&&window.OfflineClientInfo&&window.OfflineClientInfo.SetMessageCallback(function(a){c.FC(a)})}function l(){}function b(){}function p(a){console&&console.warn&&console.warn("Fullscreen request failed: ",a);v.setSize(window.innerWidth,window.innerHeight)}var h=wc.prototype;h.X=function(a){this.xa=a;this.b=a.b};var r=h.X.prototype;r.P=function(){};var n=!1,a=!1;document.addEventListener("DOMContentLoaded",function(){if(window.C2_RegisterSW&&navigator.serviceWorker){var a=document.createElement("script");
a.onload=function(){n=!0;g()};a.src="offlineClient.js";document.head.appendChild(a)}});var c=null;r.hv=function(){a=!0;g()};h.T=function(a){this.type=a;this.b=a.b};r=h.T.prototype;r.P=function(){var a=this;window.addEventListener("resize",function(){a.b.trigger(wc.prototype.j.Js,a)});c=this;"undefined"!==typeof navigator.onLine&&(window.addEventListener("online",function(){a.b.trigger(wc.prototype.j.gy,a)}),window.addEventListener("offline",function(){a.b.trigger(wc.prototype.j.ey,a)}));this.b.qc||
(document.addEventListener("appMobi.device.update.available",function(){a.b.trigger(wc.prototype.j.Oo,a)}),document.addEventListener("backbutton",function(){a.b.trigger(wc.prototype.j.Al,a)}),document.addEventListener("menubutton",function(){a.b.trigger(wc.prototype.j.Gs,a)}),document.addEventListener("searchbutton",function(){a.b.trigger(wc.prototype.j.my,a)}),document.addEventListener("tizenhwkey",function(c){var b;switch(c.keyName){case "back":b=a.b.trigger(wc.prototype.j.Al,a);!b&&window.tizen&&
window.tizen.application.getCurrentApplication().exit();break;case "menu":(b=a.b.trigger(wc.prototype.j.Gs,a))||c.preventDefault()}}));this.b.dk&&"undefined"!==typeof Windows?Windows.UI.Core.SystemNavigationManager.getForCurrentView().addEventListener("backrequested",function(c){a.b.trigger(wc.prototype.j.Al,a)&&(c.handled=!0)}):this.b.cn&&WinJS.Application&&(WinJS.Application.onbackclick=function(){return!!a.b.trigger(wc.prototype.j.Al,a)});this.b.bt(function(c){c?a.b.trigger(wc.prototype.j.hy,a):
a.b.trigger(wc.prototype.j.iy,a)});this.kC="undefined"!==typeof window.is_scirra_arcade};r.FC=function(a){a=a.data.type;"downloading-update"===a?this.b.trigger(wc.prototype.j.ry,this):"update-ready"===a||"update-pending"===a?this.b.trigger(wc.prototype.j.Oo,this):"offline-ready"===a&&this.b.trigger(wc.prototype.j.fy,this)};l.prototype.gy=function(){return!0};l.prototype.ey=function(){return!0};l.prototype.Oo=function(){return!0};l.prototype.iy=function(){return!0};l.prototype.hy=function(){return!0};
l.prototype.Js=function(){return!0};l.prototype.qx=function(){return!!(document.mozFullScreen||document.webkitIsFullScreen||document.fullScreen||this.b.gh)};l.prototype.Al=function(){return!0};l.prototype.Gs=function(){return!0};l.prototype.my=function(){return!0};l.prototype.oz=function(){if(this.b.an)return!0;var a=this.b.hp||this.b.canvas;return!!(a.requestFullscreen||a.mozRequestFullScreen||a.msRequestFullscreen||a.webkitRequestFullScreen)};l.prototype.ry=function(){return!0};l.prototype.Oo=function(){return!0};
l.prototype.fy=function(){return!0};h.j=new l;b.prototype.bx=function(a,c){this.b.Xc?CocoonJS.App.openURL(a):this.b.Md?ejecta.openURL(a):this.b.cn?Windows.System.Launcher.launchUriAsync(new Windows.Foundation.Uri(a)):navigator.app&&navigator.app.loadUrl?navigator.app.loadUrl(a,{openExternal:!0}):this.b.Mc?window.open(a,"_system"):this.kC||this.b.Xa||window.open(a,c)};var d=!0,v=null;b.prototype.zy=function(a){this.b.Xa?ha("[Construct 2] Requesting fullscreen is not supported on this platform - the request has been ignored"):
(2<=a&&(a+=1),6===a&&(a=2),this.b.an?this.b.dC?debuggerFullscreen(!0):!this.b.gh&&window.nwgui&&(window.nwgui.Window.get().enterFullscreen(),this.b.gh=!0,this.b.kg=2<=a?a:0):document.mozFullScreen||document.webkitIsFullScreen||document.msFullscreenElement||document.fullScreen||document.fullScreenElement||(this.b.kg=2<=a?a:0,a=document.documentElement,d&&(d=!1,v=this.b,a.addEventListener("mozfullscreenerror",p),a.addEventListener("webkitfullscreenerror",p),a.addEventListener("MSFullscreenError",p),
a.addEventListener("fullscreenerror",p)),a.requestFullscreen?a.requestFullscreen():a.mozRequestFullScreen?a.mozRequestFullScreen():a.msRequestFullscreen?a.msRequestFullscreen():a.webkitRequestFullScreen&&("undefined"!==typeof Element&&"undefined"!==typeof Element.ALLOW_KEYBOARD_INPUT?a.webkitRequestFullScreen(Element.ALLOW_KEYBOARD_INPUT):a.webkitRequestFullScreen())))};var f="portrait landscape portrait-primary portrait-secondary landscape-primary landscape-secondary".split(" ");b.prototype.Hx=function(a){a=
Math.floor(a);0>a||a>=f.length||(this.b.jt=!1,a=f[a],screen.orientation&&screen.orientation.lock?screen.orientation.lock(a):screen.lockOrientation?screen.lockOrientation(a):screen.webkitLockOrientation?screen.webkitLockOrientation(a):screen.mozLockOrientation?screen.mozLockOrientation(a):screen.msLockOrientation&&screen.msLockOrientation(a))};h.n=new b;h.L=new function(){}})();function uc(g){this.b=g}
(function(){function g(){this.name="";this.Nk=0;this.wb=[]}function l(){a++;a===n.length&&n.push(new g);return n[a]}function b(){}function p(){}function h(){}var r=uc.prototype;r.X=function(a){this.xa=a;this.b=a.b};r.X.prototype.P=function(){};r.T=function(a){this.type=a;this.b=a.b};var n=[],a=-1;r.T.prototype.P=function(){var c=this;window.c2_callFunction=function(b,h){var f,g,k,n=l();n.name=b.toLowerCase();n.Nk=0;if(h)for(n.wb.length=h.length,f=0,g=h.length;f<g;++f)k=h[f],n.wb[f]="number"===typeof k||
"string"===typeof k?k:"boolean"===typeof k?k?1:0:0;else B(n.wb);c.b.trigger(uc.prototype.j.Dl,c,n.name);a--;return n.Nk}};b.prototype.Dl=function(c){var b=0>a?null:n[a];return b?lb(c,b.name):!1};b.prototype.Nw=function(c,b,h){var f=0>a?null:n[a];if(!f)return!1;c=ua(c);return 0>c||c>=f.wb.length?!1:ic(f.wb[c],b,h)};r.j=new b;p.prototype.CallFunction=function(c,b){var h=l();h.name=c.toLowerCase();h.Nk=0;Da(h.wb,b);this.b.trigger(uc.prototype.j.Dl,this,h.name);a--};r.n=new p;h.prototype.uy=function(c,
b){b=ua(b);var h=0>a?null:n[a];h?0<=b&&b<h.wb.length?c.ho(h.wb[b]):c.Ba(0):c.Ba(0)};h.prototype.Hw=function(c,b){var h=l();h.name=b.toLowerCase();h.Nk=0;B(h.wb);var f,g;f=2;for(g=arguments.length;f<g;f++)h.wb.push(arguments[f]);this.b.trigger(uc.prototype.j.Dl,this,h.name);a--;c.ho(h.Nk)};r.L=new h})();function xc(g){this.b=g}
(function(){function g(){}var l=xc.prototype;l.X=function(b){this.xa=b;this.b=b.b};l.X.prototype.P=function(){};l.T=function(b){this.type=b;this.b=b.b;this.Ci=Array(256);this.kl=Array(256);this.Pf=0};var b=l.T.prototype;b.P=function(){var b=this;this.b.Xa||(jQuery(document).keydown(function(g){b.Rq(g)}),jQuery(document).keyup(function(g){b.Sq(g)}))};var p=[32,33,34,35,36,37,38,39,40,44];b.Rq=function(b){var g=!1;window!=window.top&&-1<p.indexOf(b.which)&&(b.preventDefault(),g=!0,b.stopPropagation());
if(this.Ci[b.which])this.kl[b.which]&&!g&&b.preventDefault();else{this.Ci[b.which]=!0;this.Pf=b.which;this.b.Ec=!0;this.b.trigger(xc.prototype.j.Kx,this);var n=this.b.trigger(xc.prototype.j.As,this),a=this.b.trigger(xc.prototype.j.$x,this);this.b.Ec=!1;if(n||a)this.kl[b.which]=!0,g||b.preventDefault()}};b.Sq=function(b){this.Ci[b.which]=!1;this.Pf=b.which;this.b.Ec=!0;this.b.trigger(xc.prototype.j.qs,this);var g=this.b.trigger(xc.prototype.j.Cs,this),n=this.b.trigger(xc.prototype.j.Bs,this);this.b.Ec=
!1;if(g||n||this.kl[b.which])this.kl[b.which]=!0,b.preventDefault()};b.Ch=function(){var b;for(b=0;256>b;++b)if(this.Ci[b]){this.Ci[b]=!1;this.Pf=b;this.b.trigger(xc.prototype.j.qs,this);var g=this.b.trigger(xc.prototype.j.Cs,this),n=this.b.trigger(xc.prototype.j.Bs,this);if(g||n)this.kl[b]=!0}};b.Ha=function(){return{triggerKey:this.Pf}};b.Oa=function(b){this.Pf=b.triggerKey};g.prototype.ux=function(b){return this.Ci[b]};g.prototype.As=function(b){return b===this.Pf};g.prototype.Kx=function(){return!0};
g.prototype.qs=function(){return!0};g.prototype.Cs=function(b){return b===this.Pf};g.prototype.$x=function(b){return b===this.Pf};g.prototype.Bs=function(b){return b===this.Pf};l.j=new g;l.n=new function(){};l.L=new function(){}})();var yc=!1;
try{!function(){var g,l,b;!function(){var p={},h={};g=function(b,h,a){p[b]={aA:h,Oz:a}};b=l=function(g){function n(a){if("."!==a.charAt(0))return a;a=a.split("/");for(var c=g.split("/").slice(0,-1),b=0,d=a.length;d>b;b++){var e=a[b];".."===e?c.pop():"."!==e&&c.push(e)}return c.join("/")}if(b.ZE=p,h[g])return h[g];if(h[g]={},!p[g])throw Error("Could not find module "+g);for(var a,c=p[g],d=c.aA,c=c.Oz,v=[],f=0,m=d.length;m>f;f++)"exports"===d[f]?v.push(a={}):v.push(l(n(d[f])));d=c.apply(this,v);return h[g]=
a||d}}();g("promise/all",["./utils","exports"],function(b,h){var g=b.isArray,n=b.isFunction;h.all=function(a){if(!g(a))throw new TypeError("You must pass an array to all.");return new this(function(c,b){function h(a){return function(b){g[a]=b;0===--k&&c(g)}}var f,g=[],k=a.length;0===k&&c([]);for(var l=0;l<a.length;l++)(f=a[l])&&n(f.then)?f.then(h(l),b):(g[l]=f,0===--k&&c(g))})}});g("promise/asap",["exports"],function(b){function h(){return function(){process.oF(a)}}function g(){var c=0,b=new l(a),
d=document.createTextNode("");return b.observe(d,{characterData:!0}),function(){d.data=c=++c%2}}function n(){return function(){f.setTimeout(a,1)}}function a(){for(var a=0;a<m.length;a++){var c=m[a];(0,c[0])(c[1])}m=[]}var c,d="undefined"!=typeof window?window:{},l=d.MutationObserver||d.WebKitMutationObserver,f="undefined"!=typeof global?global:void 0===this?window:this,m=[];c="undefined"!=typeof process&&"[object process]"==={}.toString.call(process)?h():l?g():n();b.Hz=function(a,b){1===m.push([a,
b])&&c()}});g("promise/config",["exports"],function(b){var h={gF:!1};b.xt=h;b.Tz=function(b,g){return 2!==arguments.length?h[b]:void(h[b]=g)}});g("promise/polyfill",["./promise","./utils","exports"],function(b,h,g){var n=b.Promise,a=h.isFunction;g.MC=function(){var c;c="undefined"!=typeof global?global:"undefined"!=typeof window&&window.document?window:self;"Promise"in c&&"resolve"in c.Promise&&"reject"in c.Promise&&"all"in c.Promise&&"race"in c.Promise&&function(){var b;return new c.Promise(function(a){b=
a}),a(b)}()||(c.Promise=n)}});g("promise/promise","./config ./utils ./all ./race ./resolve ./reject ./asap exports".split(" "),function(b,h,g,n,a,c,d,l){function f(a){if(!y(a))throw new TypeError("You must pass a resolver function as the first argument to the promise constructor");if(!(this instanceof f))throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.");this.Kl=[];m(a,this)}function m(a,c){function b(a){e(c,
a)}function d(a){G(c,a)}try{a(b,d)}catch(f){d(f)}}function k(a,c,b,d){var f,h,k,g,m=y(b);if(m)try{f=b(d),k=!0}catch(u){g=!0,h=u}else f=d,k=!0;z(c,f)||(m&&k?e(c,f):g?G(c,h):a===F?e(c,f):a===R&&G(c,f))}function t(a,c,b,d){a=a.Kl;var e=a.length;a[e]=c;a[e+F]=b;a[e+R]=d}function w(a,c){for(var b,d,e=a.Kl,f=a.Jl,h=0;h<e.length;h+=3)b=e[h],d=e[h+c],k(c,b,d,f);a.Kl=null}function z(a,c){var b,d=null;try{if(a===c)throw new TypeError("A promises callback cannot return that same promise.");if(W(c)&&(d=c.then,
y(d)))return d.call(c,function(d){return b?!0:(b=!0,void(c!==d?e(a,d):q(a,d)))},function(c){return b?!0:(b=!0,void G(a,c))}),!0}catch(f){return b?!0:(G(a,f),!0)}return!1}function e(a,c){a===c?q(a,c):z(a,c)||q(a,c)}function q(a,c){a.Ze===E&&(a.Ze=H,a.Jl=c,ba.async(O,a))}function G(a,c){a.Ze===E&&(a.Ze=H,a.Jl=c,ba.async(u,a))}function O(a){w(a,a.Ze=F)}function u(a){w(a,a.Ze=R)}var ba=b.xt,W=(b.Tz,h.AC),y=h.isFunction;b=(h.now,g.all);n=n.race;a=a.resolve;c=c.reject;ba.async=d.Hz;var E=void 0,H=0,F=1,
R=2;f.prototype={constructor:f,Ze:void 0,Jl:void 0,Kl:void 0,then:function(a,c){var b=this,d=new this.constructor(function(){});if(this.Ze){var e=arguments;ba.async(function(){k(b.Ze,d,e[b.Ze-1],b.Jl)})}else t(this,d,a,c);return d},"catch":function(a){return this.then(null,a)}};f.all=b;f.race=n;f.resolve=a;f.reject=c;l.Promise=f});g("promise/race",["./utils","exports"],function(b,h){var g=b.isArray;h.race=function(b){if(!g(b))throw new TypeError("You must pass an array to race.");return new this(function(a,
c){for(var d,h=0;h<b.length;h++)(d=b[h])&&"function"==typeof d.then?d.then(a,c):a(d)})}});g("promise/reject",["exports"],function(b){b.reject=function(b){return new this(function(g,n){n(b)})}});g("promise/resolve",["exports"],function(b){b.resolve=function(b){return b&&"object"==typeof b&&b.constructor===this?b:new this(function(g){g(b)})}});g("promise/utils",["exports"],function(b){function h(b){return"function"==typeof b}var g=Date.now||function(){return(new Date).getTime()};b.AC=function(b){return h(b)||
"object"==typeof b&&null!==b};b.isFunction=h;b.isArray=function(b){return"[object Array]"===Object.prototype.toString.call(b)};b.now=g});l("promise/polyfill").MC()}();var zc=function(){return function(g){function l(p){if(b[p])return b[p].Ce;var h=b[p]={Ce:{},id:p,loaded:!1};return g[p].call(h.Ce,h,h.Ce,l),h.loaded=!0,h.Ce}var b={};return l.cf=g,l.zj=b,l.Ck="",l(0)}([function(g,l,b){l.Il=!0;var p=function(h){function g(a,c){a[c]=function(){var b=arguments;return a.ready().then(function(){return a[c].apply(a,
b)})}}function n(){for(var a=1;a<arguments.length;a++){var c=arguments[a];if(c)for(var b in c)c.hasOwnProperty(b)&&(k(c[b])?arguments[0][b]=c[b].slice():arguments[0][b]=c[b])}return arguments[0]}function a(a){for(var c in d)if(d.hasOwnProperty(c)&&d[c]===a)return!0;return!1}var c={},d={qj:"asyncStorage",rj:"localStorageWrapper",sj:"webSQLStorage"},l="clear getItem iterate key keys length removeItem setItem".split(" "),f={description:"",di:[d.qj,d.sj,d.rj].slice(),name:"localforage",size:4980736,Ra:"keyvaluepairs",
version:1},m=function(a){var c={},b;try{var e=e||a.indexedDB||a.webkitIndexedDB||a.mozIndexedDB||a.qu||a.msIndexedDB;b="undefined"!=typeof a.openDatabase&&a.navigator&&a.navigator.userAgent&&/Safari/.test(a.navigator.userAgent)&&!/Chrome/.test(a.navigator.userAgent)?!1:e&&"function"==typeof e.open&&"undefined"!=typeof a.IDBKeyRange}catch(f){b=!1}c[d.qj]=!!b;var h;try{h=a.openDatabase}catch(k){h=!1}c[d.sj]=!!h;var g;try{g=a.localStorage&&"setItem"in a.localStorage&&a.localStorage.setItem}catch(m){g=
!1}return c[d.rj]=!!g,c}(h),k=Array.isArray||function(a){return"[object Array]"===Object.prototype.toString.call(a)};return new (function(){function h(a){if(!(this instanceof h))throw new TypeError("Cannot call a class as a function");this.qj=d.qj;this.rj=d.rj;this.sj=d.sj;this.Vo=n({},f);this.Lg=n({},this.Vo,a);this.Us=this.xe=null;this.Vf=!1;this.La=null;this.Vs();this.Mv(this.Lg.di)}return h.prototype.xt=function(a){if("object"==typeof a){if(this.Vf)return Error("Can't call config() after localforage has been used.");
for(var c in a)"storeName"===c&&(a[c]=a[c].replace(/\W/g,"_")),this.Lg[c]=a[c];return"driver"in a&&a.di&&this.Mv(this.Lg.di),!0}return"string"==typeof a?this.Lg[a]:this.Lg},h.prototype.di=function(){return this.tj||null},h.prototype.St=function(d,f,e){var h=this,k=function(){if(a(d))switch(d){case h.qj:return new Promise(function(a){a(b(1))});case h.rj:return new Promise(function(a){a(b(2))});case h.sj:return new Promise(function(a){a(b(4))})}else if(c[d])return Promise.resolve(c[d]);return Promise.reject(Error("Driver not found."))}();
return k.then(f,e),k},h.prototype.ready=function(a){var c=this,b=c.xe.then(function(){return null===c.Vf&&(c.Vf=c.Us()),c.Vf});return b.then(a,a),b},h.prototype.Mv=function(a,c,b){function d(){h.Lg.di=h.di()}function f(a){return function(){function c(){for(;b<a.length;){var e=a[b];return b++,h.La=null,h.Vf=null,h.St(e).then(function(a){return h.yz(a),d(),h.Vf=h.Xo(h.Lg),h.Vf})["catch"](c)}d();return h.xe=Promise.reject(Error("No available storage method found.")),h.xe}var b=0;return c()}}var h=this;
k(a)||(a=[a]);var g=this.zz(a);return this.xe=(null!==this.xe?this.xe["catch"](function(){return Promise.resolve()}):Promise.resolve()).then(function(){var a=g[0];return h.La=null,h.Vf=null,h.St(a).then(function(a){h.tj=a.tj;d();h.Vs();h.Us=f(g)})})["catch"](function(){d();return h.xe=Promise.reject(Error("No available storage method found.")),h.xe}),this.xe.then(c,b),this.xe},h.prototype.supports=function(a){return!!m[a]},h.prototype.yz=function(a){n(this,a)},h.prototype.zz=function(a){for(var c=
[],b=0,d=a.length;d>b;b++){var f=a[b];this.supports(f)&&c.push(f)}return c},h.prototype.Vs=function(){for(var a=0;a<l.length;a++)g(this,l[a])},h.prototype.hm=function(a){return new h(a)},h}())}("undefined"!=typeof window?window:self);l["default"]=p;g.Ce=l["default"]},function(g,l){l.Il=!0;l["default"]=function(b){function g(a,c){a=a||[];c=c||{};try{return new Blob(a,c)}catch(d){if("TypeError"!==d.name)throw d;for(var e=new (b.BlobBuilder||b.cf||b.ou||b.WebKitBlobBuilder),f=0;f<a.length;f+=1)e.append(a[f]);
return e.getBlob(c.type)}}function h(a){return new Promise(function(c,b){var d=new XMLHttpRequest;d.open("GET",a);d.withCredentials=!0;d.responseType="arraybuffer";d.onreadystatechange=function(){return 4===d.readyState?200===d.status?c({response:d.response,type:d.getResponseHeader("Content-Type")}):void b({status:d.status,response:d.response}):void 0};d.send()})}function l(a){return(new Promise(function(c,b){var d=g([""],{type:"image/png"}),e=a.transaction([E],"readwrite");e.objectStore(E).put(d,
"key");e.oncomplete=function(){var d=a.transaction([E],"readwrite").objectStore(E).get("key");d.onerror=b;d.onsuccess=function(a){var b=URL.createObjectURL(a.target.result);h(b).then(function(a){c(!(!a||"image/png"!==a.type))},function(){c(!1)}).then(function(){URL.revokeObjectURL(b)})}};e.onerror=e.onabort=b}))["catch"](function(){return!1})}function n(a){return"boolean"==typeof W?Promise.resolve(W):l(a).then(function(a){return W=a})}function a(a){return new Promise(function(c,b){var d=new FileReader;
d.onerror=b;d.onloadend=function(b){c({Ts:!0,data:btoa(b.target.result||""),type:a.type})};d.readAsBinaryString(a)})}function c(a){for(var c=atob(a.data),b=c.length,d=new ArrayBuffer(b),e=new Uint8Array(d),f=0;b>f;f++)e[f]=c.charCodeAt(f);return g([d],{type:a.type})}function d(a){var c=this,b=c.Wo().then(function(){var a=y[c.La.name];return a&&a.bi?a.bi:void 0});return b.then(a,a),b}function v(a){a=y[a.name];var c={};c.promise=new Promise(function(a){c.resolve=a});a.Bt.push(c);a.bi?a.bi=a.bi.then(function(){return c.promise}):
a.bi=c.promise}function f(a){function c(){return Promise.resolve()}var e=this,f={db:null};if(a)for(var h in a)f[h]=a[h];y||(y={});var k=y[f.name];k||(k={Gm:[],db:null,bi:null,Bt:[]},y[f.name]=k);k.Gm.push(e);e.Wo||(e.Wo=e.ready,e.ready=d);a=[];for(h=0;h<k.Gm.length;h++){var g=k.Gm[h];g!==e&&a.push(g.Wo()["catch"](c))}var u=k.Gm.slice(0);return Promise.all(a).then(function(){return f.db=k.db,m(f,!1)}).then(function(a){f.db=a;var c;c=e.Vo.version;if(f.db){var d=!f.db.objectStoreNames.contains(f.Ra),
h=f.version>f.db.version;(f.version<f.db.version&&(f.version!==c&&b.console.warn('The database "'+f.name+"\" can't be downgraded from version "+f.db.version+" to version "+f.version+"."),f.version=f.db.version),h||d)?(d&&(c=f.db.version+1,c>f.version&&(f.version=c)),c=!0):c=!1}else c=!0;return c?m(f,!0):a}).then(function(a){f.db=k.db=a;e.La=f;for(a=0;a<u.length;a++){var c=u[a];c!==e&&(c.La.db=f.db,c.La.version=f.version)}})}function m(a,c){return new Promise(function(d,e){if(a.db){if(!c)return d(a.db);
v(a);a.db.close()}var f=[a.name];c&&f.push(a.version);var h=ba.open.apply(ba,f);c&&(h.onupgradeneeded=function(c){var d=h.result;try{d.createObjectStore(a.Ra),1>=c.oldVersion&&d.createObjectStore(E)}catch(e){if("ConstraintError"!==e.name)throw e;b.console.warn('The database "'+a.name+'" has been upgraded from version '+c.oldVersion+" to version "+c.newVersion+', but the storage "'+a.Ra+'" already exists.')}});h.onerror=function(){e(h.error)};h.onsuccess=function(){d(h.result);var c=y[a.name].Bt.pop();
c&&c.resolve()}})}function k(a,d){var e=this;"string"!=typeof a&&(b.console.warn(a+" used as a key, but it is not a string."),a=String(a));var f=new Promise(function(b,d){e.ready().then(function(){var f=e.La,h=f.db.transaction(f.Ra,"readonly").objectStore(f.Ra).get(a);h.onsuccess=function(){var a=h.result;void 0===a&&(a=null);a&&a.Ts&&(a=c(a));b(a)};h.onerror=function(){d(h.error)}})["catch"](d)});return u(f,d),f}function t(a,b){var d=this,e=new Promise(function(b,e){d.ready().then(function(){var f=
d.La,h=f.db.transaction(f.Ra,"readonly").objectStore(f.Ra).openCursor(),k=1;h.onsuccess=function(){var d=h.result;if(d){var e=d.value;e&&e.Ts&&(e=c(e));e=a(e,d.key,k++);void 0!==e?b(e):d["continue"]()}else b()};h.onerror=function(){e(h.error)}})["catch"](e)});return u(e,b),e}function w(c,d,e){var f=this;"string"!=typeof c&&(b.console.warn(c+" used as a key, but it is not a string."),c=String(c));var h=new Promise(function(b,e){var h;f.ready().then(function(){return h=f.La,d instanceof Blob?n(h.db).then(function(c){return c?
d:a(d)}):d}).then(function(a){var d=h.db.transaction(h.Ra,"readwrite"),f=d.objectStore(h.Ra);null===a&&(a=void 0);d.oncomplete=function(){void 0===a&&(a=null);b(a)};d.onabort=d.onerror=function(){e(k.error?k.error:k.transaction.error)};var k=f.put(a,c)})["catch"](e)});return u(h,e),h}function z(a,c){var d=this;"string"!=typeof a&&(b.console.warn(a+" used as a key, but it is not a string."),a=String(a));var e=new Promise(function(c,b){d.ready().then(function(){var e=d.La,f=e.db.transaction(e.Ra,"readwrite"),
h=f.objectStore(e.Ra)["delete"](a);f.oncomplete=function(){c()};f.onerror=function(){b(h.error)};f.onabort=function(){b(h.error?h.error:h.transaction.error)}})["catch"](b)});return u(e,c),e}function e(a){var c=this,b=new Promise(function(a,b){c.ready().then(function(){var d=c.La,e=d.db.transaction(d.Ra,"readwrite"),f=e.objectStore(d.Ra).clear();e.oncomplete=function(){a()};e.onabort=e.onerror=function(){b(f.error?f.error:f.transaction.error)}})["catch"](b)});return u(b,a),b}function q(a){var c=this,
b=new Promise(function(a,b){c.ready().then(function(){var d=c.La,e=d.db.transaction(d.Ra,"readonly").objectStore(d.Ra).count();e.onsuccess=function(){a(e.result)};e.onerror=function(){b(e.error)}})["catch"](b)});return u(b,a),b}function G(a,c){var b=this,d=new Promise(function(c,d){return 0>a?void c(null):void b.ready().then(function(){var e=b.La,f=!1,h=e.db.transaction(e.Ra,"readonly").objectStore(e.Ra).openCursor();h.onsuccess=function(){var b=h.result;return b?void(0===a?c(b.key):f?c(b.key):(f=
!0,b.advance(a))):void c(null)};h.onerror=function(){d(h.error)}})["catch"](d)});return u(d,c),d}function O(a){var c=this,b=new Promise(function(a,b){c.ready().then(function(){var d=c.La,e=d.db.transaction(d.Ra,"readonly").objectStore(d.Ra).openCursor(),f=[];e.onsuccess=function(){var c=e.result;return c?(f.push(c.key),void c["continue"]()):void a(f)};e.onerror=function(){b(e.error)}})["catch"](b)});return u(b,a),b}function u(a,c){c&&a.then(function(a){c(null,a)},function(a){c(a)})}var ba=ba||b.indexedDB||
b.webkitIndexedDB||b.mozIndexedDB||b.qu||b.msIndexedDB;if(ba){var W,y,E="local-forage-detect-blob-support";return{tj:"asyncStorage",Xo:f,nu:t,getItem:k,setItem:w,removeItem:z,clear:e,length:q,key:G,keys:O}}}("undefined"!=typeof window?window:self);g.Ce=l["default"]},function(g,l,b){l.Il=!0;l["default"]=function(g){function h(a,c){c&&a.then(function(a){c(null,a)},function(a){c(a)})}var l=null;try{if(!(g.localStorage&&"setItem"in g.localStorage))return;l=g.localStorage}catch(n){return}return{tj:"localStorageWrapper",
Xo:function(a){var c={};if(a)for(var d in a)c[d]=a[d];return c.Ie=c.name+"/",c.Ra!==this.Vo.Ra&&(c.Ie+=c.Ra+"/"),this.La=c,(new Promise(function(a){a(b(3))})).then(function(a){return c.Hh=a,Promise.resolve()})},nu:function(a,c){var b=this,g=b.ready().then(function(){for(var c=b.La,h=c.Ie,k=h.length,g=l.length,n=1,p=0;g>p;p++){var e=l.key(p);if(0===e.indexOf(h)){var q=l.getItem(e);if(q&&(q=c.Hh.tm(q)),q=a(q,e.substring(k),n++),void 0!==q)return q}}});return h(g,c),g},getItem:function(a,c){var b=this;
"string"!=typeof a&&(g.console.warn(a+" used as a key, but it is not a string."),a=String(a));var n=b.ready().then(function(){var c=b.La,h=l.getItem(c.Ie+a);return h&&(h=c.Hh.tm(h)),h});return h(n,c),n},setItem:function(a,c,b){var n=this;"string"!=typeof a&&(g.console.warn(a+" used as a key, but it is not a string."),a=String(a));var f=n.ready().then(function(){void 0===c&&(c=null);var b=c;return new Promise(function(d,f){var h=n.La;h.Hh.serialize(c,function(c,e){if(e)f(e);else try{l.setItem(h.Ie+
a,c),d(b)}catch(g){"QuotaExceededError"!==g.name&&"NS_ERROR_DOM_QUOTA_REACHED"!==g.name||f(g),f(g)}})})});return h(f,b),f},removeItem:function(a,c){var b=this;"string"!=typeof a&&(g.console.warn(a+" used as a key, but it is not a string."),a=String(a));var n=b.ready().then(function(){l.removeItem(b.La.Ie+a)});return h(n,c),n},clear:function(a){var c=this,b=c.ready().then(function(){for(var a=c.La.Ie,b=l.length-1;0<=b;b--){var d=l.key(b);0===d.indexOf(a)&&l.removeItem(d)}});return h(b,a),b},length:function(a){var c=
this.keys().then(function(a){return a.length});return h(c,a),c},key:function(a,c){var b=this,g=b.ready().then(function(){var c,h=b.La;try{c=l.key(a)}catch(k){c=null}return c&&(c=c.substring(h.Ie.length)),c});return h(g,c),g},keys:function(a){var c=this,b=c.ready().then(function(){for(var a=c.La,b=l.length,d=[],h=0;b>h;h++)0===l.key(h).indexOf(a.Ie)&&d.push(l.key(h).substring(a.Ie.length));return d});return h(b,a),b}}}("undefined"!=typeof window?window:self);g.Ce=l["default"]},function(g,l){l.Il=!0;
l["default"]=function(b){function g(a){var c,b,h,f,m;c=.75*a.length;var k=a.length,n=0;"="===a[a.length-1]&&(c--,"="===a[a.length-2]&&c--);var p=new ArrayBuffer(c),z=new Uint8Array(p);for(c=0;k>c;c+=4)b=l.indexOf(a[c]),h=l.indexOf(a[c+1]),f=l.indexOf(a[c+2]),m=l.indexOf(a[c+3]),z[n++]=b<<2|h>>4,z[n++]=(15&h)<<4|f>>2,z[n++]=(3&f)<<6|63&m;return p}function h(a){var c=new Uint8Array(a),b="";for(a=0;a<c.length;a+=3)b+=l[c[a]>>2],b+=l[(3&c[a])<<4|c[a+1]>>4],b+=l[(15&c[a+1])<<2|c[a+2]>>6],b+=l[63&c[a+2]];
return 2===c.length%3?b=b.substring(0,b.length-1)+"=":1===c.length%3&&(b=b.substring(0,b.length-2)+"=="),b}var l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n=/^~~local_forage_type~([^~]+)~/;return{serialize:function(a,c){var b="";if(a&&(b=a.toString()),a&&("[object ArrayBuffer]"===a.toString()||a.buffer&&"[object ArrayBuffer]"===a.buffer.toString())){var g,f="__lfsc__:";a instanceof ArrayBuffer?(g=a,f+="arbf"):(g=a.buffer,"[object Int8Array]"===b?f+="si08":"[object Uint8Array]"===
b?f+="ui08":"[object Uint8ClampedArray]"===b?f+="uic8":"[object Int16Array]"===b?f+="si16":"[object Uint16Array]"===b?f+="ur16":"[object Int32Array]"===b?f+="si32":"[object Uint32Array]"===b?f+="ui32":"[object Float32Array]"===b?f+="fl32":"[object Float64Array]"===b?f+="fl64":c(Error("Failed to get type for BinaryArray")));c(f+h(g))}else if("[object Blob]"===b)b=new FileReader,b.onload=function(){var b="~~local_forage_type~"+a.type+"~"+h(this.result);c("__lfsc__:blob"+b)},b.readAsArrayBuffer(a);else try{c(JSON.stringify(a))}catch(m){console.error("Couldn't convert value into a JSON string: ",
a),c(null,m)}},tm:function(a){if("__lfsc__:"!==a.substring(0,9))return JSON.parse(a);var c,d=a.substring(13);a=a.substring(9,13);if("blob"===a&&n.test(d)){var h=d.match(n);c=h[1];d=d.substring(h[0].length)}d=g(d);switch(a){case "arbf":return d;case "blob":var f;d=[d];c={type:c};d=d||[];c=c||{};try{f=new Blob(d,c)}catch(m){if("TypeError"!==m.name)throw m;f=new (b.BlobBuilder||b.cf||b.ou||b.WebKitBlobBuilder);for(a=0;a<d.length;a+=1)f.append(d[a]);f=f.getBlob(c.type)}return f;case "si08":return new Int8Array(d);
case "ui08":return new Uint8Array(d);case "uic8":return new Uint8ClampedArray(d);case "si16":return new Int16Array(d);case "ur16":return new Uint16Array(d);case "si32":return new Int32Array(d);case "ui32":return new Uint32Array(d);case "fl32":return new Float32Array(d);case "fl64":return new Float64Array(d);default:throw Error("Unkown type: "+a);}},uF:g,bF:h}}("undefined"!=typeof window?window:self);g.Ce=l["default"]},function(g,l,b){l.Il=!0;l["default"]=function(g){function h(a){var c=this,d={db:null};
if(a)for(var f in a)d[f]="string"!=typeof a[f]?a[f].toString():a[f];var h=new Promise(function(a,b){try{d.db=t(d.name,String(d.version),d.description,d.size)}catch(f){return b(f)}d.db.transaction(function(f){f.executeSql("CREATE TABLE IF NOT EXISTS "+d.Ra+" (id INTEGER PRIMARY KEY, key unique, value)",[],function(){c.La=d;a()},function(a,c){b(c)})})});return(new Promise(function(a){a(b(3))})).then(function(a){return d.Hh=a,h})}function l(a,c){var b=this;"string"!=typeof a&&(g.console.warn(a+" used as a key, but it is not a string."),
a=String(a));var d=new Promise(function(c,d){b.ready().then(function(){var f=b.La;f.db.transaction(function(b){b.executeSql("SELECT * FROM "+f.Ra+" WHERE key = ? LIMIT 1",[a],function(a,b){var d=b.rows.length?b.rows.item(0).value:null;d&&(d=f.Hh.tm(d));c(d)},function(a,c){d(c)})})})["catch"](d)});return k(d,c),d}function n(a,c){var b=this,d=new Promise(function(c,d){b.ready().then(function(){var f=b.La;f.db.transaction(function(b){b.executeSql("SELECT * FROM "+f.Ra,[],function(b,d){for(var e=d.rows,
h=e.length,k=0;h>k;k++){var g=e.item(k),m=g.value;if(m&&(m=f.Hh.tm(m)),m=a(m,g.key,k+1),void 0!==m)return void c(m)}c()},function(a,c){d(c)})})})["catch"](d)});return k(d,c),d}function a(a,c,b){var d=this;"string"!=typeof a&&(g.console.warn(a+" used as a key, but it is not a string."),a=String(a));var f=new Promise(function(b,e){d.ready().then(function(){void 0===c&&(c=null);var f=c,h=d.La;h.Hh.serialize(c,function(c,d){d?e(d):h.db.transaction(function(d){d.executeSql("INSERT OR REPLACE INTO "+h.Ra+
" (key, value) VALUES (?, ?)",[a,c],function(){b(f)},function(a,c){e(c)})},function(a){a.code===a.QUOTA_ERR&&e(a)})})})["catch"](e)});return k(f,b),f}function c(a,c){var b=this;"string"!=typeof a&&(g.console.warn(a+" used as a key, but it is not a string."),a=String(a));var d=new Promise(function(c,d){b.ready().then(function(){var f=b.La;f.db.transaction(function(b){b.executeSql("DELETE FROM "+f.Ra+" WHERE key = ?",[a],function(){c()},function(a,c){d(c)})})})["catch"](d)});return k(d,c),d}function d(a){var c=
this,b=new Promise(function(a,b){c.ready().then(function(){var d=c.La;d.db.transaction(function(c){c.executeSql("DELETE FROM "+d.Ra,[],function(){a()},function(a,c){b(c)})})})["catch"](b)});return k(b,a),b}function v(a){var c=this,b=new Promise(function(a,b){c.ready().then(function(){var d=c.La;d.db.transaction(function(c){c.executeSql("SELECT COUNT(key) as c FROM "+d.Ra,[],function(c,b){var d=b.rows.item(0).zj;a(d)},function(a,c){b(c)})})})["catch"](b)});return k(b,a),b}function f(a,c){var b=this,
d=new Promise(function(c,d){b.ready().then(function(){var f=b.La;f.db.transaction(function(b){b.executeSql("SELECT key FROM "+f.Ra+" WHERE id = ? LIMIT 1",[a+1],function(a,b){var d=b.rows.length?b.rows.item(0).key:null;c(d)},function(a,c){d(c)})})})["catch"](d)});return k(d,c),d}function m(a){var c=this,b=new Promise(function(a,b){c.ready().then(function(){var d=c.La;d.db.transaction(function(c){c.executeSql("SELECT key FROM "+d.Ra,[],function(c,b){for(var d=[],e=0;e<b.rows.length;e++)d.push(b.rows.item(e).key);
a(d)},function(a,c){b(c)})})})["catch"](b)});return k(b,a),b}function k(a,c){c&&a.then(function(a){c(null,a)},function(a){c(a)})}var t=g.openDatabase;if(t)return{tj:"webSQLStorage",Xo:h,nu:n,getItem:l,setItem:a,removeItem:c,clear:d,length:v,key:f,keys:m}}("undefined"!=typeof window?window:self);g.Ce=l["default"]}])};"object"==typeof exports&&"object"==typeof module?module.Ce=zc():"function"==typeof define&&define.aF?define([],zc):"object"==typeof exports?exports.localforage=zc():this.localforage=
zc()}catch(Ac){yc=!0}function Bc(g){this.b=g}
(function(){function g(){}function l(){}function b(){}var p="",h="",r="";"undefined"!==typeof window.is_scirra_arcade&&(r="sa"+window.scirra_arcade_id+"_");var n=Bc.prototype;n.X=function(a){this.xa=a;this.b=a.b};n.X.prototype.P=function(){};n.T=function(a){this.type=a;this.b=a.b};var a=n.T.prototype;a.P=function(){this.Zq=0};a.Cf=function(){};a.Ha=function(){return{}};a.Oa=function(){};g.prototype.Yx=function(a){return p===a};g.prototype.Jx=function(){return!0};g.prototype.Cl=function(){return!0};
g.prototype.ys=function(a){return p===a};g.prototype.zs=function(a){return p===a};g.prototype.Ix=function(){return!0};n.j=new g;l.prototype.Sy=function(a,b){if(yc)this.b.trigger(Bc.prototype.j.Cl,this);else{var g=r+a;this.Zq++;var f=this;localforage.setItem(g,b,function(b,d){f.Zq--;b?f.b.trigger(Bc.prototype.j.Cl,f):(p=a,h=d,f.b.trigger(Bc.prototype.j.Jx,f),f.b.trigger(Bc.prototype.j.Yx,f),h=p="");0===f.Zq&&f.b.trigger(Bc.prototype.j.Ix,f)})}};l.prototype.Iw=function(a){if(yc)this.b.trigger(Bc.prototype.j.Cl,
this);else{var b=this;localforage.getItem(r+a,function(g,f){g?b.b.trigger(Bc.prototype.j.Cl,b):(p=a,null===f?(h="",b.b.trigger(Bc.prototype.j.zs,b)):(h=f,b.b.trigger(Bc.prototype.j.ys,b)),h=p="")})}};n.n=new l;b.prototype.Dx=function(a){a.ho(h)};n.L=new b})();function Cc(g){this.b=g}
(function(){function g(b,g,n,a,c,d,l,f,m,k){b.save();b.fillStyle=g;g=c%n;var p=d%a;0>g&&(g+=n);0>p&&(p+=a);b.translate(g+m,p+k);b.fillRect(c-g-m,d-p-k,l,f);b.restore()}function l(){}var b=Cc.prototype;b.X=function(b){this.xa=b;this.b=b.b};var p=b.X.prototype;p.P=function(){this.S||(this.F=new Image,this.F.gm=this.fl,this.b.ql(this.F,this.ej),this.sl=this.wl=this.ul=this.tl=this.oj=this.I=this.lt=this.mw=this.Gv=this.yu=this.Ep=null)};p.Oi=function(){this.S||(this.sl=this.wl=this.ul=this.tl=this.oj=
this.I=null)};p.Pi=function(){this.S||!this.k.length||this.I||(this.I=this.b.C.Zc(this.F,!0,this.b.Na,this.Hg))};p.hj=function(){this.S||this.k.length||!this.b.C||(this.b.C.deleteTexture(this.I),this.b.C.deleteTexture(this.oj),this.b.C.deleteTexture(this.tl),this.b.C.deleteTexture(this.ul),this.b.C.deleteTexture(this.wl),this.b.C.deleteTexture(this.sl),this.sl=this.wl=this.ul=this.tl=this.oj=this.I=null)};p.Se=function(b,g,n,a){var c=document.createElement("canvas");n=n-b;a=a-g;c.width=n;c.height=
a;c.getContext("2d").drawImage(this.F,b,g,n,a,0,0,n,a);return c};p.Yz=function(b,g,n,a){var c=this.F.width,d=this.F.height,l=c-g,f=d-a;if(this.b.C){if(!this.oj){var m=this.b.C,k=this.b.Na,p=this.Hg;l>b&&f>n&&(this.oj=m.Zc(this.Se(b,n,l,f),!0,k,p));0<b&&f>n&&(this.tl=m.Zc(this.Se(0,n,b,f),!0,k,p,"repeat-y"));0<g&&f>n&&(this.ul=m.Zc(this.Se(l,n,c,f),!0,k,p,"repeat-y"));0<n&&l>b&&(this.wl=m.Zc(this.Se(b,0,l,n),!0,k,p,"repeat-x"));0<a&&l>b&&(this.sl=m.Zc(this.Se(b,f,l,d),!0,k,p,"repeat-x"))}}else this.Ep||
(m=this.b.Va,l>b&&f>n&&(this.Ep=m.createPattern(this.Se(b,n,l,f),"repeat")),0<b&&f>n&&(this.yu=m.createPattern(this.Se(0,n,b,f),"repeat")),0<g&&f>n&&(this.Gv=m.createPattern(this.Se(l,n,c,f),"repeat")),0<n&&l>b&&(this.mw=m.createPattern(this.Se(b,0,l,n),"repeat")),0<a&&l>b&&(this.lt=m.createPattern(this.Se(b,f,l,d),"repeat")))};b.T=function(b){this.type=b;this.b=b.b};p=b.T.prototype;p.P=function(){this.uq=this.m[0];this.or=this.m[1];this.Or=this.m[2];this.fp=this.m[3];this.wm=this.m[4];this.fill=
this.m[5];this.visible=0===this.m[6];this.oe=0!==this.m[8];this.Hb?this.Hf.set(0,0,0,0):this.Hf=new ya(0,0,0,0);this.b.C&&!this.type.I&&(this.type.I=this.b.C.Zc(this.type.F,!1,this.b.Na,this.type.Hg));this.type.Yz(this.uq,this.or,this.Or,this.fp)};p.ie=function(b){var l=this.type.F,n=this.uq,a=this.or,c=this.Or,d=this.fp,p=l.width,f=l.height,m=p-a,k=f-d;b.globalAlpha=this.opacity;b.save();var t=this.x,w=this.y,z=this.width,e=this.height;this.b.$c&&(t=Math.round(t),w=Math.round(w));var q=-(this.Cc*
this.width),G=-(this.Dc*this.height),O=q%p,u=G%f;0>O&&(O+=p);0>u&&(u+=f);b.translate(t+O,w+u);p=q-O;G-=u;u=this.oe?1:0;0<n&&0<c&&b.drawImage(l,0,0,n+u,c+u,p,G,n+u,c+u);0<a&&0<c&&b.drawImage(l,m-u,0,a+u,c+u,p+z-a-u,G,a+u,c+u);0<a&&0<d&&b.drawImage(l,m-u,k-u,a+u,d+u,p+z-a-u,G+e-d-u,a+u,d+u);0<n&&0<d&&b.drawImage(l,0,k-u,n+u,d+u,p,G+e-d-u,n+u,d+u);0===this.wm?(u=2===this.fill?0:u,0<n&&k>c&&g(b,this.type.yu,n,k-c,p,G+c,n+u,e-c-d,0,0),0<a&&k>c&&g(b,this.type.Gv,a,k-c,p+z-a-u,G+c,a+u,e-c-d,u,0),0<c&&m>
n&&g(b,this.type.mw,m-n,c,p+n,G,z-n-a,c+u,0,0),0<d&&m>n&&g(b,this.type.lt,m-n,d,p+n,G+e-d-u,z-n-a,d+u,0,u)):1===this.wm&&(0<n&&k>c&&0<e-c-d&&b.drawImage(l,0,c,n,k-c,p,G+c,n,e-c-d),0<a&&k>c&&0<e-c-d&&b.drawImage(l,m,c,a,k-c,p+z-a,G+c,a,e-c-d),0<c&&m>n&&0<z-n-a&&b.drawImage(l,n,0,m-n,c,p+n,G,z-n-a,c),0<d&&m>n&&0<z-n-a&&b.drawImage(l,n,k,m-n,d,p+n,G+e-d,z-n-a,d));k>c&&m>n&&(0===this.fill?g(b,this.type.Ep,m-n,k-c,p+n,G+c,z-n-a,e-c-d,0,0):1===this.fill&&0<z-n-a&&0<e-c-d&&b.drawImage(l,n,c,m-n,k-c,p+n,
G+c,z-n-a,e-c-d));b.restore()};p.nf=function(b,g,l,a,c,d,p,f,m,k){b.Fc(g);var t=this.Hf;t.left=l/g.ge;t.top=a/g.fe;t.right=(l+c)/g.ge;t.bottom=(a+d)/g.fe;b.Ad(p,f,p+m,f,p+m,f+k,p,f+k,t)};p.hl=function(b,g,l,a,c,d,p,f){b.Fc(g);var m=this.Hf;m.left=-p/g.ge;m.top=-f/g.fe;m.right=(c-p)/g.ge;m.bottom=(d-f)/g.fe;b.Ad(l,a,l+c,a,l+c,a+d,l,a+d,m)};p.lf=function(b){this.nc(b)};p.nc=function(b){var g=this.uq,l=this.or,a=this.Or,c=this.fp,d=this.type.F.width-l,p=this.type.F.height-c;b.Jf(this.opacity);var f=
this.Uc,m=f.fb,f=f.gb,k=this.width,t=this.height;this.b.$c&&(m=Math.round(m),f=Math.round(f));var w=this.oe?1:0;0<g&&0<a&&this.nf(b,this.type.I,0,0,g+w,a+w,m,f,g+w,a+w);0<l&&0<a&&this.nf(b,this.type.I,d-w,0,l+w,a+w,m+k-l-w,f,l+w,a+w);0<l&&0<c&&this.nf(b,this.type.I,d-w,p-w,l+w,c+w,m+k-l-w,f+t-c-w,l+w,c+w);0<g&&0<c&&this.nf(b,this.type.I,0,p-w,g+w,c+w,m,f+t-c-w,g+w,c+w);0===this.wm?(w=2===this.fill?0:w,0<g&&p>a&&this.hl(b,this.type.tl,m,f+a,g+w,t-a-c,0,0),0<l&&p>a&&this.hl(b,this.type.ul,m+k-l-w,f+
a,l+w,t-a-c,w,0),0<a&&d>g&&this.hl(b,this.type.wl,m+g,f,k-g-l,a+w,0,0),0<c&&d>g&&this.hl(b,this.type.sl,m+g,f+t-c-w,k-g-l,c+w,0,w)):1===this.wm&&(0<g&&p>a&&this.nf(b,this.type.I,0,a,g,p-a,m,f+a,g,t-a-c),0<l&&p>a&&this.nf(b,this.type.I,d,a,l,p-a,m+k-l,f+a,l,t-a-c),0<a&&d>g&&this.nf(b,this.type.I,g,0,d-g,a,m+g,f,k-g-l,a),0<c&&d>g&&this.nf(b,this.type.I,g,p,d-g,c,m+g,f+t-c,k-g-l,c));p>a&&d>g&&(0===this.fill?this.hl(b,this.type.oj,m+g,f+a,k-g-l,t-a-c,0,0):1===this.fill&&this.nf(b,this.type.I,g,a,d-g,
p-a,m+g,f+a,k-g-l,t-a-c))};l.prototype.Uh=function(){return!0};b.j=new l;b.n=new function(){};b.L=new function(){}})();function U(g){this.b=g}
(function(){function g(){if(0===this.nm.length){var a=document.createElement("canvas");a.width=this.width;a.height=this.height;var c=a.getContext("2d");this.Kh?c.drawImage(this.F,this.Ah,this.Bh,this.width,this.height,0,0,this.width,this.height):c.drawImage(this.F,0,0,this.width,this.height);this.nm=a.toDataURL("image/png")}return this.nm}function l(){}function b(a){a[0]=0;a[1]=0;a[2]=0;k.push(a)}function p(a,c){return a<c?""+a+","+c:""+c+","+a}function h(a,c,b,d){c=c.uid;b=b.uid;var e=p(c,b);if(a.hasOwnProperty(e))a[e][2]=
d;else{var f=k.length?k.pop():[0,0,0];f[0]=c;f[1]=b;f[2]=d;a[e]=f}}function r(a,c,d){c=p(c.uid,d.uid);a.hasOwnProperty(c)&&(b(a[c]),delete a[c])}function n(a,c,b){c=p(c.uid,b.uid);if(a.hasOwnProperty(c))return t=a[c][2],!0;t=-2;return!1}function a(){}function c(){}var d=U.prototype;d.X=function(a){this.xa=a;this.b=a.b};var v=d.X.prototype;v.P=function(){if(!this.S){var a,c,b,d,e,f,h,k,m;this.Zd=[];this.Tj=!1;a=0;for(c=this.hd.length;a<c;a++){e=this.hd[a];h={};h.name=e[0];h.speed=e[1];h.loop=e[2];
h.mr=e[3];h.nr=e[4];h.Ef=e[5];h.ya=e[6];h.frames=[];b=0;for(d=e[7].length;b<d;b++)f=e[7][b],k={},k.ej=f[0],k.fl=f[1],k.Ah=f[2],k.Bh=f[3],k.width=f[4],k.height=f[5],k.duration=f[6],k.Cc=f[7],k.Dc=f[8],k.Yp=f[9],k.Nn=f[10],k.$q=f[11],k.Kh=0!==k.width,k.nm="",k.eF=g,m={left:0,top:0,right:1,bottom:1},k.Cr=m,k.I=null,(m=this.b.iB(f[0]))?k.F=m:(k.F=new Image,k.F.Vz=f[0],k.F.gm=f[1],k.F.Mz=null,this.b.ql(k.F,f[0])),h.frames.push(k),this.Zd.push(k);this.hd[a]=h}}};v.Vr=function(){var a,c,b;a=0;for(c=this.k.length;a<
c;a++)b=this.k[a],b.$h=b.Za.I};v.Oi=function(){if(!this.S){var a,c,b;a=0;for(c=this.Zd.length;a<c;++a)b=this.Zd[a],b.F.Mz=null,b.I=null;this.Tj=!1;this.Vr()}};v.Pi=function(){if(!this.S&&this.k.length){var a,c,b;a=0;for(c=this.Zd.length;a<c;++a)b=this.Zd[a],b.I=this.b.C.Zc(b.F,!1,this.b.Na,b.$q);this.Vr()}};v.qn=function(){if(!this.S&&!this.Tj&&this.b.C){var a,c,b;a=0;for(c=this.Zd.length;a<c;++a)b=this.Zd[a],b.I=this.b.C.Zc(b.F,!1,this.b.Na,b.$q);this.Tj=!0}};v.hj=function(){if(!this.S&&!this.k.length&&
this.Tj){var a,c,b;a=0;for(c=this.Zd.length;a<c;++a)b=this.Zd[a],this.b.C.deleteTexture(b.I),b.I=null;this.Tj=!1}};var f=[];v.Gk=function(a){var c,b,d;B(f);c=0;for(b=this.Zd.length;c<b;++c)d=this.Zd[c].F,-1===f.indexOf(d)&&(a.drawImage(d,0,0),f.push(d))};d.T=function(a){this.type=a;this.b=a.b;a=this.type.hd[0].frames[0].Nn;this.Hb?this.Ma.Vk(a):this.Ma=new fb(a)};var m=d.T.prototype;m.P=function(){this.visible=0===this.m[0];this.Vj=this.wf=!1;this.Fd=0!==this.m[3];this.ab=this.Ot(this.m[1])||this.type.hd[0];
this.V=this.m[2];0>this.V&&(this.V=0);this.V>=this.ab.frames.length&&(this.V=this.ab.frames.length-1);var a=this.ab.frames[this.V];this.Ma.Vk(a.Nn);this.Cc=a.Cc;this.Dc=a.Dc;this.Pg=this.ab.speed;this.hg=this.ab.nr;1===this.type.hd.length&&1===this.type.hd[0].frames.length||0===this.Pg||(this.b.Oh(this),this.wf=!0);this.Hb?this.ae.reset():this.ae=new cb;this.Ee=this.ae.fa;this.$f=!0;this.$e=0;this.Zf=!0;this.Yl=this.dt="";this.qt=0;this.Bj=-1;this.type.qn();var c,b,d,e,f,h,k,a=0;for(c=this.type.hd.length;a<
c;a++)for(e=this.type.hd[a],b=0,d=e.frames.length;b<d;b++)f=e.frames[b],0===f.width&&(f.width=f.F.width,f.height=f.F.height),f.Kh&&(k=f.F,h=f.Cr,h.left=f.Ah/k.width,h.top=f.Bh/k.height,h.right=(f.Ah+f.width)/k.width,h.bottom=(f.Bh+f.height)/k.height,0===f.Ah&&0===f.Bh&&f.width===k.width&&f.height===k.height&&(f.Kh=!1));this.Za=this.ab.frames[this.V];this.$h=this.Za.I};m.Ha=function(){var a={a:this.ab.ya,f:this.V,cas:this.Pg,fs:this.Ee,ar:this.$e,at:this.ae.fa,rt:this.hg};this.$f||(a.ap=this.$f);this.Zf||
(a.af=this.Zf);return a};m.Oa=function(a){var c=this.nB(a.a);c&&(this.ab=c);this.V=a.f;0>this.V&&(this.V=0);this.V>=this.ab.frames.length&&(this.V=this.ab.frames.length-1);this.Pg=a.cas;this.Ee=a.fs;this.$e=a.ar;this.ae.reset();this.ae.fa=a.at;this.$f=a.hasOwnProperty("ap")?a.ap:!0;this.Zf=a.hasOwnProperty("af")?a.af:!0;a.hasOwnProperty("rt")?this.hg=a.rt:this.hg=this.ab.nr;this.Za=this.ab.frames[this.V];this.$h=this.Za.I;this.Ma.Vk(this.Za.Nn);this.Cc=this.Za.Cc;this.Dc=this.Za.Dc};m.bp=function(a){this.V=
a?0:this.ab.frames.length-1;this.$f=!1;this.dt=this.ab.name;this.Vj=!0;this.b.trigger(U.prototype.j.os,this);this.b.trigger(U.prototype.j.ns,this);this.Vj=!1;this.$e=0};m.cf=function(){return this.ae.fa};m.$a=function(){this.ae.add(this.b.Ge(this));this.Yl.length&&this.Ct();0<=this.Bj&&this.tp();var a=this.ae.fa,c=this.ab,b=c.frames[this.V],d=b.duration/this.Pg;this.$f&&a>=this.Ee+d&&(this.Zf?this.V++:this.V--,this.Ee+=d,this.V>=c.frames.length&&(c.Ef?(this.Zf=!1,this.V=c.frames.length-2):c.loop?
this.V=this.hg:(this.$e++,this.$e>=c.mr?this.bp(!1):this.V=this.hg)),0>this.V&&(c.Ef?(this.V=1,this.Zf=!0,c.loop||(this.$e++,this.$e>=c.mr&&this.bp(!0))):c.loop?this.V=this.hg:(this.$e++,this.$e>=c.mr?this.bp(!0):this.V=this.hg)),0>this.V?this.V=0:this.V>=c.frames.length&&(this.V=c.frames.length-1),a>this.Ee+c.frames[this.V].duration/this.Pg&&(this.Ee=a),a=c.frames[this.V],this.Th(b,a),this.b.ca=!0)};m.Ot=function(a){var c,b,d;c=0;for(b=this.type.hd.length;c<b;c++)if(d=this.type.hd[c],lb(d.name,a))return d;
return null};m.nB=function(a){var c,b,d;c=0;for(b=this.type.hd.length;c<b;c++)if(d=this.type.hd[c],d.ya===a)return d;return null};m.Ct=function(){var a=this.ab.frames[this.V],c=this.Ot(this.Yl);this.Yl="";!c||lb(c.name,this.ab.name)&&this.$f||(this.ab=c,this.Pg=c.speed,this.hg=c.nr,0>this.V&&(this.V=0),this.V>=this.ab.frames.length&&(this.V=this.ab.frames.length-1),1===this.qt&&(this.V=0),this.$f=!0,this.Ee=this.ae.fa,this.Zf=!0,this.Th(a,this.ab.frames[this.V]),this.b.ca=!0)};m.tp=function(){var a=
this.ab.frames[this.V],c=this.V;this.V=ua(this.Bj);0>this.V&&(this.V=0);this.V>=this.ab.frames.length&&(this.V=this.ab.frames.length-1);c!==this.V&&(this.Th(a,this.ab.frames[this.V]),this.Ee=this.ae.fa,this.b.ca=!0);this.Bj=-1};m.Th=function(a,c){var b=a.width,d=a.height,e=c.width,f=c.height;b!=e&&(this.width*=e/b);d!=f&&(this.height*=f/d);this.Cc=c.Cc;this.Dc=c.Dc;this.Ma.Vk(c.Nn);this.D();this.Za=c;this.$h=c.I;b=0;for(d=this.Y.length;b<d;b++)e=this.Y[b],e.jv&&e.jv(a,c);this.b.trigger(U.prototype.j.Th,
this)};m.ie=function(a){a.globalAlpha=this.opacity;var c=this.Za,b=c.Kh,d=c.F,e=this.x,f=this.y,h=this.width,k=this.height;if(0===this.u&&0<=h&&0<=k)e-=this.Cc*h,f-=this.Dc*k,this.b.$c&&(e=Math.round(e),f=Math.round(f)),b?a.drawImage(d,c.Ah,c.Bh,c.width,c.height,e,f,h,k):a.drawImage(d,e,f,h,k);else{this.b.$c&&(e=Math.round(e),f=Math.round(f));a.save();var g=0<h?1:-1,m=0<k?1:-1;a.translate(e,f);1===g&&1===m||a.scale(g,m);a.rotate(this.u*g*m);e=0-this.Cc*pa(h);f=0-this.Dc*pa(k);b?a.drawImage(d,c.Ah,
c.Bh,c.width,c.height,e,f,pa(h),pa(k)):a.drawImage(d,e,f,pa(h),pa(k));a.restore()}};m.lf=function(a){this.nc(a)};m.nc=function(a){a.Fc(this.$h);a.Jf(this.opacity);var c=this.Za,b=this.Uc;if(this.b.$c){var d=Math.round(this.x)-this.x,e=Math.round(this.y)-this.y;c.Kh?a.Ad(b.fb+d,b.gb+e,b.Zb+d,b.$b+e,b.Ob+d,b.Pb+e,b.Mb+d,b.Nb+e,c.Cr):a.Jk(b.fb+d,b.gb+e,b.Zb+d,b.$b+e,b.Ob+d,b.Pb+e,b.Mb+d,b.Nb+e)}else c.Kh?a.Ad(b.fb,b.gb,b.Zb,b.$b,b.Ob,b.Pb,b.Mb,b.Nb,c.Cr):a.Jk(b.fb,b.gb,b.Zb,b.$b,b.Ob,b.Pb,b.Mb,b.Nb)};
m.tB=function(a){var c=this.Za,b,d;b=0;for(d=c.Yp.length;b<d;b++)if(lb(a,c.Yp[b][0]))return b;return-1};m.Zg=function(a,c){var b=this.Za,d=b.Yp,e;ma(a)?e=this.tB(a):e=a-1;e=ua(e);if(0>e||e>=d.length)return c?this.x:this.y;var f=(d[e][1]-b.Cc)*this.width,d=d[e][2],d=(d-b.Dc)*this.height,b=Math.cos(this.u);e=Math.sin(this.u);var h=f*b-d*e,d=d*b+f*e,f=h+this.x,d=d+this.y;return c?f:d};var k=[],t=-2,w=[];l.prototype.Qx=function(a){if(!a)return!1;var c=this.b,d=c.ki(),e=d.type,f=null;d.U.collmemory?f=
d.U.collmemory:(f={},d.U.collmemory=f);d.U.spriteCreatedDestroyCallback||(d.U.spriteCreatedDestroyCallback=!0,c.Zo(function(a){var c=d.U.collmemory;a=a.uid;var e,f;for(e in c)c.hasOwnProperty(e)&&(f=c[e],f[0]===a||f[1]===a)&&(b(c[e]),delete c[e])}));var k=e.ba(),g=a.ba(),k=k.Bc(),m,q,l,p,G,O,v,z=this.b.Ph,K=z-1,x=c.nb().tb;for(q=0;q<k.length;q++){l=k[q];g.la?(l.Sa(),this.b.Kp(l.A,a,l.bb,w),m=w,this.b.Ez(l,a,m)):m=g.Bc();for(p=0;p<m.length;p++)G=m[p],c.wc(l,G)||c.Qz(l,G)?(O=n(f,l,G),O=!O||t<K,h(f,
l,G,z),O&&(c.Eh(x.Ca),O=e.ba(),v=a.ba(),O.la=!1,v.la=!1,e===a?(O.k.length=2,O.k[0]=l,O.k[1]=G,e.pd()):(O.k.length=1,v.k.length=1,O.k[0]=l,v.k[0]=G,e.pd(),a.pd()),x.Gh(),c.Oe(x.Ca))):r(f,l,G);B(w)}return!1};var z=null,e=new da,q=!1,G=[],O=new ya(0,0,0,0);v.finish=function(a){if(q){if(a){var c=this.b.nb().tb.yd;a=z.ba();var b=e.ue(),d,f;if(a.la){a.la=!1;B(a.k);d=0;for(f=b.length;d<f;++d)a.k[d]=b[d];if(c)for(B(a.pa),d=0,f=z.k.length;d<f;++d)b=z.k[d],e.contains(b)||a.pa.push(b)}else if(c)for(c=a.k.length,
d=0,f=b.length;d<f;++d)a.k[c+d]=b[d],Ga(a.pa,b[d]);else Da(a.k,b);z.pd()}e.clear();q=!1}};l.prototype.Ax=function(a){if(a){var c=!1,b,d,f,h=this.b.ki(),k=h.type,h=h.Wm;b=a.ba();d=this.b.nb().tb.yd;var g;b.la?(this.Sa(),O.Zh(this.bb),O.offset(0,0),this.b.Kp(this.A,a,O,G),g=G):g=d?this.b.cC()&&!b.pa.length&&b.k.length?b.k:b.pa:b.k;z=a;q=k!==a&&!h;b=0;for(d=g.length;b<d;b++)if(f=g[b],this.b.wc(this,f)){c=!0;if(h)break;k!==a&&e.add(f)}B(G);a=c}else a=!1;return a};l.prototype.ns=function(a){return lb(this.dt,
a)};l.prototype.os=function(){return!0};l.prototype.Th=function(){return!0};l.prototype.Uh=function(){return!0};d.j=new l;a.prototype.jz=function(a,c,b){if(a&&c&&(c=this.b.hm(a,c,this.Zg(b,!0),this.Zg(b,!1)))){"undefined"!==typeof c.u&&(c.u=this.u,c.D());this.b.Yc++;var d,e,f;this.b.trigger(Object.getPrototypeOf(a.xa).j.Uf,c);if(c.fc)for(d=0,e=c.siblings.length;d<e;d++)f=c.siblings[d],this.b.trigger(Object.getPrototypeOf(f.type.xa).j.Uf,f);this.b.Yc--;d=this.b.qB();b=!1;if(ja(d.U.Spawn_LastExec)||
d.U.Spawn_LastExec<this.b.Xg)b=!0,d.U.Spawn_LastExec=this.b.Xg;if(a!=this.type&&(a=a.ba(),a.la=!1,b?(B(a.k),a.k[0]=c):a.k.push(c),c.fc))for(d=0,e=c.siblings.length;d<e;d++)f=c.siblings[d],a=f.type.ba(),a.la=!1,b?(B(a.k),a.k[0]=f):a.k.push(f)}};a.prototype.lz=function(a){this.$f=!0;this.Ee=this.ae.fa;1===a&&0!==this.V&&(this.Bj=0,this.Vj||this.tp());this.wf||(this.b.Oh(this),this.wf=!0)};a.prototype.Hy=function(a,c){this.Yl=a;this.qt=c;this.wf||(this.b.Oh(this),this.wf=!0);this.Vj||this.Ct()};a.prototype.Iy=
function(a){this.Bj=a;this.wf||(this.b.Oh(this),this.wf=!0);this.Vj||this.tp()};a.prototype.Jy=function(a){this.Pg=pa(a);this.Zf=0<=a;this.wf||(this.b.Oh(this),this.wf=!0)};a.prototype.Yy=function(a){a=pa(this.width)*(0===a?-1:1);this.width!==a&&(this.width=a,this.D())};a.prototype.Ps=function(a){var c=this.Za,b=c.width*a*(0>this.width?-1:1);a=c.height*a*(0>this.height?-1:1);if(this.width!==b||this.height!==a)this.width=b,this.height=a,this.D()};a.prototype.Jo=function(a,c,b){var d=new Image,e=this,
f=this.Za;d.onload=function(){f.F.src===d.src?e.b.C&&e.Za===f&&(e.$h=f.I):(f.F=d,f.Ah=0,f.Bh=0,f.width=d.width,f.height=d.height,f.Kh=!1,f.nm="",f.$q=0,e.b.C&&(f.I&&e.b.C.deleteTexture(f.I),f.I=e.b.C.Zc(d,!1,e.b.Na),e.Za===f&&(e.$h=f.I),e.type.Vr()));0===c&&(e.width=d.width,e.height=d.height,e.D());e.b.ca=!0;e.b.trigger(U.prototype.j.Uh,e)};"data:"!==a.substr(0,5)&&0===b&&(d.crossOrigin="anonymous");this.b.Rk(d,a)};a.prototype.Ly=function(a){this.Fd!==(0!==a)&&((this.Fd=0!==a)?this.D():(this.Ed.right>=
this.Ed.left&&this.type.Cj.update(this,this.Ed,null),this.Ed.set(0,0,-1,-1)))};d.n=new a;c.prototype.gx=function(a,c){a.H(this.Zg(c,!0))};c.prototype.hx=function(a,c){a.H(this.Zg(c,!1))};d.L=new c})();function Dc(g){this.b=g}
(function(){function g(a,c){return a.length?a.pop():new c}function l(a,c,b){if(b){var d;b=0;for(d=c.length;b<d;b++)a.length<n&&a.push(c[b]);B(c)}else for(d in c)Object.prototype.hasOwnProperty.call(c,d)&&(a.length<n&&a.push(c[d]),delete c[d])}function b(c,b,d){var f=c.uh;d=d.replace(/\s\s*$/,"");b>=f.length&&f.push(g(a,Object));b=f[b];b.text=d;b.width=c.Gq(d);c.bj=qa(c.bj,b.width)}function p(){}var h=Dc.prototype;h.P=function(){};h.X=function(a){this.xa=a;this.b=a.b};var r=h.X.prototype;r.P=function(){this.S||
(this.F=new Image,this.b.ql(this.F,this.ej),this.I=null)};r.Oi=function(){this.S||(this.I=null)};r.Pi=function(){if(!this.S&&this.k.length){this.I||(this.I=this.b.C.Zc(this.F,!1,this.b.Na,this.Hg));var a,c;a=0;for(c=this.k.length;a<c;a++)this.k[a].I=this.I}};r.hj=function(){this.S||this.k.length||!this.I||(this.b.C.deleteTexture(this.I),this.I=null)};r.Gk=function(a){a.drawImage(this.F,0,0)};h.T=function(a){this.type=a;this.b=a.b};r=h.T.prototype;r.Cf=function(){l(a,this.uh,!0);l(c,this.$l,!1);l(d,
this.dm,!1);Ya(this.fg)};r.P=function(){this.F=this.type.F;this.Zl=this.m[0];this.eg=this.m[1];this.characterSet=this.m[2];this.text=this.m[3];this.Ae=this.m[4];this.visible=0===this.m[5];this.Sm=this.m[6]/2;this.Bo=this.m[7]/2;this.SD=0===this.m[9];this.Yh=this.m[10];this.lineHeight=this.m[11];this.Nh=this.bj=0;this.Hb?(B(this.uh),Ya(this.$l),Ya(this.dm),Ya(this.fg)):(this.uh=[],this.$l={},this.dm={},this.fg={});this.cj=!0;this.sq=this.width;this.b.C&&(this.type.I||(this.type.I=this.b.C.Zc(this.type.F,
!1,this.b.Na,this.type.Hg)),this.I=this.type.I);this.kz()};r.Ha=function(){var a={t:this.text,csc:this.Ae,csp:this.Yh,lh:this.lineHeight,tw:this.bj,th:this.Nh,lrt:this.oC,ha:this.Sm,va:this.Bo,cw:{}},c;for(c in this.fg)a.cw[c]=this.fg[c];return a};r.Oa=function(a){this.text=a.t;this.Ae=a.csc;this.Yh=a.csp;this.lineHeight=a.lh;this.bj=a.tw;this.Nh=a.th;this.oC=a.lrt;a.hasOwnProperty("ha")&&(this.Sm=a.ha);a.hasOwnProperty("va")&&(this.Bo=a.va);for(var c in a.cw)this.fg[c]=a.cw[c];this.cj=!0;this.sq=
this.width};var n=1E3,a=[],c=[],d=[];r.kz=function(){for(var a=this.F,b=a.width,f=a.height,a=this.Zl,h=this.eg,l=a/b,e=h/f,q=this.characterSet,b=Math.floor(b/a),f=Math.floor(f/h),n=0;n<q.length&&!(n>=b*f);n++){var p=n%b,u=Math.floor(n/b),r=q.charAt(n);if(this.b.C){var v=this.dm,y=p*l,E=u*e,p=(p+1)*l,u=(u+1)*e;void 0===v[r]&&(v[r]=g(d,ya));v[r].left=y;v[r].top=E;v[r].right=p;v[r].bottom=u}else v=this.$l,p=p*a,u=u*h,y=a,E=h,void 0===v[r]&&(v[r]=g(c,Object)),v[r].x=p,v[r].y=u,v[r].Do=y,v[r].Rm=E}};var v=
[];h.pz=function(a){B(v);for(var c="",b,d=0;d<a.length;)if(b=a.charAt(d),"\n"===b)c.length&&(v.push(c),c=""),v.push("\n"),++d;else if(" "===b||"\t"===b||"-"===b){do c+=a.charAt(d),d++;while(d<a.length&&(" "===a.charAt(d)||"\t"===a.charAt(d)));v.push(c);c=""}else d<a.length&&(c+=b,d++);c.length&&v.push(c)};h.wz=function(c){var b=c.text,d=c.uh;if(b&&b.length){var f=c.width;if(2>=f)l(a,d,!0);else{var h=c.Ae,e=c.Yh;if(b.length*(c.Zl*h+e)-e<=f&&-1===b.indexOf("\n")&&(e=c.Gq(b),e<=f)){l(a,d,!0);d.push(g(a,
Object));d[0].text=b;d[0].width=e;c.bj=e;c.Nh=c.eg*h+c.lineHeight;return}this.xz(c);c.Nh=d.length*(c.eg*h+c.lineHeight)}}else l(a,d,!0)};h.xz=function(c){var d=c.SD,f=c.text,h=c.uh,g=c.width;d&&(this.pz(f),f=v);var e="",q,l,p,u=0,r=!1;for(p=0;p<f.length;p++)"\n"===f[p]?(!0===r?r=!1:(b(c,u,e),u++),e=""):(r=!1,q=e,e+=f[p],l=c.Gq(e.replace(/\s\s*$/,"")),l>g&&(""===q?(b(c,u,e),e="",r=!0):(b(c,u,q),e=f[p]),u++,d||" "!==e||(e="")));e.replace(/\s\s*$/,"").length&&(b(c,u,e),u++);for(p=u;p<h.length;p++)a.length<
n&&a.push(h[p]);h.length=u};r.Gq=function(a){for(var c=this.Yh,b=a.length,d=0,f=0;f<b;f++)d+=this.Jp(a.charAt(f))*this.Ae+c;return d-(0<d?c:0)};r.Jp=function(a){var c=this.fg;return void 0!==c[a]?c[a]:this.Zl};r.Ev=function(){if(this.cj||this.width!==this.sq)this.Nh=this.bj=0,this.type.xa.wz(this),this.cj=!1,this.sq=this.width};r.ie=function(a){var c=this.F;if(""!==this.text&&null!=c&&(this.Ev(),!(this.height<this.eg*this.Ae+this.lineHeight))){a.globalAlpha=this.opacity;var c=this.x,b=this.y;this.b.$c&&
(c=Math.round(c),b=Math.round(b));var d=this.A.Ja,f=this.A.Ka,e=this.A.Ua,h=this.A.Ta;a.save();a.translate(c,b);a.rotate(this.u);for(var g=this.u,l=this.Sm,n=this.Ae,p=this.eg*n,r=this.lineHeight,v=this.Yh,E=this.uh,H,F=-(this.Cc*this.width),R=-(this.Dc*this.height),R=R+this.Bo*qa(0,this.height-this.Nh),C,X,Y,I=0;I<E.length;I++){var N=E[I].text;H=l*qa(0,this.width-E[I].width);C=F+H;R+=r;if(0===g&&b+R+p<f)R+=p;else{for(var Q=0;Q<N.length;Q++){X=N.charAt(Q);H=this.Jp(X);var A=this.$l[X];if(0===g&&c+
C+H*n+v<d)C+=H*n+v;else{if(C+H*n>this.width+1E-5)break;void 0!==A&&(X=C,Y=R,0===g&&1===n&&(X=Math.round(X),Y=Math.round(Y)),a.drawImage(this.F,A.x,A.y,A.Do,A.Rm,X,Y,A.Do*n,A.Rm*n));C+=H*n+v;if(0===g&&c+C>e)break}}R+=p;if(0===g&&(R+p+r>this.height||b+R>h))break}}a.restore()}};var f=new za;r.nc=function(a){a.Fc(this.I);a.Jf(this.opacity);if(this.text&&(this.Ev(),!(this.height<this.eg*this.Ae+this.lineHeight))){this.Sa();var c=this.Uc,b=0,d=0;this.b.$c&&(b=Math.round(this.x)-this.x,d=Math.round(this.y)-
this.y);var h=this.A.Ja,e=this.A.Ka,g=this.A.Ua,l=this.A.Ta,n=this.u,u=this.Sm,p=this.Bo,r=this.Ae,v=this.eg*r,E=this.lineHeight,H=this.Yh,F=this.uh,R=this.Nh,C,X,Y;0!==n&&(X=Math.cos(n),Y=Math.sin(n));for(var b=c.fb+b,c=c.gb+d,I,p=p*qa(0,this.height-R),N,Q,R=0;R<F.length;R++)if(d=F[R].text,I=C=u*qa(0,this.width-F[R].width),p+=E,0===n&&c+p+v<e)p+=v;else{for(var A=0;A<d.length;A++){var K=d.charAt(A);C=this.Jp(K);K=this.dm[K];if(0===n&&b+I+C*r+H<h)I+=C*r+H;else{if(I+C*r>this.width+1E-5)break;if(void 0!==
K){var x=this.Zl*r,M=this.eg*r;N=I;Q=p;0===n&&1===r&&(N=Math.round(N),Q=Math.round(Q));f.fb=N;f.gb=Q;f.Zb=N+x;f.$b=Q;f.Mb=N;f.Nb=Q+M;f.Ob=N+x;f.Pb=Q+M;0!==n&&(N=f,Q=X,x=Y,M=void 0,M=N.fb*Q-N.gb*x,N.gb=N.gb*Q+N.fb*x,N.fb=M,M=N.Zb*Q-N.$b*x,N.$b=N.$b*Q+N.Zb*x,N.Zb=M,M=N.Mb*Q-N.Nb*x,N.Nb=N.Nb*Q+N.Mb*x,N.Mb=M,M=N.Ob*Q-N.Pb*x,N.Pb=N.Pb*Q+N.Ob*x,N.Ob=M);f.offset(b,c);a.Ad(f.fb,f.gb,f.Zb,f.$b,f.Ob,f.Pb,f.Mb,f.Nb,K)}I+=C*r+H;if(0===n&&b+I>g)break}}p+=v;if(0===n&&(p+v+E>this.height||c+p>l))break}}};h.j=new function(){};
p.prototype.dz=function(a){la(a)&&1E9>a&&(a=Math.round(1E10*a)/1E10);a=a.toString();this.text!==a&&(this.text=a,this.cj=!0,this.b.ca=!0)};p.prototype.Ps=function(a){a!==this.Ae&&(this.Ae=a,this.cj=!0,this.b.ca=!0)};r.cf=function(a,c){var b=parseInt(c,10);this.fg[a]!==b&&(this.fg[a]=b,this.cj=!0,this.b.ca=!0)};h.n=new p;h.L=new function(){}})();function Ec(g){this.b=g}
(function(){function g(){}function l(){}var b=Ec.prototype;b.X=function(b){this.xa=b;this.b=b.b};var p=b.X.prototype;p.P=function(){this.S||(this.F=new Image,this.F.gm=this.fl,this.b.ql(this.F,this.ej),this.I=this.pattern=null)};p.Oi=function(){this.S||(this.I=null)};p.Pi=function(){if(!this.S&&this.k.length){this.I||(this.I=this.b.C.Zc(this.F,!0,this.b.Na,this.Hg));var b,g;b=0;for(g=this.k.length;b<g;b++)this.k[b].I=this.I}};p.qn=function(){this.S||this.I||!this.b.C||(this.I=this.b.C.Zc(this.F,!0,
this.b.Na,this.Hg))};p.hj=function(){this.S||this.k.length||!this.I||(this.b.C.deleteTexture(this.I),this.I=null)};p.Gk=function(b){b.drawImage(this.F,0,0)};b.T=function(b){this.type=b;this.b=b.b};p=b.T.prototype;p.P=function(){this.visible=0===this.m[0];this.Hf=new ya(0,0,0,0);this.Um=!1;this.F=this.type.F;this.b.C?(this.type.qn(),this.I=this.type.I):(this.type.pattern||(this.type.pattern=this.b.Va.createPattern(this.type.F,"repeat")),this.pattern=this.type.pattern)};p.ye=function(){this.Um=!1;this.F=
this.type.F};p.Cf=function(){this.b.C&&this.Um&&this.I&&(this.b.C.deleteTexture(this.I),this.I=null)};p.ie=function(b){b.globalAlpha=this.opacity;b.save();b.fillStyle=this.pattern;var g=this.x,l=this.y;this.b.$c&&(g=Math.round(g),l=Math.round(l));var a=-(this.Cc*this.width),c=-(this.Dc*this.height),d=a%this.F.width,p=c%this.F.height;0>d&&(d+=this.F.width);0>p&&(p+=this.F.height);b.translate(g,l);b.rotate(this.u);b.translate(d,p);b.fillRect(a-d,c-p,this.width,this.height);b.restore()};p.lf=function(b){this.nc(b)};
p.nc=function(b){b.Fc(this.I);b.Jf(this.opacity);var g=this.Hf;g.right=this.width/this.F.width;g.bottom=this.height/this.F.height;var l=this.Uc;if(this.b.$c){var a=Math.round(this.x)-this.x,c=Math.round(this.y)-this.y;b.Ad(l.fb+a,l.gb+c,l.Zb+a,l.$b+c,l.Ob+a,l.Pb+c,l.Mb+a,l.Nb+c,g)}else b.Ad(l.fb,l.gb,l.Zb,l.$b,l.Ob,l.Pb,l.Mb,l.Nb,g)};g.prototype.Uh=function(){return!0};b.j=new g;l.prototype.Jo=function(b,g){var l=new Image,a=this;l.onload=function(){a.F=l;a.b.C?(a.Um&&a.I&&a.b.C.deleteTexture(a.I),
a.I=a.b.C.Zc(l,!0,a.b.Na)):a.pattern=a.b.Va.createPattern(l,"repeat");a.Um=!0;a.b.ca=!0;a.b.trigger(Ec.prototype.j.Uh,a)};"data:"!==b.substr(0,5)&&0===g&&(l.crossOrigin="anonymous");this.b.Rk(l,b)};b.n=new l;b.L=new function(){}})();function Fc(g){this.b=g}
(function(){function g(){this.to=this.id=-1;this.gt=this.ci=this.nl=this.Uj=!1;this.Qa=new ya(0,0,0,0)}function l(a){1E4>t.length&&t.push(a)}function b(){this.id=-1;this.Qa=new ya(0,0,0,0);this.Ff=null}function p(a){1E4>w.length&&w.push(a)}function h(a,c,b){var d;return z.length?(d=z.pop(),d.c=a,d.x=c,d.y=b,d.left=d.x*d.c.Qb*d.c.Yb,d.top=d.y*d.c.ac*d.c.Xb,d.clear(),d.Kk=!1,d):new r(a,c,b)}function r(a,c,b){this.c=a;this.x=c;this.y=b;this.left=this.x*this.c.Qb*this.c.Yb;this.top=this.y*this.c.ac*this.c.Xb;
this.Ve=[];this.uc=[];this.Ic=[];this.Kk=!1;var d,e;a=0;for(c=this.c.ac;a<c;++a){e=[];b=0;for(d=this.c.Qb;b<d;++b)e.push(-1);this.Ve.push(e)}}function n(){}function a(){}var c=Fc.prototype;c.X=function(a){this.xa=a;this.b=a.b};var d=c.X.prototype;d.P=function(){var a,c,b;if(!this.S&&(this.F=new Image,this.F.gm=this.fl,this.b.ql(this.F,this.ej),this.Qg=[],this.qp=!1,this.qe=[],this.hw=!1,this.so&&this.so.length))for(a=0,c=this.so.length;a<c;++a)(b=this.so[a])?this.qe.push({Ff:b,Em:[[[null,null],[null,
null]],[[null,null],[null,null]]]}):this.qe.push(null)};d.bg=function(a,c,b,d,e,f){if(!(0>a||a>=this.qe.length)&&this.qe[a]){var h=this.qe[a].Em;a=new fb(this.qe[a].Ff);a.Ng(c,b,0);f&&a.cA();d&&a.yC(c/2);e&&a.jB(b/2);h[d?1:0][e?1:0][f?1:0]=a}};d.Wt=function(a){if(-1===a)return null;var c=a&k;return 0>c||c>=this.qe.length||!this.qe[c]?null:this.qe[c].Em[a&v?1:0][a&f?1:0][a&m?1:0]};d.Jm=function(){var a,c,b=this.b.C;if(b)for(a=0,c=this.Qg.length;a<c;++a)b.deleteTexture(this.Qg[a]);B(this.Qg);this.qp=
!1};d.Dq=function(a,c,b,d,e,f,h){if(!(this.qp||0>=a||0>=c)){this.Jm();var g=this.F.width,k=this.F.height,l;for(l=d;l+c<=k;l+=c+f)for(d=b;d+a<=g;d+=a+e)this.Qg.push(this.Rw(d,l,a,c,h));this.qp=!0}};d.Rw=function(a,c,b,d,e){if(this.b.C)return this.Io(a,c,b,d,!1,!1,!1,e);var f=[[[null,null],[null,null]],[[null,null],[null,null]]];f[0][0][0]=this.Io(a,c,b,d,!1,!1,!1,e);return{Em:f,x:a,y:c,Do:b,Rm:d}};d.ks=function(a,c,b,d,e){if(0>a||a>=this.Qg.length)return null;a=this.Qg[a];var f=a.Em;c=c?1:0;b=b?1:
0;d=d?1:0;var h=f[c][b][d];if(h)return h;h=this.Io(a.x,a.y,a.Do,a.Rm,0!==c,0!==b,0!==d,e);return f[c][b][d]=h};d.Io=function(a,c,b,d,e,f,h,g){var k=b,l=d;this.b.C&&!g&&(na(k)||(k=oa(k)),na(l)||(l=oa(l)));var m=document.createElement("canvas");m.width=k;m.height=l;var n=m.getContext("2d");if(this.b.Va)return e?f?(h?(n.rotate(Math.PI/2),n.scale(-1,1)):n.scale(-1,-1),n.translate(-k,-l)):h?(n.rotate(Math.PI/2),n.translate(0,-l)):(n.scale(-1,1),n.translate(-k,0)):f?h?(n.rotate(-Math.PI/2),n.translate(-k,
0)):(n.scale(1,-1),n.translate(0,-l)):h&&(n.scale(-1,1),n.rotate(Math.PI/2)),n.drawImage(this.F,a,c,b,d,0,0,k,l),g?m:this.b.Va.createPattern(m,"repeat");n.drawImage(this.F,a,c,b,d,0,0,k,l);a=this.b.C.sd(k,l,this.b.Na,!1,!g);this.b.C.KD(m,a);return a};d.Oi=function(){this.S||this.Jm()};d.Pi=function(){};d.qn=function(){};d.hj=function(){this.S||this.k.length||this.Jm()};d.Gk=function(){};c.T=function(a){this.type=a;this.b=a.b};var d=c.T.prototype,v=-2147483648,f=1073741824,m=536870912,k=536870911,
t=[],w=[],z=[];r.prototype.clear=function(){var a,c,b,d,e;this.Ve.length=this.c.ac;a=0;for(c=this.Ve.length;a<c;++a)for(e=this.Ve[a],e||(e=[],this.Ve[a]=e),e.length=this.c.Qb,b=0,d=e.length;b<d;++b)e[b]=-1};r.prototype.wk=function(){if(!this.Kk){var a=this.c.Yb,c=this.c.Xb;if(!(0>=a||0>=c)){var d,e,h,n,r,E;d=0;for(e=this.uc.length;d<e;++d)l(this.uc[d]);d=0;for(e=this.Ic.length;d<e;++d)p(this.Ic[d]);B(this.uc);B(this.Ic);var H=Math.min(this.c.Od,Math.floor(this.c.width/a)),F=Math.min(this.c.le,Math.floor(this.c.height/
c)),H=H-this.left/a,F=F-this.top/c;H>this.c.Qb&&(H=this.c.Qb);F>this.c.ac&&(F=this.c.ac);var z=this.c.oe,C=null;d=0;for(e=F;d<e;++d){r=this.Ve[d];h=0;for(n=H;h<n;++h)E=r[h],-1===E?C&&(this.uc.push(C),C=null):z||!C||E!==C.id?(C&&this.uc.push(C),C=t.length?t.pop():new g,C.id=E,C.to=E&k,C.Uj=0!==(E&v),C.nl=0!==(E&f),C.ci=0!==(E&m),C.gt=C.Uj||C.nl||C.ci,C.Qa.left=h*a+this.left,C.Qa.top=d*c+this.top,C.Qa.right=C.Qa.left+a,C.Qa.bottom=C.Qa.top+c):C.Qa.right+=a;C&&(this.uc.push(C),C=null)}var C=null,X=!1;
d=0;for(e=F;d<e;++d){r=this.Ve[d];h=0;for(n=H;h<n;++h)E=r[h],-1===E?C&&(this.Ic.push(C),C=null,X=!1):(F=this.c.type.Wt(E),!C||F||X?(C&&this.Ic.push(C),C=w.length?w.pop():new b,C.id=E,C.Ff=F?F:null,E=C.Qa,E.left=h*a+this.left,E.top=d*c+this.top,E.right=E.left+a,E.bottom=E.top+c,X=!!F):C.Qa.right+=a);C&&(this.Ic.push(C),C=null,X=!1)}if(!z)for(e=this.uc.length,d=0;d<e;++d)for(n=this.uc[d],a=d+1;a<e;++a)if(h=this.uc[a],!(h.Qa.top<n.Qa.bottom)){if(h.Qa.top>n.Qa.bottom)break;if(h.Qa.right>n.Qa.right||h.Qa.left>
n.Qa.left)break;h.id===n.id&&h.Qa.left===n.Qa.left&&h.Qa.right===n.Qa.right&&(l(this.uc[a]),this.uc.splice(a,1),--e,n.Qa.bottom+=c,--a)}e=this.Ic.length;for(d=0;d<e;++d)if(n=this.Ic[d],!n.Ff)for(r=n.Qa,a=d+1;a<e;++a)if(h=this.Ic[a],n=h.Qa,!(n.top<r.bottom)){if(n.top>r.bottom)break;if(n.right>r.right||n.left>r.left)break;h.Ff||n.left!==r.left||n.right!==r.right||(p(this.Ic[a]),this.Ic.splice(a,1),--e,r.bottom+=c,--a)}this.Kk=!0}}};r.prototype.Br=function(a,c,b){this.Ve[c][a]!==b&&(this.Ve[c][a]=b,
this.Kk=!1,this.c.Ql=!0,this.c.Ek=!0,this.c.b.ca=!0)};d.P=function(){var a,c,b;this.visible=0===this.m[0];this.Yb=this.m[1];this.Xb=this.m[2];this.Jr=this.m[3];this.Lr=this.m[4];this.Kr=this.m[5];this.Mr=this.m[6];this.oe=0!==this.m[7];this.Od=this.kw;this.le=this.jw;this.kn=this.width;this.jn=this.height;var d=this.Yb,e=this.Xb;0===d&&(d=1);0===e&&(e=1);this.Qb=Math.ceil(this.b.Fb/d);this.ac=Math.ceil(this.b.Eb/e);if(!this.type.hw)for(this.type.hw=!0,a=0,c=this.type.qe.length;a<c;++a)if(b=this.type.qe[a])this.type.bg(a,
d,e,!1,!1,!1),this.type.bg(a,d,e,!1,!1,!0),this.type.bg(a,d,e,!1,!0,!1),this.type.bg(a,d,e,!1,!0,!0),this.type.bg(a,d,e,!0,!1,!1),this.type.bg(a,d,e,!0,!1,!0),this.type.bg(a,d,e,!0,!0,!1),this.type.bg(a,d,e,!0,!0,!0);this.Hb||(this.Qc=[]);this.Eq(!0);this.Qv(this.iw);this.type.Dq(this.Yb,this.Xb,this.Jr,this.Lr,this.Kr,this.Mr,this.oe);this.Ek=!1;this.Ql=!0;this.Cq()};d.Cq=function(){if(this.Ql){var a,c,b,d,e;a=0;for(c=this.Qc.length;a<c;++a)for(e=this.Qc[a],b=0,d=e.length;b<d;++b)e[b].wk();this.Ql=
!1}};d.ao=function(){var a,c,b,d,e;a=0;for(c=this.Qc.length;a<c;++a)for(e=this.Qc[a],b=0,d=e.length;b<d;++b)e[b].Kk=!1;this.Ql=!0};d.Eq=function(a){var c=ua(this.width/this.Yb),b=ua(this.height/this.Xb);if(!(c<=this.Od&&b<=this.le)||a){var d;a?(a=Math.ceil(this.le/this.ac),d=Math.ceil(this.Od/this.Qb)):(a=this.Qc.length,d=Math.ceil(this.Od/this.Qb),b>this.le&&(this.le=b,a=Math.ceil(this.le/this.ac)),c>this.Od&&(this.Od=c,d=Math.ceil(this.Od/this.Qb)),this.ao(),this.Ek=!0,this.b.ca=!0);for(var e,c=
0;c<a;++c)if(e=this.Qc[c])for(b=e.length;b<d;++b)e.push(h(this,b,c));else{e=[];for(b=0;b<d;++b)e.push(h(this,b,c));this.Qc[c]=e}}};d.ip=function(a,c){if(0>a||0>c)return null;var b=ua(c/this.ac);if(b>=this.Qc.length)return null;var b=this.Qc[b],d=ua(a/this.Qb);return d>=b.length?null:b[d]};d.jp=function(a,c){if(0>a||0>c||c>=this.Qc.length)return null;var b=this.Qc[c];return a>=b.length?null:b[a]};d.Qv=function(a){var c=[];a=a.split(",");var b,d,e,h,g;b=0;for(d=a.length;b<d;++b)if(e=a[b],h=e.indexOf("x"),
-1<h)for(g=parseInt(e.substring(0,h),10),e=e.substring(h+1),h=parseInt(e,10),-1<e.indexOf("h")&&(h|=v),-1<e.indexOf("v")&&(h|=f),-1<e.indexOf("d")&&(h|=m);0<g;--g)c.push(h);else h=parseInt(e,10),-1<e.indexOf("h")&&(h|=v),-1<e.indexOf("v")&&(h|=f),-1<e.indexOf("d")&&(h|=m),c.push(h);for(b=a=0;b<this.le;++b)for(d=0;d<this.Od;++d)g=c[a++],(e=this.ip(d,b))&&e.Br(d%this.Qb,b%this.ac,g)};d.DB=function(){var a="";if(0>=this.Od||0>=this.le)return a;var c=1,b=this.Rp(0,0),d,e,h,g,l,n,p,r;g=ua(this.width/this.Yb);
e=ua(this.height/this.Xb);for(d=0;d<e;++d)for(h=0===d?1:0;h<g;++h)l=this.Rp(h,d),l===b?++c:(-1===b?(n=-1,b=r=p=!1):(n=b&k,p=0!==(b&v),r=0!==(b&f),b=0!==(b&m)),a=1===c?a+(""+n):a+(""+c+"x"+n),p&&(a+="h"),r&&(a+="v"),b&&(a+="d"),a+=",",c=1,b=l);-1===b?(n=-1,b=r=p=!1):(n=b&k,p=0!==(b&v),r=0!==(b&f),b=0!==(b&m));a=1===c?a+(""+n):a+(""+c+"x"+n);p&&(a+="h");r&&(a+="v");b&&(a+="d");return a};d.Rp=function(a,c){a=Math.floor(a);c=Math.floor(c);if(0>a||0>c||a>=this.Od||c>=this.le)return-1;var b=this.ip(a,c);
return b?b.Ve[c%this.ac][a%this.Qb]:-1};d.Br=function(a,c,b){a=Math.floor(a);c=Math.floor(c);if(0>a||0>c||a>=this.Od||c>=this.le)return-1;var d=this.ip(a,c);if(!d)return-1;d.Br(a%this.Qb,c%this.ac,b)};d.Aw=function(a){return Math.floor((a-this.x)/(this.Qb*this.Yb))};d.Bw=function(a){return Math.floor((a-this.y)/(this.ac*this.Xb))};d.QD=function(a){return Math.floor((a-this.x)/this.Yb)};d.RD=function(a){return Math.floor((a-this.y)/this.Xb)};d.pB=function(a,c){var b=this.Bw(a.top),d=this.Aw(a.right),
e=this.Bw(a.bottom),f,h,g;for(f=this.Aw(a.left);f<=d;++f)for(h=b;h<=e;++h)if(g=this.jp(f,h))g.wk(),Ea(c,g.Ic)};d.BD=function(a,c){var b=this.Rp(this.QD(a),this.RD(c));if(-1===b)return!1;b=this.type.Wt(b);if(!b)return!0;var d=Math.floor((c-this.y)/this.Xb)*this.Xb+this.y;a-=Math.floor((a-this.x)/this.Yb)*this.Yb+this.x;return b.Sb(a,c-d)};d.cf=function(a){var c,b,d,e,f,h;c=0;for(b=this.Qc.length;c<b;++c)for(f=this.Qc[c],d=0,e=f.length;d<e;++d)h=f[d],h.wk(),Ea(a,h.Ic)};d.Cf=function(){var a,c,b,d,e;
a=0;for(c=this.Qc.length;a<c;++a){e=this.Qc[a];b=0;for(d=e.length;b<d;++b){for(var f=e[b],h=void 0,g=void 0,h=0,g=f.uc.length;h<g;++h)l(f.uc[h]);B(f.uc);h=0;for(g=f.Ic.length;h<g;++h)p(f.Ic[h]);B(f.Ic);1E3>z.length&&z.push(f)}B(e)}B(this.Qc)};d.Ha=function(){this.Eq();return{w:ua(this.width/this.Yb),h:ua(this.height/this.Xb),d:this.DB()}};d.Oa=function(a){this.Od=a.w;this.le=a.h;this.Eq(!0);this.Qv(a.d);this.Ek=!0;this.ao()};d.ie=function(a){if(!(0>=this.Yb||0>=this.Xb)){this.type.Dq(this.Yb,this.Xb,
this.Jr,this.Lr,this.Kr,this.Mr,this.oe);if(this.width!==this.kn||this.height!==this.jn)this.Ek=!0,this.ao(),this.Cq(),this.kn=this.width,this.jn=this.height;a.globalAlpha=this.opacity;var c=this.A,b=c.Ja,d=c.Ka,e=c.Ua,c=c.Ta,f=this.x,h=this.y,g=this.oe,k;this.b.$c&&(f=Math.round(f),h=Math.round(h));var l=this.Qb*this.Yb,m=this.ac*this.Xb,n=Math.floor((b-f)/l),l=Math.floor((e-f)/l),p=Math.floor((d-h)/m),m=Math.floor((c-h)/m),r=f%this.Yb,t=h%this.Xb;this.oe&&(t=r=0);if(0!==r||0!==t)a.save(),a.translate(r,
t),f-=r,h-=t,b-=r,d-=t,e-=r,c-=t;for(var v,w,A,z,x,M,D,P,V;n<=l;++n)for(v=p;v<=m;++v)if(w=this.jp(n,v))for(w.wk(),A=0,z=w.uc.length;A<z;++A)x=w.uc[A],-1!==x.id&&(k=x.Qa,M=k.left+f,D=k.top+h,P=k.right+f,k=k.bottom+h,M>e||P<b||D>c||k<d||(V=this.type.ks(x.to,x.Uj,x.nl,x.ci,this.oe),g?a.drawImage(V,M,D):(a.fillStyle=this.type.ks(x.to,x.Uj,x.nl,x.ci,this.oe),a.fillRect(M,D,P-M,k-D))));0===r&&0===t||a.restore()}};var e=new ya(0,0,1,1);d.lf=function(a){this.nc(a)};d.nc=function(a){if(!(0>=this.Yb||0>=this.Xb)){this.type.Dq(this.Yb,
this.Xb,this.Jr,this.Lr,this.Kr,this.Mr,this.oe);if(this.width!==this.kn||this.height!==this.jn)this.Ek=!0,this.ao(),this.Cq(),this.kn=this.width,this.jn=this.height;a.Jf(this.opacity);var c=this.type.Qg,b=this.A,d=b.Ja,f=b.Ka,h=b.Ua,b=b.Ta,g=this.x,k=this.y,l;this.b.$c&&(g=Math.round(g),k=Math.round(k));var m=this.Qb*this.Yb,n=this.ac*this.Xb,p=Math.floor((h-g)/m),r=Math.floor((f-k)/n),n=Math.floor((b-k)/n),t,v,w,z,A,K,x,M,D,P,V,ga,S,T,fa,ta,Va;for(fa=Math.floor((d-g)/m);fa<=p;++fa)for(ta=r;ta<=
n;++ta)if(Va=this.jp(fa,ta))for(Va.wk(),m=0,t=Va.uc.length;m<t;++m)v=Va.uc[m],-1!==v.id&&(l=v.Qa,w=l.left+g,z=l.top+k,A=l.right+g,l=l.bottom+k,w>h||A<d||z>b||l<f||(a.Fc(c[v.to]),e.right=(A-w)/this.Yb,e.bottom=(l-z)/this.Xb,v.gt?(v.ci&&(T=e.right,e.right=e.bottom,e.bottom=T),x=K=0,M=e.right,D=0,P=e.right,V=e.bottom,ga=0,S=e.bottom,v.ci&&(T=ga,ga=M,M=T,T=S,S=D,D=T),v.Uj&&(T=K,K=M,M=T,T=x,x=D,D=T,T=ga,ga=P,P=T,T=S,S=V,V=T),v.nl&&(T=K,K=ga,ga=T,T=x,x=S,S=T,T=M,M=P,P=T,T=D,D=V,V=T),a.VC(w,z,A,z,A,l,w,
l,K,x,M,D,P,V,ga,S)):a.Ad(w,z,A,z,A,l,w,l,e)))}};n.prototype.Uh=function(){return!0};c.j=new n;a.prototype.Jo=function(a,c){var b=new Image,d=this;b.onload=function(){var a=d.type;a.Jm();a.F=b;d.b.ca=!0;d.b.trigger(Fc.prototype.j.Uh,d)};"data:"!==a.substr(0,5)&&0===c&&(b.crossOrigin="anonymous");this.b.Rk(b,a)};c.n=new a;c.L=new function(){}})();function Gc(g){this.b=g}
(function(){function g(a){d=a.x;v=a.y;f=a.z}function l(a,c,d,f){var h;h=m.length?m.pop():new b;h.init(a,c,d,f);return h}function b(){this.$k=this.id=this.sh=this.rh=this.y=this.x=this.oo=this.no=this.rq=this.time=this.Gr=0;this.il=this.wo=!1}function p(a){return a.sourceCapabilities&&a.sourceCapabilities.firesTouchEvents||a.originalEvent&&a.originalEvent.sourceCapabilities&&a.originalEvent.sourceCapabilities.firesTouchEvents}function h(){}function r(){}var n=Gc.prototype;n.X=function(a){this.xa=a;
this.b=a.b};n.X.prototype.P=function(){};n.T=function(a){this.type=a;this.b=a.b;this.touches=[];this.Hq=!1};var a=n.T.prototype,c={left:0,top:0};a.Nj=function(a){var c,b;c=0;for(b=this.touches.length;c<b;c++)if(this.touches[c].id===a)return c;return-1};var d=0,v=0,f=0,m=[];b.prototype.init=function(a,c,b,d){var f=Za();this.Gr=this.rq=this.time=f;this.no=a;this.oo=c;this.x=a;this.y=c;this.rh=a;this.sh=c;this.pressure=this.height=this.width=0;this.id=b;this.$k=d;this.il=this.wo=!1};b.prototype.update=
function(a,c,b,d,f,h){this.rq=this.time;this.time=a;this.rh=this.x;this.sh=this.y;this.x=c;this.y=b;this.width=d;this.height=f;this.pressure=h;!this.il&&15<=Ta(this.no,this.oo,this.x,this.y)&&(this.il=!0)};b.prototype.wC=function(a,c){!this.wo&&500<=Za()-this.Gr&&!this.il&&15>Ta(this.no,this.oo,this.x,this.y)&&(this.wo=!0,a.Xe=this.$k,a.gj=this.id,a.ni=c,a.b.trigger(Gc.prototype.j.Wx,a),a.gf=this.x,a.hf=this.y,a.b.trigger(Gc.prototype.j.Xx,a),a.ni=0)};var k=-1E3,t=-1E3,w=-1E4;b.prototype.Su=function(a,
c){if(!this.wo){var b=Za();333>=b-this.Gr&&!this.il&&15>Ta(this.no,this.oo,this.x,this.y)&&(a.Xe=this.$k,a.gj=this.id,a.ni=c,666>=b-w&&25>Ta(k,t,this.x,this.y)?(a.b.trigger(Gc.prototype.j.Rx,a),a.gf=this.x,a.hf=this.y,a.b.trigger(Gc.prototype.j.Sx,a),t=k=-1E3,w=-1E4):(a.b.trigger(Gc.prototype.j.qy,a),a.gf=this.x,a.hf=this.y,a.b.trigger(Gc.prototype.j.Ls,a),k=this.x,t=this.y,w=b),a.ni=0)}};a.P=function(){this.jC=!("undefined"===typeof window.c2isWindows8||!window.c2isWindows8);this.ni=this.gj=this.Xe=
this.hf=this.gf=this.Ys=this.Xs=this.Ws=this.Cz=this.Bz=this.Az=this.Kn=this.Jn=this.In=0;this.ID=0!==this.m[0];var a=0<this.b.Kc?document:this.b.canvas,c=document;this.b.qc?c=a=window.Canvas:this.b.Xc&&(c=a=window);var b=this;"undefined"!==typeof PointerEvent?(a.addEventListener("pointerdown",function(a){b.Bk(a)},!1),a.addEventListener("pointermove",function(a){b.Ak(a)},!1),c.addEventListener("pointerup",function(a){b.Df(a,!1)},!1),c.addEventListener("pointercancel",function(a){b.Df(a,!0)},!1),this.b.canvas&&
(this.b.canvas.addEventListener("MSGestureHold",function(a){a.preventDefault()},!1),document.addEventListener("MSGestureHold",function(a){a.preventDefault()},!1),this.b.canvas.addEventListener("gesturehold",function(a){a.preventDefault()},!1),document.addEventListener("gesturehold",function(a){a.preventDefault()},!1))):window.navigator.msPointerEnabled?(a.addEventListener("MSPointerDown",function(a){b.Bk(a)},!1),a.addEventListener("MSPointerMove",function(a){b.Ak(a)},!1),c.addEventListener("MSPointerUp",
function(a){b.Df(a,!1)},!1),c.addEventListener("MSPointerCancel",function(a){b.Df(a,!0)},!1),this.b.canvas&&(this.b.canvas.addEventListener("MSGestureHold",function(a){a.preventDefault()},!1),document.addEventListener("MSGestureHold",function(a){a.preventDefault()},!1))):(a.addEventListener("touchstart",function(a){b.Gn(a)},!1),a.addEventListener("touchmove",function(a){b.Fn(a)},!1),c.addEventListener("touchend",function(a){b.Ri(a,!1)},!1),c.addEventListener("touchcancel",function(a){b.Ri(a,!0)},
!1));if(this.jC){var d=function(a){a=a.reading;b.Ws=a.accelerationX;b.Xs=a.accelerationY;b.Ys=a.accelerationZ},f=function(a){a=a.reading;b.In=a.yawDegrees;b.Jn=a.pitchDegrees;b.Kn=a.rollDegrees},h=Windows.Devices.Sensors.Accelerometer.getDefault();h&&(h.reportInterval=Math.max(h.minimumReportInterval,16),h.addEventListener("readingchanged",d));var k=Windows.Devices.Sensors.Inclinometer.getDefault();k&&(k.reportInterval=Math.max(k.minimumReportInterval,16),k.addEventListener("readingchanged",f));document.addEventListener("visibilitychange",
function(){document.hidden||document.msHidden?(h&&h.removeEventListener("readingchanged",d),k&&k.removeEventListener("readingchanged",f)):(h&&h.addEventListener("readingchanged",d),k&&k.addEventListener("readingchanged",f))},!1)}else window.addEventListener("deviceorientation",function(a){b.In=a.alpha||0;b.Jn=a.beta||0;b.Kn=a.gamma||0},!1),window.addEventListener("devicemotion",function(a){a.accelerationIncludingGravity&&(b.Az=a.accelerationIncludingGravity.x||0,b.Bz=a.accelerationIncludingGravity.y||
0,b.Cz=a.accelerationIncludingGravity.z||0);a.acceleration&&(b.Ws=a.acceleration.x||0,b.Xs=a.acceleration.y||0,b.Ys=a.acceleration.z||0)},!1);this.ID&&!this.b.Xa&&(jQuery(document).mousemove(function(a){b.Uq(a)}),jQuery(document).mousedown(function(a){b.Tq(a)}),jQuery(document).mouseup(function(a){b.Vq(a)}));!this.b.jh&&this.b.Mc&&navigator.accelerometer&&navigator.accelerometer.watchAcceleration&&navigator.accelerometer.watchAcceleration(g,null,{frequency:40});this.b.CD(this)};a.Ak=function(a){if(a.pointerType!==
a.MSPOINTER_TYPE_MOUSE&&"mouse"!==a.pointerType){a.preventDefault&&a.preventDefault();var b=this.Nj(a.pointerId),d=Za();if(0<=b){var f=this.b.Xa?c:jQuery(this.b.canvas).offset(),b=this.touches[b];2>d-b.time||b.update(d,a.pageX-f.left,a.pageY-f.top,a.width||0,a.height||0,a.pressure||0)}}};a.Bk=function(a){if(a.pointerType!==a.MSPOINTER_TYPE_MOUSE&&"mouse"!==a.pointerType){a.preventDefault&&mb(a)&&a.preventDefault();var b=this.b.Xa?c:jQuery(this.b.canvas).offset(),d=a.pageX-b.left,b=a.pageY-b.top;Za();
this.Xe=this.touches.length;this.gj=a.pointerId;this.touches.push(l(d,b,a.pointerId,this.Xe));this.b.Ec=!0;this.b.trigger(Gc.prototype.j.Is,this);this.b.trigger(Gc.prototype.j.Ms,this);this.gf=d;this.hf=b;this.b.trigger(Gc.prototype.j.No,this);this.b.Ec=!1}};a.Df=function(a,c){if(a.pointerType!==a.MSPOINTER_TYPE_MOUSE&&"mouse"!==a.pointerType){a.preventDefault&&mb(a)&&a.preventDefault();var b=this.Nj(a.pointerId);this.Xe=0<=b?this.touches[b].$k:-1;this.gj=0<=b?this.touches[b].id:-1;this.b.Ec=!0;this.b.trigger(Gc.prototype.j.Hs,
this);this.b.trigger(Gc.prototype.j.Mo,this);0<=b&&(c||this.touches[b].Su(this,b),100>m.length&&m.push(this.touches[b]),this.touches.splice(b,1));this.b.Ec=!1}};a.Fn=function(a){a.preventDefault&&a.preventDefault();var b=Za(),d,f,h,g;d=0;for(f=a.changedTouches.length;d<f;d++)if(h=a.changedTouches[d],g=this.Nj(h.identifier),0<=g){var k=this.b.Xa?c:jQuery(this.b.canvas).offset();g=this.touches[g];2>b-g.time||g.update(b,h.pageX-k.left,h.pageY-k.top,2*(h.rF||h.xF||h.jF||h.mF||0),2*(h.sF||h.yF||h.kF||
h.nF||0),h.dF||h.wF||h.iF||h.lF||0)}};a.Gn=function(a){a.preventDefault&&mb(a)&&a.preventDefault();var b=this.b.Xa?c:jQuery(this.b.canvas).offset();Za();this.b.Ec=!0;var d,f,h,g;d=0;for(f=a.changedTouches.length;d<f;d++)if(h=a.changedTouches[d],g=this.Nj(h.identifier),-1===g){g=h.pageX-b.left;var k=h.pageY-b.top;this.Xe=this.touches.length;this.gj=h.identifier;this.touches.push(l(g,k,h.identifier,this.Xe));this.b.trigger(Gc.prototype.j.Is,this);this.b.trigger(Gc.prototype.j.Ms,this);this.gf=g;this.hf=
k;this.b.trigger(Gc.prototype.j.No,this)}this.b.Ec=!1};a.Ri=function(a,c){a.preventDefault&&mb(a)&&a.preventDefault();this.b.Ec=!0;var b,d,f;b=0;for(d=a.changedTouches.length;b<d;b++)f=a.changedTouches[b],f=this.Nj(f.identifier),0<=f&&(this.Xe=this.touches[f].$k,this.gj=this.touches[f].id,this.b.trigger(Gc.prototype.j.Hs,this),this.b.trigger(Gc.prototype.j.Mo,this),c||this.touches[f].Su(this,f),100>m.length&&m.push(this.touches[f]),this.touches.splice(f,1));this.b.Ec=!1};a.cf=function(){return this.b.Mc&&
0===this.In&&0!==f?90*f:this.In};a.ou=function(){return this.b.Mc&&0===this.Jn&&0!==v?90*v:this.Jn};a.qu=function(){return this.b.Mc&&0===this.Kn&&0!==d?90*d:this.Kn};a.Tq=function(a){p(a)||(this.Gn({changedTouches:[{pageX:a.pageX,pageY:a.pageY,identifier:0}]}),this.Hq=!0)};a.Uq=function(a){this.Hq&&!p(a)&&this.Fn({changedTouches:[{pageX:a.pageX,pageY:a.pageY,identifier:0}]})};a.Vq=function(a){a.preventDefault&&this.b.Yt&&!this.b.fh&&a.preventDefault();this.b.Yt=!0;p(a)||(this.Ri({changedTouches:[{pageX:a.pageX,
pageY:a.pageY,identifier:0}]}),this.Hq=!1)};a.Ir=function(){var a,c,b,d=Za();a=0;for(c=this.touches.length;a<c;++a)b=this.touches[a],b.time<=d-50&&(b.rq=d),b.wC(this,a)};h.prototype.Ms=function(){return!0};h.prototype.Mo=function(){return!0};h.prototype.No=function(a){return a?this.b.qo(a,this.gf,this.hf):!1};var z=[];h.prototype.Cx=function(a){if(!a)return!1;var c=a.ba(),b=c.Bc(),d,f,h,g,k,l;h=0;for(g=b.length;h<g;h++){var m=b[h];m.Sa();k=0;for(l=this.touches.length;k<l;k++)if(f=this.touches[k],
d=m.A.sb(f.x,f.y,!0),f=m.A.sb(f.x,f.y,!1),m.Sb(d,f)){z.push(m);break}}return z.length?(c.la=!1,Da(c.k,z),a.pd(),B(z),!0):!1};h.prototype.Is=function(a){a=Math.floor(a);return a===this.Xe};h.prototype.Hs=function(a){a=Math.floor(a);return a===this.Xe};h.prototype.Wx=function(){return!0};h.prototype.qy=function(){return!0};h.prototype.Rx=function(){return!0};h.prototype.Xx=function(a){return a?this.b.qo(a,this.gf,this.hf):!1};h.prototype.Ls=function(a){return a?this.b.qo(a,this.gf,this.hf):!1};h.prototype.Sx=
function(a){return a?this.b.qo(a,this.gf,this.hf):!1};n.j=new h;r.prototype.Uo=function(a,c){var b=this.ni;if(0>b||b>=this.touches.length)a.H(0);else{var d,f,h,g,k;ja(c)?(d=this.b.li(0),f=d.scale,h=d.we,g=d.Qd,k=d.u,d.scale=1,d.we=1,d.Qd=1,d.u=0,a.H(d.sb(this.touches[b].x,this.touches[b].y,!0)),d.scale=f,d.we=h,d.Qd=g,d.u=k):(d=la(c)?this.b.li(c):this.b.Om(c))?a.H(d.sb(this.touches[b].x,this.touches[b].y,!0)):a.H(0)}};r.prototype.Hl=function(a,c){var b=this.ni;if(0>b||b>=this.touches.length)a.H(0);
else{var d,f,h,g,k;ja(c)?(d=this.b.li(0),f=d.scale,h=d.we,g=d.Rd,k=d.u,d.scale=1,d.we=1,d.Rd=1,d.u=0,a.H(d.sb(this.touches[b].x,this.touches[b].y,!1)),d.scale=f,d.we=h,d.Rd=g,d.u=k):(d=la(c)?this.b.li(c):this.b.Om(c))?a.H(d.sb(this.touches[b].x,this.touches[b].y,!1)):a.H(0)}};n.L=new r})();function Hc(g){this.b=g}
(function(){function g(a){var c;if(!v[a])for(v[a]=Array(20),c=0;20>c;++c)v[a][c]=0;return v[a]}function l(a){var c;if(!f[a])for(f[a]=Array(20),c=0;20>c;++c)f[a][c]=0;return f[a]}function b(a,c){return c?4<=a?-1:a+16:16<=a?-1:a}function p(b){d[b.gamepad.index]=b.gamepad;a.trigger(Hc.prototype.j.ws,c)}function h(b){a.trigger(Hc.prototype.j.xs,c);d[b.gamepad.index]=null}function r(){}var n=Hc.prototype;n.X=function(a){this.xa=a;this.b=a.b};n.X.prototype.P=function(){};var a=null,c=null,d=Array(16),v=
Array(16),f=Array(16),m="",k="",t=null,w={windows:{}};w.windows.firefox={};var z=[0,1,2,3,4,5,8,9,10,11],e=[0,1,[7,6],2,3,[14,15],[12,13]];w.windows.firefox.xbox360=function(a,c){return c?a>=e.length?-1:la(e[a])?e[a]+16:e[a]:a>=z.length?-1:z[a]};var q=[2,0,1,3,4,6,5,7,8,9],G=[0,1,2,3,[14,15],[12,13]];w.windows.firefox.logitechdualaction=function(a,c){return c?a>=G.length?-1:la(G[a])?G[a]+16:G[a]:a>=q.length?-1:q[a]};n.T=function(b){this.type=b;a=this.b=b.b;c=this};var O=n.T.prototype;O.P=function(){this.hk=
0;var a=navigator.userAgent;m="windows";/mac/i.test(a)&&(m="mac");t=w[m];k="chrome";/firefox/i.test(a)&&(k="firefox");t&&(t=t[k]);window.addEventListener("webkitgamepadconnected",p,!1);window.addEventListener("webkitgamepaddisconnected",h,!1);window.addEventListener("MozGamepadConnected",p,!1);window.addEventListener("MozGamepadDisconnected",h,!1);window.addEventListener("gamepadconnected",p,!1);window.addEventListener("gamepaddisconnected",h,!1);this.b.Oh(this);this.uj=[]};O.$a=function(){this.uj.length=
0;var a=null,c=!1;navigator.getGamepads?a=navigator.getGamepads():navigator.webkitGetGamepads?a=navigator.webkitGetGamepads():navigator.mozGetGamepads?a=navigator.mozGetGamepads():navigator.msGetGamepads?a=navigator.msGetGamepads():this.b.ku&&window.cr_getGamepads?(a=window.cr_getGamepads(),c=!0):a=navigator.gamepads||navigator.webkitGamepads||navigator.MozGamepads||d;if(a){var e,h,k,m,n,p,r;e=0;for(h=a.length;e<h;e++){var q=a[e];if(q){var w=g(e),G=l(e);m=e;k=g(m);m=l(m);n=void 0;for(n=0;20>n;++n)m[n]=
k[n];c?k=b:t?(k="",m=q.id.toLowerCase(),-1<m.indexOf("xbox 360")?k="xbox360":-1<m.indexOf("logitech dual action")&&(k="logitechdualaction"),k=t[k]||b):k=b;n=k;k=0;for(m=q.buttons.length;k<m;k++)r="undefined"!==typeof q.buttons[k].value?q.buttons[k].value:q.buttons[k],p=n(k,!1,r),0<=p&&20>p&&(w[p]=100*r,50<=w[p]&&50>G[p]&&(this.hk=p));k=0;for(m=q.axes.length;k<m;k++)r=q.axes[k],p=n(k,!0,r),la(p)?0<=p&&20>p&&(w[p]=100*r):(w[p[0]]=0,w[p[1]]=0,0>=r?w[p[0]]=Math.abs(100*r):w[p[1]]=Math.abs(100*r));this.uj.push(q)}else q=
e,v[q]=null,f[q]=null}for(;20>e;++e)a=e,v[a]=null,f[a]=null}};O.Ha=function(){return{lastButton:this.hk}};O.Oa=function(a){this.hk=a.lastButton};r.prototype.ws=function(){return!0};r.prototype.xs=function(){return!0};r.prototype.mx=function(a,c){a=Math.floor(a);if(0>a||a>=this.uj.length)return!1;var b=g(a);if(!b)return!1;if(b=50<=b[c])this.hk=c;return b};r.prototype.Lx=function(a,c){a=Math.floor(a);if(0>a||a>=this.uj.length)return!1;var b=g(a),d=l(a);if(!b||!d)return!1;if(b=50<=b[c]&&50>d[c])this.hk=
c;return b};r.prototype.cx=function(){return 0<this.uj.length};n.j=new r;n.n=new function(){};n.L=new function(){}})();function Ic(g){this.b=g}
(function(){function g(){}function l(){}var b=Ic.prototype;b.X=function(b){this.behavior=b;this.b=b.b};b.X.prototype.P=function(){};b.T=function(b,g){this.type=b;this.behavior=b.behavior;this.c=g;this.b=b.b};var p=b.T.prototype;p.P=function(){var b=this.m[0];this.zb=this.m[1];this.Lc=this.m[2];this.Kz=0!==this.m[3];this.xr=0!==this.m[4];this.G=Math.cos(this.c.u)*b;this.J=Math.sin(this.c.u)*b;this.rh=this.c.x;this.sh=this.c.y;this.Di=this.c.u;this.vo=0;this.enabled=0!==this.m[5]};p.Ha=function(){return{acc:this.zb,
g:this.Lc,dx:this.G,dy:this.J,lx:this.rh,ly:this.sh,lka:this.Di,t:this.vo,e:this.enabled}};p.Oa=function(b){this.zb=b.acc;this.Lc=b.g;this.G=b.dx;this.J=b.dy;this.rh=b.lx;this.sh=b.ly;this.Di=b.lka;this.vo=b.t;this.enabled=b.e};p.$a=function(){if(this.enabled){var b=this.b.Ge(this.c),g,l;this.c.u!==this.Di&&(this.xr&&(g=Ta(0,0,this.G,this.J),this.G=Math.cos(this.c.u)*g,this.J=Math.sin(this.c.u)*g),this.Di=this.c.u);0!==this.zb&&(g=Ta(0,0,this.G,this.J),l=0===this.G&&0===this.J?this.c.u:Oa(0,0,this.G,
this.J),g+=this.zb*b,0>g&&(g=0),this.G=Math.cos(l)*g,this.J=Math.sin(l)*g);0!==this.Lc&&(this.J+=this.Lc*b);this.rh=this.c.x;this.sh=this.c.y;if(0!==this.G||0!==this.J)if(this.c.x+=this.G*b,this.c.y+=this.J*b,this.vo+=Ta(0,0,this.G*b,this.J*b),this.xr&&(this.c.u=Oa(0,0,this.G,this.J),this.c.D(),this.Di=this.c.u),this.c.D(),this.Kz&&(g=this.b.Lb(this.c)))this.b.Bg(this.c,g),g=Ta(0,0,this.G,this.J),l=this.b.Nz(this.c,this.rh,this.sh),this.G=Math.cos(l)*g,this.J=Math.sin(l)*g,this.c.x+=this.G*b,this.c.y+=
this.J*b,this.c.D(),this.xr&&(this.Di=this.c.u=l,this.c.D()),this.b.zd(this.c,this.G/g,this.J/g,Math.max(2.5*g*b,30))||this.b.Dv(this.c,100)}};g.prototype.hs=function(b,g){return ic(Ta(0,0,this.G,this.J),b,g)};b.j=new g;l.prototype.Ro=function(b){var g=Oa(0,0,this.G,this.J);this.G=Math.cos(g)*b;this.J=Math.sin(g)*b};l.prototype.Po=function(b){this.zb=b};l.prototype.Ns=function(b){this.Lc=b};l.prototype.Vh=function(b){this.enabled=1===b};b.n=new l;b.L=new function(){}})();
function Jc(g){this.b=g;var l=this;this.b.Xa||(jQuery(document).mousemove(function(b){l.Uq(b)}),jQuery(document).mousedown(function(b){l.Tq(b)}),jQuery(document).mouseup(function(b){l.Vq(b)}));g=0<this.b.Kc?document:this.b.canvas;this.b.qc?g=window.Canvas:this.b.Xc&&(g=window);"undefined"!==typeof PointerEvent?(g.addEventListener("pointerdown",function(b){l.Bk(b)},!1),g.addEventListener("pointermove",function(b){l.Ak(b)},!1),g.addEventListener("pointerup",function(b){l.Df(b)},!1),g.addEventListener("pointercancel",
function(b){l.Df(b)},!1)):window.navigator.msPointerEnabled?(g.addEventListener("MSPointerDown",function(b){l.Bk(b)},!1),g.addEventListener("MSPointerMove",function(b){l.Ak(b)},!1),g.addEventListener("MSPointerUp",function(b){l.Df(b)},!1),g.addEventListener("MSPointerCancel",function(b){l.Df(b)},!1)):(g.addEventListener("touchstart",function(b){l.Gn(b)},!1),g.addEventListener("touchmove",function(b){l.Fn(b)},!1),g.addEventListener("touchend",function(b){l.Ri(b)},!1),g.addEventListener("touchcancel",
function(b){l.Ri(b)},!1))}
(function(){function g(b){var a,c;a=0;for(c=b.Y.length;a<c;a++)if(b.Y[a]instanceof p.T)return b.Y[a];return null}function l(){}function b(){}var p=Jc.prototype,h={left:0,top:0};p.Tq=function(b){1===b.which&&this.Nq("leftmouse",b.pageX,b.pageY)};p.Uq=function(b){1===b.which&&this.Oq("leftmouse",b.pageX,b.pageY)};p.Vq=function(b){1===b.which&&this.Pq("leftmouse")};p.Gn=function(b){b.preventDefault&&mb(b)&&b.preventDefault();var a,c,d,h;a=0;for(c=b.changedTouches.length;a<c;a++)d=b.changedTouches[a],
h=d.identifier,this.Nq(h?h.toString():"<none>",d.pageX,d.pageY)};p.Fn=function(b){b.preventDefault&&b.preventDefault();var a,c,d,h;a=0;for(c=b.changedTouches.length;a<c;a++)d=b.changedTouches[a],h=d.identifier,this.Oq(h?h.toString():"<none>",d.pageX,d.pageY)};p.Ri=function(b){b.preventDefault&&mb(b)&&b.preventDefault();var a,c,d;a=0;for(c=b.changedTouches.length;a<c;a++)d=b.changedTouches[a],d=d.identifier,this.Pq(d?d.toString():"<none>")};p.Bk=function(b){b.pointerType!==b.MSPOINTER_TYPE_MOUSE&&
"mouse"!==b.pointerType&&(b.preventDefault&&mb(b)&&b.preventDefault(),this.Nq(b.pointerId.toString(),b.pageX,b.pageY))};p.Ak=function(b){b.pointerType!==b.MSPOINTER_TYPE_MOUSE&&"mouse"!==b.pointerType&&(b.preventDefault&&b.preventDefault(),this.Oq(b.pointerId.toString(),b.pageX,b.pageY))};p.Df=function(b){b.pointerType!==b.MSPOINTER_TYPE_MOUSE&&"mouse"!==b.pointerType&&(b.preventDefault&&mb(b)&&b.preventDefault(),this.Pq(b.pointerId.toString()))};p.Nq=function(b,a,c){var d=this.b.Xa?h:jQuery(this.b.canvas).offset();
a=a-d.left;c=c-d.top;var l,f,m,k,d=this.Mi.ue(),p,r,z,e=null;p=0;for(r=d.length;p<r;p++)if(z=d[p],l=g(z),l.enabled&&!l.ig&&(l=z.A.sb(a,c,!0),f=z.A.sb(a,c,!1),z.Sa(),z.Sb(l,f)))e?z.A.index>e.A.index?(e=z,m=l,k=f):z.A.index===e.A.index&&z.Ld()>e.Ld()&&(e=z,m=l,k=f):(e=z,m=l,k=f);e&&g(e).DC(b,m,k)};p.Oq=function(b,a,c){var d=this.b.Xa?h:jQuery(this.b.canvas).offset();a=a-d.left;c=c-d.top;var l,f=this.Mi.ue(),m,k,p;m=0;for(k=f.length;m<k;m++)l=f[m],p=g(l),!p.enabled||!p.ig||p.ig&&p.up!==b||(d=l.A.sb(a,
c,!0),l=l.A.sb(a,c,!1),p.EC(d,l))};p.Pq=function(b){var a=this.Mi.ue(),c,d,h;c=0;for(d=a.length;c<d;c++)h=a[c],h=g(h),h.ig&&h.up===b&&h.HC()};p.X=function(b){this.behavior=b;this.b=b.b};p.X.prototype.P=function(){};p.T=function(b,a){this.type=b;this.behavior=b.behavior;this.c=a;this.b=b.b};var r=p.T.prototype;r.P=function(){this.ig=!1;this.J=this.G=0;this.up="<none>";this.cp=this.m[0];this.enabled=0!==this.m[1]};r.Ha=function(){return{enabled:this.enabled}};r.Oa=function(b){this.enabled=b.enabled;
this.ig=!1};r.DC=function(b,a,c){this.G=a-this.c.x;this.J=c-this.c.y;this.ig=!0;this.up=b;this.b.Ec=!0;this.b.trigger(Jc.prototype.j.Tx,this.c);this.b.Ec=!1};r.EC=function(b,a){var c=b-this.G,d=a-this.J;if(0===this.cp){if(this.c.x!==c||this.c.y!==d)this.c.x=c,this.c.y=d,this.c.D()}else 1===this.cp?this.c.x!==c&&(this.c.x=c,this.c.D()):2===this.cp&&this.c.y!==d&&(this.c.y=d,this.c.D())};r.HC=function(){this.ig=!1;this.b.Ec=!0;this.b.trigger(Jc.prototype.j.ss,this.c);this.b.Ec=!1};r.$a=function(){};
l.prototype.Tx=function(){return!0};l.prototype.ss=function(){return!0};p.j=new l;b.prototype.Vh=function(b){this.enabled=0!==b;this.enabled||(this.ig=!1)};p.n=new b;p.L=new function(){}})();function Kc(g){this.b=g}
(function(){function g(){}function l(){}var b=Kc.prototype;b.X=function(b){this.behavior=b;this.b=b.b};b.X.prototype.P=function(){};b.T=function(b,g){this.type=b;this.behavior=b.behavior;this.c=g;this.b=b.b};var p=b.T.prototype;p.P=function(){this.Yo=1===this.m[0];this.Ov=!1;this.fi=this.m[1];this.rl=this.m[2];this.Lj=this.m[3];this.bA=this.m[4];this.Kb=this.Yo?0:3;this.Hb?this.Td.reset():this.Td=new cb;this.xg=this.c.opacity?this.c.opacity:1;this.Yo&&(0===this.fi?(this.Kb=1,0===this.rl&&(this.Kb=
2)):(this.c.opacity=0,this.b.ca=!0))};p.Ha=function(){return{fit:this.fi,wt:this.rl,fot:this.Lj,s:this.Kb,st:this.Td.fa,mo:this.xg}};p.Oa=function(b){this.fi=b.fit;this.rl=b.wt;this.Lj=b.fot;this.Kb=b.s;this.Td.reset();this.Td.fa=b.st;this.xg=b.mo};p.$a=function(){this.Td.add(this.b.Ge(this.c));0===this.Kb&&(this.c.opacity=this.Td.fa/this.fi*this.xg,this.b.ca=!0,this.c.opacity>=this.xg&&(this.c.opacity=this.xg,this.Kb=1,this.Td.reset(),this.b.trigger(Kc.prototype.j.us,this.c)));1===this.Kb&&this.Td.fa>=
this.rl&&(this.Kb=2,this.Td.reset(),this.b.trigger(Kc.prototype.j.ty,this.c));2===this.Kb&&0!==this.Lj&&(this.c.opacity=this.xg-this.Td.fa/this.Lj*this.xg,this.b.ca=!0,0>this.c.opacity&&(this.c.opacity=0,this.Kb=3,this.Td.reset(),this.b.trigger(Kc.prototype.j.vs,this.c),1===this.bA&&this.b.Sf(this.c)))};p.Et=function(){this.Kb=0;this.Td.reset();0===this.fi?(this.Kb=1,0===this.rl&&(this.Kb=2)):(this.c.opacity=0,this.b.ca=!0)};g.prototype.vs=function(){return!0};g.prototype.us=function(){return!0};
g.prototype.ty=function(){return!0};b.j=new g;l.prototype.mz=function(){this.Yo||this.Ov||(this.xg=this.c.opacity?this.c.opacity:1,this.Ov=!0);3===this.Kb&&this.Et()};l.prototype.By=function(){this.Et()};l.prototype.Ny=function(b){0>b&&(b=0);this.fi=b};l.prototype.Oy=function(b){0>b&&(b=0);this.Lj=b};b.n=new l;b.L=new function(){}})();function Lc(g){this.b=g}
(function(){function g(){}function l(){}var b=Lc.prototype;b.X=function(b){this.behavior=b;this.b=b.b};b.X.prototype.P=function(){};b.T=function(b,g){this.type=b;this.behavior=b.behavior;this.c=g;this.b=b.b};var p=b.T.prototype;p.P=function(){this.We=this.Te=this.Kb=this.Bn=this.Hn=0};p.Ha=function(){return{ontime:this.Hn,offtime:this.Bn,stage:this.Kb,stagetimeleft:this.Te,timeleft:this.We}};p.Oa=function(b){this.Hn=b.ontime;this.Bn=b.offtime;this.Kb=b.stage;this.Te=b.stagetimeleft;this.We=b.timeleft;
null===this.We&&(this.We=Infinity)};p.$a=function(){if(!(0>=this.We)){var b=this.b.Ge(this.c);this.We-=b;0>=this.We?(this.We=0,this.c.visible=!0,this.b.ca=!0,this.b.trigger(Lc.prototype.j.Vx,this.c)):(this.Te-=b,0>=this.Te&&(0===this.Kb?(this.c.visible=!1,this.Kb=1,this.Te+=this.Bn):(this.c.visible=!0,this.Kb=0,this.Te+=this.Hn),this.b.ca=!0))}};g.prototype.Vx=function(){return!0};b.j=new g;l.prototype.Ww=function(b,g,l){this.Hn=b;this.Bn=g;this.Kb=1;this.Te=g;this.We=l;this.c.visible=!1;this.b.ca=
!0};b.n=new l;b.L=new function(){}})();function tc(g){this.b=g}(function(){var g=tc.prototype;g.X=function(b){this.behavior=b;this.b=b.b};g.X.prototype.P=function(){};g.T=function(b,g){this.type=b;this.behavior=b.behavior;this.c=g;this.b=b.b};var l=g.T.prototype;l.P=function(){};l.Cf=function(){};l.$a=function(){};g.j=new function(){};g.n=new function(){};g.L=new function(){}})();function Mc(g){this.b=g}
(function(){function g(){}function l(){}function b(){}var p=Mc.prototype;p.X=function(b){this.behavior=b;this.b=b.b};p.X.prototype.P=function(){};p.T=function(b,h){this.type=b;this.behavior=b.behavior;this.c=h;this.b=b.b;this.Xk=this.jo=this.io=this.Xp=this.Aj=this.Ij=this.Ai=this.Bi=this.Ok=this.jk=!1;this.rc=null;this.vq=-1;this.nh=this.mh=0;this.Fm=!1;this.Yg=this.$d=0;this.Dm=!0;this.J=this.G=0};var h=p.T.prototype;h.Xr=function(){this.kb=Math.cos(this.ji);this.lb=Math.sin(this.ji);this.Cg=Math.cos(this.ji-
Math.PI/2);this.Dg=Math.sin(this.ji-Math.PI/2);this.kb=kb(this.kb);this.lb=kb(this.lb);this.Cg=kb(this.Cg);this.Dg=kb(this.Dg);this.Km=this.Lc;0>this.Lc&&(this.kb*=-1,this.lb*=-1,this.Lc=Math.abs(this.Lc))};h.P=function(){this.zf=this.m[0];this.zb=this.m[1];this.jf=this.m[2];this.sg=this.m[3];this.Km=this.Lc=this.m[4];this.yh=this.m[5];this.xp=0!==this.m[6];this.oq=this.m[7]/1E3;this.Zz=1===this.m[8];this.enabled=0!==this.m[9];this.mj=!1;this.nj=this.b.Nf(this.c);this.wq=-1;this.Mh=0;this.ji=J(90);
this.Xr();var b=this;this.Zz&&!this.b.Xa&&(jQuery(document).keydown(function(h){b.Rq(h)}),jQuery(document).keyup(function(h){b.Sq(h)}));this.Hb||(this.Xu=function(h){b.Qq(h)});this.b.Zo(this.Xu);this.c.U.isPlatformBehavior=!0};h.Ha=function(){return{ii:this.Xp,lfx:this.mh,lfy:this.nh,lfo:this.rc?this.rc.uid:-1,am:this.$d,en:this.enabled,fall:this.Yg,ft:this.Dm,dx:this.G,dy:this.J,ms:this.zf,acc:this.zb,dec:this.jf,js:this.sg,g:this.Lc,g1:this.Km,mf:this.yh,wof:this.mj,woj:this.nj?this.nj.uid:-1,ga:this.ji,
edj:this.xp,cdj:this.Aj,dj:this.Ij,sus:this.oq}};h.Oa=function(b){this.Xp=b.ii;this.mh=b.lfx;this.nh=b.lfy;this.vq=b.lfo;this.$d=b.am;this.enabled=b.en;this.Yg=b.fall;this.Dm=b.ft;this.G=b.dx;this.J=b.dy;this.zf=b.ms;this.zb=b.acc;this.jf=b.dec;this.sg=b.js;this.Lc=b.g;this.Km=b.g1;this.yh=b.mf;this.mj=b.wof;this.wq=b.woj;this.ji=b.ga;this.xp=b.edj;this.Aj=b.cdj;this.Ij=b.dj;this.oq=b.sus;this.Xk=this.jo=this.io=this.Ai=this.Bi=this.Ok=this.jk=!1;this.Mh=0;this.Xr()};h.ye=function(){-1===this.vq?
this.rc=null:this.rc=this.b.mi(this.vq);-1===this.wq?this.nj=null:this.nj=this.b.mi(this.wq)};h.Qq=function(b){this.rc==b&&(this.rc=null)};h.Cf=function(){this.rc=null;this.b.$C(this.Xu)};h.Rq=function(b){switch(b.which){case 38:b.preventDefault();this.Bi=!0;break;case 37:b.preventDefault();this.jk=!0;break;case 39:b.preventDefault(),this.Ok=!0}};h.Sq=function(b){switch(b.which){case 38:b.preventDefault();this.Ai=this.Bi=!1;break;case 37:b.preventDefault();this.jk=!1;break;case 39:b.preventDefault(),
this.Ok=!1}};h.Ch=function(){this.Bi=this.Ok=this.jk=!1};h.cf=function(){return 0>this.Lc?-1:1};h.ju=function(){var b=null,h=null,a,c;a=this.c.x;c=this.c.y;this.c.x+=this.kb;this.c.y+=this.lb;this.c.D();if(this.rc&&this.b.wc(this.c,this.rc)&&(!this.b.Sr(this.rc.type,sc)||this.rc.U.solidEnabled))return this.c.x=a,this.c.y=c,this.c.D(),this.rc;(b=this.b.Lb(this.c))||0!==this.Yg||(h=this.b.Nf(this.c,!0));this.c.x=a;this.c.y=c;this.c.D();if(b){if(this.b.wc(this.c,b))return null;this.Fm=!1;return b}if(h&&
h.length){c=b=0;for(a=h.length;b<a;b++)h[c]=h[b],this.b.wc(this.c,h[b])||c++;if(1<=c)return this.Fm=!0,h[0]}return null};h.$a=function(){};h.xv=function(){var b=this.b.Ge(this.c),h,a,c,d,g,f,l,k,p;this.Bi||this.Xk||(this.Ai=!1);var w=this.jk||this.io;c=this.Ok||this.jo;var z=(d=this.Bi||this.Xk)&&!this.Ai;this.Xk=this.jo=this.io=!1;if(this.enabled){this.Xp&&(z=d=c=w=!1);d||(this.Mh=0);k=this.rc;p=!1;this.Dm&&((this.b.Lb(this.c)||this.b.Nf(this.c))&&this.b.zd(this.c,-this.kb,-this.lb,4,!0),this.Dm=
!1);!k||0!==this.J||k.y===this.nh&&k.x===this.mh||(h=k.x-this.mh,a=k.y-this.nh,this.c.x+=h,this.c.y+=a,this.c.D(),this.mh=k.x,this.nh=k.y,p=!0,this.b.Lb(this.c)&&this.b.zd(this.c,-h,-a,2.5*Math.sqrt(h*h+a*a)));var e=this.ju();if(a=this.b.Lb(this.c))if(this.c.U.inputPredicted)this.b.zd(this.c,-this.kb,-this.lb,10,!1);else if(this.b.Cv(this.c,this.Cg,this.Dg,this.c.width/2))this.b.Bg(this.c,a);else if(this.b.Cv(this.c,this.kb,this.lb,this.c.height/2))this.b.Bg(this.c,a);else if(this.b.Dv(this.c,Math.max(this.c.width,
this.c.height)/2))this.b.Bg(this.c,a);else return;e?(this.Aj=this.Ij=!1,0<this.J&&(this.mj||(this.b.Tn(this.c,-this.kb,-this.lb,e),this.mj=!0),this.J=0),k!=e)?(this.rc=e,this.mh=e.x,this.nh=e.y,this.b.Bg(this.c,e)):p&&(a=this.b.Lb(this.c))&&(this.b.Bg(this.c,a),0!==h&&(0<h?this.b.zd(this.c,-this.Cg,-this.Dg):this.b.zd(this.c,this.Cg,this.Dg)),this.b.zd(this.c,-this.kb,-this.lb)):d||(this.Aj=!0);if(e&&z||!e&&this.xp&&d&&this.Aj&&!this.Ij)k=this.c.x,p=this.c.y,this.c.x-=this.kb,this.c.y-=this.lb,this.c.D(),
this.b.Lb(this.c)?z=!1:(this.Mh=this.oq,this.b.trigger(Mc.prototype.j.Zx,this.c),this.$d=2,this.J=-this.sg,z=!0,e?this.Ai=!0:this.Ij=!0),this.c.x=k,this.c.y=p,this.c.D();e||(d&&0<this.Mh?(this.J=-this.sg,this.Mh-=b):(this.rc=null,this.J+=this.Lc*b,this.J>this.yh&&(this.J=this.yh)),z&&(this.Ai=!0));this.mj=!!e;w==c&&(0>this.G?(this.G+=this.jf*b,0<this.G&&(this.G=0)):0<this.G&&(this.G-=this.jf*b,0>this.G&&(this.G=0)));w&&!c&&(this.G=0<this.G?this.G-(this.zb+this.jf)*b:this.G-this.zb*b);c&&!w&&(this.G=
0>this.G?this.G+(this.zb+this.jf)*b:this.G+this.zb*b);this.G>this.zf?this.G=this.zf:this.G<-this.zf&&(this.G=-this.zf);w=!1;0!==this.G&&(k=this.c.x,p=this.c.y,h=this.G*b*this.Cg,a=this.G*b*this.Dg,this.c.x+=this.Cg*(1<this.G?1:-1)-this.kb,this.c.y+=this.Dg*(1<this.G?1:-1)-this.lb,this.c.D(),d=!1,g=this.b.Lb(this.c),this.c.x=k+h,this.c.y=p+a,this.c.D(),c=this.b.Lb(this.c),!c&&e&&(c=this.b.Nf(this.c))&&(this.c.x=k,this.c.y=p,this.c.D(),this.b.wc(this.c,c)?(c=null,d=!1):d=!0,this.c.x=k+h,this.c.y=p+
a,this.c.D()),c?(h=Math.abs(this.G*b)+2,g||!this.b.zd(this.c,-this.kb,-this.lb,h,d,c))?(this.b.Bg(this.c,c),h=Math.max(Math.abs(this.G*b*2.5),30),this.b.zd(this.c,this.Cg*(0>this.G?1:-1),this.Dg*(0>this.G?1:-1),h,!1)?!e||d||this.Fm||(k=this.c.x,p=this.c.y,this.c.x+=this.kb,this.c.y+=this.lb,this.b.Lb(this.c)?this.b.zd(this.c,-this.kb,-this.lb,3,!1)||(this.c.x=k,this.c.y=p,this.c.D()):(this.c.x=k,this.c.y=p,this.c.D())):(this.c.x=k,this.c.y=p,this.c.D()),d||(this.G=0)):!g&&!z&&Math.abs(this.J)<Math.abs(this.sg/
4)&&(this.J=0,e||(w=!0)):(k=this.ju(),e&&!k?(a=Math.ceil(Math.abs(this.G*b))+2,k=this.c.x,p=this.c.y,this.c.x+=this.kb*a,this.c.y+=this.lb*a,this.c.D(),this.b.Lb(this.c)||this.b.Nf(this.c)?this.b.zd(this.c,-this.kb,-this.lb,a+2,!0):(this.c.x=k,this.c.y=p,this.c.D())):k&&0===this.J&&this.b.Tn(this.c,-this.kb,-this.lb,k)));if(0!==this.J){k=this.c.x;p=this.c.y;this.c.x+=this.J*b*this.kb;this.c.y+=this.J*b*this.lb;h=this.c.x;c=this.c.y;this.c.D();a=this.b.Lb(this.c);d=!1;if(!a&&0<this.J&&!e){if((d=0<
this.Yg?null:this.b.Nf(this.c,!0))&&d.length){if(this.nj){this.c.x=k;this.c.y=p;this.c.D();l=g=0;for(f=d.length;g<f;g++)d[l]=d[g],this.b.wc(this.c,d[g])||l++;d.length=l;this.c.x=h;this.c.y=c;this.c.D()}1<=d.length&&(a=d[0])}d=!!a}a&&(this.b.Bg(this.c,a),this.Mh=0,h=d?Math.abs(this.J*b*2.5+10):Math.max(Math.abs(this.J*b*2.5+10),30),this.b.zd(this.c,this.kb*(0>this.J?1:-1),this.lb*(0>this.J?1:-1),h,d,a)?(this.rc=a,this.mh=a.x,this.nh=a.y,(this.Fm=d)&&(w=!0),this.J=0):(this.c.x=k,this.c.y=p,this.c.D(),
this.mj=!0,d||(this.J=0)))}3!==this.$d&&0<this.J&&!e&&(this.b.trigger(Mc.prototype.j.Ux,this.c),this.$d=3);(e||w)&&0<=this.J&&(3===this.$d||w||z&&0===this.J?(this.b.trigger(Mc.prototype.j.Ds,this.c),this.$d=0===this.G&&0===this.J?0:1):(0!==this.$d&&0===this.G&&0===this.J&&(this.b.trigger(Mc.prototype.j.oy,this.c),this.$d=0),1===this.$d||0===this.G&&0===this.J||z||(this.b.trigger(Mc.prototype.j.cy,this.c),this.$d=1)));0<this.Yg&&this.Yg--;this.nj=this.b.Nf(this.c)}};g.prototype.wx=function(){return 0!==
this.G||0!==this.J};g.prototype.hs=function(b,h){var a=Math.sqrt(this.G*this.G+this.J*this.J);return ic(a,b,h)};g.prototype.xx=function(){if(0!==this.J)return!1;var b=null,h=null,a,c;a=this.c.x;c=this.c.y;this.c.x+=this.kb;this.c.y+=this.lb;this.c.D();(b=this.b.Lb(this.c))||0!==this.Yg||(h=this.b.Nf(this.c,!0));this.c.x=a;this.c.y=c;this.c.D();if(b)return!this.b.wc(this.c,b);if(h&&h.length){c=b=0;for(a=h.length;b<a;b++)h[c]=h[b],this.b.wc(this.c,h[b])||c++;if(1<=c)return!0}return!1};g.prototype.tx=
function(){return 0>this.J};g.prototype.ox=function(){return 0<this.J};g.prototype.Zx=function(){return!0};g.prototype.Ux=function(){return!0};g.prototype.oy=function(){return!0};g.prototype.cy=function(){return!0};g.prototype.Ds=function(){return!0};p.j=new g;l.prototype.Xy=function(b){this.zf=b;0>this.zf&&(this.zf=0)};l.prototype.Po=function(b){this.zb=b;0>this.zb&&(this.zb=0)};l.prototype.My=function(b){this.jf=b;0>this.jf&&(this.jf=0)};l.prototype.Ty=function(b){this.sg=b;0>this.sg&&(this.sg=
0)};l.prototype.Ns=function(b){this.Km!==b&&(this.Lc=b,this.Xr(),this.b.Lb(this.c)&&(this.b.zd(this.c,this.kb,this.lb,10),this.c.x+=2*this.kb,this.c.y+=2*this.lb,this.c.D()),this.rc=null)};l.prototype.Wy=function(b){this.yh=b;0>this.yh&&(this.yh=0)};l.prototype.iz=function(b){switch(b){case 0:this.io=!0;break;case 1:this.jo=!0;break;case 2:this.Xk=!0}};l.prototype.gz=function(b){this.G=b};l.prototype.hz=function(b){this.J=b};l.prototype.Vh=function(b){this.enabled!==(1===b)&&(this.enabled=1===b,this.enabled||
(this.rc=null))};p.n=new l;b.prototype.sz=function(b){b.H(this.J)};p.L=new b})();function Nc(g){this.b=g}
(function(){function g(a){this.Yd(a)}function l(a,b,c){null!=a&&(this.move.max=a);null!=b&&(this.move.acc=b);null!=c&&(this.move.dec=c)}function b(){var a;0<this.move.acc||0<this.move.dec?(h.call(this,0),a=0):a=-this.yb/this.Vc;return a}function p(a){var b=this.move,c=!1;0!=b.dec&&(c=this.Vc*this.Vc/(2*b.dec)>=this.yb);b=c?-b.dec:b.acc;0!=b&&h.call(this,this.Vc+b*a);return this.Vc*a}function h(a){var b=this.move;null!=a?this.Vc=a>b.max?b.max:a:0<b.acc?this.Vc=0:this.Vc=b.max}function r(a,b,c,d,f,
h,g){this.Yd(a,b,c,d,f,h,g)}function n(a,b,c,d,f,h){this.Yd(a,b,c,d,f,h)}function a(a){this.Yd(a)}function c(a,b){if(null==a)return!1;var c;switch(b){case 0:c="M"==a.cmd&&0<=a.param;break;case 1:c="M"==a.cmd&&0>a.param;break;case 2:c="R"==a.cmd&&0<=a.param;break;case 3:c="R"==a.cmd&&0>a.param;break;case 4:c="W"==a.cmd;break;default:c=!0}return c}function d(a){var b=[];a=a.split(/;|\n/);var c,d=a.length,h,g,k;for(c=0;c<d;c++){k=a[c];h=k.indexOf("[");var l=g=void 0;-1!=h?(l=k.slice(h),g=k.slice(0,h)):
(l="",g=k);z[0]=g;z[1]=l;k=z;h=k[0];h=h.replace(/(^\s*)|(\s*$)/g,"");h=h.replace(/(\s+)/g," ");g=h.split(" ");2==g.length&&(h=g[0].toUpperCase(),g=parseFloat(g[1]),h=f(h,g))&&(h.speed=v(k[1]),b.push(h))}return b}function v(a){return""!=a?eval("("+a+")"):null}function f(a,b){switch(a){case "F":a="M";break;case "B":a="M";b=-b;break;case "R":a="R";break;case "L":a="R";b=-b;break;case "W":break;default:return null}return{cmd:a,param:b}}function m(){}function k(){}var t=Nc.prototype;t.X=function(a){this.behavior=
a;this.b=a.b};t.X.prototype.P=function(){};t.T=function(a,b){this.type=a;this.behavior=a.behavior;this.c=b;this.b=a.b};var w=t.T.prototype,z=[null,null];w.P=function(){this.Ll=this.m[0];this.ri=1==this.m[1];var b=1==this.m[2],c=1==this.m[12],d=1==this.m[13];this.Jc=null;this.vf=!1;var f=b?this.c.u:Na(this.m[11]);this.Hb||(this.Pe={x:0,y:0,a:0});this.Pe.x=this.c.x;this.Pe.y=this.c.y;this.Pe.a=f;this.Hb?this.Kg.Yd(this.m[3]):this.Kg=new a(this.m[3]);this.Hb?this.yl.Yd(this.c,this.m[5],this.m[6],this.m[7],
c,d):this.yl=new n(this.c,this.m[5],this.m[6],this.m[7],c,d);this.Hb?this.pj.Yd(this.c,b,this.m[8],this.m[9],this.m[10],c,d):this.pj=new r(this.c,b,this.m[8],this.m[9],this.m[10],c,d);this.Hb?this.zl.Yd(d):this.zl=new g(d);this.Hb||(this.np={M:this.yl,R:this.pj,W:this.zl});this.Cw(this.m[4])};w.$a=function(){if(0!=this.Ll&&this.ri)for(var a=this.b.Ge(this.c),b;a;){if(null==this.Jc)if(this.Jc=this.Kg.Zw(),null!=this.Jc)b=this.np[this.Jc.cmd],b.Go(this.Pe,this.Jc.param,this.Jc.speed),this.vf=!0,this.b.trigger(Nc.prototype.j.Px,
this.c),this.vf=!1;else{this.ri=!1;this.vf=!0;this.b.trigger(Nc.prototype.j.Ox,this.c);this.vf=!1;break}else b=this.np[this.Jc.cmd];a=b.So(a);b.Nc&&(this.vf=!0,this.b.trigger(Nc.prototype.j.Nx,this.c),this.vf=!1,this.Jc=null)}};w.cf=function(a,b){this.Kg.wy(f(a,b))};w.Cw=function(a){""!=a&&this.Kg.xy(d(a))};w.Ha=function(){return{en:this.Ll,ir:this.ri,ps:this.Pe,cq:this.Kg.Ha(),cc:this.Jc,cm:this.yl.Ha(),cr:this.pj.Ha(),cw:this.zl.Ha()}};w.Oa=function(a){this.Ll=a.en;this.ri=a.ir;this.Pe=a.ps;this.Kg.Oa(a.cq);
this.Jc=a.cc;this.yl.Oa(a.cm);this.pj.Oa(a.cr);this.zl.Oa(a.cw);null!=this.Jc&&(this.np[this.Jc.cmd].target=this.Pe)};t.j=new m;m.prototype.Ox=function(){return this.vf};m.prototype.Px=function(a){return c(this.Jc,a)&&this.vf};m.prototype.Nx=function(a){return c(this.Jc,a)&&this.vf};t.n=new k;k.prototype.Ey=function(a){this.Ll=a};k.prototype.Ss=function(){this.Jc=null;this.ri=!0;this.Kg.Ay();this.Pe.x=this.c.x;this.Pe.y=this.c.y;this.pj.Wn&&(this.Pe.a=this.c.u)};k.prototype.Gl=function(){this.Jc=
null;this.ri=!1};t.L=new function(){};t=a.prototype;t.Yd=function(a){this.Jw();this.lr=this.Mk=a};t.Jw=function(){this.Gf=0;this.jm=-1;this.queue=[]};t.Ay=function(){this.Mk=this.lr;this.Gf=0;this.jm=-1};t.wy=function(a){this.queue.push(a)};t.xy=function(a){this.queue.push.apply(this.queue,a)};t.Zw=function(){var a;a=this.queue[this.Gf];this.jm=this.Gf;var b=this.Gf+1;b>=this.queue.length?1!=this.Mk?(this.Gf=0,--this.Mk):this.Gf=-1:this.Gf=b;return a};t.Ha=function(){return{i:this.Gf,cci:this.jm,
q:this.queue,rptsv:this.lr,rpt:this.Mk}};t.Oa=function(a){this.Gf=a.i;this.jm=a.cci;this.queue=a.q;this.lr=a.rptsv;this.Mk=a.rpt};t=n.prototype;t.Yd=function(a,b,c,d,f,h){this.c=a;this.move={max:b,acc:c,dec:d};this.Nc=!0;this.Dh=f;this.Ej=h;this.Vc=0};t.Go=function(a,b,c){this.target=a;this.dir=0<=b;this.yb=Math.abs(b);this.Nc=!1;var d=a.a;a.x+=b*Math.cos(d);a.y+=b*Math.sin(d);c&&l.apply(this,c);h.call(this,null)};t.So=function(a){a=p.call(this,a);this.yb-=a;if(0>=this.yb||0>=this.Vc){this.Nc=!0;
if(this.Dh)this.c.x=this.target.x,this.c.y=this.target.y;else{var c=this.target.a;a+=this.yb;this.dir||(a=-a);this.c.x+=a*Math.cos(c);this.c.y+=a*Math.sin(c);this.target.x=this.c.x;this.target.y=this.c.y}a=this.Ej?b.call(this):0}else c=this.target.a,this.dir||(a=-a),this.c.x+=a*Math.cos(c),this.c.y+=a*Math.sin(c),a=0;this.c.D();return a};t.Ha=function(){return{v:this.move,id:this.Nc,pm:this.Dh,cspd:this.Vc,dir:this.dir,rd:this.yb}};t.Oa=function(a){this.move=a.v;this.Nc=a.id;this.Dh=a.pm;this.Vc=
a.cspd;this.dir=a.dir;this.yb=a.rd};t=r.prototype;t.Yd=function(a,b,c,d,f,h,g){this.c=a;this.Wn=b;this.move={max:c,acc:d,dec:f};this.Nc=!0;this.mq=36E3<=c&&0==d&&0==f;this.Dh=h;this.Ej=g;this.Hd=b?Ma(a.u):0;this.Vc=0};t.Go=function(a,b,c){this.target=a;this.Hd=Ma(a.a);this.cl=this.Hd+b;this.dir=0<=b;var d=Na(this.cl);this.yb=Math.abs(b);this.Nc=!1;a.a=d;c&&l.apply(this,c);h.call(this,null)};t.So=function(a){var c;this.mq?(this.Nc=!0,c=this.target.a,this.Hd=this.cl):(a=p.call(this,a),this.yb-=a,0>=
this.yb||0>=this.Vc?(this.Nc=!0,this.Dh?(c=this.target.a,this.Hd=this.cl):(a+=this.yb,this.Hd+=this.dir?a:-a,c=Na(this.Hd),this.target.a=c),a=1==this.Ej?b.call(this):0):(this.Hd+=this.dir?a:-a,c=Na(this.Hd),a=0));this.Wn&&(this.c.u=c,this.c.D());return a};t.Ha=function(){return{ra:this.Wn,v:this.move,id:this.Nc,izm:this.mq,pm:this.Dh,cad:this.Hd,cspd:this.Vc,tad:this.cl,dir:this.dir,rd:this.yb}};t.Oa=function(a){this.Wn=a.ra;this.move=a.v;this.Nc=a.id;this.mq=a.izm;this.Dh=a.pm;this.Hd=a.cad;this.Vc=
a.cspd;this.cl=a.tad;this.dir=a.dir;this.yb=a.rd};t=g.prototype;t.Yd=function(a){this.Nc=!0;this.Ej=a};t.Go=function(a,b){this.yb=b;this.Nc=!1;this.target=a};t.So=function(a){this.yb-=a;0>=this.yb?(a=this.Ej?-this.yb:0,this.Nc=!0):a=0;return a};t.Ha=function(){return{id:this.Nc,rd:this.yb}};t.Oa=function(a){this.Nc=a.id;this.yb=a.rd}})();function Oc(g){this.b=g}
(function(){function g(){}var l=Oc.prototype;l.X=function(b){this.behavior=b;this.b=b.b};l.X.prototype.P=function(){};l.T=function(b,h){this.type=b;this.behavior=b.behavior;this.c=h;this.b=b.b};var b=l.T.prototype;b.P=function(){this.speed=J(this.m[0]);this.zb=J(this.m[1])};b.Ha=function(){return{speed:this.speed,acc:this.zb}};b.Oa=function(b){this.speed=b.speed;this.zb=b.acc};b.$a=function(){var b=this.b.Ge(this.c);0!==b&&(0!==this.zb&&(this.speed+=this.zb*b),0!==this.speed&&(this.c.u=La(this.c.u+
this.speed*b),this.c.D()))};l.j=new function(){};g.prototype.Ro=function(b){this.speed=J(b)};g.prototype.Po=function(b){this.zb=J(b)};l.n=new g;l.L=new function(){}})();function Pc(g){this.b=g}
(function(){function g(){}function l(){}function b(){}var p=Pc.prototype;p.X=function(a){this.behavior=a;this.b=a.b};p.X.prototype.P=function(){};p.T=function(a,b){this.type=a;this.behavior=a.behavior;this.c=b;this.b=a.b;this.ub=0};var h=p.T.prototype,r=2*Math.PI,n=Math.PI/2,a=3*Math.PI/2;h.P=function(){this.ib=1===this.m[0];this.zg=this.m[1];this.ds=this.m[2];this.Ne=this.m[3];this.Ne+=Math.random()*this.m[4];0===this.Ne?this.ub=0:(this.ub=this.m[5]/this.Ne*r,this.ub+=Math.random()*this.m[6]/this.Ne*
r);this.jc=this.m[7];this.jc+=Math.random()*this.m[8];this.Lk=this.eh=this.za=0;5===this.zg&&(this.jc=J(this.jc));this.init()};h.Ha=function(){return{i:this.ub,a:this.ib,mv:this.zg,w:this.ds,p:this.Ne,mag:this.jc,iv:this.za,iv2:this.eh,r:this.Lk,lkv:this.ma,lkv2:this.eb}};h.Oa=function(a){this.ub=a.i;this.ib=a.a;this.zg=a.mv;this.ds=a.w;this.Ne=a.p;this.jc=a.mag;this.za=a.iv;this.eh=a.iv2||0;this.Lk=a.r;this.ma=a.lkv;this.eb=a.lkv2||0};h.init=function(){switch(this.zg){case 0:this.za=this.c.x;break;
case 1:this.za=this.c.y;break;case 2:this.za=this.c.width;this.Lk=this.c.height/this.c.width;break;case 3:this.za=this.c.width;break;case 4:this.za=this.c.height;break;case 5:this.za=this.c.u;break;case 6:this.za=this.c.opacity;break;case 7:this.za=0;break;case 8:this.za=this.c.x,this.eh=this.c.y}this.ma=this.za;this.eb=this.eh};h.Ye=function(b){b=b%r;switch(this.ds){case 0:return Math.sin(b);case 1:return b<=n?b/n:b<=a?1-2*(b-n)/Math.PI:(b-a)/n-1;case 2:return 2*b/r-1;case 3:return-2*b/r+1;case 4:return b<
Math.PI?-1:1}return 0};h.$a=function(){var a=this.b.Ge(this.c);this.ib&&0!==a&&(0===this.Ne?this.ub=0:(this.ub+=a/this.Ne*r,this.ub=this.ub%r),this.DD())};h.DD=function(){switch(this.zg){case 0:this.c.x!==this.ma&&(this.za+=this.c.x-this.ma);this.c.x=this.za+this.Ye(this.ub)*this.jc;this.ma=this.c.x;break;case 1:this.c.y!==this.ma&&(this.za+=this.c.y-this.ma);this.c.y=this.za+this.Ye(this.ub)*this.jc;this.ma=this.c.y;break;case 2:this.c.width=this.za+this.Ye(this.ub)*this.jc;this.c.height=this.c.width*
this.Lk;break;case 3:this.c.width=this.za+this.Ye(this.ub)*this.jc;break;case 4:this.c.height=this.za+this.Ye(this.ub)*this.jc;break;case 5:this.c.u!==this.ma&&(this.za=La(this.za+(this.c.u-this.ma)));this.c.u=La(this.za+this.Ye(this.ub)*this.jc);this.ma=this.c.u;break;case 6:this.c.opacity=this.za+this.Ye(this.ub)*this.jc/100;0>this.c.opacity?this.c.opacity=0:1<this.c.opacity&&(this.c.opacity=1);break;case 8:this.c.x!==this.ma&&(this.za+=this.c.x-this.ma),this.c.y!==this.eb&&(this.eh+=this.c.y-this.eb),
this.c.x=this.za+Math.cos(this.c.u)*this.Ye(this.ub)*this.jc,this.c.y=this.eh+Math.sin(this.c.u)*this.Ye(this.ub)*this.jc,this.ma=this.c.x,this.eb=this.c.y}this.c.D()};h.jv=function(a,b){switch(this.zg){case 2:this.za*=b.width/a.width;this.Lk=b.height/b.width;break;case 3:this.za*=b.width/a.width;break;case 4:this.za*=b.height/a.height}};g.prototype.ix=function(){return this.ib};p.j=new g;l.prototype.Fy=function(a){this.ib=1===a};l.prototype.az=function(a){this.Ne=a};l.prototype.Vy=function(a){this.jc=
a;5===this.zg&&(this.jc=J(this.jc))};p.n=new l;b.prototype.rz=function(a){a.H(this.Ye(this.ub)*this.jc)};p.L=new b})();var Qc=[],Rc=[],Sc=[],Tc=[],Uc=[],Vc=[],Wc=[],Xc=[],Yc=[],Zc=[];function ed(g){return result=(g/=1)<1/2.75?7.5625*g*g+0:g<2/2.75?1*(7.5625*(g-=1.5/2.75)*g+.75)+0:g<2.5/2.75?1*(7.5625*(g-=2.25/2.75)*g+.9375)+0:1*(7.5625*(g-=2.625/2.75)*g+.984375)+0}function fd(g,l){return Math.round(g/l*1E4)}
function gd(g,l,b,p,h){var r=0;switch(g){case 0:r=1*l/b+0;break;case 1:r=1*(l/=b)*l+0;break;case 2:r=-1*(l/=b)*(l-2)+0;break;case 3:r=1>(l/=b/2)?.5*l*l+0:-.5*(--l*(l-2)-1)+0;break;case 4:r=1*(l/=b)*l*l+0;break;case 5:r=1*((l=l/b-1)*l*l+1)+0;break;case 6:r=1>(l/=b/2)?.5*l*l*l+0:.5*((l-=2)*l*l+2)+0;break;case 7:r=1*(l/=b)*l*l*l+0;break;case 8:r=-1*((l=l/b-1)*l*l*l-1)+0;break;case 9:r=1>(l/=b/2)?.5*l*l*l*l+0:-.5*((l-=2)*l*l*l-2)+0;break;case 10:r=1*(l/=b)*l*l*l*l+0;break;case 11:r=1*((l=l/b-1)*l*l*l*
l+1)+0;break;case 12:r=1>(l/=b/2)?.5*l*l*l*l*l+0:.5*((l-=2)*l*l*l*l+2)+0;break;case 13:h.md?r=Uc[fd(l,b)]:r=-(Math.sqrt(1-l*l)-1);break;case 14:h.md?r=Vc[fd(l,b)]:r=Math.sqrt(1-(l-1)*(l-1));break;case 15:r=h.md?Wc[fd(l,b)]:1>(l/=b/2)?-.5*(Math.sqrt(1-l*l)-1)+0:.5*(Math.sqrt(1-(l-=2)*l)+1)+0;break;case 16:h.md?r=Xc[fd(l,b)]:(h=h.dd,r=1*(l/=b)*l*((h+1)*l-h)+0);break;case 17:h.md?r=Yc[fd(l,b)]:(h=h.dd,r=1*((l=l/b-1)*l*((h+1)*l+h)+1)+0);break;case 18:h.md?r=Zc[fd(l,b)]:(h=h.dd,r=1>(l/=b/2)?.5*l*l*(((h*=
1.525)+1)*l-h)+0:.5*((l-=2)*l*(((h*=1.525)+1)*l+h)+2)+0);break;case 19:h.md?r=Rc[fd(l,b)]:(r=h.Wh,g=h.Ck,l/=b,0==g&&(g=.3*b),0==r||r<Math.abs(1)?(r=1,h=g/4):h=g/(2*Math.PI)*Math.asin(1/r),r=-(r*Math.pow(2,10*--l)*Math.sin(2*(l*b-h)*Math.PI/g))+0);break;case 20:h.md?r=Sc[fd(l,b)]:(r=h.Wh,g=h.Ck,l/=b,0==g&&(g=.3*b),0==r||r<Math.abs(1)?(r=1,h=g/4):h=g/(2*Math.PI)*Math.asin(1/r),r=r*Math.pow(2,-10*l)*Math.sin(2*(l*b-h)*Math.PI/g)+1);break;case 21:h.md?r=Tc[fd(l,b)]:(r=h.Wh,g=h.Ck,l/=b/2,0==g&&(g=.3*b*
1.5),0==r||r<Math.abs(1)?(r=1,h=g/4):h=g/(2*Math.PI)*Math.asin(1/r),r=1>l?-.5*r*Math.pow(2,10*--l)*Math.sin(2*(l*b-h)*Math.PI/g)+0:r*Math.pow(2,-10*--l)*Math.sin(2*(l*b-h)*Math.PI/g)*.5+1);break;case 22:r=h.md?1-Qc[fd(b-l,b)]+0:1-ed(b-l/b)+0;break;case 23:r=h.md?Qc[fd(l,b)]:ed(l/b);break;case 24:r=h.md?l<b/2?.5*(1-Qc[fd(b-2*l,b)]+0)+0:.5*Qc[fd(2*l-b,b)]+.5:l<b/2?.5*(1-ed(b-2*l)+0)+0:.5*ed((2*l-b)/b)+.5;break;case 25:l=l/b/2;r=2*l*l*(3-2*l);break;case 26:l=(l/b+1)/2;r=2*l*l*(3-2*l)-1;break;case 27:l=
l/b,r=l*l*(3-2*l)}return p?1-r:r}
for(var hd=0,id=0,jd=0,Z=0,kd=0,ld=0;1E4>=ld;ld++)Z=ld/1E4,hd=(Z/=1)<1/2.75?7.5625*Z*Z+0:Z<2/2.75?1*(7.5625*(Z-=1.5/2.75)*Z+.75)+0:Z<2.5/2.75?1*(7.5625*(Z-=2.25/2.75)*Z+.9375)+0:1*(7.5625*(Z-=2.625/2.75)*Z+.984375)+0,Qc[ld]=hd,Z=ld/1E4,jd=id=0,Z/=1,0==jd&&(jd=.3),0==id||id<Math.abs(1)?(id=1,kd=jd/4):kd=jd/(2*Math.PI)*Math.asin(1/id),hd=-(id*Math.pow(2,10*--Z)*Math.sin(2*(1*Z-kd)*Math.PI/jd))+0,Rc[ld]=hd,Z=ld/1E4,jd=id=0,Z/=1,0==jd&&(jd=.3),0==id||id<Math.abs(1)?(id=1,kd=jd/4):kd=jd/(2*Math.PI)*Math.asin(1/
id),hd=id*Math.pow(2,-10*Z)*Math.sin(2*(1*Z-kd)*Math.PI/jd)+1,Sc[ld]=hd,Z=ld/1E4,jd=id=0,Z/=.5,0==jd&&(jd=.3*1.5),0==id||id<Math.abs(1)?(id=1,kd=jd/4):kd=jd/(2*Math.PI)*Math.asin(1/id),hd=1>Z?-.5*id*Math.pow(2,10*--Z)*Math.sin(2*(1*Z-kd)*Math.PI/jd)+0:id*Math.pow(2,-10*--Z)*Math.sin(2*(1*Z-kd)*Math.PI/jd)*.5+1,Tc[ld]=hd,Z=ld/1E4,Uc[ld]=-(Math.sqrt(1-Z*Z)-1),Z=ld/1E4,Vc[ld]=Math.sqrt(1-(Z-1)*(Z-1)),Z=ld/1E4,hd=1>(Z/=.5)?-.5*(Math.sqrt(1-Z*Z)-1)+0:.5*(Math.sqrt(1-(Z-=2)*Z)+1)+0,Wc[ld]=hd,Z=ld/1E4,kd=
0,0==kd&&(kd=1.70158),hd=1*(Z/=1)*Z*((kd+1)*Z-kd)+0,Xc[ld]=hd,Z=ld/1E4,kd=0,0==kd&&(kd=1.70158),hd=1*((Z=Z/1-1)*Z*((kd+1)*Z+kd)+1)+0,Yc[ld]=hd,Z=ld/1E4,kd=0,0==kd&&(kd=1.70158),hd=1>(Z/=.5)?.5*Z*Z*(((kd*=1.525)+1)*Z-kd)+0:.5*((Z-=2)*Z*(((kd*=1.525)+1)*Z+kd)+2)+0,Zc[ld]=hd;
function md(g,l,b,p,h,r,n){this.name=g;this.value=0;this.Xi(p);this.fo(h);this.Ug=b;this.hb=l;this.duration=r;this.state=this.ta=0;this.Dn=this.En=this.Cn=this.Qi=!1;this.eb=this.ma=0;this.Ac=n;this.Ef=1;this.Oj=!1;this.td=[];this.uu=1;for(g=0;28>g;g++)this.td[g]={},this.td[g].Wh=0,this.td[g].Ck=0,this.td[g].aj=0,this.td[g].dd=0,this.td[g].md=!0}md.prototype={};md.prototype.Xi=function(g){this.Fa=parseFloat(g.split(",")[0]);this.Cb=parseFloat(g.split(",")[1]);this.eb=this.ma=0};
md.prototype.fo=function(g){this.Da=parseFloat(g.split(",")[0]);this.rb=parseFloat(g.split(",")[1]);isNaN(this.rb)&&(this.rb=this.Da)};
md.prototype.Lo=function(g){if(0===this.state)return-1;1===this.state&&(this.ta+=g);2===this.state&&(this.ta-=g);3===this.state&&(this.state=0);if(4===this.state||6===this.state)this.ta+=g*this.Ef;5===this.state&&(this.ta+=g*this.Ef);return 0>this.ta?(this.ta=0,4===this.state?this.Ef=1:6===this.state?(this.Ef=1,this.Oj=!1):this.state=0,this.Dn=!0,0):this.ta>this.duration?(this.ta=this.duration,4===this.state?this.Ef=-1:6===this.state?(this.Ef=-1,this.Oj=!0):5===this.state?this.ta=0:this.state=0,this.Cn=
!0,1):this.Oj?gd(this.Ug,this.duration-this.ta,this.duration,this.Oj,this.td[this.Ug]):gd(this.Ug,this.ta,this.duration,this.Oj,this.td[this.Ug])};function od(g){this.b=g}
(function(){var g=od.prototype;g.X=function(b){this.behavior=b;this.b=b.b};g.X.prototype.P=function(){};g.T=function(b,g){this.type=b;this.behavior=b.behavior;this.c=g;this.b=b.b;this.ub=0};var l=g.T.prototype;l.P=function(){this.Ui=this.m[0];this.ib=1==this.Ui||2==this.Ui||3==this.Ui||4==this.Ui;this.hb=this.m[1];this.vp=this.m[2];this.target=this.m[3];this.po=this.m[4];this.Ao=!1;1===this.po&&(this.target="relative("+this.target+")");this.duration=this.m[5];this.Ac=1===this.m[6];this.value=0;this.N=
{};this.ct(this.hb,this.vp,"current",this.target,this.duration,this.Ac);1===this.m[0]&&this.Zk(0);2===this.m[0]&&this.Zk(2);3===this.m[0]&&this.Zk(3);4===this.m[0]&&this.Zk(4)};l.Le=function(b,g){void 0===g&&(g="current");var h=g.replace(/^\s\s*/,"").replace(/\s\s*$/,"");g=g.replace(/^\s\s*/,"").replace(/\s\s*$/,"");var l=this.value;if("current"===g)switch(b){case 0:h=this.c.x+","+this.c.y;break;case 1:h=this.c.width+","+this.c.height;break;case 2:h=this.c.width+","+this.c.height;break;case 3:h=this.c.width+
","+this.c.height;break;case 4:h=Ja(this.c.u)+","+Ja(this.c.u);break;case 5:h=100*this.c.opacity+","+100*this.c.opacity;break;case 6:h=l+","+l;break;case 7:h=this.c.x+","+this.c.y;break;case 8:h=this.c.x+","+this.c.y;break;case 9:h=void 0!==this.c.Za?this.c.width/this.c.Za.width+","+this.c.height/this.c.Za.height:"1,1"}if("relative"===g.substring(0,8)){var n=g.match(/\((.*?)\)/);if(n)var a=parseFloat(n[1].split(",")[0]),c=parseFloat(n[1].split(",")[1]);isNaN(a)&&(a=0);isNaN(c)&&(c=0);switch(b){case 0:h=
this.c.x+a+","+(this.c.y+c);break;case 1:h=this.c.width+a+","+(this.c.height+c);break;case 2:h=this.c.width+a+","+(this.c.height+c);break;case 3:h=this.c.width+a+","+(this.c.height+c);break;case 4:h=Ja(this.c.u)+a+","+(Ja(this.c.u)+c);break;case 5:h=100*this.c.opacity+a+","+(100*this.c.opacity+c);break;case 6:h=l+a+","+l+a;break;case 7:h=this.c.x+a+","+this.c.y;break;case 8:h=this.c.x+","+(this.c.y+a);break;case 9:h=a+","+c}}return h};l.ct=function(b,g,h,l,n,a){h=this.Le(b,h);l=this.Le(b,l);void 0!==
this.N["default"]&&delete this.N["default"];this.N["default"]=new md("default",b,g,h,l,n,a);this.N["default"].of=0};l.Ha=function(){JSON.stringify(this.N["default"]);return{playmode:this.Ui,active:this.ib,tweened:this.hb,easing:this.vp,target:this.target,targetmode:this.po,useCurrent:this.Ao,duration:this.duration,enforce:this.Ac,value:this.value,tweenlist:JSON.stringify(this.N["default"])}};md.Fx=function(b,g,h,l,n,a,c,d){g=new md(g,h,l,n,a,c,d);for(var v in b)g[v]=b[v];return g};l.Oa=function(b){var g=
JSON.parse(b.tweenlist),g=md.Fx(g,g.name,g.hb,g.Ug,g.Fa+","+g.Cb,g.Da+","+g.rb,g.duration,g.Ac);this.N["default"]=g;this.Ui=b.playmode;this.ib=b.active;this.zg=b.tweened;this.vp=b.easing;this.target=b.target;this.po=b.targetmode;this.Ao=b.useCurrent;this.duration=b.duration;this.Ac=b.enforce;this.value=b.value};l.sD=function(b){1<b&&(b=1);0>b&&(b=0);for(var g in this.N){var h=this.N[g];h.ma=0;h.eb=0;h.state=3;h.ta=b*h.duration;var l=h.Lo(0);this.Zr(h,l)}};l.Zk=function(b){for(var g in this.N){var h=
this.N[g];if(this.Ao){var l=this.Le(h.hb,"current"),n=this.Le(h.hb,this.target);h.Xi(l);h.fo(n)}0===b&&(h.ta=1E-6,h.ma=0,h.eb=0,h.Qi=!0,h.state=1);1===b&&(h.state=h.uu);if(2===b||4===b)h.ta=1E-6,h.ma=0,h.eb=0,h.Qi=!0,2==b&&(h.state=4),4==b&&(h.state=6);3===b&&(h.ta=1E-6,h.ma=0,h.eb=0,h.Qi=!0,h.state=5)}};l.zD=function(b){for(var g in this.N){var h=this.N[g];3!=h.state&&0!=h.state&&(h.uu=h.state);1===b&&(h.ta=0);2===b&&(h.ta=h.duration);h.state=3;var l=h.Lo(0);this.Zr(h,l)}};l.eD=function(b){for(var g in this.N){var h=
this.N[g];1===b&&(h.ta=h.duration,h.ma=0,h.eb=0,h.En=!0);h.state=2}};l.Zr=function(b,g){if(0===b.hb)b.Ac?(this.c.x=b.Fa+(b.Da-b.Fa)*g,this.c.y=b.Cb+(b.rb-b.Cb)*g):(this.c.x+=(b.Da-b.Fa)*g-b.ma,this.c.y+=(b.rb-b.Cb)*g-b.eb,b.ma=(b.Da-b.Fa)*g,b.eb=(b.rb-b.Cb)*g);else if(1===b.hb)b.Ac?(this.c.width=b.Fa+(b.Da-b.Fa)*g,this.c.height=b.Cb+(b.rb-b.Cb)*g):(this.c.width+=(b.Da-b.Fa)*g-b.ma,this.c.height+=(b.rb-b.Cb)*g-b.eb,b.ma=(b.Da-b.Fa)*g,b.eb=(b.rb-b.Cb)*g);else if(2===b.hb)b.Ac?this.c.width=b.Fa+(b.Da-
b.Fa)*g:(this.c.width+=(b.Da-b.Fa)*g-b.ma,b.ma=(b.Da-b.Fa)*g);else if(3===b.hb)b.Ac?this.c.height=b.Cb+(b.rb-b.Cb)*g:(this.c.height+=(b.rb-b.Cb)*g-b.eb,b.eb=(b.rb-b.Cb)*g);else if(4===b.hb)if(b.Ac){var h=b.Fa+(b.Da-b.Fa)*g;this.c.u=La(J(h))}else h=(b.Da-b.Fa)*g-b.ma,this.c.u=La(this.c.u+J(h)),b.ma=(b.Da-b.Fa)*g;else if(5===b.hb)b.Ac?this.c.opacity=(b.Fa+(b.Da-b.Fa)*g)/100:(this.c.opacity+=((b.Da-b.Fa)*g-b.ma)/100,b.ma=(b.Da-b.Fa)*g);else if(6===b.hb)b.Ac?this.value=b.Fa+(b.Da-b.Fa)*g:(this.value+=
(b.Da-b.Fa)*g-b.ma,b.ma=(b.Da-b.Fa)*g);else if(7===b.hb)b.Ac?this.c.x=b.Fa+(b.Da-b.Fa)*g:(this.c.x+=(b.Da-b.Fa)*g-b.ma,b.ma=(b.Da-b.Fa)*g);else if(8===b.hb)b.Ac?this.c.y=b.Cb+(b.rb-b.Cb)*g:(this.c.y+=(b.rb-b.Cb)*g-b.eb,b.eb=(b.rb-b.Cb)*g);else if(9===b.hb){var h=b.Fa+(b.Da-b.Fa)*g,l=b.Cb+(b.rb-b.Cb)*g;0>this.c.width&&(h=b.Fa+(b.Da+b.Fa)*-g);0>this.c.height&&(l=b.Cb+(b.rb+b.Cb)*-g);b.Ac?(this.c.width=this.c.Za.width*h,this.c.height=this.c.Za.height*l):(0>this.c.width?(this.c.width=this.c.width/(-1+
b.ma)*h,b.ma=h+1):(this.c.width=this.c.width/(1+b.ma)*h,b.ma=h-1),0>this.c.height?(this.c.height=this.c.height/(-1+b.eb)*l,b.eb=l+1):(this.c.height=this.c.height/(1+b.eb)*l,b.eb=l-1))}this.c.D()};l.$a=function(){var b=this.b.Ge(this.c),g=this.N["default"];0!==g.state&&(g.Qi&&(this.b.trigger(od.prototype.j.ny,this.c),g.Qi=!1),g.En&&(this.b.trigger(od.prototype.j.ky,this.c),g.En=!1),this.ib=1==g.state||2==g.state||4==g.state||5==g.state||6==g.state,b=g.Lo(b),this.Zr(g,b),g.Cn&&(this.b.trigger(od.prototype.j.ts,
this.c),g.Cn=!1),g.Dn&&(this.b.trigger(od.prototype.j.jy,this.c),g.Dn=!1))};g.j={};l=g.j;l.ix=function(){return 0!==this.N["default"].state};l.hE=function(){return 2==this.N["default"].state};l.aE=function(b,g){var h=this.N["default"];return ic(h.ta/h.duration,b,g)};l.rE=function(b,g){var h=this.N["default"];this.gl=ic(h.ta/h.duration,b,g);if(h=this.Mq!=this.gl&&this.gl)this.Mq=this.gl;return h};l.ny=function(){return void 0===this.N["default"]?!1:this.N["default"].Qi};l.ky=function(){return void 0===
this.N["default"]?!1:this.N["default"].En};l.ts=function(){return void 0===this.N["default"]?!1:this.N["default"].Cn};l.jy=function(){return void 0===this.N["default"]?!1:this.N["default"].Dn};g.n={};l=g.n;l.Ss=function(b,g){this.Mq=this.gl=!1;this.Ao=1==g;this.Zk(b)};l.Gl=function(b){this.zD(b)};l.zE=function(b){this.Mq=this.gl=!1;this.eD(b)};l.xE=function(b){this.sD(b)};l.EE=function(b){isNaN(b)||0>b||void 0===this.N["default"]||(this.N["default"].duration=b)};l.JE=function(b){void 0!==this.N["default"]&&
(this.N["default"].Ac=1===b)};l.KE=function(b){void 0!==this.N["default"]&&(b=this.Le(this.N["default"].hb,b),this.N["default"].Xi(b))};l.ME=function(b,g,h){if(void 0!==this.N["default"]&&!isNaN(h)){var l=this.N["default"],n=h+"";this.po=g;var a="",c="";if(1===g){this.target="relative("+n+")";switch(b){case 0:a=this.c.x+h;c=l.rb;break;case 1:a=l.Da;c=this.c.y+h;break;case 2:c=a=""+Ja(this.c.u+J(h));break;case 3:c=a=""+100*this.c.opacity+h;break;case 4:a=this.c.width+h;c=l.rb;break;case 5:a=l.Da;c=
this.c.height+h;break;case 6:c=a=h}n=a+","+c}else{switch(b){case 0:a=h;c=l.rb;break;case 1:a=l.Da;c=h;break;case 2:c=a=h;break;case 3:c=a=h;break;case 4:a=h;c=l.rb;break;case 5:a=l.Da;c=h;break;case 6:c=a=h}this.target=n=a+","+c}b=this.Le(this.N["default"].hb,"current");n=this.Le(this.N["default"].hb,n);l.Xi(b);l.fo(n)}};l.OE=function(b){void 0!==this.N["default"]&&(this.N["default"].hb=b)};l.FE=function(b){void 0!==this.N["default"]&&(this.N["default"].Ug=b)};l.GE=function(b,g,h,l,n){void 0!==this.N["default"]&&
(this.N["default"].td[b].md=!1,this.N["default"].td[b].Wh=g,this.N["default"].td[b].Ck=h,this.N["default"].td[b].aj=l,this.N["default"].td[b].dd=n)};l.yE=function(){void 0!==this.N["default"]&&(this.N["default"].md=!0)};l.PE=function(b){var g=this.N["default"];this.value=b;6===g.hb&&g.Xi(this.Le(g.hb,"current"))};l.LE=function(b,g,h,l,n){if(void 0===this.N["default"])this.ct(b,g,initial,h,l,n);else{var a=this.N["default"];a.hb=b;a.Ug=g;a.Xi(this.Le(b,"current"));a.fo(this.Le(b,h));a.duration=l;a.Ac=
1===n}};g.L={};g=g.L;g.SE=function(b){var g="N/A";switch(this.N["default"].state){case 0:g="paused";break;case 1:g="playing";break;case 2:g="reversing";break;case 3:g="seeking"}b.ed(g)};g.wE=function(b){b.H(this.N["default"].ta/this.N["default"].duration)};g.Sw=function(b){b.H(this.N["default"].duration)};g.UE=function(b){var g=this.N["default"],h="N/A";switch(g.hb){case 0:h=g.Da;break;case 1:h=g.rb;break;case 2:h=g.Da;break;case 3:h=g.Da;break;case 4:h=g.Da;break;case 5:h=g.rb;break;case 6:h=g.Da}b.H(h)};
g.rz=function(b){b.H(this.value)};g.WE=function(b,g,h,l,n){l=1<l?1:l;n=gd(n,0>l?0:l,1,!1,!1);b.H(g+n*(h-g))}})();function sc(g){this.b=g}(function(){function g(){}var l=sc.prototype;l.X=function(b){this.behavior=b;this.b=b.b};l.X.prototype.P=function(){};l.T=function(b,g){this.type=b;this.behavior=b.behavior;this.c=g;this.b=b.b};var b=l.T.prototype;b.P=function(){this.c.U.solidEnabled=0!==this.m[0]};b.$a=function(){};l.j=new function(){};g.prototype.Vh=function(b){this.c.U.solidEnabled=!!b};l.n=new g})();
function rc(){return[Cc,vc,wc,uc,Hc,xc,Bc,Ec,Fc,Dc,Gc,U,Mc,sc,Jc,Kc,od,Pc,Oc,tc,Lc,Ic,Nc,L.prototype.j.Es,Ec.prototype.n.Ho,uc.prototype.n.CallFunction,Ec.prototype.n.Qo,Ec.prototype.n.Os,L.prototype.L.MD,L.prototype.L.ND,L.prototype.L.OD,L.prototype.L.LD,Ec.prototype.n.$y,Kc.prototype.n.Ny,Kc.prototype.n.Oy,Kc.prototype.n.By,U.prototype.n.Os,L.prototype.j.vx,Hc.prototype.j.cx,L.prototype.n.Py,U.prototype.n.Qo,L.prototype.j.Yw,U.prototype.n.Ho,L.prototype.j.Ow,U.prototype.j.Qx,U.prototype.n.Ly,L.prototype.j.rx,
Dc.prototype.j.Fl,Dc.prototype.n.dz,L.prototype.n.uz,U.prototype.j.Pw,Ec.prototype.L.Hl,Ec.prototype.L.To,U.prototype.L.Hl,U.prototype.L.To,uc.prototype.j.Dl,Ec.prototype.j.Fl,uc.prototype.L.uy,Kc.prototype.n.mz,U.prototype.j.Fl,Kc.prototype.j.vs,sc.prototype.n.Vh,L.prototype.j.Vw,L.prototype.j.Mw,L.prototype.L.Ig,Ec.prototype.n.Qy,Ec.prototype.L.ls,U.prototype.n.Rs,Ec.prototype.n.Rs,L.prototype.j.Uw,L.prototype.j.vy,U.prototype.j.kx,U.prototype.n.Iy,U.prototype.n.jz,U.prototype.n.Gy,U.prototype.L.Ew,
Ic.prototype.n.Ro,Pc.prototype.n.az,Pc.prototype.n.Vy,Pc.prototype.n.Fy,U.prototype.j.gs,Nc.prototype.n.Ey,Nc.prototype.n.Ss,Oc.prototype.n.Ro,Mc.prototype.n.Wy,L.prototype.n.fz,Cc.prototype.L.To,Cc.prototype.j.Fl,L.prototype.n.Dy,L.prototype.L.rC,L.prototype.L.mD,L.prototype.L.Sz,U.prototype.L.Uo,Cc.prototype.L.Uo,Cc.prototype.L.vz,L.prototype.L.of,L.prototype.L.nD,Cc.prototype.L.Hl,Cc.prototype.L.ls,Gc.prototype.j.Cx,L.prototype.j.qz,Gc.prototype.j.No,Mc.prototype.j.tx,Gc.prototype.j.Mo,xc.prototype.j.ux,
xc.prototype.j.As,Hc.prototype.j.mx,Hc.prototype.j.Lx,Mc.prototype.j.Ds,U.prototype.n.Ky,U.prototype.n.Hy,Mc.prototype.n.hz,Mc.prototype.L.sz,uc.prototype.j.Nw,Mc.prototype.n.iz,Mc.prototype.j.xx,vc.prototype.n.Play,Mc.prototype.j.hs,U.prototype.n.Ps,U.prototype.n.Yy,Mc.prototype.n.Ns,Mc.prototype.j.wx,Mc.prototype.n.Xy,Mc.prototype.n.Po,Mc.prototype.n.My,Mc.prototype.n.Ty,U.prototype.j.Ax,Ec.prototype.j.gs,Mc.prototype.j.ox,L.prototype.n.Dw,Mc.prototype.n.Vh,Mc.prototype.n.gz,U.prototype.n.cz,U.prototype.j.ns,
L.prototype.n.yy,Nc.prototype.n.Gl,Bc.prototype.n.Sy,Dc.prototype.n.Ho,Dc.prototype.n.Qs,wc.prototype.j.qx,wc.prototype.n.Hx,L.prototype.j.yx,Bc.prototype.n.Iw,Bc.prototype.j.zs,U.prototype.n.Qs,Bc.prototype.j.ys,U.prototype.n.Ry,Bc.prototype.L.Dx,Gc.prototype.j.Ls,Lc.prototype.n.Ww,wc.prototype.n.zy,vc.prototype.n.Gl,L.prototype.n.$w,Dc.prototype.n.Qo,Jc.prototype.n.Vh,Jc.prototype.j.ss,Hc.prototype.j.ws,Hc.prototype.j.xs,wc.prototype.j.Js,L.prototype.n.Uy,U.prototype.n.Jy,U.prototype.n.lz,U.prototype.j.zx,
Kc.prototype.j.us,L.prototype.n.ax,U.prototype.j.rs,L.prototype.n.Qw,U.prototype.L.gx,U.prototype.L.hx,U.prototype.j.os,od.prototype.j.ts,L.prototype.n.ez,L.prototype.n.Zy,L.prototype.n.Cy,vc.prototype.n.nz,L.prototype.L.qC,L.prototype.L.pC,wc.prototype.j.oz,wc.prototype.n.bx,vc.prototype.j.Bx,vc.prototype.n.bz,Ec.prototype.n.Jo,L.prototype.j.Xw,L.prototype.L.uC]};

Youez - 2016 - github.com/yon3zu
LinuXploit