���� 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/www/420Life.com/games/ColorTower/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/dreamlifellc/www/420Life.com/games/ColorTower/c2runtime.js
// Generated by Construct 2, the HTML5 game and app creator :: http://www.scirra.com
'use strict';var ca,ma,oa,ra,sa,ta,ua,wa,xa,ya,za,Ea,Fa,Ga,Ha,Ja,Ka,La,Ma,Na,Oa,Pa,Qa,Sa,Ta,Wa,A,Xa,Ya,Za,ab,bb,cb,db,eb,fb,gb,hb,ib,jb,kb,lb,mb,nb,ob,pb,qb,rb,wb,xb,yb,zb,Ab,Bb,Cb,Db,Eb,Fb,Gb,Hb,Ib,Jb,Wb,Xb,Yb,Zb,$b,ac,bc,cc,dc,ec,fc,gc,hc,ic,jc,kc,lc,rc,sc,tc,uc,vc,wc,xc,yc,zc,Ac,Bc,Cc,Dc,Ec,Fc,Gc,Hc,Ic,Jc,Kc,Lc,Mc,Nc,Oc,Pc,Qc,Rc={};"function"!==typeof Object.getPrototypeOf&&(Object.getPrototypeOf="object"===typeof"test".__proto__?function(f){return f.__proto__}:function(f){return f.constructor.prototype});
(function(){function f(a,b,c,e){this.set(a,b,c,e)}function n(){this.yc=this.xc=this.Ac=this.zc=this.Mc=this.Lc=this.Xb=this.Wb=0}function h(a,b,c,e){a<b?c<e?(P=a<c?a:c,G=b>e?b:e):(P=a<e?a:e,G=b>c?b:c):c<e?(P=b<c?b:c,G=a>e?a:e):(P=b<e?b:e,G=a>c?a:c)}function m(){this.items=this.ff=null;this.hk=0;w&&(this.ff=new Set);this.pj=[];this.fg=!0}function d(a){D[I++]=a}function q(){this.qa=this.Kc=this.y=this.xj=0}function g(a){this.Ib=[];this.Cl=this.El=this.Fl=this.Dl=0;this.$k(a)}function b(a,b){this.Io=
a;this.Ho=b;this.cells={}}function c(a,b){this.Io=a;this.Ho=b;this.cells={}}function e(a,b,c){var e;return U.length?(e=U.pop(),e.xp=a,e.x=b,e.y=c,e):new ma(a,b,c)}function a(a,b,c){this.xp=a;this.x=b;this.y=c;this.cc=new oa}function k(a,b,c){var e;return x.length?(e=x.pop(),e.xp=a,e.x=b,e.y=c,e):new ra(a,b,c)}function v(a,b,c){this.xp=a;this.x=b;this.y=c;this.cc=[];this.yi=!0;this.cf=new oa;this.uj=!1}function r(a,b){return a.Le-b.Le}sa=function(a){window.console&&window.console.log&&window.console.log(a)};
ta=function(a){window.console&&window.console.error&&window.console.error(a)};ca=function(a){return a};ua=function(a){return"undefined"===typeof a};wa=function(a){return"number"===typeof a};xa=function(a){return"string"===typeof a};ya=function(a){return 0<a&&0===(a-1&a)};za=function(a){--a;for(var b=1;32>b;b<<=1)a=a|a>>b;return a+1};Ea=function(a){return 0>a?-a:a};Fa=function(a,b){return a<b?a:b};Ga=Math.PI;Ha=function(a){return 0<=a?a|0:(a|0)-1};Ja=function(a){var b=a|0;return b===a?b:b+1};Ka=function(a,
b,c,e,k,u,g,d){var r,l,v,p;a<c?(l=a,r=c):(l=c,r=a);k<g?(p=k,v=g):(p=g,v=k);if(r<p||l>v)return!1;b<e?(l=b,r=e):(l=e,r=b);u<d?(p=u,v=d):(p=d,v=u);if(r<p||l>v)return!1;r=k-a+g-c;l=u-b+d-e;a=c-a;b=e-b;k=g-k;u=d-u;d=Ea(b*k-u*a);return Ea(k*l-u*r)>d?!1:Ea(a*l-b*r)<=d};f.prototype.set=function(a,b,c,e){this.left=a;this.top=b;this.right=c;this.bottom=e};f.prototype.ei=function(a){this.left=a.left;this.top=a.top;this.right=a.right;this.bottom=a.bottom};f.prototype.width=function(){return this.right-this.left};
f.prototype.height=function(){return this.bottom-this.top};f.prototype.offset=function(a,b){this.left+=a;this.top+=b;this.right+=a;this.bottom+=b;return this};f.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)};f.prototype.BB=function(a){return!(a.right<this.left||a.bottom<this.top||a.left>this.right||a.top>this.bottom)};f.prototype.CB=function(a,b,c){return!(a.right+b<
this.left||a.bottom+c<this.top||a.left+b>this.right||a.top+c>this.bottom)};f.prototype.Bc=function(a,b){return a>=this.left&&a<=this.right&&b>=this.top&&b<=this.bottom};f.prototype.Ij=function(a){return this.left===a.left&&this.top===a.top&&this.right===a.right&&this.bottom===a.bottom};La=f;n.prototype.Zk=function(a){this.Wb=a.left;this.Xb=a.top;this.Lc=a.right;this.Mc=a.top;this.zc=a.right;this.Ac=a.bottom;this.xc=a.left;this.yc=a.bottom};n.prototype.Fv=function(a,b){if(0===b)this.Zk(a);else{var c=
Math.sin(b),e=Math.cos(b),k=a.left*c,u=a.top*c,g=a.right*c,c=a.bottom*c,d=a.left*e,r=a.top*e,l=a.right*e,e=a.bottom*e;this.Wb=d-u;this.Xb=r+k;this.Lc=l-u;this.Mc=r+g;this.zc=l-c;this.Ac=e+g;this.xc=d-c;this.yc=e+k}};n.prototype.offset=function(a,b){this.Wb+=a;this.Xb+=b;this.Lc+=a;this.Mc+=b;this.zc+=a;this.Ac+=b;this.xc+=a;this.yc+=b;return this};var P=0,G=0;n.prototype.vs=function(a){h(this.Wb,this.Lc,this.zc,this.xc);a.left=P;a.right=G;h(this.Xb,this.Mc,this.Ac,this.yc);a.top=P;a.bottom=G};n.prototype.Bc=
function(a,b){var c=this.Wb,e=this.Xb,k=this.Lc-c,u=this.Mc-e,g=this.zc-c,d=this.Ac-e,r=a-c,l=b-e,v=k*k+u*u,p=k*g+u*d,u=k*r+u*l,f=g*g+d*d,w=g*r+d*l,t=1/(v*f-p*p),k=(f*u-p*w)*t,v=(v*w-p*u)*t;if(0<=k&&0<v&&1>k+v)return!0;k=this.xc-c;u=this.yc-e;v=k*k+u*u;p=k*g+u*d;u=k*r+u*l;t=1/(v*f-p*p);k=(f*u-p*w)*t;v=(v*w-p*u)*t;return 0<=k&&0<v&&1>k+v};n.prototype.bg=function(a,b){if(b)switch(a){case 0:return this.Wb;case 1:return this.Lc;case 2:return this.zc;case 3:return this.xc;case 4:return this.Wb;default:return this.Wb}else switch(a){case 0:return this.Xb;
case 1:return this.Mc;case 2:return this.Ac;case 3:return this.yc;case 4:return this.Xb;default:return this.Xb}};n.prototype.tu=function(){return(this.Wb+this.Lc+this.zc+this.xc)/4};n.prototype.uu=function(){return(this.Xb+this.Mc+this.Ac+this.yc)/4};n.prototype.Bt=function(a){var b=a.tu(),c=a.uu();if(this.Bc(b,c))return!0;b=this.tu();c=this.uu();if(a.Bc(b,c))return!0;var e,k,u,g,d,r,l,v;for(l=0;4>l;l++)for(v=0;4>v;v++)if(b=this.bg(l,!0),c=this.bg(l,!1),e=this.bg(l+1,!0),k=this.bg(l+1,!1),u=a.bg(v,
!0),g=a.bg(v,!1),d=a.bg(v+1,!0),r=a.bg(v+1,!1),Ka(b,c,e,k,u,g,d,r))return!0;return!1};Ma=n;Na=function(a,b,c){return Math.max(Math.min(a,255),0)|Math.max(Math.min(b,255),0)<<8|Math.max(Math.min(c,255),0)<<16};Oa=function(a){return a&255};Pa=function(a){return(a&65280)>>8};Qa=function(a){return(a&16711680)>>16};Sa=function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c]);return a};Ta=function(a,b){var c,e;b=Ha(b);if(!(0>b||b>=a.length)){c=b;for(e=a.length-1;c<e;c++)a[c]=a[c+1];Wa(a,e)}};Wa=function(a,
b){a.length=b};A=function(a){Wa(a,0)};Xa=function(a,b){A(a);var c,e;c=0;for(e=b.length;c<e;++c)a[c]=b[c]};Ya=function(a,b){a.push.apply(a,b)};Za=function(a,b){var c,e;c=0;for(e=a.length;c<e;++c)if(a[c]===b)return c;return-1};ab=function(a,b){var c=Za(a,b);-1!==c&&Ta(a,c)};bb=function(a,b,c){return a<b?b:a>c?c:a};cb=function(a){return a/(180/Ga)};db=function(a){return 180/Ga*a};eb=function(a){a%=360;0>a&&(a+=360);return a};fb=function(a){a%=2*Ga;0>a&&(a+=2*Ga);return a};gb=function(a){return eb(db(a))};
hb=function(a){return fb(cb(a))};ib=function(a,b,c,e){return Math.atan2(e-b,c-a)};jb=function(a,b){if(a===b)return 0;var c=Math.sin(a),e=Math.cos(a),k=Math.sin(b),u=Math.cos(b),c=c*k+e*u;return 1<=c?0:-1>=c?Ga:Math.acos(c)};kb=function(a,b,c){var e=Math.sin(a),k=Math.cos(a),u=Math.sin(b),g=Math.cos(b);return Math.acos(e*u+k*g)>c?0<k*u-e*g?fb(a+c):fb(a-c):fb(b)};lb=function(a,b){var c=Math.sin(a),e=Math.cos(a),k=Math.sin(b),u=Math.cos(b);return 0>=e*k-c*u};mb=function(a,b,c,e,k,u){if(0===c)return u?
a:b;var g=Math.sin(c);c=Math.cos(c);a-=e;b-=k;var d=a*g;a=a*c-b*g;b=b*c+d;return u?a+e:b+k};nb=function(a,b,c,e){a=c-a;b=e-b;return Math.sqrt(a*a+b*b)};ob=function(a,b){return!a!==!b};pb=function(a){for(var b in a)if(a.hasOwnProperty(b))return!0;return!1};qb=function(a){for(var b in a)a.hasOwnProperty(b)&&delete a[b]};var t=+new Date;rb=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()-t};var l=!1,p=l=!1,E=!1;"undefined"!==typeof window&&(l=/chrome/i.test(navigator.userAgent)||/chromium/i.test(navigator.userAgent),l=!l&&/safari/i.test(navigator.userAgent),p=/(iphone|ipod|ipad)/i.test(navigator.userAgent),E=window.c2ejecta);var w=!l&&!E&&!p&&"undefined"!==typeof Set&&"undefined"!==typeof Set.prototype.forEach;m.prototype.contains=function(a){return this.Af()?!1:w?
this.ff.has(a):this.items&&this.items.hasOwnProperty(a)};m.prototype.add=function(a){if(w)this.ff.has(a)||(this.ff.add(a),this.fg=!1);else{var b=a.toString(),c=this.items;c?c.hasOwnProperty(b)||(c[b]=a,this.hk++,this.fg=!1):(this.items={},this.items[b]=a,this.hk=1,this.fg=!1)}};m.prototype.remove=function(a){if(!this.Af())if(w)this.ff.has(a)&&(this.ff["delete"](a),this.fg=!1);else if(this.items){a=a.toString();var b=this.items;b.hasOwnProperty(a)&&(delete b[a],this.hk--,this.fg=!1)}};m.prototype.clear=
function(){this.Af()||(w?this.ff.clear():(this.items=null,this.hk=0),A(this.pj),this.fg=!0)};m.prototype.Af=function(){return 0===this.count()};m.prototype.count=function(){return w?this.ff.size:this.hk};var D=null,I=0;m.prototype.ID=function(){if(!this.fg){if(w)A(this.pj),D=this.pj,I=0,this.ff.forEach(d),D=null,I=0;else{var a=this.pj;A(a);var b,c=0,e=this.items;if(e)for(b in e)e.hasOwnProperty(b)&&(a[c++]=e[b])}this.fg=!0}};m.prototype.Tf=function(){this.ID();return this.pj};oa=m;new oa;wb=function(a,
b){w?xb(a,b.ff):yb(a,b.Tf())};xb=function(a,b){var c,e,k,u;e=c=0;for(k=a.length;c<k;++c)u=a[c],b.has(u)||(a[e++]=u);Wa(a,e)};yb=function(a,b){var c,e,k,u;e=c=0;for(k=a.length;c<k;++c)u=a[c],-1===Za(b,u)&&(a[e++]=u);Wa(a,e)};q.prototype.add=function(a){this.y=a-this.xj;this.Kc=this.qa+this.y;this.xj=this.Kc-this.qa-this.y;this.qa=this.Kc};q.prototype.reset=function(){this.qa=this.Kc=this.y=this.xj=0};zb=q;Ab=function(a){return a.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")};g.prototype.$k=function(a){this.jv=
a;this.ke=a.length/2;this.Ib.length=a.length;this.Hl=this.Il=-1;this.ys=0};g.prototype.zh=function(){return!this.jv.length};g.prototype.Qa=function(){for(var a=this.Ib,b=a[0],c=b,e=a[1],k=e,u,g,d=1,r=this.ke;d<r;++d)g=2*d,u=a[g],g=a[g+1],u<b&&(b=u),u>c&&(c=u),g<e&&(e=g),g>k&&(k=g);this.Dl=b;this.El=c;this.Fl=e;this.Cl=k};g.prototype.Zk=function(a,b,c){this.Ib.length=8;this.ke=4;var e=this.Ib;e[0]=a.left-b;e[1]=a.top-c;e[2]=a.right-b;e[3]=a.top-c;e[4]=a.right-b;e[5]=a.bottom-c;e[6]=a.left-b;e[7]=a.bottom-
c;this.Il=a.right-a.left;this.Hl=a.bottom-a.top;this.Qa()};g.prototype.Yi=function(a,b,c,e,k){this.Ib.length=8;this.ke=4;var u=this.Ib;u[0]=a.Wb-b;u[1]=a.Xb-c;u[2]=a.Lc-b;u[3]=a.Mc-c;u[4]=a.zc-b;u[5]=a.Ac-c;u[6]=a.xc-b;u[7]=a.yc-c;this.Il=e;this.Hl=k;this.Qa()};g.prototype.Ev=function(a){this.ke=a.ke;Xa(this.Ib,a.Ib);this.Dl=a.Dl;this.Fl-a.Fl;this.El=a.El;this.Cl=a.Cl};g.prototype.dh=function(a,b,c){if(this.Il!==a||this.Hl!==b||this.ys!==c){this.Il=a;this.Hl=b;this.ys=c;var e,k,u,g,d,r=0,l=1,v=this.jv,
p=this.Ib;0!==c&&(r=Math.sin(c),l=Math.cos(c));c=0;for(u=this.ke;c<u;c++)e=2*c,k=e+1,g=v[e]*a,d=v[k]*b,p[e]=g*l-d*r,p[k]=d*l+g*r;this.Qa()}};g.prototype.Bc=function(a,b){var c=this.Ib;if(a===c[0]&&b===c[1])return!0;var e,k,u,g=this.ke,d=this.Dl-110,r=this.Fl-101,l=this.El+131,v=this.Cl+120,p,f,w=0,t=0;for(e=0;e<g;e++)k=2*e,u=(e+1)%g*2,p=c[k],k=c[k+1],f=c[u],u=c[u+1],Ka(d,r,a,b,p,k,f,u)&&w++,Ka(l,v,a,b,p,k,f,u)&&t++;return 1===w%2||1===t%2};g.prototype.Vj=function(a,b,c){var e=a.Ib,k=this.Ib;if(this.Bc(e[0]+
b,e[1]+c)||a.Bc(k[0]-b,k[1]-c))return!0;var u,g,d,r,l,v,p,f,w,t,P,h;u=0;for(r=this.ke;u<r;u++)for(g=2*u,d=(u+1)%r*2,f=k[g],g=k[g+1],w=k[d],t=k[d+1],d=0,p=a.ke;d<p;d++)if(l=2*d,v=(d+1)%p*2,P=e[l]+b,l=e[l+1]+c,h=e[v]+b,v=e[v+1]+c,Ka(f,g,w,t,P,l,h,v))return!0;return!1};Bb=g;b.prototype.mg=function(a,b,c){var k;k=this.cells[a];return k?(k=k[b])?k:c?(k=e(this,a,b),this.cells[a][b]=k):null:c?(k=e(this,a,b),this.cells[a]={},this.cells[a][b]=k):null};b.prototype.Uc=function(a){return Ha(a/this.Io)};b.prototype.Vc=
function(a){return Ha(a/this.Ho)};b.prototype.update=function(a,b,c){var e,k,u,g,d;if(b)for(e=b.left,k=b.right;e<=k;++e)for(u=b.top,g=b.bottom;u<=g;++u)if(!c||!c.Bc(e,u))if(d=this.mg(e,u,!1))d.remove(a),d.Af()&&(d.cc.clear(),1E3>U.length&&U.push(d),this.cells[e][u]=null);if(c)for(e=c.left,k=c.right;e<=k;++e)for(u=c.top,g=c.bottom;u<=g;++u)b&&b.Bc(e,u)||this.mg(e,u,!0).rg(a)};b.prototype.zn=function(a,b){var c,e,k,u,g,d;c=this.Uc(a.left);k=this.Vc(a.top);e=this.Uc(a.right);for(g=this.Vc(a.bottom);c<=
e;++c)for(u=k;u<=g;++u)(d=this.mg(c,u,!1))&&d.dump(b)};Cb=b;c.prototype.mg=function(a,b,c){var e;e=this.cells[a];return e?(e=e[b])?e:c?(e=k(this,a,b),this.cells[a][b]=e):null:c?(e=k(this,a,b),this.cells[a]={},this.cells[a][b]=e):null};c.prototype.Uc=function(a){return Ha(a/this.Io)};c.prototype.Vc=function(a){return Ha(a/this.Ho)};c.prototype.update=function(a,b,c){var e,k,u,g,d;if(b)for(e=b.left,k=b.right;e<=k;++e)for(u=b.top,g=b.bottom;u<=g;++u)if(!c||!c.Bc(e,u))if(d=this.mg(e,u,!1))d.remove(a),
d.Af()&&(d.reset(),1E3>x.length&&x.push(d),this.cells[e][u]=null);if(c)for(e=c.left,k=c.right;e<=k;++e)for(u=c.top,g=c.bottom;u<=g;++u)b&&b.Bc(e,u)||this.mg(e,u,!0).rg(a)};c.prototype.zn=function(a,b,c,e,k){var u,g;a=this.Uc(a);b=this.Vc(b);c=this.Uc(c);for(u=this.Vc(e);a<=c;++a)for(e=b;e<=u;++e)(g=this.mg(a,e,!1))&&g.dump(k)};c.prototype.ZB=function(a){var b,c,e,k,u;b=a.left;e=a.top;c=a.right;for(k=a.bottom;b<=c;++b)for(a=e;a<=k;++a)if(u=this.mg(b,a,!1))u.yi=!1};Db=c;var U=[];a.prototype.Af=function(){return this.cc.Af()};
a.prototype.rg=function(a){this.cc.add(a)};a.prototype.remove=function(a){this.cc.remove(a)};a.prototype.dump=function(a){Ya(a,this.cc.Tf())};ma=a;var x=[];v.prototype.Af=function(){if(!this.cc.length)return!0;if(this.cc.length>this.cf.count())return!1;this.hp();return!0};v.prototype.rg=function(a){this.cf.contains(a)?(this.cf.remove(a),this.cf.Af()&&(this.uj=!1)):this.cc.length?(this.cc[this.cc.length-1].We()>a.We()&&(this.yi=!1),this.cc.push(a)):(this.cc.push(a),this.yi=!0)};v.prototype.remove=
function(a){this.cf.add(a);this.uj=!0;30<=this.cf.count()&&this.hp()};v.prototype.hp=function(){this.uj&&(this.cf.count()===this.cc.length?this.reset():(wb(this.cc,this.cf),this.cf.clear(),this.uj=!1))};v.prototype.dA=function(){this.yi||(this.cc.sort(r),this.yi=!0)};v.prototype.reset=function(){A(this.cc);this.yi=!0;this.cf.clear();this.uj=!1};v.prototype.dump=function(a){this.hp();this.dA();this.cc.length&&a.push(this.cc)};ra=v;var z="lighter xor copy destination-over source-in destination-in source-out destination-out source-atop destination-atop".split(" ");
Eb=function(a){return 0>=a||11<=a?"source-over":z[a-1]};Fb=function(a,b,c){if(c)switch(a.Jc=c.ONE,a.Dc=c.ONE_MINUS_SRC_ALPHA,b){case 1:a.Jc=c.ONE;a.Dc=c.ONE;break;case 3:a.Jc=c.ONE;a.Dc=c.ZERO;break;case 4:a.Jc=c.ONE_MINUS_DST_ALPHA;a.Dc=c.ONE;break;case 5:a.Jc=c.DST_ALPHA;a.Dc=c.ZERO;break;case 6:a.Jc=c.ZERO;a.Dc=c.SRC_ALPHA;break;case 7:a.Jc=c.ONE_MINUS_DST_ALPHA;a.Dc=c.ZERO;break;case 8:a.Jc=c.ZERO;a.Dc=c.ONE_MINUS_SRC_ALPHA;break;case 9:a.Jc=c.DST_ALPHA;a.Dc=c.ONE_MINUS_SRC_ALPHA;break;case 10:a.Jc=
c.ONE_MINUS_DST_ALPHA,a.Dc=c.SRC_ALPHA}};Gb=function(a){return Math.round(1E6*a)/1E6};Hb=function(a,b){return"string"!==typeof a||"string"!==typeof b||a.length!==b.length?!1:a===b?!0:a.toLowerCase()===b.toLowerCase()};Ib=function(a){a=a.target;return!a||a===document||a===window||document&&document.body&&a===document.body||Hb(a.tagName,"canvas")?!0:!1}})();var Sc="undefined"!==typeof Float32Array?Float32Array:Array;function Tc(f){var n=new Sc(3);f&&(n[0]=f[0],n[1]=f[1],n[2]=f[2]);return n}
function Uc(f){var n=new Sc(16);f&&(n[0]=f[0],n[1]=f[1],n[2]=f[2],n[3]=f[3],n[4]=f[4],n[5]=f[5],n[6]=f[6],n[7]=f[7],n[8]=f[8],n[9]=f[9],n[10]=f[10],n[11]=f[11],n[12]=f[12],n[13]=f[13],n[14]=f[14],n[15]=f[15]);return n}function Vc(f,n){n[0]=f[0];n[1]=f[1];n[2]=f[2];n[3]=f[3];n[4]=f[4];n[5]=f[5];n[6]=f[6];n[7]=f[7];n[8]=f[8];n[9]=f[9];n[10]=f[10];n[11]=f[11];n[12]=f[12];n[13]=f[13];n[14]=f[14];n[15]=f[15]}
function Wc(f,n){var h=n[0],m=n[1];n=n[2];f[0]*=h;f[1]*=h;f[2]*=h;f[3]*=h;f[4]*=m;f[5]*=m;f[6]*=m;f[7]*=m;f[8]*=n;f[9]*=n;f[10]*=n;f[11]*=n}
function Xc(f,n,h,m){m||(m=Uc());var d,q,g,b,c,e,a,k,v=f[0],r=f[1];f=f[2];q=h[0];g=h[1];d=h[2];h=n[1];e=n[2];v===n[0]&&r===h&&f===e?(f=m,f[0]=1,f[1]=0,f[2]=0,f[3]=0,f[4]=0,f[5]=1,f[6]=0,f[7]=0,f[8]=0,f[9]=0,f[10]=1,f[11]=0,f[12]=0,f[13]=0,f[14]=0,f[15]=1):(h=v-n[0],e=r-n[1],a=f-n[2],k=1/Math.sqrt(h*h+e*e+a*a),h*=k,e*=k,a*=k,n=g*a-d*e,d=d*h-q*a,q=q*e-g*h,(k=Math.sqrt(n*n+d*d+q*q))?(k=1/k,n*=k,d*=k,q*=k):q=d=n=0,g=e*q-a*d,b=a*n-h*q,c=h*d-e*n,(k=Math.sqrt(g*g+b*b+c*c))?(k=1/k,g*=k,b*=k,c*=k):c=b=g=0,
m[0]=n,m[1]=g,m[2]=h,m[3]=0,m[4]=d,m[5]=b,m[6]=e,m[7]=0,m[8]=q,m[9]=c,m[10]=a,m[11]=0,m[12]=-(n*v+d*r+q*f),m[13]=-(g*v+b*r+c*f),m[14]=-(h*v+e*r+a*f),m[15]=1)}
(function(){function f(b,c,e){this.Bf=/msie/i.test(navigator.userAgent)||/trident/i.test(navigator.userAgent);this.height=this.width=0;this.fb=!!e;this.ym=this.Yj=!1;this.To=0;this.oo=1;this.Ir=1E3;this.TD=(this.Ir-this.oo)/32768;this.Fo=Tc([0,0,100]);this.bu=Tc([0,0,0]);this.hw=Tc([0,1,0]);this.ol=Tc([1,1,1]);this.Qs=!0;this.Zm=Uc();this.Kd=Uc();this.Sp=Uc();this.So=Uc();this.I=b;this.version=0===this.I.getParameter(this.I.VERSION).indexOf("WebGL 2")?2:1;this.wt()}function n(b,c,e){this.I=b;this.al=
c;this.name=e;this.fe=b.getAttribLocation(c,"aPos");this.Cg=b.getAttribLocation(c,"aTex");this.Zt=b.getUniformLocation(c,"matP");this.Tm=b.getUniformLocation(c,"matMV");this.Hi=b.getUniformLocation(c,"opacity");this.dq=b.getUniformLocation(c,"colorFill");this.$t=b.getUniformLocation(c,"samplerFront");this.uk=b.getUniformLocation(c,"samplerBack");this.Fh=b.getUniformLocation(c,"destStart");this.Eh=b.getUniformLocation(c,"destEnd");this.wk=b.getUniformLocation(c,"seconds");this.gq=b.getUniformLocation(c,
"pixelWidth");this.fq=b.getUniformLocation(c,"pixelHeight");this.tk=b.getUniformLocation(c,"layerScale");this.sk=b.getUniformLocation(c,"layerAngle");this.xk=b.getUniformLocation(c,"viewOrigin");this.vk=b.getUniformLocation(c,"scrollPos");this.vB=!!(this.gq||this.fq||this.wk||this.uk||this.Fh||this.Eh||this.tk||this.sk||this.xk||this.vk);this.ku=this.lu=-999;this.Ym=1;this.gu=this.fu=0;this.iu=this.eu=this.du=1;this.ou=this.nu=this.mu=this.qu=this.pu=this.hu=0;this.Rp=[];this.ju=Uc();this.Hi&&b.uniform1f(this.Hi,
1);this.dq&&b.uniform4f(this.dq,1,1,1,1);this.$t&&b.uniform1i(this.$t,0);this.uk&&b.uniform1i(this.uk,1);this.Fh&&b.uniform2f(this.Fh,0,0);this.Eh&&b.uniform2f(this.Eh,1,1);this.tk&&b.uniform1f(this.tk,1);this.sk&&b.uniform1f(this.sk,0);this.xk&&b.uniform2f(this.xk,0,0);this.vk&&b.uniform2f(this.vk,0,0);this.wk&&b.uniform1f(this.wk,0);this.rh=!1}function h(b,c){return b[0]===c[0]&&b[1]===c[1]&&b[2]===c[2]&&b[3]===c[3]&&b[4]===c[4]&&b[5]===c[5]&&b[6]===c[6]&&b[7]===c[7]&&b[8]===c[8]&&b[9]===c[9]&&
b[10]===c[10]&&b[11]===c[11]&&b[12]===c[12]&&b[13]===c[13]&&b[14]===c[14]&&b[15]===c[15]}function m(b,c){this.type=b;this.D=c;this.I=c.I;this.Xe=this.Sc=this.Su=0;this.ma=this.oe=null;this.Gv=[]}var d=Uc();f.prototype.wt=function(){var b=this.I,c;this.Lt=1;this.Bh=this.wg=null;this.Sl=1;b.clearColor(0,0,0,0);b.clear(b.COLOR_BUFFER_BIT);b.enable(b.BLEND);b.blendFunc(b.ONE,b.ONE_MINUS_SRC_ALPHA);b.disable(b.CULL_FACE);b.disable(b.STENCIL_TEST);b.disable(b.DITHER);this.fb?(b.enable(b.DEPTH_TEST),b.depthFunc(b.LEQUAL)):
b.disable(b.DEPTH_TEST);this.Nt=b.ONE;this.Jt=b.ONE_MINUS_SRC_ALPHA;this.lo=new Float32Array(8E3*(this.fb?3:2));this.Wn=new Float32Array(16E3);this.gv=new Float32Array(32E3);this.Dq=b.createBuffer();b.bindBuffer(b.ARRAY_BUFFER,this.Dq);b.bufferData(b.ARRAY_BUFFER,this.gv.byteLength,b.DYNAMIC_DRAW);this.nl=Array(4);this.hl=Array(4);for(c=0;4>c;c++)this.nl[c]=b.createBuffer(),b.bindBuffer(b.ARRAY_BUFFER,this.nl[c]),b.bufferData(b.ARRAY_BUFFER,this.lo.byteLength,b.DYNAMIC_DRAW),this.hl[c]=b.createBuffer(),
b.bindBuffer(b.ARRAY_BUFFER,this.hl[c]),b.bufferData(b.ARRAY_BUFFER,this.Wn.byteLength,b.DYNAMIC_DRAW);this.sf=0;this.zB=b.createBuffer();b.bindBuffer(b.ELEMENT_ARRAY_BUFFER,this.zB);for(var e=new Uint16Array(12E3),a=c=0;12E3>c;)e[c++]=a,e[c++]=a+1,e[c++]=a+2,e[c++]=a,e[c++]=a+2,e[c++]=a+3,a+=4;b.bufferData(b.ELEMENT_ARRAY_BUFFER,e,b.STATIC_DRAW);this.Eq=this.bj=this.Uf=0;this.tb=[];c=this.fb?"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}";e=this.Bj({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.tb.push(e);e=this.Bj({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.tb.push(e);e=this.Bj({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.tb.push(e);e=this.Bj({src:"uniform lowp vec4 colorFill;\nvoid main(void) {\n\tgl_FragColor = colorFill;\n}"},
c,"<fill>");this.tb.push(e);for(var k in Yc)Yc.hasOwnProperty(k)&&this.tb.push(this.Bj(Yc[k],c,k));b.activeTexture(b.TEXTURE0);b.bindTexture(b.TEXTURE_2D,null);this.dg=[];this.qf=0;this.Fc=!1;this.Ls=this.ok=-1;this.gi=null;this.fp=b.createFramebuffer();this.Wl=this.Cn=null;this.rs=!1;this.fb&&(this.Wl=b.createRenderbuffer());this.Rg=Tc([0,0,0]);this.ru=b.getParameter(b.ALIASED_POINT_SIZE_RANGE)[1];2048<this.ru&&(this.ru=2048);this.fd(0)};n.prototype.Ar=function(b){h(this.ju,b)||(Vc(b,this.ju),this.I.uniformMatrix4fv(this.Tm,
!1,b))};f.prototype.Bj=function(b,c,e){var a=this.I,k=a.createShader(a.FRAGMENT_SHADER);a.shaderSource(k,b.src);a.compileShader(k);if(!a.getShaderParameter(k,a.COMPILE_STATUS))return a.deleteShader(k),null;var g=a.createShader(a.VERTEX_SHADER);a.shaderSource(g,c);a.compileShader(g);if(!a.getShaderParameter(g,a.COMPILE_STATUS))return a.deleteShader(k),a.deleteShader(g),null;c=a.createProgram();a.attachShader(c,k);a.attachShader(c,g);a.linkProgram(c);if(!a.getProgramParameter(c,a.LINK_STATUS))return a.deleteShader(k),
a.deleteShader(g),a.deleteProgram(c),null;a.useProgram(c);a.deleteShader(k);a.deleteShader(g);e=new n(a,c,e);e.dp=b.dp||0;e.ep=b.ep||0;e.Js=!!b.Js;e.Ee=!!b.Ee;e.os=!!b.os;e.na=b.na||[];b=0;for(k=e.na.length;b<k;b++)e.na[b][1]=a.getUniformLocation(c,e.na[b][0]),e.Rp.push(0),a.uniform1f(e.na[b][1],0);return e};f.prototype.up=function(b){var c,e;c=0;for(e=this.tb.length;c<e;c++)if(this.tb[c].name===b)return c;return-1};f.prototype.wn=function(b,c,e){var a=this.Kd,k=this.Zm,g=[0,0,0,0,0,0,0,0];g[0]=a[0]*
b+a[4]*c+a[12];g[1]=a[1]*b+a[5]*c+a[13];g[2]=a[2]*b+a[6]*c+a[14];g[3]=a[3]*b+a[7]*c+a[15];g[4]=k[0]*g[0]+k[4]*g[1]+k[8]*g[2]+k[12]*g[3];g[5]=k[1]*g[0]+k[5]*g[1]+k[9]*g[2]+k[13]*g[3];g[6]=k[2]*g[0]+k[6]*g[1]+k[10]*g[2]+k[14]*g[3];g[7]=-g[2];0!==g[7]&&(g[7]=1/g[7],g[4]*=g[7],g[5]*=g[7],g[6]*=g[7],e[0]=(.5*g[4]+.5)*this.width,e[1]=(.5*g[5]+.5)*this.height)};f.prototype.Oh=function(b,c,e){if(this.width!==b||this.height!==c||e){this.kg();e=this.I;this.width=b;this.height=c;e.viewport(0,0,b,c);Xc(this.Fo,
this.bu,this.hw,this.Kd);if(this.fb){var a=-b/2;b=b/2;var k=c/2;c=-c/2;var g=this.oo,d=this.Ir,f=this.Zm;f||(f=Uc());var h=b-a,t=c-k,l=d-g;f[0]=2/h;f[1]=0;f[2]=0;f[3]=0;f[4]=0;f[5]=2/t;f[6]=0;f[7]=0;f[8]=0;f[9]=0;f[10]=-2/l;f[11]=0;f[12]=-(a+b)/h;f[13]=-(c+k)/t;f[14]=-(d+g)/l;f[15]=1;this.ol[0]=1;this.ol[1]=1}else c=b/c,a=this.oo,b=this.Ir,f=this.Zm,d=a*Math.tan(45*Math.PI/360),c*=d,k=-c,g=-d,f||(f=Uc()),h=c-k,t=d-g,l=b-a,f[0]=2*a/h,f[1]=0,f[2]=0,f[3]=0,f[4]=0,f[5]=2*a/t,f[6]=0,f[7]=0,f[8]=(c+k)/
h,f[9]=(d+g)/t,f[10]=-(b+a)/l,f[11]=-1,f[12]=0,f[13]=0,f[14]=-(b*a*2)/l,f[15]=0,a=[0,0],b=[0,0],this.wn(0,0,a),this.wn(1,1,b),this.ol[0]=1/(b[0]-a[0]),this.ol[1]=-1/(b[1]-a[1]);a=0;for(b=this.tb.length;a<b;a++)k=this.tb[a],k.rh=!1,k.Zt&&(e.useProgram(k.al),e.uniformMatrix4fv(k.Zt,!1,this.Zm));e.useProgram(this.tb[this.ok].al);e.bindTexture(e.TEXTURE_2D,null);e.activeTexture(e.TEXTURE1);e.bindTexture(e.TEXTURE_2D,null);e.activeTexture(e.TEXTURE0);this.Bh=this.wg=null;this.Wl&&(e.bindFramebuffer(e.FRAMEBUFFER,
this.fp),e.bindRenderbuffer(e.RENDERBUFFER,this.Wl),e.renderbufferStorage(e.RENDERBUFFER,e.DEPTH_COMPONENT16,this.width,this.height),this.rs||(e.framebufferRenderbuffer(e.FRAMEBUFFER,e.DEPTH_ATTACHMENT,e.RENDERBUFFER,this.Wl),this.rs=!0),e.bindRenderbuffer(e.RENDERBUFFER,null),e.bindFramebuffer(e.FRAMEBUFFER,null),this.Cn=null)}};f.prototype.le=function(){Xc(this.Fo,this.bu,this.hw,this.Kd);Wc(this.Kd,this.ol)};f.prototype.translate=function(b,c){if(0!==b||0!==c){this.Rg[0]=b;this.Rg[1]=c;this.Rg[2]=
0;var e=this.Kd,a=this.Rg,k=a[0],g=a[1],a=a[2];e[12]=e[0]*k+e[4]*g+e[8]*a+e[12];e[13]=e[1]*k+e[5]*g+e[9]*a+e[13];e[14]=e[2]*k+e[6]*g+e[10]*a+e[14];e[15]=e[3]*k+e[7]*g+e[11]*a+e[15]}};f.prototype.scale=function(b,c){if(1!==b||1!==c)this.Rg[0]=b,this.Rg[1]=c,this.Rg[2]=1,Wc(this.Kd,this.Rg)};f.prototype.Fn=function(b){if(0!==b){var c=this.Kd,e,a=Math.sin(b);b=Math.cos(b);var k=c[0],g=c[1],d=c[2],f=c[3],h=c[4],t=c[5],l=c[6],p=c[7];e?c!==e&&(e[8]=c[8],e[9]=c[9],e[10]=c[10],e[11]=c[11],e[12]=c[12],e[13]=
c[13],e[14]=c[14],e[15]=c[15]):e=c;e[0]=k*b+h*a;e[1]=g*b+t*a;e[2]=d*b+l*a;e[3]=f*b+p*a;e[4]=k*-a+h*b;e[5]=g*-a+t*b;e[6]=d*-a+l*b;e[7]=f*-a+p*b}};f.prototype.Td=function(){if(!h(this.Sp,this.Kd)){var b=this.xd();b.type=5;b.ma?Vc(this.Kd,b.ma):b.ma=Uc(this.Kd);Vc(this.Kd,this.Sp);this.Fc=!1}};f.prototype.Kn=function(b){this.fb&&(32760<b&&(b=32760),this.To=this.Fo[2]-this.oo-b*this.TD)};m.prototype.Nz=function(){var b=this.I,c=this.D;0!==this.Sc?(b.depthMask(!0),b.colorMask(!1,!1,!1,!1),b.disable(b.BLEND),
b.bindFramebuffer(b.FRAMEBUFFER,c.fp),b.framebufferTexture2D(b.FRAMEBUFFER,b.COLOR_ATTACHMENT0,b.TEXTURE_2D,null,0),b.clear(b.DEPTH_BUFFER_BIT),b.bindFramebuffer(b.FRAMEBUFFER,null),c.ym=!0):(b.depthMask(!1),b.colorMask(!0,!0,!0,!0),b.enable(b.BLEND),c.ym=!1)};m.prototype.Rz=function(){this.I.bindTexture(this.I.TEXTURE_2D,this.oe)};m.prototype.Sz=function(){var b=this.I;b.activeTexture(b.TEXTURE1);b.bindTexture(b.TEXTURE_2D,this.oe);b.activeTexture(b.TEXTURE0)};m.prototype.Oz=function(){var b=this.Su,
c=this.D;c.Sl=b;c=c.gi;c.Hi&&c.Ym!==b&&(c.Ym=b,this.I.uniform1f(c.Hi,b))};m.prototype.Iz=function(){this.I.drawElements(this.I.TRIANGLES,this.Xe,this.I.UNSIGNED_SHORT,this.Sc)};m.prototype.Kz=function(){this.I.blendFunc(this.Sc,this.Xe)};m.prototype.Tz=function(){var b,c,e,a=this.D.tb,k=this.D.Ls;b=0;for(c=a.length;b<c;b++)e=a[b],b===k&&e.Tm?(e.Ar(this.ma),e.rh=!0):e.rh=!1;Vc(this.ma,this.D.So)};m.prototype.Jz=function(){var b=this.I,c=this.D;this.oe?(c.Bh===this.oe&&(b.activeTexture(b.TEXTURE1),
b.bindTexture(b.TEXTURE_2D,null),c.Bh=null,b.activeTexture(b.TEXTURE0)),b.bindFramebuffer(b.FRAMEBUFFER,c.fp),c.ym||b.framebufferTexture2D(b.FRAMEBUFFER,b.COLOR_ATTACHMENT0,b.TEXTURE_2D,this.oe,0)):(c.fb||b.framebufferTexture2D(b.FRAMEBUFFER,b.COLOR_ATTACHMENT0,b.TEXTURE_2D,null,0),b.bindFramebuffer(b.FRAMEBUFFER,null))};m.prototype.Ez=function(){var b=this.I,c=this.Sc;0===c?(b.clearColor(this.ma[0],this.ma[1],this.ma[2],this.ma[3]),b.clear(b.COLOR_BUFFER_BIT)):1===c?(b.enable(b.SCISSOR_TEST),b.scissor(this.ma[0],
this.ma[1],this.ma[2],this.ma[3]),b.clearColor(0,0,0,0),b.clear(b.COLOR_BUFFER_BIT),b.disable(b.SCISSOR_TEST)):b.clear(b.DEPTH_BUFFER_BIT)};m.prototype.Mz=function(){var b=this.I;0!==this.Sc?b.enable(b.DEPTH_TEST):b.disable(b.DEPTH_TEST)};m.prototype.Hz=function(){var b=this.I,c=this.D;c.fb&&b.disable(b.DEPTH_TEST);var e=c.tb[1];b.useProgram(e.al);!e.rh&&e.Tm&&(e.Ar(c.So),e.rh=!0);b.enableVertexAttribArray(e.fe);b.bindBuffer(b.ARRAY_BUFFER,c.Dq);b.vertexAttribPointer(e.fe,4,b.FLOAT,!1,0,0);b.drawArrays(b.POINTS,
this.Sc/4,this.Xe);e=c.gi;b.useProgram(e.al);0<=e.fe&&(b.enableVertexAttribArray(e.fe),b.bindBuffer(b.ARRAY_BUFFER,c.nl[c.sf]),b.vertexAttribPointer(e.fe,c.fb?3:2,b.FLOAT,!1,0,0));0<=e.Cg&&(b.enableVertexAttribArray(e.Cg),b.bindBuffer(b.ARRAY_BUFFER,c.hl[c.sf]),b.vertexAttribPointer(e.Cg,2,b.FLOAT,!1,0,0));c.fb&&b.enable(b.DEPTH_TEST)};m.prototype.Pz=function(){var b=this.I,c=this.D,e=c.tb[this.Sc];c.Ls=this.Sc;c.gi=e;b.useProgram(e.al);!e.rh&&e.Tm&&(e.Ar(c.So),e.rh=!0);e.Hi&&e.Ym!==c.Sl&&(e.Ym=c.Sl,
b.uniform1f(e.Hi,c.Sl));0<=e.fe&&(b.enableVertexAttribArray(e.fe),b.bindBuffer(b.ARRAY_BUFFER,c.nl[c.sf]),b.vertexAttribPointer(e.fe,c.fb?3:2,b.FLOAT,!1,0,0));0<=e.Cg&&(b.enableVertexAttribArray(e.Cg),b.bindBuffer(b.ARRAY_BUFFER,c.hl[c.sf]),b.vertexAttribPointer(e.Cg,2,b.FLOAT,!1,0,0))};m.prototype.Lz=function(){var b=this.ma;this.I.uniform4f(this.D.gi.dq,b[0],b[1],b[2],b[3])};m.prototype.Qz=function(){var b,c,e=this.D.gi,a=this.I;b=this.ma;e.uk&&this.D.Bh!==this.oe&&(a.activeTexture(a.TEXTURE1),
a.bindTexture(a.TEXTURE_2D,this.oe),this.D.Bh=this.oe,a.activeTexture(a.TEXTURE0));var k=b[0];e.gq&&k!==e.lu&&(e.lu=k,a.uniform1f(e.gq,k));k=b[1];e.fq&&k!==e.ku&&(e.ku=k,a.uniform1f(e.fq,k));k=b[2];c=b[3];!e.Fh||k===e.fu&&c===e.gu||(e.fu=k,e.gu=c,a.uniform2f(e.Fh,k,c));k=b[4];c=b[5];!e.Eh||k===e.du&&c===e.eu||(e.du=k,e.eu=c,a.uniform2f(e.Eh,k,c));k=b[6];e.tk&&k!==e.iu&&(e.iu=k,a.uniform1f(e.tk,k));k=b[7];e.sk&&k!==e.hu&&(e.hu=k,a.uniform1f(e.sk,k));k=b[8];c=b[9];!e.xk||k===e.pu&&c===e.qu||(e.pu=k,
e.qu=c,a.uniform2f(e.xk,k,c));k=b[10];c=b[11];!e.vk||k===e.mu&&c===e.nu||(e.mu=k,e.nu=c,a.uniform2f(e.vk,k,c));k=b[12];e.wk&&k!==e.ou&&(e.ou=k,a.uniform1f(e.wk,k));if(e.na.length)for(b=0,c=e.na.length;b<c;b++)k=this.Gv[b],k!==e.Rp[b]&&(e.Rp[b]=k,a.uniform1f(e.na[b][1],k))};f.prototype.xd=function(){this.qf===this.dg.length&&this.dg.push(new m(0,this));return this.dg[this.qf++]};f.prototype.kg=function(){if(0!==this.qf&&!this.I.isContextLost()){var b=this.I;0<this.Eq&&(b.bindBuffer(b.ARRAY_BUFFER,
this.Dq),b.bufferSubData(b.ARRAY_BUFFER,0,this.gv.subarray(0,this.Eq)),c&&0<=c.fe&&"<point>"===c.name&&b.vertexAttribPointer(c.fe,4,b.FLOAT,!1,0,0));if(0<this.Uf){var c=this.gi;b.bindBuffer(b.ARRAY_BUFFER,this.nl[this.sf]);b.bufferSubData(b.ARRAY_BUFFER,0,this.lo.subarray(0,this.Uf));c&&0<=c.fe&&"<point>"!==c.name&&b.vertexAttribPointer(c.fe,this.fb?3:2,b.FLOAT,!1,0,0);b.bindBuffer(b.ARRAY_BUFFER,this.hl[this.sf]);b.bufferSubData(b.ARRAY_BUFFER,0,this.Wn.subarray(0,this.bj));c&&0<=c.Cg&&"<point>"!==
c.name&&b.vertexAttribPointer(c.Cg,2,b.FLOAT,!1,0,0)}for(var e,b=0,c=this.qf;b<c;b++)switch(e=this.dg[b],e.type){case 1:e.Iz();break;case 2:e.Rz();break;case 3:e.Oz();break;case 4:e.Kz();break;case 5:e.Tz();break;case 6:e.Jz();break;case 7:e.Ez();break;case 8:e.Hz();break;case 9:e.Pz();break;case 10:e.Qz();break;case 11:e.Sz();break;case 12:e.Lz();break;case 13:e.Mz();break;case 14:e.Nz()}this.Eq=this.bj=this.Uf=this.qf=0;this.ym=this.Fc=!1;this.sf++;4<=this.sf&&(this.sf=0)}};f.prototype.Nh=function(b){if(b!==
this.Lt&&!this.Yj){var c=this.xd();c.type=3;this.Lt=c.Su=b;this.Fc=!1}};f.prototype.yd=function(b){if(b!==this.wg){var c=this.xd();c.type=2;this.wg=c.oe=b;this.Fc=!1}};f.prototype.Og=function(b,c){if((b!==this.Nt||c!==this.Jt)&&!this.Yj){var e=this.xd();e.type=4;e.Sc=b;e.Xe=c;this.Nt=b;this.Jt=c;this.Fc=!1}};f.prototype.tv=function(){this.Og(this.I.ONE,this.I.ONE_MINUS_SRC_ALPHA)};f.prototype.Sk=function(b,c,e,a,k,g,d,f){15992<=this.Uf&&this.kg();var h=this.Uf,t=this.bj,l=this.lo,p=this.Wn,n=this.To;
if(this.Fc)this.dg[this.qf-1].Xe+=6;else{var w=this.xd();w.type=1;w.Sc=this.fb?h:h/2*3;w.Xe=6;this.Fc=!0}this.fb?(l[h++]=b,l[h++]=c,l[h++]=n,l[h++]=e,l[h++]=a,l[h++]=n,l[h++]=k,l[h++]=g,l[h++]=n,l[h++]=d,l[h++]=f,l[h++]=n):(l[h++]=b,l[h++]=c,l[h++]=e,l[h++]=a,l[h++]=k,l[h++]=g,l[h++]=d,l[h++]=f);p[t++]=0;p[t++]=0;p[t++]=1;p[t++]=0;p[t++]=1;p[t++]=1;p[t++]=0;p[t++]=1;this.Uf=h;this.bj=t};f.prototype.df=function(b,c,e,a,k,g,d,f,h){15992<=this.Uf&&this.kg();var t=this.Uf,l=this.bj,p=this.lo,n=this.Wn,
w=this.To;if(this.Fc)this.dg[this.qf-1].Xe+=6;else{var D=this.xd();D.type=1;D.Sc=this.fb?t:t/2*3;D.Xe=6;this.Fc=!0}var D=h.left,m=h.top,q=h.right;h=h.bottom;this.fb?(p[t++]=b,p[t++]=c,p[t++]=w,p[t++]=e,p[t++]=a,p[t++]=w,p[t++]=k,p[t++]=g,p[t++]=w,p[t++]=d,p[t++]=f,p[t++]=w):(p[t++]=b,p[t++]=c,p[t++]=e,p[t++]=a,p[t++]=k,p[t++]=g,p[t++]=d,p[t++]=f);n[l++]=D;n[l++]=m;n[l++]=q;n[l++]=m;n[l++]=q;n[l++]=h;n[l++]=D;n[l++]=h;this.Uf=t;this.bj=l};f.prototype.fd=function(b){if(this.ok!==b){if(!this.tb[b]){if(0===
this.ok)return;b=0}var c=this.xd();c.type=9;this.ok=c.Sc=b;this.Fc=!1}};f.prototype.Pk=function(b){b=this.tb[b];return!(!b.Fh&&!b.Eh)};f.prototype.Iq=function(b){b=this.tb[b];return!!(b.Fh||b.Eh||b.Js)};f.prototype.Hq=function(b){return this.tb[b].Ee};f.prototype.CC=function(b){b=this.tb[b];return 0!==b.dp||0!==b.ep};f.prototype.ZA=function(b){return this.tb[b].dp};f.prototype.$A=function(b){return this.tb[b].ep};f.prototype.aB=function(b,c){return this.tb[b].na[c][2]};f.prototype.vn=function(b){return this.tb[b].os};
f.prototype.Xi=function(b,c,e,a,k,g,d,f,h,t,l,p,n,w,D){var m=this.tb[this.ok],q,x;if(m.vB||D.length){q=this.xd();q.type=10;q.ma?Vc(this.Kd,q.ma):q.ma=Uc();x=q.ma;x[0]=c;x[1]=e;x[2]=a;x[3]=k;x[4]=g;x[5]=d;x[6]=f;x[7]=h;x[8]=t;x[9]=l;x[10]=p;x[11]=n;x[12]=w;m.uk?q.oe=b:q.oe=null;if(D.length)for(e=q.Gv,e.length=D.length,b=0,c=D.length;b<c;b++)e[b]=D[b];this.Fc=!1}};f.prototype.clear=function(b,c,e,a){var k=this.xd();k.type=7;k.Sc=0;k.ma||(k.ma=Uc());k.ma[0]=b;k.ma[1]=c;k.ma[2]=e;k.ma[3]=a;this.Fc=!1};
f.prototype.clearRect=function(b,c,e,a){if(!(0>e||0>a)){var k=this.xd();k.type=7;k.Sc=1;k.ma||(k.ma=Uc());k.ma[0]=b;k.ma[1]=c;k.ma[2]=e;k.ma[3]=a;this.Fc=!1}};f.prototype.yv=function(b){if(this.fb&&(b=!!b,this.Yj!==b)){var c=this.xd();c.type=14;c.Sc=b?1:0;this.Fc=!1;this.Yj=b;this.Cn=null;this.Yj?this.fd(2):this.fd(0)}};f.prototype.xv=function(b){if(this.fb){var c=this.xd();c.type=13;c.Sc=b?1:0;this.Fc=!1}};f.prototype.Zs=function(){Vc(this.Sp,d);this.le();this.Td();var b=this.width/2,c=this.height/
2;this.Sk(-b,c,b,c,b,-c,-b,-c);Vc(d,this.Kd);this.Td()};f.prototype.wv=function(b,c,e){this.fd(3);var a=this.xd();a.type=12;a.ma||(a.ma=Uc());a.ma[0]=b;a.ma[1]=c;a.ma[2]=e;a.ma[3]=1;this.Fc=!1};f.prototype.nD=function(){this.fd(0)};f.prototype.TC=function(){this.fd(2)};f.prototype.AC=function(){this.kg();this.I.flush()};var q=[],g={};f.prototype.uz=function(){A(q);g={}};f.prototype.Rm=function(b,c,e,a){c=!!c;e=!!e;var k=b.src+","+c+","+e+(c?",undefined":""),d=null;if("undefined"!==typeof b.src&&g.hasOwnProperty(k))return d=
g[k],d.Gl++,d;this.kg();var r=this.I,f=ya(b.width)&&ya(b.height),d=r.createTexture();r.bindTexture(r.TEXTURE_2D,d);r.pixelStorei(r.UNPACK_PREMULTIPLY_ALPHA_WEBGL,!0);var h=r.RGBA,t=r.RGBA,l=r.UNSIGNED_BYTE;if(a&&!this.Bf)switch(a){case 1:t=h=r.RGB;break;case 2:l=r.UNSIGNED_SHORT_4_4_4_4;break;case 3:l=r.UNSIGNED_SHORT_5_5_5_1;break;case 4:t=h=r.RGB,l=r.UNSIGNED_SHORT_5_6_5}if(1===this.version&&!f&&c){a=document.createElement("canvas");a.width=za(b.width);a.height=za(b.height);var p=a.getContext("2d");
"undefined"!==typeof p.imageSmoothingEnabled?p.imageSmoothingEnabled=e:(p.webkitImageSmoothingEnabled=e,p.mozImageSmoothingEnabled=e,p.msImageSmoothingEnabled=e);p.drawImage(b,0,0,b.width,b.height,0,0,a.width,a.height);r.texImage2D(r.TEXTURE_2D,0,h,t,l,a)}else r.texImage2D(r.TEXTURE_2D,0,h,t,l,b);c?(r.texParameteri(r.TEXTURE_2D,r.TEXTURE_WRAP_S,r.REPEAT),r.texParameteri(r.TEXTURE_2D,r.TEXTURE_WRAP_T,r.REPEAT)):(r.texParameteri(r.TEXTURE_2D,r.TEXTURE_WRAP_S,r.CLAMP_TO_EDGE),r.texParameteri(r.TEXTURE_2D,
r.TEXTURE_WRAP_T,r.CLAMP_TO_EDGE));e?(r.texParameteri(r.TEXTURE_2D,r.TEXTURE_MAG_FILTER,r.LINEAR),(f||2<=this.version)&&this.Qs?(r.texParameteri(r.TEXTURE_2D,r.TEXTURE_MIN_FILTER,r.LINEAR_MIPMAP_LINEAR),r.generateMipmap(r.TEXTURE_2D)):r.texParameteri(r.TEXTURE_2D,r.TEXTURE_MIN_FILTER,r.LINEAR)):(r.texParameteri(r.TEXTURE_2D,r.TEXTURE_MAG_FILTER,r.NEAREST),r.texParameteri(r.TEXTURE_2D,r.TEXTURE_MIN_FILTER,r.NEAREST));r.bindTexture(r.TEXTURE_2D,null);this.wg=null;d.bh=b.width;d.ah=b.height;d.Gl=1;d.xs=
k;q.push(d);return g[k]=d};f.prototype.Bd=function(b,c,e,a){this.kg();var k=this.I;this.Bf&&(a=!1);var g=k.createTexture();k.bindTexture(k.TEXTURE_2D,g);k.texImage2D(k.TEXTURE_2D,0,k.RGBA,b,c,0,k.RGBA,a?k.UNSIGNED_SHORT_4_4_4_4:k.UNSIGNED_BYTE,null);k.texParameteri(k.TEXTURE_2D,k.TEXTURE_WRAP_S,k.CLAMP_TO_EDGE);k.texParameteri(k.TEXTURE_2D,k.TEXTURE_WRAP_T,k.CLAMP_TO_EDGE);k.texParameteri(k.TEXTURE_2D,k.TEXTURE_MAG_FILTER,e?k.LINEAR:k.NEAREST);k.texParameteri(k.TEXTURE_2D,k.TEXTURE_MIN_FILTER,e?k.LINEAR:
k.NEAREST);k.bindTexture(k.TEXTURE_2D,null);this.wg=null;g.bh=b;g.ah=c;q.push(g);return g};f.prototype.PD=function(b,c,e){this.kg();var a=this.I;this.Bf&&(e=!1);a.bindTexture(a.TEXTURE_2D,c);a.pixelStorei(a.UNPACK_PREMULTIPLY_ALPHA_WEBGL,!0);try{a.texImage2D(a.TEXTURE_2D,0,a.RGBA,a.RGBA,e?a.UNSIGNED_SHORT_4_4_4_4:a.UNSIGNED_BYTE,b)}catch(k){console&&console.error&&console.error("Error updating WebGL texture: ",k)}a.bindTexture(a.TEXTURE_2D,null);this.wg=null};f.prototype.deleteTexture=function(b){b&&
("undefined"!==typeof b.Gl&&1<b.Gl?b.Gl--:(this.kg(),b===this.wg&&(this.I.bindTexture(this.I.TEXTURE_2D,null),this.wg=null),b===this.Bh&&(this.I.activeTexture(this.I.TEXTURE1),this.I.bindTexture(this.I.TEXTURE_2D,null),this.I.activeTexture(this.I.TEXTURE0),this.Bh=null),ab(q,b),"undefined"!==typeof b.xs&&delete g[b.xs],this.I.deleteTexture(b)))};f.prototype.me=function(b){if(b!==this.Cn){var c=this.xd();c.type=6;this.Cn=c.oe=b;this.Fc=!1}};Jb=f})();
(function(){function f(a){if(a&&(a.getContext||a.dc)&&!a.c2runtime){a.c2runtime=this;var b=this;this.Pc=(this.Xj=/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.Gc=!!a.dc;this.Ct="undefined"!==typeof window.AppMobi||
this.Gc;this.nd=!!window.c2cocoonjs;this.de=!!window.c2ejecta;this.nd&&(CocoonJS.App.onSuspended.addEventListener(function(){b.setSuspended(!0)}),CocoonJS.App.onActivated.addEventListener(function(){b.setSuspended(!1)}));this.de&&(document.addEventListener("pagehide",function(){b.setSuspended(!0)}),document.addEventListener("pageshow",function(){b.setSuspended(!1)}),document.addEventListener("resize",function(){b.setSize(window.innerWidth,window.innerHeight)}));this.bb=this.Gc||this.nd||this.de;this.$j=
/edge\//i.test(navigator.userAgent);this.Bf=(/msie/i.test(navigator.userAgent)||/trident/i.test(navigator.userAgent)||/iemobile/i.test(navigator.userAgent))&&!this.$j;this.Pp=/tizen/i.test(navigator.userAgent);this.ze=/android/i.test(navigator.userAgent)&&!this.Pp&&!this.Bf&&!this.$j;this.Gt=(/iphone/i.test(navigator.userAgent)||/ipod/i.test(navigator.userAgent))&&!this.Bf&&!this.$j;this.QB=/ipad/i.test(navigator.userAgent);this.Id=this.Gt||this.QB||this.de;this.Wj=(/chrome/i.test(navigator.userAgent)||
/chromium/i.test(navigator.userAgent))&&!this.Bf&&!this.$j;this.wm=/amazonwebappplatform/i.test(navigator.userAgent);this.HB=/firefox/i.test(navigator.userAgent);this.LB=/safari/i.test(navigator.userAgent)&&!this.Wj&&!this.Bf&&!this.$j;this.MB=/windows/i.test(navigator.userAgent);this.Et=this.tg="undefined"!==typeof window.c2nodewebkit||"undefined"!==typeof window.c2nwjs||/nodewebkit/i.test(navigator.userAgent)||/nwjs/i.test(navigator.userAgent);this.EB="undefined"!==typeof window.is_scirra_arcade;
this.Dm=!("undefined"===typeof window.c2isWindows8||!window.c2isWindows8);this.OB=!("undefined"===typeof window.c2isWindows8Capable||!window.c2isWindows8Capable);this.ug=!("undefined"===typeof window.c2isWindowsPhone8||!window.c2isWindowsPhone8);this.Em=!("undefined"===typeof window.c2isWindowsPhone81||!window.c2isWindowsPhone81);this.Cm=!!window.cr_windows10;this.Bm=this.Dm||this.OB||this.Em||this.Cm;this.zm=!("undefined"===typeof window.c2isBlackberry10||!window.c2isBlackberry10);this.xm=this.ze&&
!this.Wj&&!this.Xj&&!this.HB&&!this.wm&&!this.bb;this.devicePixelRatio=1;this.sg=this.Pc||this.Xj||this.Ct||this.nd||this.ze||this.Id||this.ug||this.Em||this.zm||this.Pp||this.de;this.sg||(this.sg=/(blackberry|bb10|playbook|palm|symbian|nokia|windows\s+ce|phone|mobile|tablet|kindle|silk)/i.test(navigator.userAgent));this.dk=!!(this.Id&&this.Pc&&window.webkit);this.Cp=null;this.xB="";this.dk&&(this.Cp=cordova&&cordova.plugins&&cordova.plugins.CorHttpd?cordova.plugins.CorHttpd:null);"undefined"===typeof cr_is_preview||
this.tg||"?nw"!==window.location.search&&!/nodewebkit/i.test(navigator.userAgent)&&!/nwjs/i.test(navigator.userAgent)||(this.tg=!0);this.canvas=a;this.Jl=document.getElementById("c2canvasdiv");this.D=this.I=null;this.wp="(unavailable)";this.fb=!1;this.kh=0;this.ib=null;this.kp="";this.gm=!1;this.Ju=this.Ku=0;this.canvas.oncontextmenu=function(a){a.preventDefault&&a.preventDefault();return!1};this.canvas.onselectstart=function(a){a.preventDefault&&a.preventDefault();return!1};this.Gc&&(window.c2runtime=
this);this.tg&&(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.xm&&"undefined"!==typeof jQuery&&jQuery("canvas").parents("*").css("overflow","visible");this.width=a.width;this.height=a.height;this.S=this.width;this.R=this.height;this.Ql=this.width;this.Dj=this.height;this.Ei=window.innerWidth;this.Di=window.innerHeight;this.Fa=!0;this.bk=!1;Date.now||(Date.now=
function(){return+new Date});this.plugins=[];this.types={};this.G=[];this.nb=[];this.$p={};this.Ae=[];this.bp={};this.wf=[];this.sj=[];this.ao=[];this.Xy=[];this.Yy=[];this.gh={};this.Mp=this.qg=!1;this.Hd=0;this.Kp=this.Op=!1;this.ve=[];this.Zj=!1;this.Pm=this.Uq="";this.Sb=null;this.Df="";this.fl=this.Jv=!1;this.fm=[];this.jh=this.ih=0;this.vu=30;this.Qo=this.yk=0;this.Qg=1;this.Fb=new zb;this.Vf=new zb;this.bn=this.jm=this.oh=this.Qd=this.Dh=this.jp=this.Jm=0;this.yj=null;this.Xl=[];this.$o=[];
this.$l=-1;this.hq=[[]];this.sr=this.Um=0;this.xn(null);this.jq=[];this.Xm=-1;this.Eu=this.Ek=0;this.Zp=!0;this.Kj=0;this.gl=[];this.pr=this.Jq=-1;this.gk=!0;this.Gi=0;this.ak=!1;this.sD=0;this.ai=null;this.od=this.ot=!1;this.Iu=new oa;this.sq=new oa;this.tq=new oa;this.An=[];this.He=new Bb([]);this.lr=new Bb([]);this.Zh=[];this.Rj={};this.gg={};this.ag={};this.qj={};this.ts={};this.Yt=this.Om=this.Gb=this.Qb=this.Xt=this.Nm=this.Za=null;this.mj=this.Qp=!1;this.lp=[null,null];this.ph=0;this.gp="";
this.Hf={};this.dl=this.Ag=null;this.Lv="";this.an=[];this.PC()}}function n(a,b){return 128>=b?a[3]:256>=b?a[2]:512>=b?a[1]:a[0]}function h(){try{return!!window.indexedDB}catch(a){return!1}}function m(a){a.target.result.createObjectStore("saves",{keyPath:"slot"})}function d(a,b,c,e){try{var k=indexedDB.open("_C2SaveStates");k.onupgradeneeded=m;k.onerror=e;k.onsuccess=function(k){k=k.target.result;k.onerror=e;k.transaction(["saves"],"readwrite").objectStore("saves").put({slot:a,data:b}).onsuccess=
c}}catch(g){e(g)}}function q(a,b,c){try{var e=indexedDB.open("_C2SaveStates");e.onupgradeneeded=m;e.onerror=c;e.onsuccess=function(e){e=e.target.result;e.onerror=c;var k=e.transaction(["saves"]).objectStore("saves").get(a);k.onsuccess=function(){k.result?b(k.result.data):b(null)}}}catch(k){c(k)}}function g(){sa("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 b(a){var b,c={};for(b in a)!a.hasOwnProperty(b)||a[b]instanceof oa||a[b]&&"undefined"!==typeof a[b].RF||"spriteCreatedDestroyCallback"!==b&&(c[b]=a[b]);return c}var c=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame;f.prototype.PC=function(){var a=this;if(this.dk){var b=function(){a.IA(function(b){a.rk(JSON.parse(b))},function(){alert("Error fetching data.js")})};this.Cp?this.Cp.startServer({port:0,
localhost_only:!0},function(c){a.xB=c;b()},function(a){console.log("Error starting local server: "+a+". Video playback will not work.");b()}):(console.log("Local server unavailable. Video playback will not work."),b())}else{var c;this.ug?c=new ActiveXObject("Microsoft.XMLHTTP"):c=new XMLHttpRequest;var e="data.js";if(this.Dm||this.ug||this.Em||this.Cm)e="data.json";c.open("GET",e,!0);var k=!1;if(!this.bb&&"response"in c&&"responseType"in c)try{c.responseType="json",k="json"===c.responseType}catch(g){k=
!1}if(!k&&"responseType"in c)try{c.responseType="text"}catch(d){}if("overrideMimeType"in c)try{c.overrideMimeType("application/json; charset=utf-8")}catch(l){}this.ug?c.onreadystatechange=function(){4===c.readyState&&a.rk(JSON.parse(c.responseText))}:(c.onload=function(){if(k)a.rk(c.response);else if(a.de){var b=c.responseText,b=b.substr(b.indexOf("{"));a.rk(JSON.parse(b))}else a.rk(JSON.parse(c.responseText))},c.onerror=function(a){ta("Error requesting "+e+":");ta(a)});c.send()}};f.prototype.AB=
function(){var a=this,b,c,e,k,g,d,l,r,p;this.yh=(!this.bb||this.de||this.Pc)&&this.KD&&!this.xm;0===this.Yc&&this.Id&&(this.yh=!1);this.devicePixelRatio=this.yh?window.devicePixelRatio||window.webkitDevicePixelRatio||window.mozDevicePixelRatio||window.msDevicePixelRatio||1:1;this.uc();0<this.Yc&&this.setSize(window.innerWidth,window.innerHeight,!0);this.canvas.addEventListener("webglcontextlost",function(b){b.preventDefault();a.cC();sa("[Construct 2] WebGL context lost");window.cr_setSuspended(!0)},
!1);this.canvas.addEventListener("webglcontextrestored",function(){a.D.wt();a.D.Oh(a.D.width,a.D.height,!0);a.Qb=null;a.Gb=null;a.lp[0]=null;a.lp[1]=null;a.dC();a.Fa=!0;sa("[Construct 2] WebGL context restored");window.cr_setSuspended(!1)},!1);try{this.bA&&(this.nd||this.de||!this.bb)&&(b={alpha:!0,depth:!1,antialias:!1,powerPreference:"high-performance",failIfMajorPerformanceCaveat:!0},this.I=this.canvas.getContext("webgl2",b)||this.canvas.getContext("webgl",b)||this.canvas.getContext("experimental-webgl",
b))}catch(f){}if(this.I){if(b=this.I.getExtension("WEBGL_debug_renderer_info"))this.wp=this.I.getParameter(b.UNMASKED_RENDERER_WEBGL)+" ["+this.I.getParameter(b.UNMASKED_VENDOR_WEBGL)+"]";this.fb&&(this.wp+=" [front-to-back enabled]");this.bb||(this.oc=document.createElement("canvas"),jQuery(this.oc).appendTo(this.canvas.parentNode),this.oc.oncontextmenu=function(){return!1},this.oc.onselectstart=function(){return!1},this.oc.width=Math.round(this.Ql*this.devicePixelRatio),this.oc.height=Math.round(this.Dj*
this.devicePixelRatio),jQuery(this.oc).css({width:this.Ql+"px",height:this.Dj+"px"}),this.hv(),this.Bq=this.oc.getContext("2d"));this.D=new Jb(this.I,this.sg,this.fb);this.D.Oh(this.canvas.width,this.canvas.height);this.D.Qs=0!==this.Uz;this.ib=null;b=0;for(c=this.G.length;b<c;b++)for(g=this.G[b],e=0,k=g.da.length;e<k;e++)l=g.da[e],l.Lb=this.D.up(l.id),l.Ee=this.D.Hq(l.Lb),this.mj=this.mj||this.D.Pk(l.Lb);b=0;for(c=this.Ae.length;b<c;b++){r=this.Ae[b];e=0;for(k=r.da.length;e<k;e++)l=r.da[e],l.Lb=
this.D.up(l.id),l.Ee=this.D.Hq(l.Lb);r.Ke();e=0;for(k=r.P.length;e<k;e++){p=r.P[e];g=0;for(d=p.da.length;g<d;g++)l=p.da[g],l.Lb=this.D.up(l.id),l.Ee=this.D.Hq(l.Lb),this.mj=this.mj||this.D.Pk(l.Lb);p.Ke()}}}else{if(0<this.Yc&&this.Gc){this.canvas=null;document.oncontextmenu=function(){return!1};document.onselectstart=function(){return!1};this.ib=AppMobi.canvas.getContext("2d");try{this.ib.samplingMode=this.kb?"smooth":"sharp",this.ib.globalScale=1,this.ib.HTML5CompatibilityMode=!0,this.ib.imageSmoothingEnabled=
this.kb}catch(v){}0!==this.width&&0!==this.height&&(this.ib.width=this.width,this.ib.height=this.height)}this.ib||(this.nd?(b={antialias:!!this.kb,alpha:!0},this.ib=this.canvas.getContext("2d",b)):(b={alpha:!0},this.ib=this.canvas.getContext("2d",b)),this.Jn(this.ib,this.kb));this.Bq=this.oc=null}this.Zv=function(b){a.zb(!1,b)};window==window.top||this.bb||this.Bm||this.ug||(document.addEventListener("mousedown",function(){window.focus()},!0),document.addEventListener("touchstart",function(){window.focus()},
!0));"undefined"!==typeof cr_is_preview&&(this.nd&&console.log("[Construct 2] In preview-over-wifi via CocoonJS mode"),-1<window.location.search.indexOf("continuous")&&(sa("Reloading for continuous preview"),this.Pm="__c2_continuouspreview",this.fl=!0),this.qC&&!this.sg&&(jQuery(window).focus(function(){a.setSuspended(!1)}),jQuery(window).blur(function(){var b=window.parent;b&&b.document.hasFocus()||a.setSuspended(!0)})));window.addEventListener("blur",function(){});this.bb||(b=function(a){if(Ib(a)&&
document.activeElement&&document.activeElement!==document.getElementsByTagName("body")[0]&&document.activeElement.blur)try{document.activeElement.blur()}catch(b){}},"undefined"!==typeof PointerEvent?document.addEventListener("pointerdown",b):window.navigator.msPointerEnabled?document.addEventListener("MSPointerDown",b):document.addEventListener("touchstart",b),document.addEventListener("mousedown",b));0===this.Yc&&this.yh&&1<this.devicePixelRatio&&this.setSize(this.Ub,this.Tb,!0);this.cw();this.oB();
this.go();this.U={}};f.prototype.setSize=function(a,b,c){var e=0,k=0,g=0,d=0,d=0;if(this.Ei!==a||this.Di!==b||c){this.Ei=a;this.Di=b;var l=this.Yc,r=(document.mozFullScreen||document.webkitIsFullScreen||!!document.msFullscreenElement||document.fullScreen||this.ak)&&!this.Pc;if(r||0!==this.Yc||c)r&&0<this.ph&&(l=this.ph),c=this.devicePixelRatio,4<=l?(g=this.Ub/this.Tb,a/b>g?(g*=b,5===l?(d=g*c/this.Ub,1<d?d=Math.floor(d):1>d&&(d=1/Math.ceil(1/d)),g=this.Ub*d/c,d=this.Tb*d/c,e=(a-g)/2,k=(b-d)/2,a=g,
b=d):(e=(a-g)/2,a=g)):(d=a/g,5===l?(d=d*c/this.Tb,1<d?d=Math.floor(d):1>d&&(d=1/Math.ceil(1/d)),g=this.Ub*d/c,d=this.Tb*d/c,e=(a-g)/2,k=(b-d)/2,a=g):k=(b-d)/2,b=d),r&&!this.tg&&(k=e=0)):this.tg&&this.ak&&0===this.$s&&(e=Math.floor((a-this.Ub)/2),k=Math.floor((b-this.Tb)/2),a=this.Ub,b=this.Tb),2>l&&(this.wj=c),this.Ql=Math.round(a),this.Dj=Math.round(b),this.width=Math.round(a*c),this.height=Math.round(b*c),this.Fa=!0,this.vw?(this.S=this.width,this.R=this.height,this.Dd=!0):this.width<this.Ub&&this.height<
this.Tb||1===l?(this.S=this.width,this.R=this.height,this.Dd=!0):(this.S=this.Ub,this.R=this.Tb,this.Dd=!1,2===l?(g=this.Ub/this.Tb,l=this.Ei/this.Di,l<g?this.S=this.R*l:l>g&&(this.R=this.S/l)):3===l&&(g=this.Ub/this.Tb,l=this.Ei/this.Di,l>g?this.S=this.R*l:l<g&&(this.R=this.S/l))),this.Jl&&!this.bb&&(jQuery(this.Jl).css({width:Math.round(a)+"px",height:Math.round(b)+"px","margin-left":Math.floor(e)+"px","margin-top":Math.floor(k)+"px"}),"undefined"!==typeof cr_is_preview&&jQuery("#borderwrap").css({width:Math.round(a)+
"px",height:Math.round(b)+"px"})),this.canvas&&(this.canvas.width=Math.round(a*c),this.canvas.height=Math.round(b*c),this.de?(this.canvas.style.left=Math.floor(e)+"px",this.canvas.style.top=Math.floor(k)+"px",this.canvas.style.width=Math.round(a)+"px",this.canvas.style.height=Math.round(b)+"px"):this.yh&&!this.bb&&(this.canvas.style.width=Math.round(a)+"px",this.canvas.style.height=Math.round(b)+"px")),this.oc&&(this.oc.width=Math.round(a*c),this.oc.height=Math.round(b*c),this.oc.style.width=this.Ql+
"px",this.oc.style.height=this.Dj+"px"),this.D&&this.D.Oh(Math.round(a*c),Math.round(b*c)),this.Gc&&this.ib&&(this.ib.width=Math.round(a),this.ib.height=Math.round(b)),this.ib&&this.Jn(this.ib,this.kb),this.cw(),this.Gt&&!this.Pc&&window.scrollTo(0,0)}};f.prototype.cw=function(){if(this.dz&&0!==this.zq){var a="portrait";2===this.zq&&(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(b){console&&console.warn&&console.warn("Failed to lock orientation: ",b)}}};f.prototype.cC=function(){this.D.uz();this.Qp=!0;var a,b,c;a=0;for(b=this.G.length;a<b;a++)c=this.G[a],c.cn&&c.cn()};f.prototype.dC=function(){this.Qp=!1;var a,b,c;a=0;for(b=this.G.length;a<b;a++)c=this.G[a],c.wq&&c.wq()};f.prototype.hv=function(){if(!this.bb){var a=(document.mozFullScreen||
document.webkitIsFullScreen||document.fullScreen||document.msFullscreenElement||this.ak)&&!this.Pc?jQuery(this.canvas).offset():jQuery(this.canvas).position();a.position="absolute";jQuery(this.oc).css(a)}};var e=window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.webkitCancelAnimationFrame||window.msCancelAnimationFrame||window.oCancelAnimationFrame;f.prototype.setSuspended=function(a){var b;if(a&&!this.bk)for(sa("[Construct 2] Suspending"),this.bk=!0,-1!==this.Jq&&e&&e(this.Jq),-1!==
this.pr&&clearTimeout(this.pr),a=0,b=this.gl.length;a<b;a++)this.gl[a](!0);else if(!a&&this.bk){sa("[Construct 2] Resuming");this.bk=!1;this.Jm=rb();this.Dh=rb();a=this.yk=this.jm=0;for(b=this.gl.length;a<b;a++)this.gl[a](!1);this.zb(!1)}};f.prototype.ms=function(a){this.gl.push(a)};f.prototype.Zf=function(a){return this.an[a]};f.prototype.rk=function(a){a&&a.project||ta("Project model unavailable");a=a.project;this.name=a[0];this.Ys=a[1];this.Yc=a[12];this.$s=a[12];this.Ub=a[10];this.Tb=a[11];this.$u=
this.Ub/2;this.av=this.Tb/2;this.bb&&!this.de&&(4<=a[12]||0===a[12])&&(sa("[Construct 2] Letterbox scale fullscreen modes are not supported on this platform - falling back to 'Scale outer'"),this.$s=this.Yc=3);this.Cr=a[18];this.Bg=a[19];if(0===this.Bg){var b=new Image;b.crossOrigin="anonymous";this.zv(b,"loading-logo.png");this.Ag={Wm:b}}else if(4===this.Bg){b=new Image;b.src="";var c=new Image;c.src="";var e=new Image;e.src="";var k=new Image;k.src="";var g=new Image;g.src="";var d=new Image;d.src=
"";var l=new Image;l.src="";var r=new Image;r.src="";var p=new Image;p.src="";var f=new Image;f.src="";var v=new Image;v.src="";var w=new Image;w.src="";this.Ag={Wm:[b,c,e,k],xC:[g,d,l,r],SD:[p,f,v,w]}}this.Ek=a[21];this.an=Zc();this.gf=new L(this);b=0;for(c=a[2].length;b<c;b++)l=a[2][b],e=this.Zf(l[0]),Wb(l,e.prototype),r=new e(this),r.Qn=l[1],r.vg=l[2],r.$F=l[5],r.Au=l[9],r.V&&r.V(),this.plugins.push(r);this.an=Zc();b=0;for(c=a[3].length;b<c;b++){l=a[3][b];g=this.Zf(l[1]);r=null;e=0;for(k=this.plugins.length;e<
k;e++)if(this.plugins[e]instanceof g){r=this.plugins[e];break}p=new r.Ca(r);p.name=l[0];p.aa=l[2];p.Ip=l[3].slice(0);p.MD=l[3].length;p.fz=l[4];p.NA=l[5];p.Aa=l[11];p.aa?(p.Ki=[],p.xf=this.Kj++,p.jb=null):(p.Ki=null,p.xf=-1,p.jb=[]);p.dm=null;p.mi=null;p.Rs=null;p.Hc=!1;p.ld=null;l[6]?(p.mr=l[6][0],p.nr=l[6][1],p.or=l[6][2]):(p.mr=null,p.nr=0,p.or=0);l[7]?p.jd=l[7]:p.jd=null;p.index=b;p.e=[];p.Ul=[];p.Qf=[new Xb(p)];p.Se=0;p.ae=null;p.Bz=0;p.$i=!0;p.eo=Yb;p.qp=Zb;p.XA=$b;p.Z=ac;p.Qk=bc;p.Rk=cc;p.Jg=
dc;p.lm=ec;p.np=fc;p.pp=gc;p.Xd=hc;p.rp=ic;p.Ml=new Cb(this.Ub,this.Tb);p.zl=!0;p.Al=!1;p.U={};p.toString=jc;p.nb=[];e=0;for(k=l[8].length;e<k;e++){f=l[8][e];v=this.Zf(f[1]);w=null;g=0;for(d=this.nb.length;g<d;g++)if(this.nb[g]instanceof v){w=this.nb[g];break}w||(w=new v(this),w.Cu=[],w.$m=new oa,w.V&&w.V(),this.nb.push(w));-1===w.Cu.indexOf(p)&&w.Cu.push(p);g=new w.Ca(w,p);g.name=f[0];g.Aa=f[2];g.V();p.nb.push(g)}p.global=l[9];p.Np=l[10];p.da=[];e=0;for(k=l[12].length;e<k;e++)p.da.push({id:l[12][e][0],
name:l[12][e][1],Lb:-1,Ee:!1,H:!0,index:e});p.wG=l[13];this.Cr&&!p.aa&&!p.Np&&r.vg||p.V();p.name&&(this.types[p.name]=p);this.G.push(p);r.Qn&&(e=new r.ra(p),e.uid=this.Ek++,e.kv=this.Eu++,e.uh=0,e.Pj=kc,e.toString=lc,e.C=l[14],e.V(),p.e.push(e),this.Hf[e.uid.toString()]=e)}b=0;for(c=a[4].length;b<c;b++)for(g=a[4][b],d=this.G[g[0]],e=1,k=g.length;e<k;e++)l=this.G[g[e]],l.jb.push(d),d.Ki.push(l);b=0;for(c=a[28].length;b<c;b++){g=a[28][b];d=[];e=0;for(k=g.length;e<k;e++)d.push(this.G[g[e]]);e=0;for(k=
d.length;e<k;e++)d[e].Hc=!0,d[e].ld=d}if(0<this.Kj)for(b=0,c=this.G.length;b<c;b++)if(l=this.G[b],!l.aa&&l.jb.length){l.dm=Array(this.Kj);l.mi=Array(this.Kj);l.Rs=Array(this.Kj);p=[];e=w=v=f=0;for(k=l.jb.length;e<k;e++)for(r=l.jb[e],l.dm[r.xf]=f,f+=r.MD,l.mi[r.xf]=v,v+=r.fz,l.Rs[r.xf]=w,w+=r.NA,g=0,d=r.da.length;g<d;g++)p.push(Sa({},r.da[g]));l.da=p.concat(l.da);e=0;for(k=l.da.length;e<k;e++)l.da[e].index=e}b=0;for(c=a[5].length;b<c;b++)l=a[5][b],e=new rc(this,l),this.$p[e.name]=e,this.Ae.push(e);
b=0;for(c=a[6].length;b<c;b++)l=a[6][b],e=new sc(this,l),this.bp[e.name]=e,this.wf.push(e);b=0;for(c=this.wf.length;b<c;b++)this.wf[b].xb();b=0;for(c=this.wf.length;b<c;b++)this.wf[b].yr();b=0;for(c=this.ao.length;b<c;b++)this.ao[b].xb();A(this.ao);this.bz=a[7];this.gp=a[8];this.De=a[9];this.wj=1;this.bA=a[13];this.kb=a[14];this.Bs=a[15];this.KD=a[17];this.zq=a[20];this.dz=0<this.zq;this.qC=a[22];this.Dd=this.vw=a[23];this.Uz=a[24];this.yC=a[25];this.fb=a[27]&&!this.Bf;this.Rn=Date.now();A(this.an);
this.AB()};var a=!1;f.prototype.uw=function(b,c){b.cocoonLazyLoad=!1;b.onerror=function(c){a=b.ws=!0;console&&console.error&&console.error("Error loading image '"+b.src+"': ",c)};this.de?b.src=c:b.src||("undefined"!==typeof XAPKReader?XAPKReader.get(c,function(a){b.src=a},function(e){a=b.ws=!0;console&&console.error&&console.error("Error extracting image '"+c+"' from expansion file: ",e)}):(b.crossOrigin="anonymous",this.zv(b,c)));this.sj.push(b)};f.prototype.KA=function(a){var b,c;b=0;for(c=this.sj.length;b<
c;b++)if(this.sj[b].vz===a)return this.sj[b];return null};var k=0,v=!1;f.prototype.oB=function(){this.ai&&(k=this.ai.lD(this.bz))};f.prototype.qs=function(){var a=k,b=0,c=0,e=!0,g,d,c=0;for(g=this.sj.length;c<g;c++){d=this.sj[c];var l=d.Is;if(!l||0>=l)l=5E4;a+=l;d.src&&(d.complete||d.loaded)&&!d.ws?b+=l:e=!1}e&&this.yC&&this.ai&&(v||(this.ai.tD(),v=!0),c=this.ai.YA(),b+=c,c<k&&(e=!1));this.Fe=0==a?1:b/a;return e};var r=!1;f.prototype.go=function(){if(this.ib||this.D){var b=this.ib||this.Bq;this.oc&&
this.hv();var e=window.innerWidth,k=window.innerHeight;this.Ei===e&&this.Di===k||this.setSize(e,k);this.Fe=0;this.Wt=-1;var g=this;if(this.qs()&&(4!==this.Bg||r))this.pB();else{k=Date.now()-this.Rn;if(b){var d=this.width,l=this.height,e=this.devicePixelRatio;if(3>this.Bg&&(this.nd||500<=k&&this.Wt!=this.Fe)){b.clearRect(0,0,d,l);var k=d/2,l=l/2,d=0===this.Bg&&this.Ag.Wm.complete,p=40*e,f=0,v=80*e,w;if(d){var t=this.Ag.Wm,v=t.width*e;w=t.height*e;p=v/2;f=w/2;b.drawImage(t,Ha(k-p),Ha(l-f),v,w)}1>=this.Bg?
(k=Ha(k-p)+.5,l=Ha(l+(f+(d?12*e:0)))+.5,b.fillStyle=a?"red":"DodgerBlue",b.fillRect(k,l,Math.floor(v*this.Fe),6*e),b.strokeStyle="black",b.strokeRect(k,l,v,6*e),b.strokeStyle="white",b.strokeRect(k-1*e,l-1*e,v+2*e,8*e)):2===this.Bg&&(b.font=this.de?"12pt ArialMT":"12pt Arial",b.fillStyle=a?"#f00":"#999",b.vG="middle",e=Math.round(100*this.Fe)+"%",d=b.measureText?b.measureText(e):null,b.fillText(e,k-(d?d.width:0)/2,l));this.Wt=this.Fe}else if(4===this.Bg){this.Zz(b);c?c(function(){g.go()}):setTimeout(function(){g.go()},
16);return}}setTimeout(function(){g.go()},this.nd?10:100)}}};var P=-1,G="undefined"===typeof cr_is_preview?200:0,t=!0,l=!1,p=0,E=0,w="undefined"===typeof cr_is_preview?3E3:0,D=null,I=null,U=0;f.prototype.Zz=function(b){if(!r){for(var c=Math.ceil(this.width),e=Math.ceil(this.height),k=this.Ag.Wm,g=this.Ag.xC,d=this.Ag.SD,f=0;4>f;++f)if(!k[f].complete||!g[f].complete||!d[f].complete)return;0===U&&(P=Date.now());var f=Date.now(),v=!1,h=b,m,q;t||l?(b.clearRect(0,0,c,e),D&&D.width===c&&D.height===e||(D=
document.createElement("canvas"),D.width=c,D.height=e,I=D.getContext("2d")),h=I,v=!0,t&&1===U&&(P=Date.now())):b.globalAlpha=1;h.fillStyle="#333333";h.fillRect(0,0,c,e);256<this.Dj?(m=bb(.22*e,105,.6*c),q=.25*m,h.drawImage(n(g,m),.5*c-m/2,.2*e-q/2,m,q),q=m=Math.min(.395*e,.95*c),h.drawImage(n(k,m),.5*c-m/2,.485*e-q/2,m,q),m=bb(.22*e,105,.6*c),q=.25*m,h.drawImage(n(d,m),.5*c-m/2,.868*e-q/2,m,q),h.fillStyle="#3C3C3C",m=c,q=Math.max(.005*e,2),h.fillRect(0,.8*e-q/2,m,q),h.fillStyle=a?"red":"#E0FF65",
m=c*this.Fe,h.fillRect(.5*c-m/2,.8*e-q/2,m,q)):(q=m=.55*e,h.drawImage(n(k,m),.5*c-m/2,.45*e-q/2,m,q),h.fillStyle="#3C3C3C",m=c,q=Math.max(.005*e,2),h.fillRect(0,.85*e-q/2,m,q),h.fillStyle=a?"red":"#E0FF65",m=c*this.Fe,h.fillRect(.5*c-m/2,.85*e-q/2,m,q));v&&(t?b.globalAlpha=0===U?0:Math.min((f-P)/300,1):l&&(b.globalAlpha=Math.max(1-(f-E)/300,0)),b.drawImage(D,0,0,c,e));t&&300<=f-P&&2<=U&&(t=!1,p=f);!t&&f-p>=w&&!l&&1<=this.Fe&&(l=!0,E=f);if(l&&f-E>=300+G||"undefined"!==typeof cr_is_preview&&1<=this.Fe&&
500>Date.now()-P)r=!0,l=t=!1,this.Ag=I=D=null;++U}};f.prototype.pB=function(){this.oc&&(this.canvas.parentNode.removeChild(this.oc),this.oc=this.Bq=null);this.Rn=Date.now();this.Dh=rb();var a,b,c;if(this.Cr)for(a=0,b=this.G.length;a<b;a++)c=this.G[a],c.aa||c.Np||!c.Ea.vg||c.V();else this.gk=!1;a=0;for(b=this.Ae.length;a<b;a++)this.Ae[a].wz();2<=this.Yc&&(a=this.Ub/this.Tb,b=this.width/this.height,this.wj=2!==this.Yc&&b>a||2===this.Yc&&b<a?this.height/this.Tb:this.width/this.Ub);this.Ys?this.$p[this.Ys].fr():
this.Ae[0].fr();this.Cr||(this.Gi=1,this.trigger(L.prototype.g.po,null),window.C2_RegisterSW&&window.C2_RegisterSW());navigator.splashscreen&&navigator.splashscreen.hide&&navigator.splashscreen.hide();a=0;for(b=this.G.length;a<b;a++)c=this.G[a],c.Lu&&c.Lu();document.hidden||document.webkitHidden||document.mozHidden||document.msHidden?window.cr_setSuspended(!0):this.zb(!1);this.Gc&&AppMobi.webview.execute("onGameReady();")};f.prototype.zb=function(a,b,e){if(this.Za){var k=rb();if(e||!this.bk||a){a||
(c?this.Jq=c(this.Zv):this.pr=setTimeout(this.Zv,this.sg?1:16));b=b||k;var g=this.Yc;((e=(document.mozFullScreen||document.webkitIsFullScreen||document.fullScreen||!!document.msFullscreenElement)&&!this.Pc)||this.ak)&&0<this.ph&&(g=this.ph);if(0<g){var g=window.innerWidth,d=window.innerHeight;this.Ei===g&&this.Di===d||this.setSize(g,d)}this.bb||(e?(this.gm||(this.kp=jQuery(this.canvas).css("margin")||"0",this.gm=!0),this.Wj||this.tg||jQuery(this.canvas).css({"margin-left":""+Math.floor((screen.width-
this.width/this.devicePixelRatio)/2)+"px","margin-top":""+Math.floor((screen.height-this.height/this.devicePixelRatio)/2)+"px"})):this.gm?(this.Wj||this.tg||jQuery(this.canvas).css("margin",this.kp),this.kp="",this.gm=!1,0===this.Yc&&this.setSize(Math.round(this.Ku/this.devicePixelRatio),Math.round(this.Ju/this.devicePixelRatio),!0)):(this.Ku=this.width,this.Ju=this.height));this.gk&&(e=this.qs(),this.Gi=this.Fe,e&&(this.gk=!1,this.Fe=1,this.trigger(L.prototype.g.po,null),window.C2_RegisterSW&&window.C2_RegisterSW()));
this.VB(b);!this.Fa&&!this.nd||this.Qp||this.fl||a||(this.Fa=!1,this.D?this.Ec():this.Cd(),this.dl&&(this.canvas&&this.canvas.toDataURL&&(this.Lv=this.canvas.toDataURL(this.dl[0],this.dl[1]),window.cr_onSnapshot&&window.cr_onSnapshot(this.Lv),this.trigger(L.prototype.g.ux,null)),this.dl=null));this.YF||(this.Qd++,this.oh++,this.jm++);this.yk+=rb()-k}}};f.prototype.VB=function(a){var b,c,e,k,g,d,l,p;1E3<=a-this.Dh&&(this.Dh+=1E3,1E3<=a-this.Dh&&(this.Dh=a),this.jp=this.jm,this.jm=0,this.Qo=this.yk,
this.yk=0);b=0;0!==this.Jm&&(b=a-this.Jm,0>b&&(b=0),this.jh=b/=1E3,.5<this.jh?this.jh=0:this.jh>1/this.vu&&(this.jh=1/this.vu));this.Jm=a;this.ih=this.jh*this.Qg;this.Fb.add(this.ih);this.Vf.add(b);a=(document.mozFullScreen||document.webkitIsFullScreen||document.fullScreen||!!document.msFullscreenElement||this.ak)&&!this.Pc;2<=this.Yc||a&&0<this.ph?(b=this.Ub/this.Tb,c=this.width/this.height,e=this.Yc,a&&0<this.ph&&(e=this.ph),this.wj=2!==e&&c>b||2===e&&c<b?this.height/this.Tb:this.width/this.Ub,
this.Za&&(this.Za.Vq(this.Za.scrollX),this.Za.Wq(this.Za.scrollY))):this.wj=this.yh?this.devicePixelRatio:1;this.uc();this.Hd++;this.gf.YC();this.Hd--;this.uc();this.Hd++;c=this.Iu.Tf();a=0;for(b=c.length;a<b;a++)c[a].nG();a=0;for(b=this.G.length;a<b;a++)if(d=this.G[a],!d.aa&&(d.nb.length||d.jb.length))for(c=0,e=d.e.length;c<e;c++)for(l=d.e[c],k=0,g=l.ga.length;k<g;k++)l.ga[k].zb();a=0;for(b=this.G.length;a<b;a++)if(d=this.G[a],!d.aa&&(d.nb.length||d.jb.length))for(c=0,e=d.e.length;c<e;c++)for(l=
d.e[c],k=0,g=l.ga.length;k<g;k++)p=l.ga[k],p.wC&&p.wC();c=this.sq.Tf();a=0;for(b=c.length;a<b;a++)c[a].zb();this.Hd--;this.uB();for(a=0;this.yj&&10>a++;)this.Ps(this.yj);a=0;for(b=this.wf.length;a<b;a++)this.wf[a].Ap=!1;this.Za.mh&&this.Za.mh.Jb();A(this.An);this.Zp=!1;this.Hd++;a=0;for(b=this.G.length;a<b;a++)if(d=this.G[a],!d.aa&&(d.nb.length||d.jb.length))for(c=0,e=d.e.length;c<e;c++)for(l=d.e[c],k=0,g=l.ga.length;k<g;k++)p=l.ga[k],p.il&&p.il();c=this.tq.Tf();a=0;for(b=c.length;a<b;a++)c[a].il();
this.Hd--};f.prototype.Ps=function(a){var b=this.Za;this.Za.vD();var c,e,k;if(this.D)for(c=0,e=this.G.length;c<e;c++)k=this.G[c],k.aa||!k.xr||k.global&&0!==k.e.length||-1!==a.Uj.indexOf(k)||k.xr();b==a&&A(this.gf.hd);A(this.An);this.qv(!0);a.fr();this.qv(!1);this.Zp=this.Fa=!0;this.uc()};f.prototype.qv=function(a){var b,c,e,k,g,d,l,p,r;b=0;for(c=this.nb.length;b<c;b++)e=this.nb[b],a?e.Fk&&e.Fk():e.Ik&&e.Ik();b=0;for(c=this.G.length;b<c;b++)if(e=this.G[b],e.global||e.Ea.Qn)for(k=0,g=e.e.length;k<g;k++)if(d=
e.e[k],a?d.Fk&&d.Fk():d.Ik&&d.Ik(),d.ga)for(l=0,p=d.ga.length;l<p;l++)r=d.ga[l],a?r.Fk&&r.Fk():r.Ik&&r.Ik()};f.prototype.gj=function(a){this.sq.add(a)};f.prototype.xD=function(a){this.tq.add(a)};f.prototype.mm=function(a){return a&&-1!==a.Bk?this.jh*a.Bk:this.ih};f.prototype.Cd=function(){this.Za.Cd(this.ib);this.Gc&&this.ib.present()};f.prototype.Ec=function(){this.fb&&(this.kh=1,this.Za.hh(this.D));this.Za.Ec(this.D);this.D.AC()};f.prototype.xo=function(a){a&&this.Xl.push(a)};f.prototype.OC=function(a){ab(this.Xl,
a)};f.prototype.pi=function(a){a=a.toString();return this.Hf.hasOwnProperty(a)?this.Hf[a]:null};var x=[];f.prototype.Yf=function(a){var b,c;b=a.type.name;var e=null;if(this.gh.hasOwnProperty(b)){if(e=this.gh[b],e.contains(a))return}else e=x.length?x.pop():new oa,this.gh[b]=e;e.add(a);this.qg=!0;if(a.Hc)for(b=0,c=a.siblings.length;b<c;b++)this.Yf(a.siblings[b]);this.Mp&&e.pj.push(a);this.Kp||(this.Hd++,this.trigger(Object.getPrototypeOf(a.type.Ea).g.yx,a),this.Hd--)};f.prototype.uc=function(){if(this.qg){var a,
b,c,e,k,g;this.Mp=!0;c=0;for(k=this.ve.length;c<k;++c)for(a=this.ve[c],b=a.type,b.e.push(a),e=0,g=b.jb.length;e<g;++e)b.jb[e].e.push(a),b.jb[e].$i=!0;A(this.ve);this.jx();qb(this.gh);this.qg=this.Mp=!1}};f.prototype.jx=function(){for(var a in this.gh)this.gh.hasOwnProperty(a)&&this.Gw(this.gh[a])};f.prototype.Gw=function(a){var b=a.Tf(),c=b[0].type,e,k,g,d,l,p;wb(c.e,a);c.$i=!0;0===c.e.length&&(c.Al=!1);e=0;for(k=c.jb.length;e<k;++e)p=c.jb[e],wb(p.e,a),p.$i=!0;e=0;for(k=this.gf.hd.length;e<k;++e)if(l=
this.gf.hd[e],l.Rc.hasOwnProperty(c.index)&&wb(l.Rc[c.index].zf,a),!c.aa)for(g=0,d=c.jb.length;g<d;++g)p=c.jb[g],l.Rc.hasOwnProperty(p.index)&&wb(l.Rc[p.index].zf,a);if(l=b[0].k){if(l.Ud)for(g=l.e,e=0,k=g.length;e<k;++e)d=g[e],a.contains(d)&&(d.Qa(),l.qc.update(d,d.dd,null),d.dd.set(0,0,-1,-1));wb(l.e,a);l.Yk(0)}for(e=0;e<b.length;++e)this.Fw(b[e],c);a.clear();x.push(a);this.Fa=!0};f.prototype.Fw=function(a,b){var c,e,k;c=0;for(e=this.Xl.length;c<e;++c)this.Xl[c](a);a.hg&&b.Ml.update(a,a.hg,null);
(c=a.k)&&c.Ui(a,!0);if(a.ga)for(c=0,e=a.ga.length;c<e;++c)k=a.ga[c],k.Fg&&k.Fg(),k.behavior.$m.remove(a);this.Iu.remove(a);this.sq.remove(a);this.tq.remove(a);a.Fg&&a.Fg();this.Hf.hasOwnProperty(a.uid.toString())&&delete this.Hf[a.uid.toString()];this.bn--;100>b.Ul.length&&b.Ul.push(a)};f.prototype.Ro=function(a,b,c,e){if(a.aa){var k=Ha(Math.random()*a.Ki.length);return this.Ro(a.Ki[k],b,c,e)}return a.ae?this.ig(a.ae,b,!1,c,e,!1):null};var z=[];f.prototype.ig=function(a,b,c,e,k,g){var d,l,p,r;if(!a)return null;
var f=this.G[a[1]],v=f.Ea.vg;if(this.gk&&v&&!f.Np||v&&!this.D&&11===a[0][11])return null;var w=b;v||(b=null);var h;f.Ul.length?(h=f.Ul.pop(),h.Nd=!0,f.Ea.ra.call(h,f)):(h=new f.Ea.ra(f),h.Nd=!1);!c||g||this.Hf.hasOwnProperty(a[2].toString())?h.uid=this.Ek++:h.uid=a[2];this.Hf[h.uid.toString()]=h;h.kv=this.Eu++;h.uh=f.e.length;d=0;for(l=this.ve.length;d<l;++d)this.ve[d].type===f&&h.uh++;h.Pj=kc;h.toString=lc;p=a[3];if(h.Nd)qb(h.U);else{h.U={};if("undefined"!==typeof cr_is_preview)for(h.zt=[],h.zt.length=
p.length,d=0,l=p.length;d<l;d++)h.zt[d]=p[d][1];h.Pb=[];h.Pb.length=p.length}d=0;for(l=p.length;d<l;d++)h.Pb[d]=p[d][0];if(v){var t=a[0];h.x=ua(e)?t[0]:e;h.y=ua(k)?t[1]:k;h.z=t[2];h.width=t[3];h.height=t[4];h.depth=t[5];h.j=t[6];h.opacity=t[7];h.lc=t[8];h.mc=t[9];h.wc=t[10];d=t[11];!this.D&&f.da.length&&(h.wc=d);h.Aj=Eb(h.wc);this.I&&Fb(h,h.wc,this.I);if(h.Nd){d=0;for(l=t[12].length;d<l;d++)for(p=0,r=t[12][d].length;p<r;p++)h.pb[d][p]=t[12][d][p];h.mb.set(0,0,0,0);h.hg.set(0,0,-1,-1);h.dd.set(0,0,
-1,-1);h.Oc.Zk(h.mb);A(h.Do)}else{h.pb=t[12].slice(0);d=0;for(l=h.pb.length;d<l;d++)h.pb[d]=t[12][d].slice(0);h.Ga=[];h.$f=[];h.$f.length=f.da.length;h.mb=new La(0,0,0,0);h.hg=new La(0,0,-1,-1);h.dd=new La(0,0,-1,-1);h.Oc=new Ma;h.Do=[];h.gb=tc;h.PF=uc;h.Bc=vc;h.Qa=wc;h.JD=xc;h.ow=yc;h.We=zc}h.pe=!1;h.AD=0;h.zD=0;h.yD=null;14===t.length&&(h.pe=!0,h.AD=t[13][0],h.zD=t[13][1],h.yD=t[13][2]);d=0;for(l=f.da.length;d<l;d++)h.$f[d]=!0;h.Of=!0;h.Ke=Ac;h.Ke();h.pw=!!h.Ga.length;h.Co=!0;h.Go=!0;f.zl=!0;h.visible=
!0;h.Bk=-1;h.k=b;h.Le=b.e.length;h.kh=0;"undefined"===typeof h.ya&&(h.ya=null);this.Fa=h.eh=!0}var n;A(z);d=0;for(l=f.jb.length;d<l;d++)z.push.apply(z,f.jb[d].nb);z.push.apply(z,f.nb);if(h.Nd)for(d=0,l=z.length;d<l;d++){var m=z[d];n=h.ga[d];n.Nd=!0;m.behavior.ra.call(n,m,h);t=a[4][d];p=0;for(r=t.length;p<r;p++)n.C[p]=t[p];n.V();m.behavior.$m.add(h)}else for(h.ga=[],d=0,l=z.length;d<l;d++)m=z[d],n=new m.behavior.ra(m,h),n.Nd=!1,n.C=a[4][d].slice(0),n.V(),h.ga.push(n),m.behavior.$m.add(h);t=a[5];if(h.Nd)for(d=
0,l=t.length;d<l;d++)h.C[d]=t[d];else h.C=t.slice(0);this.ve.push(h);this.qg=!0;b&&(b.vj(h,!0),1!==b.ie||1!==b.je)&&(f.Al=!0);this.bn++;if(f.Hc){if(h.Hc=!0,h.Nd?A(h.siblings):h.siblings=[],!c&&!g){d=0;for(l=f.ld.length;d<l;d++)if(f.ld[d]!==f){if(!f.ld[d].ae)return null;h.siblings.push(this.ig(f.ld[d].ae,w,!1,v?h.x:e,v?h.y:k,!0))}d=0;for(l=h.siblings.length;d<l;d++)for(h.siblings[d].siblings.push(h),p=0;p<l;p++)d!==p&&h.siblings[d].siblings.push(h.siblings[p])}}else h.Hc=!1,h.siblings=null;h.V();d=
0;for(l=h.ga.length;d<l;d++)h.ga[d].iv&&h.ga[d].iv();return h};f.prototype.nm=function(a){var b,c;b=0;for(c=this.Za.P.length;b<c;b++){var e=this.Za.P[b];if(Hb(e.name,a))return e}return null};f.prototype.oi=function(a){a=Ha(a);0>a&&(a=0);a>=this.Za.P.length&&(a=this.Za.P.length-1);return this.Za.P[a]};f.prototype.jt=function(a){return wa(a)?this.oi(a):this.nm(a.toString())};f.prototype.Ko=function(a){var b,c;b=0;for(c=a.length;b<c;b++)a[b].Z().ka=!0};f.prototype.Qk=function(a){var b,c;b=0;for(c=a.length;b<
c;b++)a[b].Qk()};f.prototype.Rk=function(a){var b,c;b=0;for(c=a.length;b<c;b++)a[b].Rk()};f.prototype.Jg=function(a){var b,c;b=0;for(c=a.length;b<c;b++)a[b].Jg()};f.prototype.jw=function(a){if(a.zl){var b,c,e=a.e;b=0;for(c=e.length;b<c;++b)e[b].ow();e=this.ve;b=0;for(c=e.length;b<c;++b)e[b].type===a&&e[b].ow();a.zl=!1}};f.prototype.ft=function(a,b,c,e){var k,d,g=a?1!==a.ie||1!==a.je:!1;if(b.aa)for(a=0,k=b.Ki.length;a<k;++a)d=b.Ki[a],g||d.Al?Ya(e,d.e):(this.jw(d),d.Ml.zn(c,e));else g||b.Al?Ya(e,b.e):
(this.jw(b),b.Ml.zn(c,e))};f.prototype.Vn=function(a,b,c){var e=a.Z(),k,d,g,l,p=this.wb().Cb.Ld,r,f,h;if(e.ka)for(e.ka=!1,A(e.e),k=0,l=a.e.length;k<l;k++)g=a.e[k],g.Qa(),r=g.k.hc(b,c,!0),f=g.k.hc(b,c,!1),g.Bc(r,f)?e.e.push(g):p&&e.ja.push(g);else{d=0;h=p?e.ja:e.e;k=0;for(l=h.length;k<l;k++)g=h[k],g.Qa(),r=g.k.hc(b,c,!0),f=g.k.hc(b,c,!1),g.Bc(r,f)&&(p?e.e.push(g):(e.e[d]=e.e[k],d++));h.length=d}a.Xd();return e.zp()};f.prototype.Uv=function(a,b){if(!(a&&b&&a!==b&&a.eh&&b.eh))return!1;a.Qa();b.Qa();
var c=a.k,e=b.k,k,d,g,l,p,r,f,h;if(c===e||c.ie===e.ie&&e.je===e.je&&c.scale===e.scale&&c.j===e.j&&c.Me===e.Me){if(!a.mb.BB(b.mb)||!a.Oc.Bt(b.Oc)||a.pe&&b.pe)return!1;if(a.pe)return this.Vv(a,b);if(b.pe)return this.Vv(b,a);f=a.ya&&!a.ya.zh();k=b.ya&&!b.ya.zh();if(!f&&!k)return!0;f?(a.ya.dh(a.width,a.height,a.j),f=a.ya):(this.He.Yi(a.Oc,a.x,a.y,a.width,a.height),f=this.He);k?(b.ya.dh(b.width,b.height,b.j),h=b.ya):(this.He.Yi(b.Oc,b.x,b.y,b.width,b.height),h=this.He);return f.Vj(h,b.x-a.x,b.y-a.y)}f=
a.ya&&!a.ya.zh();k=b.ya&&!b.ya.zh();f?(a.ya.dh(a.width,a.height,a.j),this.He.Ev(a.ya)):this.He.Yi(a.Oc,a.x,a.y,a.width,a.height);f=this.He;k?(b.ya.dh(b.width,b.height,b.j),this.lr.Ev(b.ya)):this.lr.Yi(b.Oc,b.x,b.y,b.width,b.height);h=this.lr;k=0;for(d=f.ke;k<d;k++)g=2*k,l=g+1,p=f.Ib[g],r=f.Ib[l],f.Ib[g]=c.Ya(p+a.x,r+a.y,!0),f.Ib[l]=c.Ya(p+a.x,r+a.y,!1);f.Qa();k=0;for(d=h.ke;k<d;k++)g=2*k,l=g+1,p=h.Ib[g],r=h.Ib[l],h.Ib[g]=e.Ya(p+b.x,r+b.y,!0),h.Ib[l]=e.Ya(p+b.x,r+b.y,!1);h.Qa();return f.Vj(h,0,0)};
var O=new Ma;new La(0,0,0,0);var ea=[];f.prototype.Vv=function(a,b){var c,e,k,d,g=b.mb,l=a.x,p=a.y;a.VF(g,ea);var r=b.ya&&!b.ya.zh();c=0;for(e=ea.length;c<e;++c)if(k=ea[c],d=k.HC,g.CB(d,l,p)&&(O.Zk(d),O.offset(l,p),O.Bt(b.Oc)))if(r)if(b.ya.dh(b.width,b.height,b.j),k.Ig){if(k.Ig.Vj(b.ya,b.x-(l+d.left),b.y-(p+d.top)))return A(ea),!0}else{if(this.He.Yi(O,0,0,d.right-d.left,d.bottom-d.top),this.He.Vj(b.ya,b.x,b.y))return A(ea),!0}else if(k.Ig){if(this.He.Yi(b.Oc,0,0,b.width,b.height),k.Ig.Vj(this.He,
-(l+d.left),-(p+d.top)))return A(ea),!0}else return A(ea),!0;A(ea);return!1};f.prototype.ew=function(a,b){if(!b)return!1;var c,e,k,d,g;c=0;for(e=a.nb.length;c<e;c++)if(a.nb[c].behavior instanceof b)return!0;if(!a.aa)for(c=0,e=a.jb.length;c<e;c++)for(g=a.jb[c],k=0,d=g.nb.length;k<d;k++)if(g.nb[k].behavior instanceof b)return!0;return!1};f.prototype.tr=function(a){return this.ew(a,Rc.OE)};f.prototype.ur=function(a){return this.ew(a,Rc.RE)};f.prototype.kz=function(a,b){var c,e,k;c=0;for(e=this.An.length;c<
e;c++)if(k=this.An[c],k[0]==a&&k[1]==b||k[0]==b&&k[1]==a)return!0;return!1};var J=-1;f.prototype.trigger=function(a,b,c){if(!this.Za)return!1;var e=this.Za.mh;if(!e)return!1;var k=!1,d,g,l;J++;var p=e.Vo;g=0;for(l=p.length;g<l;++g)d=this.aw(a,b,p[g],c),k=k||d;d=this.aw(a,b,e,c);J--;return k||d};f.prototype.aw=function(a,b,c,e){var k=!1,d,g,l,p;if(b)for(l=this.rr(a,b,b.type.name,c,e),k=k||l,p=b.type.jb,d=0,g=p.length;d<g;++d)l=this.rr(a,b,p[d].name,c,e),k=k||l;else l=this.rr(a,b,"system",c,e),k=k||
l;return k};f.prototype.rr=function(a,b,c,e,k){var d,g=!1,l=!1,l="undefined"!==typeof k,p=(l?e.Ts:e.bw)[c];if(!p)return g;var r=null;e=0;for(d=p.length;e<d;++e)if(p[e].method==a){r=p[e].Jj;break}if(!r)return g;var f;l?f=r[k]:f=r;if(!f)return null;e=0;for(d=f.length;e<d;e++)a=f[e][0],k=f[e][1],l=this.HA(b,c,a,k),g=g||l;return g};f.prototype.HA=function(a,b,c,e){var k,d,g=!1;this.sr++;var l=this.wb().Cb;l&&this.Qk(l.Pg);var p=1<this.sr;this.Qk(c.Pg);p&&this.DC();var r=this.xn(c);r.Cb=c;a&&(k=this.types[b].Z(),
k.ka=!1,A(k.e),k.e[0]=a,this.types[b].Xd());a=!0;if(c.parent){b=r.Tv;for(k=c.parent;k;)b.push(k),k=k.parent;b.reverse();k=0;for(d=b.length;k<d;k++)if(!b[k].$C()){a=!1;break}}a&&(this.oh++,c.Ld?c.ZC(e):c.Jb(),g=g||r.Ch);this.qn();p&&this.tC();this.Jg(c.Pg);l&&this.Jg(l.Pg);this.qg&&0===this.Hd&&0===J&&!this.Op&&this.uc();this.sr--;return g};f.prototype.Nj=function(){var a=this.wb();return a.Cb.Nb[a.Bb]};f.prototype.GB=function(){return 0===this.wb().Bb};f.prototype.RA=function(){var a=this.wb();return a.Cb.Vd[a.Wc]};
f.prototype.DC=function(){this.Um++;this.Um>=this.hq.length&&this.hq.push([])};f.prototype.tC=function(){this.Um--};f.prototype.ht=function(){return this.hq[this.Um]};f.prototype.xn=function(a){this.$l++;this.$l>=this.$o.length&&this.$o.push(new Bc);var b=this.wb();b.reset(a);return b};f.prototype.qn=function(){this.$l--};f.prototype.wb=function(){return this.$o[this.$l]};f.prototype.EC=function(){this.Xm++;this.Xm>=this.jq.length&&this.jq.push(ca({name:void 0,index:0,fc:!1}));var a=this.SA();a.name=
void 0;a.index=0;a.fc=!1;return a};f.prototype.uC=function(){this.Xm--};f.prototype.SA=function(){return this.jq[this.Xm]};f.prototype.it=function(a,b){for(var c,e,k,d,g,l;b;){c=0;for(e=b.ne.length;c<e;c++)if(l=b.ne[c],l instanceof Cc&&Hb(a,l.name))return l;b=b.parent}c=0;for(e=this.wf.length;c<e;c++)for(g=this.wf[c],k=0,d=g.lg.length;k<d;k++)if(l=g.lg[k],l instanceof Cc&&Hb(a,l.name))return l;return null};f.prototype.kt=function(a){var b,c;b=0;for(c=this.Ae.length;b<c;b++)if(this.Ae[b].Aa===a)return this.Ae[b];
return null};f.prototype.pm=function(a){var b,c;b=0;for(c=this.G.length;b<c;b++)if(this.G[b].Aa===a)return this.G[b];return null};f.prototype.TA=function(a){var b,c;b=0;for(c=this.Zh.length;b<c;b++)if(this.Zh[b].Aa===a)return this.Zh[b];return null};f.prototype.Dz=function(a,b){this.dl=[a,b];this.Fa=!0};f.prototype.uB=function(){var a=this,b=this.Uq,c=this.Df,e=this.Pm,k=!1;this.Jv&&(k=!0,b="__c2_continuouspreview",this.Jv=!1);if(b.length){this.uc();c=this.dD();if(h()&&!this.nd)d(b,c,function(){sa("Saved state to IndexedDB storage ("+
c.length+" bytes)");a.Df=c;a.trigger(L.prototype.g.qo,null);a.Df="";k&&g()},function(e){try{localStorage.setItem("__c2save_"+b,c),sa("Saved state to WebStorage ("+c.length+" bytes)"),a.Df=c,a.trigger(L.prototype.g.qo,null),a.Df="",k&&g()}catch(d){sa("Failed to save game state: "+e+"; "+d),a.trigger(L.prototype.g.Rr,null)}});else try{localStorage.setItem("__c2save_"+b,c),sa("Saved state to WebStorage ("+c.length+" bytes)"),a.Df=c,this.trigger(L.prototype.g.qo,null),a.Df="",k&&g()}catch(l){sa("Error saving to WebStorage: "+
l),a.trigger(L.prototype.g.Rr,null)}this.Pm=this.Uq="";this.Sb=null}if(e.length){if(h()&&!this.nd)q(e,function(b){b?(a.Sb=b,sa("Loaded state from IndexedDB storage ("+a.Sb.length+" bytes)")):(a.Sb=localStorage.getItem("__c2save_"+e)||"",sa("Loaded state from WebStorage ("+a.Sb.length+" bytes)"));a.fl=!1;a.Sb||(a.Sb=null,a.trigger(L.prototype.g.sl,null))},function(){a.Sb=localStorage.getItem("__c2save_"+e)||"";sa("Loaded state from WebStorage ("+a.Sb.length+" bytes)");a.fl=!1;a.Sb||(a.Sb=null,a.trigger(L.prototype.g.sl,
null))});else{try{this.Sb=localStorage.getItem("__c2save_"+e)||"",sa("Loaded state from WebStorage ("+this.Sb.length+" bytes)")}catch(p){this.Sb=null}this.fl=!1;a.Sb||(a.Sb=null,a.trigger(L.prototype.g.sl,null))}this.Uq=this.Pm=""}null!==this.Sb&&(this.uc(),this.UB(this.Sb)?(this.Df=this.Sb,this.trigger(L.prototype.g.Mx,null),this.Df=""):a.trigger(L.prototype.g.sl,null),this.Sb=null)};f.prototype.dD=function(){var a,c,e,k,d,g,l,p={c2save:!0,version:1,rt:{time:this.Fb.qa,walltime:this.Vf.qa,timescale:this.Qg,
tickcount:this.Qd,execcount:this.oh,next_uid:this.Ek,running_layout:this.Za.Aa,start_time_offset:Date.now()-this.Rn},types:{},layouts:{},events:{groups:{},cnds:{},acts:{},vars:{}}};a=0;for(c=this.G.length;a<c;a++)if(d=this.G[a],!d.aa&&!this.tr(d)){g={instances:[]};pb(d.U)&&(g.ex=b(d.U));e=0;for(k=d.e.length;e<k;e++)g.instances.push(this.Tq(d.e[e]));p.types[d.Aa.toString()]=g}a=0;for(c=this.Ae.length;a<c;a++)e=this.Ae[a],p.layouts[e.Aa.toString()]=e.Ic();k=p.events.groups;a=0;for(c=this.Zh.length;a<
c;a++)e=this.Zh[a],k[e.Aa.toString()]=this.Rj[e.Qj].ri;c=p.events.cnds;for(l in this.gg)this.gg.hasOwnProperty(l)&&(a=this.gg[l],pb(a.U)&&(c[l]={ex:b(a.U)}));c=p.events.acts;for(l in this.ag)this.ag.hasOwnProperty(l)&&(a=this.ag[l],pb(a.U)&&(c[l]={ex:b(a.U)}));c=p.events.vars;for(l in this.qj)this.qj.hasOwnProperty(l)&&(a=this.qj[l],a.Fm||a.parent&&!a.fk||(c[l]=a.data));p.system=this.gf.Ic();return JSON.stringify(p)};f.prototype.nv=function(){var a,b,c,e,k,d;this.Hf={};a=0;for(b=this.G.length;a<b;a++)if(c=
this.G[a],!c.aa)for(e=0,k=c.e.length;e<k;e++)d=c.e[e],this.Hf[d.uid.toString()]=d};f.prototype.UB=function(a){var b;try{b=JSON.parse(a)}catch(c){return!1}if(!b.c2save||1<b.version)return!1;this.Zj=!0;a=b.rt;this.Fb.reset();this.Fb.qa=a.time;this.Vf.reset();this.Vf.qa=a.walltime||0;this.Qg=a.timescale;this.Qd=a.tickcount;this.oh=a.execcount;this.Rn=Date.now()-a.start_time_offset;var e=a.running_layout;if(e!==this.Za.Aa)if(e=this.kt(e))this.Ps(e);else return;var k,d,g,l,p,r,f;r=b.types;for(d in r)if(r.hasOwnProperty(d)&&
(l=this.pm(parseInt(d,10)))&&!l.aa&&!this.tr(l)){r[d].ex?l.U=r[d].ex:qb(l.U);p=l.e;g=r[d].instances;e=0;for(k=Fa(p.length,g.length);e<k;e++)this.Qm(p[e],g[e]);e=g.length;for(k=p.length;e<k;e++)this.Yf(p[e]);e=p.length;for(k=g.length;e<k;e++){p=null;if(l.Ea.vg&&(p=this.Za.om(g[e].w.l),!p))continue;p=this.ig(l.ae,p,!1,0,0,!0);this.Qm(p,g[e])}l.$i=!0}this.uc();this.nv();k=b.layouts;for(d in k)k.hasOwnProperty(d)&&(e=this.kt(parseInt(d,10)))&&e.bd(k[d]);k=b.events.groups;for(d in k)k.hasOwnProperty(d)&&
(e=this.TA(parseInt(d,10)))&&this.Rj[e.Qj]&&this.Rj[e.Qj].hD(k[d]);e=b.events.cnds;for(d in this.gg)this.gg.hasOwnProperty(d)&&(e.hasOwnProperty(d)?this.gg[d].U=e[d].ex:this.gg[d].U={});e=b.events.acts;for(d in this.ag)this.ag.hasOwnProperty(d)&&(e.hasOwnProperty(d)?this.ag[d].U=e[d].ex:this.ag[d].U={});e=b.events.vars;for(d in e)e.hasOwnProperty(d)&&this.qj.hasOwnProperty(d)&&(this.qj[d].data=e[d]);this.Ek=a.next_uid;this.Zj=!1;e=0;for(k=this.fm.length;e<k;++e)p=this.fm[e],this.trigger(Object.getPrototypeOf(p.type.Ea).g.Xh,
p);A(this.fm);this.gf.bd(b.system);e=0;for(k=this.G.length;e<k;e++)if(l=this.G[e],!l.aa&&!this.tr(l))for(b=0,d=l.e.length;b<d;b++){p=l.e[b];if(l.Hc)for(r=p.Pj(),A(p.siblings),a=0,g=l.ld.length;a<g;a++)f=l.ld[a],l!==f&&p.siblings.push(f.e[r]);p.Ne&&p.Ne();if(p.ga)for(a=0,g=p.ga.length;a<g;a++)r=p.ga[a],r.Ne&&r.Ne()}return this.Fa=!0};f.prototype.Tq=function(a,c){var e,k,d,g,l;g=a.type;d=g.Ea;var p={};c?p.c2=!0:p.uid=a.uid;pb(a.U)&&(p.ex=b(a.U));if(a.Pb&&a.Pb.length)for(p.ivs={},e=0,k=a.Pb.length;e<
k;e++)p.ivs[a.type.Ip[e].toString()]=a.Pb[e];if(d.vg){d={x:a.x,y:a.y,w:a.width,h:a.height,l:a.k.Aa,zi:a.We()};0!==a.j&&(d.a=a.j);1!==a.opacity&&(d.o=a.opacity);.5!==a.lc&&(d.hX=a.lc);.5!==a.mc&&(d.hY=a.mc);0!==a.wc&&(d.bm=a.wc);a.visible||(d.v=a.visible);a.eh||(d.ce=a.eh);-1!==a.Bk&&(d.mts=a.Bk);if(g.da.length)for(d.fx=[],e=0,k=g.da.length;e<k;e++)l=g.da[e],d.fx.push({name:l.name,active:a.$f[l.index],params:a.pb[l.index]});p.w=d}if(a.ga&&a.ga.length)for(p.behs={},e=0,k=a.ga.length;e<k;e++)g=a.ga[e],
g.Ic&&(p.behs[g.type.Aa.toString()]=g.Ic());a.Ic&&(p.data=a.Ic());return p};f.prototype.VA=function(a,b){var c,e;c=0;for(e=a.Ip.length;c<e;c++)if(a.Ip[c]===b)return c;return-1};f.prototype.QA=function(a,b){var c,e;c=0;for(e=a.ga.length;c<e;c++)if(a.ga[c].type.Aa===b)return c;return-1};f.prototype.Qm=function(a,b,c){var e,k,d,g,l;l=a.type;g=l.Ea;if(c){if(!b.c2)return}else a.uid=b.uid;b.ex?a.U=b.ex:qb(a.U);if(k=b.ivs)for(e in k)k.hasOwnProperty(e)&&(d=this.VA(l,parseInt(e,10)),0>d||d>=a.Pb.length||
(a.Pb[d]=k[e]));if(g.vg){d=b.w;a.k.Aa!==d.l&&(k=a.k,a.k=this.Za.om(d.l),a.k?(k.Ui(a,!0),a.k.vj(a,!0),a.gb(),a.k.Yk(0)):(a.k=k,c||this.Yf(a)));a.x=d.x;a.y=d.y;a.width=d.w;a.height=d.h;a.Le=d.zi;a.j=d.hasOwnProperty("a")?d.a:0;a.opacity=d.hasOwnProperty("o")?d.o:1;a.lc=d.hasOwnProperty("hX")?d.hX:.5;a.mc=d.hasOwnProperty("hY")?d.hY:.5;a.visible=d.hasOwnProperty("v")?d.v:!0;a.eh=d.hasOwnProperty("ce")?d.ce:!0;a.Bk=d.hasOwnProperty("mts")?d.mts:-1;a.wc=d.hasOwnProperty("bm")?d.bm:0;a.Aj=Eb(a.wc);this.I&&
Fb(a,a.wc,this.I);a.gb();if(d.hasOwnProperty("fx"))for(c=0,k=d.fx.length;c<k;c++)g=l.pp(d.fx[c].name),0>g||(a.$f[g]=d.fx[c].active,a.pb[g]=d.fx[c].params);a.Ke()}if(l=b.behs)for(e in l)l.hasOwnProperty(e)&&(c=this.QA(a,parseInt(e,10)),0>c||a.ga[c].bd(l[e]));b.data&&a.bd(b.data)};f.prototype.Us=function(a,b,c){window.resolveLocalFileSystemURL(cordova.file.applicationDirectory+"www/"+a,function(a){a.file(b,c)},c)};f.prototype.IA=function(a,b){this.Us("data.js",function(c){var e=new FileReader;e.onload=
function(b){a(b.target.result)};e.onerror=b;e.readAsText(c)},b)};var ka=[],W=0;f.prototype.kq=function(){if(ka.length&&!(8<=W)){W++;var a=ka.shift();this.Gz(a.filename,a.wD,a.eA)}};f.prototype.Vs=function(a,b,c){var e=this;ka.push({filename:a,wD:function(a){W--;e.kq();b(a)},eA:function(a){W--;e.kq();c(a)}});this.kq()};f.prototype.Gz=function(a,b,c){this.Us(a,function(a){var c=new FileReader;c.onload=function(a){b(a.target.result)};c.readAsArrayBuffer(a)},c)};f.prototype.JA=function(a,b,c){this.Vs(a,
function(a){a=URL.createObjectURL(new Blob([a]));b(a)},c)};f.prototype.DB=function(a){return/^(?:[a-z]+:)?\/\//.test(a)||"data:"===a.substr(0,5)||"blob:"===a.substr(0,5)};f.prototype.zv=function(a,b){this.dk&&!this.DB(b)?this.JA(b,function(b){a.src=b},function(a){alert("Failed to load image: "+a)}):a.src=b};f.prototype.Jn=function(a,b){"undefined"!==typeof a.imageSmoothingEnabled?a.imageSmoothingEnabled=b:(a.webkitImageSmoothingEnabled=b,a.mozImageSmoothingEnabled=b,a.msImageSmoothingEnabled=b)};
Dc=function(a){return new f(document.getElementById(a))};Ec=function(a,b){return new f({dc:!0,width:a,height:b})};window.cr_createRuntime=Dc;window.cr_createDCRuntime=Ec;window.createCocoonJSRuntime=function(){window.c2cocoonjs=!0;var a=document.createElement("screencanvas")||document.createElement("canvas");a.Ve=!0;document.body.appendChild(a);a=new f(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 f(document.getElementById("canvas"));window.c2runtime=a;window.c2runtime.setSize(window.innerWidth,window.innerHeight);return a}})();window.cr_getC2Runtime=function(){var f=document.getElementById("c2canvas");return f?f.c2runtime:window.c2runtime?window.c2runtime:null};window.cr_getSnapshot=function(f,n){var h=window.cr_getC2Runtime();h&&h.Dz(f,n)};
window.cr_sizeCanvas=function(f,n){if(0!==f&&0!==n){var h=window.cr_getC2Runtime();h&&h.setSize(f,n)}};window.cr_setSuspended=function(f){var n=window.cr_getC2Runtime();n&&n.setSuspended(f)};
(function(){function f(a,b){this.b=a;this.mh=null;this.scrollX=this.b.Ub/2;this.scrollY=this.b.Tb/2;this.scale=1;this.j=0;this.ni=!0;this.name=b[0];this.oC=b[1];this.nC=b[2];this.width=b[1];this.height=b[2];this.fw=b[3];this.Hv=b[4];this.Aa=b[5];var c=b[6],e,d;this.P=[];this.Uj=[];e=0;for(d=c.length;e<d;e++){var g=new Fc(this,c[e]);g.Gu=e;this.P.push(g)}c=b[7];this.vh=[];e=0;for(d=c.length;e<d;e++){var g=c[e],f=this.b.G[g[1]];f.ae||(f.ae=g);this.vh.push(g);-1===this.Uj.indexOf(f)&&this.Uj.push(f)}this.da=
[];this.Ga=[];this.Of=!0;this.pb=[];e=0;for(d=b[8].length;e<d;e++)this.da.push({id:b[8][e][0],name:b[8][e][1],Lb:-1,Ee:!1,H:!0,index:e}),this.pb.push(b[8][e][2].slice(0));this.Ke();this.Mg=new La(0,0,1,1);this.Lq=new La(0,0,1,1);this.Hg={}}function n(a,b){return a.Le-b.Le}function h(a,b){this.Rb=a;this.b=a.b;this.e=[];this.scale=1;this.j=0;this.vf=!1;this.Sf=new La(0,0,0,0);this.$v=new Ma;this.cb=this.Wa=this.$a=this.Va=0;this.Uh=!1;this.Wf=-1;this.Lo=0;this.name=b[0];this.index=b[1];this.Aa=b[2];
this.visible=b[3];this.vc=b[4];this.Je=b[5];this.ie=b[6];this.je=b[7];this.opacity=b[8];this.im=b[9];this.Ud=b[10];this.Me=b[11];this.wc=b[12];this.aA=b[13];this.Aj="source-over";this.Dc=this.Jc=0;this.qc=null;this.Ef=m();this.Ge=!0;this.Fi=new La(0,0,-1,-1);this.jc=new La(0,0,-1,-1);this.Ud&&(this.qc=new Db(this.b.Ub,this.b.Tb));this.ef=!1;var c=b[14],e,d;this.Mv=[];this.Gd=[];this.Cj=[];e=0;for(d=c.length;e<d;e++){var g=c[e],f=this.b.G[g[1]];f.ae||(f.ae=g,f.Bz=this.index);this.Gd.push(g);-1===this.Rb.Uj.indexOf(f)&&
this.Rb.Uj.push(f)}Xa(this.Mv,this.Gd);this.da=[];this.Ga=[];this.Of=!0;this.pb=[];e=0;for(d=b[15].length;e<d;e++)this.da.push({id:b[15][e][0],name:b[15][e][1],Lb:-1,Ee:!1,H:!0,index:e}),this.pb.push(b[15][e][2].slice(0));this.Ke();this.Mg=new La(0,0,1,1);this.Lq=new La(0,0,1,1)}function m(){return b.length?b.pop():[]}function d(a){A(a);b.push(a)}f.prototype.cD=function(a){var b=a.type.Aa.toString();this.Hg.hasOwnProperty(b)||(this.Hg[b]=[]);this.Hg[b].push(this.b.Tq(a))};f.prototype.pt=function(){var a=
this.P[0];return!a.Je&&1===a.opacity&&!a.im&&a.visible};f.prototype.Ke=function(){A(this.Ga);this.Of=!0;var a,b,c;a=0;for(b=this.da.length;a<b;a++)c=this.da[a],c.H&&(this.Ga.push(c),c.Ee||(this.Of=!1))};f.prototype.op=function(a){var b,c,e;b=0;for(c=this.da.length;b<c;b++)if(e=this.da[b],e.name===a)return e;return null};var q=[],g=!0;f.prototype.fr=function(){this.Hv&&(this.mh=this.b.bp[this.Hv],this.mh.yr());this.b.Za=this;this.width=this.oC;this.height=this.nC;this.scrollX=this.b.Ub/2;this.scrollY=
this.b.Tb/2;var a,b,c,e,d,f,h;a=0;for(c=this.b.G.length;a<c;a++)if(b=this.b.G[a],!b.aa)for(d=b.e,b=0,e=d.length;b<e;b++)if(f=d[b],f.k){var l=f.k.Gu;l>=this.P.length&&(l=this.P.length-1);f.k=this.P[l];-1===f.k.e.indexOf(f)&&f.k.e.push(f);f.k.Uh=!0}if(!g)for(a=0,c=this.P.length;a<c;++a)this.P[a].e.sort(n);A(q);this.gz();a=0;for(c=this.P.length;a<c;a++)f=this.P[a],f.xz(),f.io();d=!1;if(!this.ni){for(h in this.Hg)if(this.Hg.hasOwnProperty(h)&&(b=this.b.pm(parseInt(h,10)))&&!b.aa&&this.b.ur(b)){e=this.Hg[h];
a=0;for(c=e.length;a<c;a++){f=null;if(b.Ea.vg&&(f=this.om(e[a].w.l),!f))continue;f=this.b.ig(b.ae,f,!1,0,0,!0);this.b.Qm(f,e[a]);d=!0;q.push(f)}A(e)}a=0;for(c=this.P.length;a<c;a++)this.P[a].e.sort(n),this.P[a].Uh=!0}d&&(this.b.uc(),this.b.nv());for(a=0;a<q.length;a++)if(f=q[a],f.type.Hc)for(c=f.Pj(),b=0,e=f.type.ld.length;b<e;b++)h=f.type.ld[b],f.type!==h&&(h.e.length>c?f.siblings.push(h.e[c]):h.ae&&(d=this.b.ig(h.ae,f.k,!0,f.x,f.y,!0),this.b.uc(),h.eo(),f.siblings.push(d),q.push(d)));a=0;for(c=
this.vh.length;a<c;a++)this.b.ig(this.vh[a],null,!0);this.b.yj=null;this.b.uc();if(this.b.ib&&!this.b.bb)for(a=0,c=this.b.G.length;a<c;a++)h=this.b.G[a],!h.aa&&h.e.length&&h.Gq&&h.Gq(this.b.ib);if(this.b.Zj)Xa(this.b.fm,q);else for(a=0,c=q.length;a<c;a++)f=q[a],this.b.trigger(Object.getPrototypeOf(f.type.Ea).g.Xh,f);A(q);this.b.Zj||this.b.trigger(L.prototype.g.Nr,null);this.ni=!1};f.prototype.wz=function(){var a,b,c,e,d;b=a=0;for(c=this.vh.length;a<c;a++)e=this.vh[a],d=this.b.G[e[1]],d.global?d.Hc||
this.b.ig(e,null,!0):(this.vh[b]=e,b++);Wa(this.vh,b)};f.prototype.vD=function(){this.b.Zj||this.b.trigger(L.prototype.g.Lx,null);this.b.Kp=!0;A(this.b.gf.hd);var a,b,c,e,d,f;if(!this.ni)for(a=0,b=this.P.length;a<b;a++)for(this.P[a].Br(),d=this.P[a].e,c=0,e=d.length;c<e;c++)f=d[c],f.type.global||this.b.ur(f.type)&&this.cD(f);a=0;for(b=this.P.length;a<b;a++){d=this.P[a].e;c=0;for(e=d.length;c<e;c++)f=d[c],f.type.global||this.b.Yf(f);this.b.uc();A(d);this.P[a].Uh=!0}a=0;for(b=this.b.G.length;a<b;a++)if(d=
this.b.G[a],!(d.global||d.Ea.vg||d.Ea.Qn||d.aa)){c=0;for(e=d.e.length;c<e;c++)this.b.Yf(d.e[c]);this.b.uc()}g=!1;this.b.Kp=!1};new La(0,0,0,0);f.prototype.Cd=function(a){var b,c=a,e=!1,d=!this.b.Dd;d&&(this.b.Om||(this.b.Om=document.createElement("canvas"),b=this.b.Om,b.width=this.b.S,b.height=this.b.R,this.b.Yt=b.getContext("2d"),e=!0),b=this.b.Om,c=this.b.Yt,b.width!==this.b.S&&(b.width=this.b.S,e=!0),b.height!==this.b.R&&(b.height=this.b.R,e=!0),e&&this.b.Jn(c,this.b.kb));c.globalAlpha=1;c.globalCompositeOperation=
"source-over";this.b.Bs&&!this.pt()&&c.clearRect(0,0,this.b.S,this.b.R);var g,f,e=0;for(g=this.P.length;e<g;e++)f=this.P[e],f.visible&&0<f.opacity&&11!==f.wc&&(f.e.length||!f.Je)?f.Cd(c):f.io();d&&a.drawImage(b,0,0,this.b.width,this.b.height)};f.prototype.hh=function(a){a.yv(!0);this.b.Gb||(this.b.Gb=a.Bd(this.b.S,this.b.R,this.b.kb));if(this.b.Gb.bh!==this.b.S||this.b.Gb.ah!==this.b.R)a.deleteTexture(this.b.Gb),this.b.Gb=a.Bd(this.b.S,this.b.R,this.b.kb);a.me(this.b.Gb);this.b.Dd||a.Oh(this.b.S,
this.b.R);var b,c;for(b=this.P.length-1;0<=b;--b)c=this.P[b],c.visible&&1===c.opacity&&c.Of&&0===c.wc&&(c.e.length||!c.Je)?c.hh(a):c.io();a.yv(!1)};f.prototype.Ec=function(a){var b=0<this.Ga.length||this.b.mj||!this.b.Dd||this.b.fb;if(b){this.b.Gb||(this.b.Gb=a.Bd(this.b.S,this.b.R,this.b.kb));if(this.b.Gb.bh!==this.b.S||this.b.Gb.ah!==this.b.R)a.deleteTexture(this.b.Gb),this.b.Gb=a.Bd(this.b.S,this.b.R,this.b.kb);a.me(this.b.Gb);this.b.Dd||a.Oh(this.b.S,this.b.R)}else this.b.Gb&&(a.me(null),a.deleteTexture(this.b.Gb),
this.b.Gb=null);this.b.Bs&&!this.pt()&&a.clear(0,0,0,0);var c,e,d;c=0;for(e=this.P.length;c<e;c++)d=this.P[c],d.visible&&0<d.opacity&&(d.e.length||!d.Je)?d.Ec(a):d.io();b&&(0===this.Ga.length||1===this.Ga.length&&this.b.Dd?(1===this.Ga.length?(b=this.Ga[0].index,a.fd(this.Ga[0].Lb),a.Xi(null,1/this.b.S,1/this.b.R,0,0,1,1,this.scale,this.j,0,0,this.b.S/2,this.b.R/2,this.b.Fb.qa,this.pb[b]),a.vn(this.Ga[0].Lb)&&(this.b.Fa=!0)):a.fd(0),this.b.Dd||a.Oh(this.b.width,this.b.height),a.me(null),a.xv(!1),
a.Nh(1),a.yd(this.b.Gb),a.tv(),a.le(),a.Td(),b=this.b.width/2,c=this.b.height/2,a.Sk(-b,c,b,c,b,-c,-b,-c),a.yd(null),a.xv(!0)):this.Mq(a,null,null,null))};f.prototype.Oj=function(){return 0<this.Ga.length||this.b.mj||!this.b.Dd||this.b.fb?this.b.Gb:null};f.prototype.lt=function(){var a=this.P[0].$c(),b,c,e;b=1;for(c=this.P.length;b<c;b++)e=this.P[b],(0!==e.ie||0!==e.je)&&e.$c()<a&&(a=e.$c());return a};f.prototype.Vq=function(a){if(!this.fw){var b=1/this.lt()*this.b.S/2;a>this.width-b&&(a=this.width-
b);a<b&&(a=b)}this.scrollX!==a&&(this.scrollX=a,this.b.Fa=!0)};f.prototype.Wq=function(a){if(!this.fw){var b=1/this.lt()*this.b.R/2;a>this.height-b&&(a=this.height-b);a<b&&(a=b)}this.scrollY!==a&&(this.scrollY=a,this.b.Fa=!0)};f.prototype.gz=function(){this.Vq(this.scrollX);this.Wq(this.scrollY)};f.prototype.Mq=function(a,b,c,e){var d=c?c.Ga:b?b.Ga:this.Ga,g=1,f=0,l=0,p=0,h=this.b.S,w=this.b.R;c?(g=c.k.$c(),f=c.k.ub(),l=c.k.Va,p=c.k.Wa,h=c.k.$a,w=c.k.cb):b&&(g=b.$c(),f=b.ub(),l=b.Va,p=b.Wa,h=b.$a,
w=b.cb);var n=this.b.lp,m,q,x,z,O=0,ea=1,J,ka,W=this.b.S,u=this.b.R,V=W/2,B=u/2,R=b?b.Mg:this.Mg,C=b?b.Lq:this.Lq,Q=0,N=0,M=0,H=0,S=W,ja=W,K=u,Ia=u,Aa=x=0;z=c?c.k.ub():0;if(c){m=0;for(q=d.length;m<q;m++)x+=a.ZA(d[m].Lb),Aa+=a.$A(d[m].Lb);H=c.mb;Q=b.Ya(H.left,H.top,!0,!0);M=b.Ya(H.left,H.top,!1,!0);S=b.Ya(H.right,H.bottom,!0,!0);K=b.Ya(H.right,H.bottom,!1,!0);0!==z&&(m=b.Ya(H.right,H.top,!0,!0),q=b.Ya(H.right,H.top,!1,!0),N=b.Ya(H.left,H.bottom,!0,!0),H=b.Ya(H.left,H.bottom,!1,!0),z=Math.min(Q,S,m,
N),S=Math.max(Q,S,m,N),Q=z,z=Math.min(M,K,q,H),K=Math.max(M,K,q,H),M=z);Q-=x;M-=Aa;S+=x;K+=Aa;C.left=Q/W;C.top=1-M/u;C.right=S/W;C.bottom=1-K/u;N=Q=Ha(Q);H=M=Ha(M);ja=S=Ja(S);Ia=K=Ja(K);N-=x;H-=Aa;ja+=x;Ia+=Aa;0>Q&&(Q=0);0>M&&(M=0);S>W&&(S=W);K>u&&(K=u);0>N&&(N=0);0>H&&(H=0);ja>W&&(ja=W);Ia>u&&(Ia=u);R.left=Q/W;R.top=1-M/u;R.right=S/W;R.bottom=1-K/u}else R.left=C.left=0,R.top=C.top=0,R.right=C.right=1,R.bottom=C.bottom=1;Aa=c&&(a.Pk(d[0].Lb)||0!==x||0!==Aa||1!==c.opacity||c.type.Ea.Au)||b&&!c&&1!==
b.opacity;a.tv();if(Aa){n[O]||(n[O]=a.Bd(W,u,this.b.kb));if(n[O].bh!==W||n[O].ah!==u)a.deleteTexture(n[O]),n[O]=a.Bd(W,u,this.b.kb);a.fd(0);a.me(n[O]);ka=Ia-H;a.clearRect(N,u-H-ka,ja-N,ka);c?c.Ec(a):(a.yd(this.b.Qb),a.Nh(b.opacity),a.le(),a.translate(-V,-B),a.Td(),a.df(Q,K,S,K,S,M,Q,M,R));C.left=C.top=0;C.right=C.bottom=1;c&&(z=R.top,R.top=R.bottom,R.bottom=z);O=1;ea=0}a.Nh(1);x=d.length-1;var na=a.Iq(d[x].Lb)||!b&&!c&&!this.b.Dd;m=z=0;for(q=d.length;m<q;m++){n[O]||(n[O]=a.Bd(W,u,this.b.kb));if(n[O].bh!==
W||n[O].ah!==u)a.deleteTexture(n[O]),n[O]=a.Bd(W,u,this.b.kb);a.fd(d[m].Lb);z=d[m].index;a.vn(d[m].Lb)&&(this.b.Fa=!0);0!=m||Aa?(a.Xi(e,1/W,1/u,C.left,C.top,C.right,C.bottom,g,f,l,p,(l+h)/2,(p+w)/2,this.b.Fb.qa,c?c.pb[z]:b?b.pb[z]:this.pb[z]),a.yd(null),m!==x||na?(a.me(n[O]),ka=Ia-H,J=u-H-ka,a.clearRect(N,J,ja-N,ka)):(c?a.Og(c.Jc,c.Dc):b&&a.Og(b.Jc,b.Dc),a.me(e)),a.yd(n[ea]),a.le(),a.translate(-V,-B),a.Td(),a.df(Q,K,S,K,S,M,Q,M,R),m!==x||na||a.yd(null)):(a.me(n[O]),ka=Ia-H,J=u-H-ka,a.clearRect(N,
J,ja-N,ka),c?(c.ic&&c.ic.xa?(J=c.ic.xa,ea=1/J.width,J=1/J.height):(ea=1/c.width,J=1/c.height),a.Xi(e,ea,J,C.left,C.top,C.right,C.bottom,g,f,l,p,(l+h)/2,(p+w)/2,this.b.Fb.qa,c.pb[z]),c.Ec(a)):(a.Xi(e,1/W,1/u,0,0,1,1,g,f,l,p,(l+h)/2,(p+w)/2,this.b.Fb.qa,b?b.pb[z]:this.pb[z]),a.yd(b?this.b.Qb:this.b.Gb),a.le(),a.translate(-V,-B),a.Td(),a.df(Q,K,S,K,S,M,Q,M,R)),C.left=C.top=0,C.right=C.bottom=1,c&&!na&&(z=K,K=M,M=z));O=0===O?1:0;ea=0===O?1:0}na&&(a.fd(0),c?a.Og(c.Jc,c.Dc):b?a.Og(b.Jc,b.Dc):this.b.Dd||
(a.Oh(this.b.width,this.b.height),V=this.b.width/2,B=this.b.height/2,M=Q=0,S=this.b.width,K=this.b.height),a.me(e),a.yd(n[ea]),a.le(),a.translate(-V,-B),a.Td(),c&&1===d.length&&!Aa?a.df(Q,M,S,M,S,K,Q,K,R):a.df(Q,K,S,K,S,M,Q,M,R),a.yd(null))};f.prototype.om=function(a){var b,c;b=0;for(c=this.P.length;b<c;b++)if(this.P[b].Aa===a)return this.P[b];return null};f.prototype.Ic=function(){var a,b,c,e={sx:this.scrollX,sy:this.scrollY,s:this.scale,a:this.j,w:this.width,h:this.height,fv:this.ni,persist:this.Hg,
fx:[],layers:{}};a=0;for(b=this.da.length;a<b;a++)c=this.da[a],e.fx.push({name:c.name,active:c.H,params:this.pb[c.index]});a=0;for(b=this.P.length;a<b;a++)c=this.P[a],e.layers[c.Aa.toString()]=c.Ic();return e};f.prototype.bd=function(a){var b,c,e,d;this.scrollX=a.sx;this.scrollY=a.sy;this.scale=a.s;this.j=a.a;this.width=a.w;this.height=a.h;this.Hg=a.persist;"undefined"!==typeof a.fv&&(this.ni=a.fv);var g=a.fx;b=0;for(c=g.length;b<c;b++)if(e=this.op(g[b].name))e.H=g[b].active,this.pb[e.index]=g[b].params;
this.Ke();b=a.layers;for(d in b)b.hasOwnProperty(d)&&(a=this.om(parseInt(d,10)))&&a.bd(b[d])};rc=f;h.prototype.Ke=function(){A(this.Ga);this.Of=!0;var a,b,c;a=0;for(b=this.da.length;a<b;a++)c=this.da[a],c.H&&(this.Ga.push(c),c.Ee||(this.Of=!1))};h.prototype.op=function(a){var b,c,e;b=0;for(c=this.da.length;b<c;b++)if(e=this.da[b],e.name===a)return e;return null};h.prototype.xz=function(){var a,b,c,e,d,g;b=a=0;for(c=this.Gd.length;a<c;a++){e=this.Gd[a];d=this.b.G[e[1]];g=this.b.ur(d);d=!0;if(!g||this.Rb.ni){e=
this.b.ig(e,this,!0);if(!e)continue;q.push(e);e.type.global&&(d=!1,this.Cj.push(e.uid))}d&&(this.Gd[b]=this.Gd[a],b++)}this.Gd.length=b;this.b.uc();!this.b.D&&this.da.length&&(this.wc=this.aA);this.Aj=Eb(this.wc);this.b.I&&Fb(this,this.wc,this.b.I);this.Ge=!0};h.prototype.Ui=function(a,b){var c=Za(this.e,a);0>c||(b&&this.Ud&&a.dd&&a.dd.right>=a.dd.left&&(a.Qa(),this.qc.update(a,a.dd,null),a.dd.set(0,0,-1,-1)),c===this.e.length-1?this.e.pop():(Ta(this.e,c),this.Yk(c)),this.Ge=!0)};h.prototype.vj=function(a,
b){a.Le=this.e.length;this.e.push(a);b&&this.Ud&&a.dd&&a.gb();this.Ge=!0};h.prototype.zC=function(a){this.e.unshift(a);this.Yk(0)};h.prototype.bC=function(a,b,c){var e=a.We();b=b.We();Ta(this.e,e);e<b&&b--;c&&b++;b===this.e.length?this.e.push(a):this.e.splice(b,0,a);this.Yk(e<b?e:b)};h.prototype.Yk=function(a){-1===this.Wf?this.Wf=a:a<this.Wf&&(this.Wf=a);this.Ge=this.Uh=!0};h.prototype.Br=function(){if(this.Uh){-1===this.Wf&&(this.Wf=0);var a,b,c;if(this.Ud)for(a=this.Wf,b=this.e.length;a<b;++a)c=
this.e[a],c.Le=a,this.qc.ZB(c.dd);else for(a=this.Wf,b=this.e.length;a<b;++a)this.e[a].Le=a;this.Uh=!1;this.Wf=-1}};h.prototype.$c=function(a){return this.WA()*(this.b.Dd||a?this.b.wj:1)};h.prototype.WA=function(){return(this.scale*this.Rb.scale-1)*this.Me+1};h.prototype.ub=function(){return this.vf?0:fb(this.Rb.j+this.j)};var b=[],c=[],e=[];h.prototype.tp=function(){this.Br();this.qc.zn(this.Va,this.Wa,this.$a,this.cb,e);if(!e.length)return m();if(1===e.length){var a=m();Xa(a,e[0]);A(e);return a}for(var b=
!0;1<e.length;){for(var a=e,g=void 0,f=void 0,h=void 0,n=void 0,t=void 0,g=0,f=a.length;g<f-1;g+=2){var h=a[g],n=a[g+1],t=m(),l=h,p=n,q=t,w=0,D=0,I=0,U=l.length,x=p.length,z=void 0,O=void 0;for(q.length=U+x;w<U&&D<x;++I)z=l[w],O=p[D],z.Le<O.Le?(q[I]=z,++w):(q[I]=O,++D);for(;w<U;++w,++I)q[I]=l[w];for(;D<x;++D,++I)q[I]=p[D];b||(d(h),d(n));c.push(t)}1===f%2&&(b?(h=m(),Xa(h,a[f-1]),c.push(h)):c.push(a[f-1]));Xa(a,c);A(c);b=!1}a=e[0];A(e);return a};h.prototype.Cd=function(a){this.ef=this.im||1!==this.opacity||
0!==this.wc;var b=this.b.canvas,c=a,e=!1;this.ef&&(this.b.Nm||(this.b.Nm=document.createElement("canvas"),b=this.b.Nm,b.width=this.b.S,b.height=this.b.R,this.b.Xt=b.getContext("2d"),e=!0),b=this.b.Nm,c=this.b.Xt,b.width!==this.b.S&&(b.width=this.b.S,e=!0),b.height!==this.b.R&&(b.height=this.b.R,e=!0),e&&this.b.Jn(c,this.b.kb),this.Je&&c.clearRect(0,0,this.b.S,this.b.R));c.globalAlpha=1;c.globalCompositeOperation="source-over";this.Je||(c.fillStyle="rgb("+this.vc[0]+","+this.vc[1]+","+this.vc[2]+")",
c.fillRect(0,0,this.b.S,this.b.R));c.save();this.vf=!0;var e=this.hc(0,0,!0,!0),g=this.hc(0,0,!1,!0);this.vf=!1;this.b.De&&(e=Math.round(e),g=Math.round(g));this.En(e,g,c);var f=this.$c();c.scale(f,f);c.translate(-e,-g);this.Ud?(this.jc.left=this.qc.Uc(this.Va),this.jc.top=this.qc.Vc(this.Wa),this.jc.right=this.qc.Uc(this.$a),this.jc.bottom=this.qc.Vc(this.cb),this.Ge||!this.jc.Ij(this.Fi)?(d(this.Ef),e=this.tp(),this.Ge=!1,this.Fi.ei(this.jc)):e=this.Ef):e=this.e;for(var h,l=null,g=0,f=e.length;g<
f;++g)h=e[g],h!==l&&(this.Vz(h,c),l=h);this.Ud&&(this.Ef=e);c.restore();this.ef&&(a.globalCompositeOperation=this.Aj,a.globalAlpha=this.opacity,a.drawImage(b,0,0))};h.prototype.Vz=function(a,b){if(a.visible&&0!==a.width&&0!==a.height){a.Qa();var c=a.mb;c.right<this.Va||c.bottom<this.Wa||c.left>this.$a||c.top>this.cb||(b.globalCompositeOperation=a.Aj,a.Cd(b))}};h.prototype.io=function(){this.vf=!0;var a=this.hc(0,0,!0,!0),b=this.hc(0,0,!1,!0);this.vf=!1;this.b.De&&(a=Math.round(a),b=Math.round(b));
this.En(a,b,null)};h.prototype.En=function(a,b,c){var e=this.$c();this.Va=a;this.Wa=b;this.$a=a+1/e*this.b.S;this.cb=b+1/e*this.b.R;this.Va>this.$a&&(a=this.Va,this.Va=this.$a,this.$a=a);this.Wa>this.cb&&(a=this.Wa,this.Wa=this.cb,this.cb=a);a=this.ub();0!==a&&(c&&(c.translate(this.b.S/2,this.b.R/2),c.rotate(-a),c.translate(this.b.S/-2,this.b.R/-2)),this.Sf.set(this.Va,this.Wa,this.$a,this.cb),this.Sf.offset((this.Va+this.$a)/-2,(this.Wa+this.cb)/-2),this.$v.Fv(this.Sf,a),this.$v.vs(this.Sf),this.Sf.offset((this.Va+
this.$a)/2,(this.Wa+this.cb)/2),this.Va=this.Sf.left,this.Wa=this.Sf.top,this.$a=this.Sf.right,this.cb=this.Sf.bottom)};h.prototype.hh=function(a){if(this.ef=this.im){this.b.Qb||(this.b.Qb=a.Bd(this.b.S,this.b.R,this.b.kb));if(this.b.Qb.bh!==this.b.S||this.b.Qb.ah!==this.b.R)a.deleteTexture(this.b.Qb),this.b.Qb=a.Bd(this.b.S,this.b.R,this.b.kb);a.me(this.b.Qb)}this.vf=!0;var b=this.hc(0,0,!0,!0),c=this.hc(0,0,!1,!0);this.vf=!1;this.b.De&&(b=Math.round(b),c=Math.round(c));this.En(b,c,null);b=this.$c();
a.le();a.scale(b,b);a.Fn(-this.ub());a.translate((this.Va+this.$a)/-2,(this.Wa+this.cb)/-2);a.Td();this.Ud?(this.jc.left=this.qc.Uc(this.Va),this.jc.top=this.qc.Vc(this.Wa),this.jc.right=this.qc.Uc(this.$a),this.jc.bottom=this.qc.Vc(this.cb),this.Ge||!this.jc.Ij(this.Fi)?(d(this.Ef),b=this.tp(),this.Ge=!1,this.Fi.ei(this.jc)):b=this.Ef):b=this.e;for(var e,g=null,c=b.length-1;0<=c;--c)e=b[c],e!==g&&(this.Xz(b[c],a),g=e);this.Ud&&(this.Ef=b);this.Je||(this.Lo=this.b.kh++,a.Kn(this.Lo),a.wv(1,1,1),a.Zs(),
a.TC())};h.prototype.Ec=function(a){var b=0,c=0;if(this.ef=this.im||1!==this.opacity||0<this.Ga.length||0!==this.wc){this.b.Qb||(this.b.Qb=a.Bd(this.b.S,this.b.R,this.b.kb));if(this.b.Qb.bh!==this.b.S||this.b.Qb.ah!==this.b.R)a.deleteTexture(this.b.Qb),this.b.Qb=a.Bd(this.b.S,this.b.R,this.b.kb);a.me(this.b.Qb);this.Je&&a.clear(0,0,0,0)}this.Je||(this.b.fb?(a.Kn(this.Lo),a.wv(this.vc[0]/255,this.vc[1]/255,this.vc[2]/255),a.Zs(),a.nD()):a.clear(this.vc[0]/255,this.vc[1]/255,this.vc[2]/255,1));this.vf=
!0;var e=this.hc(0,0,!0,!0),b=this.hc(0,0,!1,!0);this.vf=!1;this.b.De&&(e=Math.round(e),b=Math.round(b));this.En(e,b,null);e=this.$c();a.le();a.scale(e,e);a.Fn(-this.ub());a.translate((this.Va+this.$a)/-2,(this.Wa+this.cb)/-2);a.Td();this.Ud?(this.jc.left=this.qc.Uc(this.Va),this.jc.top=this.qc.Vc(this.Wa),this.jc.right=this.qc.Uc(this.$a),this.jc.bottom=this.qc.Vc(this.cb),this.Ge||!this.jc.Ij(this.Fi)?(d(this.Ef),b=this.tp(),this.Ge=!1,this.Fi.ei(this.jc)):b=this.Ef):b=this.e;var g,f,h=null,c=0;
for(g=b.length;c<g;++c)f=b[c],f!==h&&(this.Wz(b[c],a),h=f);this.Ud&&(this.Ef=b);this.ef&&(b=this.Ga.length?this.Ga[0].Lb:0,c=this.Ga.length?this.Ga[0].index:0,0===this.Ga.length||1===this.Ga.length&&!a.Iq(b)&&1===this.opacity?(1===this.Ga.length?(a.fd(b),a.Xi(this.Rb.Oj(),1/this.b.S,1/this.b.R,0,0,1,1,e,this.ub(),this.Va,this.Wa,(this.Va+this.$a)/2,(this.Wa+this.cb)/2,this.b.Fb.qa,this.pb[c]),a.vn(b)&&(this.b.Fa=!0)):a.fd(0),a.me(this.Rb.Oj()),a.Nh(this.opacity),a.yd(this.b.Qb),a.Og(this.Jc,this.Dc),
a.le(),a.Td(),e=this.b.S/2,b=this.b.R/2,a.Sk(-e,b,e,b,e,-b,-e,-b),a.yd(null)):this.Rb.Mq(a,this,null,this.Rb.Oj()))};h.prototype.Wz=function(a,b){if(a.visible&&0!==a.width&&0!==a.height){a.Qa();var c=a.mb;c.right<this.Va||c.bottom<this.Wa||c.left>this.$a||c.top>this.cb||(b.Kn(a.kh),a.pw?this.Yz(a,b):(b.fd(0),b.Og(a.Jc,a.Dc),a.Ec(b)))}};h.prototype.Xz=function(a,b){if(a.visible&&0!==a.width&&0!==a.height){a.Qa();var c=a.mb;c.right<this.Va||c.bottom<this.Wa||c.left>this.$a||c.top>this.cb||(a.kh=this.b.kh++,
0===a.wc&&1===a.opacity&&a.Of&&a.hh&&(b.Kn(a.kh),a.hh(b)))}};h.prototype.Yz=function(a,b){var c=a.Ga[0].Lb,e=a.Ga[0].index,d=this.$c();if(1!==a.Ga.length||b.Iq(c)||b.CC(c)||(a.j||a.k.ub())&&b.Pk(c)||1!==a.opacity||a.type.Ea.Au)this.Rb.Mq(b,this,a,this.ef?this.b.Qb:this.Rb.Oj()),b.le(),b.scale(d,d),b.Fn(-this.ub()),b.translate((this.Va+this.$a)/-2,(this.Wa+this.cb)/-2),b.Td();else{b.fd(c);b.Og(a.Jc,a.Dc);b.vn(c)&&(this.b.Fa=!0);var g=0,f=0,l=0,p=0;b.Pk(c)&&(p=a.mb,g=this.Ya(p.left,p.top,!0,!0),f=this.Ya(p.left,
p.top,!1,!0),l=this.Ya(p.right,p.bottom,!0,!0),p=this.Ya(p.right,p.bottom,!1,!0),g=g/windowWidth,f=1-f/windowHeight,l=l/windowWidth,p=1-p/windowHeight);var h;a.ic&&a.ic.xa?(h=a.ic.xa,c=1/h.width,h=1/h.height):(c=1/a.width,h=1/a.height);b.Xi(this.ef?this.b.Qb:this.Rb.Oj(),c,h,g,f,l,p,d,this.ub(),this.Va,this.Wa,(this.Va+this.$a)/2,(this.Wa+this.cb)/2,this.b.Fb.qa,a.pb[e]);a.Ec(b)}};h.prototype.hc=function(a,b,c,e){var d=this.b.devicePixelRatio;this.b.yh&&(a*=d,b*=d);var d=this.b.$u,g=this.b.av,d=(this.Rb.scrollX-
d)*this.ie+d,g=(this.Rb.scrollY-g)*this.je+g,f=d,l=g,p=1/this.$c(!e);e?(f-=this.b.S*p/2,l-=this.b.R*p/2):(f-=this.b.width*p/2,l-=this.b.height*p/2);f+=a*p;l+=b*p;b=this.ub();0!==b&&(f-=d,l-=g,a=Math.cos(b),b=Math.sin(b),e=f*a-l*b,l=l*a+f*b,f=e+d,l+=g);return c?f:l};h.prototype.Ya=function(a,b,c,e){var d=this.b.$u,g=this.b.av,f=(this.Rb.scrollX-d)*this.ie+d,l=(this.Rb.scrollY-g)*this.je+g,g=f,d=l,p=this.ub();if(0!==p){a-=f;b-=l;var h=Math.cos(-p),p=Math.sin(-p),w=a*h-b*p;b=b*h+a*p;a=w+f;b+=l}f=1/this.$c(!e);
e?(g-=this.b.S*f/2,d-=this.b.R*f/2):(g-=this.b.width*f/2,d-=this.b.height*f/2);g=(a-g)/f;d=(b-d)/f;a=this.b.devicePixelRatio;this.b.yh&&!e&&(g/=a,d/=a);return c?g:d};h.prototype.Ic=function(){var a,b,c,e={s:this.scale,a:this.j,vl:this.Va,vt:this.Wa,vr:this.$a,vb:this.cb,v:this.visible,bc:this.vc,t:this.Je,px:this.ie,py:this.je,o:this.opacity,zr:this.Me,fx:[],cg:this.Cj,instances:[]};a=0;for(b=this.da.length;a<b;a++)c=this.da[a],e.fx.push({name:c.name,active:c.H,params:this.pb[c.index]});return e};
h.prototype.bd=function(a){var b,c,e;this.scale=a.s;this.j=a.a;this.Va=a.vl;this.Wa=a.vt;this.$a=a.vr;this.cb=a.vb;this.visible=a.v;this.vc=a.bc;this.Je=a.t;this.ie=a.px;this.je=a.py;this.opacity=a.o;this.Me=a.zr;this.Cj=a.cg||[];Xa(this.Gd,this.Mv);var d=new oa;b=0;for(e=this.Cj.length;b<e;++b)d.add(this.Cj[b]);c=b=0;for(e=this.Gd.length;b<e;++b)d.contains(this.Gd[b][2])||(this.Gd[c]=this.Gd[b],++c);Wa(this.Gd,c);c=a.fx;b=0;for(e=c.length;b<e;b++)if(a=this.op(c[b].name))a.H=c[b].active,this.pb[a.index]=
c[b].params;this.Ke();this.e.sort(n);this.Uh=!0};Fc=h})();
(function(){function f(a,b){var c,e=a.length;switch(e){case 0:return!0;case 1:return a[0]===b[0];case 2:return a[0]===b[0]&&a[1]===b[1];default:for(c=0;c<e;c++)if(a[c]!==b[c])return!1;return!0}}function n(a,b){return a.index-b.index}function h(a){var b,c,e,d;2===a.length?a[0].index>a[1].index&&(b=a[0],a[0]=a[1],a[1]=b):2<a.length&&a.sort(n);a.length>=P.length&&(P.length=a.length+1);P[a.length]||(P[a.length]=[]);d=P[a.length];b=0;for(c=d.length;b<c;b++)if(e=d[b],f(a,e))return e;d.push(a);return a}
function m(a,b){this.b=a;this.bw={};this.Ts={};this.Ap=!1;this.ut=new oa;this.Vo=[];this.yo=[];this.name=b[0];var c=b[1];this.lg=[];var e,d;e=0;for(d=c.length;e<d;e++)this.xt(c[e],null,this.lg)}function d(a){this.type=a;this.e=[];this.ja=[];this.ka=!0}function q(a,b,c){this.sheet=a;this.parent=b;this.b=a.b;this.Ua=[];this.Pg=[];this.qt=this.Zn=this.qr=this.Hp=this.group=this.er=!1;this.Nb=[];this.Vd=[];this.ne=[];this.Qj="";this.ri=this.Hp=this.group=!1;this.Nl=null;c[1]&&(this.Qj=c[1][1].toLowerCase(),
this.group=!0,this.Hp=!!c[1][0],this.Nl=[],this.ri=this.Hp,this.b.Zh.push(this),this.b.Rj[this.Qj]=this);this.Ld=c[2];this.Aa=c[4];this.group||(this.b.ts[this.Aa.toString()]=this);var e=c[5];a=0;for(b=e.length;a<b;a++){var d=new Gc(this,e[a]);d.index=a;this.Nb.push(d);this.ks(d.type)}e=c[6];a=0;for(b=e.length;a<b;a++)d=new Hc(this,e[a]),d.index=a,this.Vd.push(d);if(8===c.length)for(c=c[7],a=0,b=c.length;a<b;a++)this.sheet.xt(c[a],this,this.ne);this.Gm=!1;this.Nb.length&&(this.Gm=null==this.Nb[0].type&&
this.Nb[0].kc==L.prototype.g.Mr)}function g(a,b){var c,e,d;if(a&&(-1===b.indexOf(a)&&b.push(a),a.Hc))for(c=0,e=a.ld.length;c<e;c++)d=a.ld[c],a!==d&&-1===b.indexOf(d)&&b.push(d)}function b(a,b){this.Ad=a;this.sheet=a.sheet;this.b=a.b;this.na=[];this.sb=[];this.U={};this.index=-1;this.tj=!1;this.kc=this.b.Zf(b[1]);this.trigger=0<b[3];this.Ss=2===b[3];this.Ye=b[4];this.vm=b[5];this.RB=b[6];this.Aa=b[7];this.b.gg[this.Aa.toString()]=this;-1===b[0]?(this.type=null,this.Jb=this.Sq,this.$g=null,this.te=
-1):(this.type=this.b.G[b[0]],this.Jb=this.RB?this.aD:this.Rq,b[2]?(this.$g=this.type.lm(b[2]),this.te=this.type.np(b[2])):(this.$g=null,this.te=-1),this.Ad.parent&&this.Ad.parent.Nn());this.Ss&&(this.Jb=this.bD);if(10===b.length){var c,e,d=b[9];c=0;for(e=d.length;c<e;c++){var g=new Ic(this,d[c]);this.na.push(g)}this.sb.length=d.length}}function c(a,b){this.Ad=a;this.sheet=a.sheet;this.b=a.b;this.na=[];this.sb=[];this.U={};this.index=-1;this.tj=!1;this.kc=this.b.Zf(b[1]);-1===b[0]?(this.type=null,
this.Jb=this.Sq,this.$g=null,this.te=-1):(this.type=this.b.G[b[0]],this.Jb=this.Rq,b[2]?(this.$g=this.type.lm(b[2]),this.te=this.type.np(b[2])):(this.$g=null,this.te=-1));this.Aa=b[3];this.b.ag[this.Aa.toString()]=this;if(6===b.length){var c,e,d=b[5];c=0;for(e=d.length;c<e;c++){var g=new Ic(this,d[c]);this.na.push(g)}this.sb.length=d.length}}function e(){t++;G.length===t&&G.push(new Jc);return G[t]}function a(a,b){this.he=a;this.Ad=a.Ad;this.sheet=a.sheet;this.b=a.b;this.type=b[0];this.Te=null;this.Pf=
0;this.get=null;this.Es=0;this.Rb=null;this.key=0;this.object=null;this.index=0;this.kl=this.Rh=this.kl=this.Rh=this.Ws=this.nh=this.ll=null;this.qe=!1;var c,e,d;switch(b[0]){case 0:case 7:this.Te=new Kc(this,b[1]);this.Pf=0;this.get=this.fB;break;case 1:this.Te=new Kc(this,b[1]);this.Pf=0;this.get=this.gB;break;case 5:this.Te=new Kc(this,b[1]);this.Pf=0;this.get=this.kB;break;case 3:case 8:this.Es=b[1];this.get=this.dB;break;case 6:this.Rb=this.b.$p[b[1]];this.get=this.lB;break;case 9:this.key=b[1];
this.get=this.jB;break;case 4:this.object=this.b.G[b[1]];this.get=this.mB;this.Ad.ks(this.object);this.he instanceof Hc?this.Ad.Nn():this.Ad.parent&&this.Ad.parent.Nn();break;case 10:this.index=b[1];a.type&&a.type.aa?(this.get=this.hB,this.qe=!0):this.get=this.iB;break;case 11:this.ll=b[1];this.nh=null;this.get=this.eB;break;case 2:case 12:this.Ws=b[1];this.get=this.cB;break;case 13:for(this.get=this.nB,this.Rh=[],this.kl=[],c=1,e=b.length;c<e;c++)d=new Ic(this.he,b[c]),this.Rh.push(d),this.kl.push(0)}}
function k(a,b,c){this.sheet=a;this.parent=b;this.b=a.b;this.Ua=[];this.name=c[1];this.ml=c[2];this.A=c[3];this.fk=!!c[4];this.Fm=!!c[5];this.Aa=c[6];this.b.qj[this.Aa.toString()]=this;this.data=this.A;this.parent?(this.Gh=this.fk||this.Fm?-1:this.b.sD++,this.b.Yy.push(this)):(this.Gh=-1,this.b.Xy.push(this))}function v(a,b,c){this.sheet=a;this.parent=b;this.b=a.b;this.Ua=[];this.Tj=null;this.yB=c[1];this.H=!0}function r(){this.Tv=[];this.reset(null)}var P=[];m.prototype.toString=function(){return this.name};
m.prototype.xt=function(a,b,c){switch(a[0]){case 0:a=new Lc(this,b,a);if(a.Ld)for(c.push(a),c=0,b=a.Nb.length;c<b;c++)a.Nb[c].trigger&&this.yt(a,c);else a.Ft()?this.yt(a,0):c.push(a);break;case 1:a=new Cc(this,b,a);c.push(a);break;case 2:a=new Mc(this,b,a),c.push(a)}};m.prototype.xb=function(){var a,b;a=0;for(b=this.lg.length;a<b;a++)this.lg[a].xb(a<b-1&&this.lg[a+1].Gm)};m.prototype.yr=function(){A(this.Vo);A(this.yo);this.hs(this);A(this.yo)};m.prototype.hs=function(a){var b,c,e,d,g=a.Vo,k=a.yo,
f=this.ut.Tf();b=0;for(c=f.length;b<c;++b)e=f[b],d=e.Tj,!e.H||a===d||-1<k.indexOf(d)||(k.push(d),d.hs(a),g.push(d))};m.prototype.Jb=function(a){this.b.tG||(this.Ap=!0,a||(this.b.Op=!0));var b,c;b=0;for(c=this.lg.length;b<c;b++){var e=this.lg[b];e.Jb();this.b.Ko(e.Ua);this.b.qg&&this.b.uc()}a||(this.b.Op=!1)};m.prototype.yt=function(a,b){a.Ld||this.b.ao.push(a);var c,e,d=a.Nb[b],g;d.type?g=d.type.name:g="system";var k=(c=d.Ss)?this.Ts:this.bw;k[g]||(k[g]=[]);g=k[g];k=d.kc;if(c){if(d.na.length&&(d=
d.na[0],1===d.type&&2===d.Te.type)){d=d.Te.value.toLowerCase();c=0;for(e=g.length;c<e;c++)if(g[c].method==k){c=g[c].Jj;c[d]?c[d].push([a,b]):c[d]=[[a,b]];return}c={};c[d]=[[a,b]];g.push({method:k,Jj:c})}}else{c=0;for(e=g.length;c<e;c++)if(g[c].method==k){g[c].Jj.push([a,b]);return}Y&&k===Y.prototype.g.Yh?g.unshift({method:k,Jj:[[a,b]]}):g.push({method:k,Jj:[[a,b]]})}};sc=m;d.prototype.zp=function(){return this.ka?this.type.e.length:this.e.length};d.prototype.Zc=function(){return this.ka?this.type.e:
this.e};d.prototype.Mk=function(a){a&&(a.b.wb().Cb.Ld?(this.ka&&(A(this.e),Xa(this.ja,a.type.e),this.ka=!1),a=this.ja.indexOf(a),-1!==a&&(this.e.push(this.ja[a]),this.ja.splice(a,1))):(this.ka=!1,A(this.e),this.e[0]=a))};Xb=d;window._c2hh_="E8D4EF6B20D81CAD7C3B3932B134BCD4B42AB538";q.prototype.xb=function(a){var b,c=this.parent;if(this.group)for(this.Zn=!0;c;){if(!c.group){this.Zn=!1;break}c=c.parent}this.qr=!this.Ft()&&(!this.parent||this.parent.group&&this.parent.Zn);this.qt=!!a;this.Pg=this.Ua.slice(0);
for(c=this.parent;c;){a=0;for(b=c.Ua.length;a<b;a++)this.Wy(c.Ua[a]);c=c.parent}this.Ua=h(this.Ua);this.Pg=h(this.Pg);a=0;for(b=this.Nb.length;a<b;a++)this.Nb[a].xb();a=0;for(b=this.Vd.length;a<b;a++)this.Vd[a].xb();a=0;for(b=this.ne.length;a<b;a++)this.ne[a].xb(a<b-1&&this.ne[a+1].Gm)};q.prototype.hD=function(a){if(this.ri!==!!a){this.ri=!!a;var b;a=0;for(b=this.Nl.length;a<b;++a)this.Nl[a].iw();0<b&&this.b.Za.mh&&this.b.Za.mh.yr()}};q.prototype.ks=function(a){g(a,this.Ua)};q.prototype.Wy=function(a){g(a,
this.Pg)};q.prototype.Nn=function(){this.er=!0;this.parent&&this.parent.Nn()};q.prototype.Ft=function(){return this.Nb.length?this.Nb[0].trigger:!1};q.prototype.Jb=function(){var a,b,c=!1,e=this.b,d=this.b.wb();d.Cb=this;var g=this.Nb;this.Gm||(d.Zo=!1);if(this.Ld){0===g.length&&(c=!0);d.Bb=0;for(a=g.length;d.Bb<a;d.Bb++)b=g[d.Bb],b.trigger||(b=b.Jb())&&(c=!0);(d.Ch=c)&&this.Gn()}else{d.Bb=0;for(a=g.length;d.Bb<a;d.Bb++)if(b=g[d.Bb].Jb(),!b){d.Ch=!1;this.qr&&e.qg&&e.uc();return}d.Ch=!0;this.Gn()}this.cA(d)};
q.prototype.cA=function(a){a.Ch&&this.qt&&(a.Zo=!0);this.qr&&this.b.qg&&this.b.uc()};q.prototype.ZC=function(a){this.b.wb().Cb=this;this.Nb[a].Jb()&&(this.Gn(),this.b.wb().Ch=!0)};q.prototype.Gn=function(){var a=this.b.wb(),b;a.Wc=0;for(b=this.Vd.length;a.Wc<b;a.Wc++)if(this.Vd[a.Wc].Jb())return;this.rv()};q.prototype.VC=function(){var a=this.b.wb(),b;for(b=this.Vd.length;a.Wc<b;a.Wc++)if(this.Vd[a.Wc].Jb())return;this.rv()};q.prototype.rv=function(){if(this.ne.length){var a,b,c,e,d=this.ne.length-
1;this.b.xn(this);if(this.er)for(a=0,b=this.ne.length;a<b;a++)c=this.ne[a],(e=!this.Zn||!this.group&&a<d)&&this.b.Rk(c.Ua),c.Jb(),e?this.b.Jg(c.Ua):this.b.Ko(c.Ua);else for(a=0,b=this.ne.length;a<b;a++)this.ne[a].Jb();this.b.qn()}};q.prototype.$C=function(){var a=this.b.wb();a.Cb=this;var b=!1,c;a.Bb=0;for(c=this.Nb.length;a.Bb<c;a.Bb++)if(this.Nb[a.Bb].Jb())b=!0;else if(!this.Ld)return!1;return this.Ld?b:!0};q.prototype.Pq=function(){this.b.oh++;var a=this.b.wb().Bb,b=this.b.xn(this);if(!this.Ld)for(b.Bb=
a+1,a=this.Nb.length;b.Bb<a;b.Bb++)if(!this.Nb[b.Bb].Jb()){this.b.qn();return}this.Gn();this.b.qn()};q.prototype.IB=function(a){var b=a.index;if(0===b)return!0;for(--b;0<=b;--b)if(this.Nb[b].type===a.type)return!1;return!0};Lc=q;b.prototype.xb=function(){var a,b,c;a=0;for(b=this.na.length;a<b;a++)c=this.na[a],c.xb(),c.qe&&(this.tj=!0)};b.prototype.bD=function(){return!0};b.prototype.Sq=function(){var a,b;a=0;for(b=this.na.length;a<b;a++)this.sb[a]=this.na[a].get();return ob(this.kc.apply(this.b.gf,
this.sb),this.vm)};b.prototype.aD=function(){var a,b;a=0;for(b=this.na.length;a<b;a++)this.sb[a]=this.na[a].get();a=this.kc.apply(this.$g?this.$g:this.type,this.sb);this.type.Xd();return a};b.prototype.Rq=function(){var a,b,c,e,d,g,k,f,h=this.type,r=h.Z(),n=this.Ad.Ld&&!this.trigger;b=0;var m=h.Hc,t=h.aa,q=h.xf,v=this.te,P=-1<v,G=this.tj,R=this.na,C=this.sb,Q=this.vm,N=this.kc,M;if(G)for(b=0,d=R.length;b<d;++b)g=R[b],g.qe||(C[b]=g.get(0));else for(b=0,d=R.length;b<d;++b)C[b]=R[b].get(0);if(r.ka){A(r.e);
A(r.ja);M=h.e;a=0;for(e=M.length;a<e;++a){f=M[a];if(G)for(b=0,d=R.length;b<d;++b)g=R[b],g.qe&&(C[b]=g.get(a));P?(b=0,t&&(b=f.type.mi[q]),b=N.apply(f.ga[v+b],C)):b=N.apply(f,C);(k=ob(b,Q))?r.e.push(f):n&&r.ja.push(f)}h.finish&&h.finish(!0);r.ka=!1;h.Xd();return r.zp()}c=0;M=(k=n&&!this.Ad.IB(this))?r.ja:r.e;var H=!1;a=0;for(e=M.length;a<e;++a){f=M[a];if(G)for(b=0,d=R.length;b<d;++b)g=R[b],g.qe&&(C[b]=g.get(a));P?(b=0,t&&(b=f.type.mi[q]),b=N.apply(f.ga[v+b],C)):b=N.apply(f,C);if(ob(b,Q))if(H=!0,k){if(r.e.push(f),
m)for(b=0,d=f.siblings.length;b<d;b++)g=f.siblings[b],g.type.Z().e.push(g)}else{M[c]=f;if(m)for(b=0,d=f.siblings.length;b<d;b++)g=f.siblings[b],g.type.Z().e[c]=g;c++}else if(k){M[c]=f;if(m)for(b=0,d=f.siblings.length;b<d;b++)g=f.siblings[b],g.type.Z().ja[c]=g;c++}else if(n&&(r.ja.push(f),m))for(b=0,d=f.siblings.length;b<d;b++)g=f.siblings[b],g.type.Z().ja.push(g)}Wa(M,c);if(m)for(t=h.ld,a=0,e=t.length;a<e;a++)f=t[a].Z(),k?Wa(f.ja,c):Wa(f.e,c);c=H;if(k&&!H)for(a=0,e=r.e.length;a<e;a++){f=r.e[a];if(G)for(b=
0,d=R.length;b<d;b++)g=R[b],g.qe&&(C[b]=g.get(a));b=P?N.apply(f.ga[v],C):N.apply(f,C);if(ob(b,Q)){H=!0;break}}h.finish&&h.finish(c||n);return n?H:r.zp()};Gc=b;c.prototype.xb=function(){var a,b,c;a=0;for(b=this.na.length;a<b;a++)c=this.na[a],c.xb(),c.qe&&(this.tj=!0)};c.prototype.Sq=function(){var a=this.b,b,c,e=this.na,d=this.sb;b=0;for(c=e.length;b<c;++b)d[b]=e[b].get();return this.kc.apply(a.gf,d)};c.prototype.Rq=function(){var a=this.type,b=this.te,c=a.xf,e=this.tj,d=this.na,g=this.sb,k=this.kc,
f=a.Z().Zc(),a=a.aa,h=-1<b,r,n,m,t,q,v;if(e)for(n=0,t=d.length;n<t;++n)q=d[n],q.qe||(g[n]=q.get(0));else for(n=0,t=d.length;n<t;++n)g[n]=d[n].get(0);r=0;for(m=f.length;r<m;++r){v=f[r];if(e)for(n=0,t=d.length;n<t;++n)q=d[n],q.qe&&(g[n]=q.get(r));h?(n=0,a&&(n=v.type.mi[c]),k.apply(v.ga[b+n],g)):k.apply(v,g)}return!1};Hc=c;var G=[],t=-1;a.prototype.xb=function(){var a,b;if(11===this.type)this.nh=this.b.it(this.ll,this.Ad.parent);else if(13===this.type)for(a=0,b=this.Rh.length;a<b;a++)this.Rh[a].xb();
this.Te&&this.Te.xb()};a.prototype.aC=function(a){this.qe||!a||a.Ea.Qn||(this.qe=!0)};a.prototype.Cv=function(){this.qe=!0};a.prototype.fB=function(a){this.Pf=a||0;a=e();this.Te.get(a);t--;return a.data};a.prototype.gB=function(a){this.Pf=a||0;a=e();this.Te.get(a);t--;return xa(a.data)?a.data:""};a.prototype.mB=function(){return this.object};a.prototype.dB=function(){return this.Es};a.prototype.kB=function(a){this.Pf=a||0;a=e();this.Te.get(a);t--;return a.$b()?this.b.oi(a.data):this.b.nm(a.data)};
a.prototype.lB=function(){return this.Rb};a.prototype.jB=function(){return this.key};a.prototype.iB=function(){return this.index};a.prototype.hB=function(a){a=a||0;var b=this.he.type,c=null,c=b.Z(),e=c.Zc();if(e.length)c=e[a%e.length].type;else if(c.ja.length)c=c.ja[a%c.ja.length].type;else if(b.e.length)c=b.e[a%b.e.length].type;else return 0;return this.index+c.dm[b.xf]};a.prototype.eB=function(){return this.nh};a.prototype.cB=function(){return this.Ws};a.prototype.nB=function(){var a,b;a=0;for(b=
this.Rh.length;a<b;a++)this.kl[a]=this.Rh[a].get();return this.kl};Ic=a;k.prototype.xb=function(){this.Ua=h(this.Ua)};k.prototype.Nf=function(a){var b=this.b.ht();this.parent&&!this.fk&&b?(this.Gh>=b.length&&(b.length=this.Gh+1),b[this.Gh]=a):this.data=a};k.prototype.qh=function(){var a=this.b.ht();return!this.parent||this.fk||!a||this.Fm?this.data:this.Gh>=a.length||"undefined"===typeof a[this.Gh]?this.A:a[this.Gh]};k.prototype.Jb=function(){!this.parent||this.fk||this.Fm||this.Nf(this.A)};Cc=k;
v.prototype.toString=function(){return"include:"+this.Tj.toString()};v.prototype.xb=function(){this.Tj=this.b.bp[this.yB];this.sheet.ut.add(this);this.Ua=h(this.Ua);for(var a=this.parent;a;)a.group&&a.Nl.push(this),a=a.parent;this.iw()};v.prototype.Jb=function(){this.parent&&this.b.Qk(this.b.G);this.Tj.Ap||this.Tj.Jb(!0);this.parent&&this.b.Jg(this.b.G)};v.prototype.iw=function(){for(var a=this.parent;a;){if(a.group&&!a.ri){this.H=!1;return}a=a.parent}this.H=!0};Mc=v;r.prototype.reset=function(a){this.Cb=
a;this.Wc=this.Bb=0;A(this.Tv);this.Zo=this.Ch=!1};r.prototype.KB=function(){return this.Cb.er?!0:this.Bb<this.Cb.Nb.length-1?!!this.Cb.Ua.length:!1};Bc=r})();
(function(){function f(d,b){this.he=d;this.b=d.b;this.type=b[0];this.get=[this.uA,this.qA,this.DA,this.GA,this.fA,this.EA,this.yA,this.nA,this.xA,this.CA,this.gA,this.BA,this.oA,this.zA,this.vA,this.wA,this.rA,this.sA,this.mA,this.FA,this.AA,this.tA,this.lA,this.pA][this.type];var c=null;this.Gf=this.na=this.sb=this.kc=this.Yn=this.second=this.first=this.value=null;this.te=-1;this.ye=null;this.rw=-1;this.nh=this.ll=null;this.Vi=!1;switch(this.type){case 0:case 1:case 2:this.value=b[1];break;case 3:this.first=
new Kc(d,b[1]);break;case 18:this.first=new Kc(d,b[1]);this.second=new Kc(d,b[2]);this.Yn=new Kc(d,b[3]);break;case 19:this.kc=this.b.Zf(b[1]);this.kc!==L.prototype.Ra.random&&this.kc!==L.prototype.Ra.As||this.he.Cv();this.sb=[];this.na=[];3===b.length?(c=b[2],this.sb.length=c.length+1):this.sb.length=1;break;case 20:this.Gf=this.b.G[b[1]];this.te=-1;this.kc=this.b.Zf(b[2]);this.Vi=b[3];$c&&this.kc===$c.prototype.Ra.Cw&&this.he.Cv();b[4]?this.ye=new Kc(d,b[4]):this.ye=null;this.sb=[];this.na=[];6===
b.length?(c=b[5],this.sb.length=c.length+1):this.sb.length=1;break;case 21:this.Gf=this.b.G[b[1]];this.Vi=b[2];b[3]?this.ye=new Kc(d,b[3]):this.ye=null;this.rw=b[4];break;case 22:this.Gf=this.b.G[b[1]];this.Gf.lm(b[2]);this.te=this.Gf.np(b[2]);this.kc=this.b.Zf(b[3]);this.Vi=b[4];b[5]?this.ye=new Kc(d,b[5]):this.ye=null;this.sb=[];this.na=[];7===b.length?(c=b[6],this.sb.length=c.length+1):this.sb.length=1;break;case 23:this.ll=b[1],this.nh=null}this.he.aC(this.Gf);4<=this.type&&17>=this.type&&(this.first=
new Kc(d,b[1]),this.second=new Kc(d,b[2]));if(c){var e,a;e=0;for(a=c.length;e<a;e++)this.na.push(new Kc(d,c[e]))}}function n(){++q;d.length===q&&d.push(new Jc);return d[q]}function h(d,b,c){var e,a;e=0;for(a=d.length;e<a;++e)d[e].get(c),b[e+1]=c.data}function m(d,b){this.type=d||Nc.Wh;this.data=b||0;this.Kh=null;this.type==Nc.Wh&&(this.data=Math.floor(this.data))}f.prototype.xb=function(){23===this.type&&(this.nh=this.he.b.it(this.ll,this.he.Ad.parent));this.first&&this.first.xb();this.second&&this.second.xb();
this.Yn&&this.Yn.xb();this.ye&&this.ye.xb();if(this.na){var d,b;d=0;for(b=this.na.length;d<b;d++)this.na[d].xb()}};var d=[],q=-1;f.prototype.FA=function(d){var b=this.na,c=this.sb;c[0]=d;d=n();h(b,c,d);--q;this.kc.apply(this.b.gf,c)};f.prototype.AA=function(d){var b=this.Gf,c=this.sb,e=this.na,a=this.ye,k=this.kc,f=this.he.Pf,r=b.Z(),m=r.Zc();if(!m.length)if(r.ja.length)m=r.ja;else{this.Vi?d.Kb(""):d.Ta(0);return}c[0]=d;d.Kh=b;d=n();h(e,c,d);a&&(a.get(d),d.$b()&&(f=d.data,m=b.e));--q;b=m.length;if(f>=
b||f<=-b)f%=b;0>f&&(f+=b);k.apply(m[f],c)};f.prototype.lA=function(d){var b=this.Gf,c=this.sb,e=this.na,a=this.ye,k=this.te,f=this.kc,r=this.he.Pf,m=b.Z(),G=m.Zc();if(!G.length)if(m.ja.length)G=m.ja;else{this.Vi?d.Kb(""):d.Ta(0);return}c[0]=d;d.Kh=b;d=n();h(e,c,d);a&&(a.get(d),d.$b()&&(r=d.data,G=b.e));--q;e=G.length;if(r>=e||r<=-e)r%=e;0>r&&(r+=e);r=G[r];G=0;b.aa&&(G=r.type.mi[b.xf]);f.apply(r.ga[k+G],c)};f.prototype.tA=function(d){var b=this.ye,c=this.Gf,e=this.rw,a=this.he.Pf,k=c.Z(),f=k.Zc();
if(!f.length)if(k.ja.length)f=k.ja;else{this.Vi?d.Kb(""):d.Ta(0);return}if(b){k=n();b.get(k);if(k.$b()){a=k.data;f=c.e;0!==f.length&&(a%=f.length,0>a&&(a+=f.length));a=c.rp(a);c=a.Pb[e];xa(c)?d.Kb(c):d.u(c);--q;return}--q}b=f.length;if(a>=b||a<=-b)a%=b;0>a&&(a+=b);a=f[a];f=0;c.aa&&(f=a.type.dm[c.xf]);c=a.Pb[e+f];xa(c)?d.Kb(c):d.u(c)};f.prototype.uA=function(d){d.type=Nc.Wh;d.data=this.value};f.prototype.qA=function(d){d.type=Nc.Vh;d.data=this.value};f.prototype.DA=function(d){d.type=Nc.String;d.data=
this.value};f.prototype.GA=function(d){this.first.get(d);d.$b()&&(d.data=-d.data)};f.prototype.fA=function(d){this.first.get(d);var b=n();this.second.get(b);d.$b()&&b.$b()&&(d.data+=b.data,b.wi()&&d.Ji());--q};f.prototype.EA=function(d){this.first.get(d);var b=n();this.second.get(b);d.$b()&&b.$b()&&(d.data-=b.data,b.wi()&&d.Ji());--q};f.prototype.yA=function(d){this.first.get(d);var b=n();this.second.get(b);d.$b()&&b.$b()&&(d.data*=b.data,b.wi()&&d.Ji());--q};f.prototype.nA=function(d){this.first.get(d);
var b=n();this.second.get(b);d.$b()&&b.$b()&&(d.data/=b.data,d.Ji());--q};f.prototype.xA=function(d){this.first.get(d);var b=n();this.second.get(b);d.$b()&&b.$b()&&(d.data%=b.data,b.wi()&&d.Ji());--q};f.prototype.CA=function(d){this.first.get(d);var b=n();this.second.get(b);d.$b()&&b.$b()&&(d.data=Math.pow(d.data,b.data),b.wi()&&d.Ji());--q};f.prototype.gA=function(d){this.first.get(d);var b=n();this.second.get(b);b.Ai()||d.Ai()?this.iA(d,b):this.hA(d,b);--q};f.prototype.iA=function(d,b){d.Ai()&&
b.Ai()?this.kA(d,b):this.jA(d,b)};f.prototype.kA=function(d,b){d.data+=b.data};f.prototype.jA=function(d,b){d.Ai()?d.data+=(Math.round(1E10*b.data)/1E10).toString():d.Kb(d.data.toString()+b.data)};f.prototype.hA=function(d,b){d.Ta(d.data&&b.data?1:0)};f.prototype.BA=function(d){this.first.get(d);var b=n();this.second.get(b);d.$b()&&b.$b()&&(d.data||b.data?d.Ta(1):d.Ta(0));--q};f.prototype.mA=function(d){this.first.get(d);d.data?this.second.get(d):this.Yn.get(d)};f.prototype.oA=function(d){this.first.get(d);
var b=n();this.second.get(b);d.Ta(d.data===b.data?1:0);--q};f.prototype.zA=function(d){this.first.get(d);var b=n();this.second.get(b);d.Ta(d.data!==b.data?1:0);--q};f.prototype.vA=function(d){this.first.get(d);var b=n();this.second.get(b);d.Ta(d.data<b.data?1:0);--q};f.prototype.wA=function(d){this.first.get(d);var b=n();this.second.get(b);d.Ta(d.data<=b.data?1:0);--q};f.prototype.rA=function(d){this.first.get(d);var b=n();this.second.get(b);d.Ta(d.data>b.data?1:0);--q};f.prototype.sA=function(d){this.first.get(d);
var b=n();this.second.get(b);d.Ta(d.data>=b.data?1:0);--q};f.prototype.pA=function(d){var b=this.nh.qh();wa(b)?d.u(b):d.Kb(b)};Kc=f;m.prototype.wi=function(){return this.type===Nc.Vh};m.prototype.$b=function(){return this.type===Nc.Wh||this.type===Nc.Vh};m.prototype.Ai=function(){return this.type===Nc.String};m.prototype.Ji=function(){this.wi()||(this.Ai()&&(this.data=parseFloat(this.data)),this.type=Nc.Vh)};m.prototype.Ta=function(d){this.type=Nc.Wh;this.data=Math.floor(d)};m.prototype.u=function(d){this.type=
Nc.Vh;this.data=d};m.prototype.Kb=function(d){this.type=Nc.String;this.data=d};m.prototype.Dv=function(d){wa(d)?(this.type=Nc.Vh,this.data=d):xa(d)?(this.type=Nc.String,this.data=d.toString()):(this.type=Nc.Wh,this.data=0)};Jc=m;Nc={Wh:0,Vh:1,String:2}})();function L(f){this.b=f;this.hd=[]}
L.prototype.Ic=function(){var f={},n,h,m,d,q,g,b,c;f.waits=[];var e=f.waits,a;n=0;for(h=this.hd.length;n<h;n++){g=this.hd[n];a={t:g.time,st:g.Kv,s:g.cr,ev:g.ki.Aa,sm:[],sols:{}};g.ki.Vd[g.Wc]&&(a.act=g.ki.Vd[g.Wc].Aa);m=0;for(d=g.Ua.length;m<d;m++)a.sm.push(g.Ua[m].Aa);for(q in g.Rc)if(g.Rc.hasOwnProperty(q)){b=this.b.G[parseInt(q,10)];c={sa:g.Rc[q].Hn,insts:[]};m=0;for(d=g.Rc[q].zf.length;m<d;m++)c.insts.push(g.Rc[q].zf[m].uid);a.sols[b.Aa.toString()]=c}e.push(a)}return f};
L.prototype.bd=function(f){f=f.waits;var n,h,m,d,q,g,b,c,e,a,k;A(this.hd);n=0;for(h=f.length;n<h;n++)if(g=f[n],c=this.b.ts[g.ev.toString()]){e=-1;m=0;for(d=c.Vd.length;m<d;m++)if(c.Vd[m].Aa===g.act){e=m;break}if(-1!==e){b={Rc:{},Ua:[],Wo:!1};b.time=g.t;b.Kv=g.st||"";b.cr=!!g.s;b.ki=c;b.Wc=e;m=0;for(d=g.sm.length;m<d;m++)(c=this.b.pm(g.sm[m]))&&b.Ua.push(c);for(q in g.sols)if(g.sols.hasOwnProperty(q)&&(c=this.b.pm(parseInt(q,10)))){e=g.sols[q];a={Hn:e.sa,zf:[]};m=0;for(d=e.insts.length;m<d;m++)(k=
this.b.pi(e.insts[m]))&&a.zf.push(k);b.Rc[c.index.toString()]=a}this.hd.push(b)}}};
(function(){function f(){}function n(){}function h(){}var m=L.prototype;f.prototype.Nr=function(){return!0};f.prototype.Lx=function(){return!0};f.prototype.lx=function(b){return b?b.visible:!1};var d=[],q=-1;f.prototype.Rw=function(b){var e=b.Z();q++;d.length===q&&d.push([]);var a=d[q];Xa(a,e.Zc());var g=this.b.wb(),f=g.Cb,h=g.KB(),g=this.b.EC(),n,m,t,l,p,E,w=b.Hc;if(h)for(h=0,n=a.length;h<n&&!g.fc;h++){this.b.Rk(f.Ua);l=a[h];e=b.Z();e.ka=!1;A(e.e);e.e[0]=l;if(w)for(m=0,t=l.siblings.length;m<t;m++)p=
l.siblings[m],E=p.type.Z(),E.ka=!1,A(E.e),E.e[0]=p;g.index=h;f.Pq();this.b.Jg(f.Ua)}else for(e.ka=!1,A(e.e),h=0,n=a.length;h<n&&!g.fc;h++){l=a[h];e.e[0]=l;if(w)for(m=0,t=l.siblings.length;m<t;m++)p=l.siblings[m],E=p.type.Z(),E.ka=!1,A(E.e),E.e[0]=p;g.index=h;f.Pq()}A(a);this.b.uC();q--;return!1};f.prototype.My=function(){var b=this.b.Nj().U;"undefined"===typeof b.TriggerOnce_lastTick&&(b.TriggerOnce_lastTick=-1);var e=b.TriggerOnce_lastTick,a=this.b.Qd;b.TriggerOnce_lastTick=a;return this.b.Zp||e!==
a-1};f.prototype.Qw=function(b){var e=this.b.Nj(),a=e.U.Every_lastTime||0,d=this.b.Fb.qa;"undefined"===typeof e.U.Every_seconds&&(e.U.Every_seconds=b);var g=e.U.Every_seconds;if(d>=a+g)return e.U.Every_lastTime=a+g,d>=e.U.Every_lastTime+.04&&(e.U.Every_lastTime=d),e.U.Every_seconds=b,!0;d<a-.1&&(e.U.Every_lastTime=d);return!1};f.prototype.Lw=function(b,e,a){return Oc(b.qh(),e,a)};f.prototype.Zw=function(b){return(b=this.b.Rj[b.toLowerCase()])&&b.ri};f.prototype.Mr=function(){var b=this.b.wb();return b.Zo?
!1:!b.Ch};f.prototype.po=function(){return!0};f.prototype.ux=function(){return!0};f.prototype.qo=function(){return!0};f.prototype.Rr=function(){return!0};f.prototype.Mx=function(){return!0};f.prototype.sl=function(){return!0};f.prototype.cx=function(b){var e=this.b;switch(b){case 0:return!e.bb&&!e.Et&&!e.Pc&&!e.Bm&&!e.ug&&!e.zm&&!e.wm;case 1:return e.Id;case 2:return e.ze;case 3:return e.Dm;case 4:return e.ug;case 5:return e.zm;case 6:return e.Pp;case 7:return e.nd;case 8:return e.Pc;case 9:return e.EB;
case 10:return e.Et;case 11:return e.Xj;case 12:return e.wm;case 13:return e.Cm;default:return!1}};f.prototype.zw=function(b,e,a){return jb(cb(b),cb(a))<=cb(e)};f.prototype.Yw=function(b,e){return lb(cb(b),cb(e))};f.prototype.Ww=function(b,e,a){b=hb(b);e=hb(e);a=hb(a);return lb(a,e)?lb(b,e)&&!lb(b,a):!(!lb(b,e)&&lb(b,a))};m.g=new f;n.prototype.Uw=function(b){this.b.gk||this.b.yj||(this.b.yj=b)};n.prototype.Ow=function(b,e,a,d){if(e&&b&&(e=this.b.Ro(b,e,a,d))){this.b.Hd++;var g;this.b.trigger(Object.getPrototypeOf(b.Ea).g.Xh,
e);if(e.Hc)for(a=0,d=e.siblings.length;a<d;a++)g=e.siblings[a],this.b.trigger(Object.getPrototypeOf(g.type.Ea).g.Xh,g);this.b.Hd--;b=b.Z();b.ka=!1;A(b.e);b.e[0]=e;if(e.Hc)for(a=0,d=e.siblings.length;a<d;a++)g=e.siblings[a],b=g.type.Z(),b.ka=!1,A(b.e),b.e[0]=g}};n.prototype.wy=function(b,e){b&&b.visible!==e&&(b.visible=e,this.b.Fa=!0)};n.prototype.vy=function(b,e){b&&(e=bb(e/100,0,1),b.opacity!==e&&(b.opacity=e,this.b.Fa=!0))};n.prototype.By=function(b,e){0===b.ml?wa(e)?b.Nf(e):b.Nf(parseFloat(e)):
1===b.ml&&b.Nf(e.toString())};n.prototype.yw=function(b,e){0===b.ml?wa(e)?b.Nf(b.qh()+e):b.Nf(b.qh()+parseFloat(e)):1===b.ml&&b.Nf(b.qh()+e.toString())};n.prototype.Jy=function(b,e){0===b.ml&&(wa(e)?b.Nf(b.qh()-e):b.Nf(b.qh()-parseFloat(e)))};var g=[],b=[];n.prototype.Ny=function(c){if(!(0>c)){var e,a,d,f=this.b.wb(),h;g.length?h=g.pop():h={Rc:{},Ua:[]};h.Wo=!1;h.time=this.b.Fb.qa+c;h.Kv="";h.cr=!1;h.ki=f.Cb;h.Wc=f.Wc+1;c=0;for(e=this.b.G.length;c<e;c++)d=this.b.G[c],a=d.Z(),a.ka&&-1===f.Cb.Ua.indexOf(d)||
(h.Ua.push(d),d=void 0,b.length?d=b.pop():d={zf:[]},d.Hn=!1,d.Hn=a.ka,Xa(d.zf,a.e),h.Rc[c.toString()]=d);this.hd.push(h);return!0}};n.prototype.uy=function(b,e){if(b){var a=Oa(e),d=Pa(e),g=Qa(e);if(b.vc[0]!==a||b.vc[1]!==d||b.vc[2]!==g)b.vc[0]=a,b.vc[1]=d,b.vc[2]=g,this.b.Fa=!0}};m.q=new n;h.prototype["int"]=function(b,e){xa(e)?(b.Ta(parseInt(e,10)),isNaN(b.data)&&(b.data=0)):b.Ta(e)};h.prototype["float"]=function(b,e){xa(e)?(b.u(parseFloat(e)),isNaN(b.data)&&(b.data=0)):b.u(e)};h.prototype.random=
function(b,e,a){void 0===a?b.u(Math.random()*e):b.u(Math.random()*(a-e)+e)};h.prototype.sqrt=function(b,e){b.u(Math.sqrt(e))};h.prototype.abs=function(b,e){b.u(Math.abs(e))};h.prototype.round=function(b,e){b.Ta(Math.round(e))};h.prototype.floor=function(b,e){b.Ta(Math.floor(e))};h.prototype.ceil=function(b,e){b.Ta(Math.ceil(e))};h.prototype.sin=function(b,e){b.u(Math.sin(cb(e)))};h.prototype.cos=function(b,e){b.u(Math.cos(cb(e)))};h.prototype.tan=function(b,e){b.u(Math.tan(cb(e)))};h.prototype.asin=
function(b,e){b.u(db(Math.asin(e)))};h.prototype.acos=function(b,e){b.u(db(Math.acos(e)))};h.prototype.atan=function(b,e){b.u(db(Math.atan(e)))};h.prototype.exp=function(b,e){b.u(Math.exp(e))};h.prototype.log10=function(b,e){b.u(Math.log(e)/Math.LN10)};h.prototype.max=function(b){var e=arguments[1];"number"!==typeof e&&(e=0);var a,d,g;a=2;for(d=arguments.length;a<d;a++)g=arguments[a],"number"===typeof g&&e<g&&(e=g);b.u(e)};h.prototype.min=function(b){var e=arguments[1];"number"!==typeof e&&(e=0);
var a,d,g;a=2;for(d=arguments.length;a<d;a++)g=arguments[a],"number"===typeof g&&e>g&&(e=g);b.u(e)};h.prototype.ih=function(b){b.u(this.b.ih)};h.prototype.Qg=function(b){b.u(this.b.Qg)};h.prototype.time=function(b){b.u(this.b.Fb.qa)};h.prototype.Qd=function(b){b.Ta(this.b.Qd)};h.prototype.bn=function(b){b.Ta(this.b.bn)};h.prototype.jp=function(b){b.Ta(this.b.jp)};h.prototype.j=function(b,e,a,d,g){b.u(db(ib(e,a,d,g)))};h.prototype.bi=function(b,e,a,d){e<a?b.u(a):e>d?b.u(d):b.u(e)};h.prototype.left=
function(b,e,a){b.Kb(xa(e)?e.substr(0,a):"")};h.prototype.right=function(b,e,a){b.Kb(xa(e)?e.substr(e.length-a):"")};h.prototype.replace=function(b,e,a,d){xa(e)&&xa(a)&&xa(d)?b.Kb(e.replace(new RegExp(Ab(a),"gi"),d)):b.Kb(xa(e)?e:"")};h.prototype.trim=function(b,e){b.Kb(xa(e)?e.trim():"")};h.prototype.As=function(b){var e=Ha(Math.random()*(arguments.length-1));b.Dv(arguments[e+1])};h.prototype.WC=function(b,e,a,d){b.Ta(Na(e,a,d))};h.prototype.Qo=function(b){b.u(this.b.Qo/1E3)};h.prototype.QD=function(b,
e){var a=this.b.jt(e);b.u(a?a.Va:0)};h.prototype.RD=function(b,e){var a=this.b.jt(e);b.u(a?a.$a:0)};h.prototype.Gi=function(b){b.u(this.b.Gi)};m.Ra=new h;m.YC=function(){var c,e,a,d,f,h,n=this.b.wb();c=0;for(a=this.hd.length;c<a;c++){d=this.hd[c];if(-1===d.time){if(!d.cr)continue}else if(d.time>this.b.Fb.qa)continue;n.Cb=d.ki;n.Wc=d.Wc;n.Bb=0;for(e in d.Rc)d.Rc.hasOwnProperty(e)&&(f=this.b.G[parseInt(e,10)].Z(),h=d.Rc[e],f.ka=h.Hn,Xa(f.e,h.zf),f=h,A(f.zf),b.push(f));d.ki.VC();this.b.Ko(d.Ua);d.Wo=
!0}e=c=0;for(a=this.hd.length;c<a;c++)d=this.hd[c],this.hd[e]=d,d.Wo?(qb(d.Rc),A(d.Ua),g.push(d)):e++;Wa(this.hd,e)}})();
(function(){Wb=function(f,h){var m=f[1],d=f[3],q=f[4],g=f[5],b=f[6],c=f[7],e=f[8];h.g||(h.g={});h.q||(h.q={});h.Ra||(h.Ra={});var a=h.g,k=h.q,v=h.Ra;d&&(a.Mw=function(a,b){return Oc(this.x,a,b)},a.Nw=function(a,b){return Oc(this.y,a,b)},a.zE=function(){var a=this.k;this.Qa();var b=this.mb;return!(b.right<a.Va||b.bottom<a.Wa||b.left>a.$a||b.top>a.cb)},a.dx=function(){this.Qa();var a=this.mb,b=this.b.Za;return 0>a.right||0>a.bottom||a.left>b.width||a.top>b.height},a.SE=function(a,b,c){var e=this.Z(),
d=e.Zc();if(!d.length)return!1;var g=d[0],f=g,k=nb(g.x,g.y,b,c),h,n,m;h=1;for(n=d.length;h<n;h++)if(g=d[h],m=nb(g.x,g.y,b,c),0===a&&m<k||1===a&&m>k)k=m,f=g;e.Mk(f);return!0},k.Zr=function(a){this.x!==a&&(this.x=a,this.gb())},k.AF=function(a){this.y!==a&&(this.y=a,this.gb())},k.Yr=function(a,b){if(this.x!==a||this.y!==b)this.x=a,this.y=b,this.gb()},k.tF=function(a,b){var c=a.XA(this);if(c){var e;c.pg?(e=c.pg(b,!0),c=c.pg(b,!1)):(e=c.x,c=c.y);if(this.x!==e||this.y!==c)this.x=e,this.y=c,this.gb()}},
k.HE=function(a){0!==a&&(this.x+=Math.cos(this.j)*a,this.y+=Math.sin(this.j)*a,this.gb())},k.GE=function(a,b){0!==b&&(this.x+=Math.cos(cb(a))*b,this.y+=Math.sin(cb(a))*b,this.gb())},v.as=function(a){a.u(this.x)},v.bs=function(a){a.u(this.y)},v.ih=function(a){a.u(this.b.mm(this))});q&&(a.iE=function(a,b){return Oc(this.width,a,b)},a.fE=function(a,b){return Oc(this.height,a,b)},k.Dy=function(a){this.width!==a&&(this.width=a,this.gb())},k.pF=function(a){this.height!==a&&(this.height=a,this.gb())},k.yy=
function(a,b){if(this.width!==a||this.height!==b)this.width=a,this.height=b,this.gb()},v.NF=function(a){a.u(this.width)},v.uE=function(a){a.u(this.height)},v.ZD=function(a){this.Qa();a.u(this.mb.left)},v.aE=function(a){this.Qa();a.u(this.mb.top)},v.$D=function(a){this.Qa();a.u(this.mb.right)},v.YD=function(a){this.Qa();a.u(this.mb.bottom)});g&&(a.zw=function(a,b){return jb(this.j,cb(b))<=cb(a)},a.Yw=function(a){return lb(this.j,cb(a))},a.Ww=function(a,b){var c=hb(a),e=hb(b),d=fb(this.j);return lb(e,
c)?lb(d,c)&&!lb(d,e):!(!lb(d,c)&&lb(d,e))},k.lF=function(a){a=cb(eb(a));isNaN(a)||this.j===a||(this.j=a,this.gb())},k.eF=function(a){0===a||isNaN(a)||(this.j+=cb(a),this.j=fb(this.j),this.gb())},k.fF=function(a){0===a||isNaN(a)||(this.j-=cb(a),this.j=fb(this.j),this.gb())},k.gF=function(a,b){var c=kb(this.j,cb(b),cb(a));isNaN(c)||this.j===c||(this.j=c,this.gb())},k.hF=function(a,b,c){a=kb(this.j,Math.atan2(c-this.y,b-this.x),cb(a));isNaN(a)||this.j===a||(this.j=a,this.gb())},k.xF=function(a,b){var c=
Math.atan2(b-this.y,a-this.x);isNaN(c)||this.j===c||(this.j=c,this.gb())},v.WD=function(a){a.u(gb(this.j))});m||(a.Iw=function(a,b,c){return Oc(this.Pb[a],b,c)},a.Xw=function(a){return this.Pb[a]},a.TE=function(a,b){var c=this.Z(),e=c.Zc();if(!e.length)return!1;var d=e[0],g=d,f=d.Pb[b],k,h,n;k=1;for(h=e.length;k<h;k++)if(d=e[k],n=d.Pb[b],0===a&&n<f||1===a&&n>f)f=n,g=d;c.Mk(g);return!0},a.so=function(a){var b,c,e,d,g;if(this.b.Nj().vm){g=this.Z();if(g.ka)for(g.ka=!1,A(g.e),A(g.ja),e=this.e,b=0,c=e.length;b<
c;b++)d=e[b],d.uid===a?g.ja.push(d):g.e.push(d);else{e=b=0;for(c=g.e.length;b<c;b++)d=g.e[b],g.e[e]=d,d.uid===a?g.ja.push(d):e++;Wa(g.e,e)}this.Xd();return!!g.e.length}d=this.b.pi(a);if(!d)return!1;g=this.Z();if(!g.ka&&-1===g.e.indexOf(d))return!1;if(this.aa)for(a=d.type.jb,b=0,c=a.length;b<c;b++){if(a[b]===this)return g.Mk(d),this.Xd(),!0}else if(d.type===this)return g.Mk(d),this.Xd(),!0;return!1},a.Xh=function(){return!0},a.yx=function(){return!0},k.ty=function(a,b){var c=this.Pb;wa(c[a])?c[a]=
wa(b)?b:parseFloat(b):xa(c[a])&&(c[a]=xa(b)?b:b.toString())},k.VD=function(a,b){var c=this.Pb;wa(c[a])?c[a]=wa(b)?c[a]+b:c[a]+parseFloat(b):xa(c[a])&&(c[a]=xa(b)?c[a]+b:c[a]+b.toString())},k.HF=function(a,b){var c=this.Pb;wa(c[a])&&(c[a]=wa(b)?c[a]-b:c[a]-parseFloat(b))},k.my=function(a,b){this.Pb[a]=b?1:0},k.JF=function(a){this.Pb[a]=1-this.Pb[a]},k.Lr=function(){this.b.Yf(this)},k.mx||(k.mx=function(a){var b,c;try{b=JSON.parse(a)}catch(e){return}this.b.Qm(this,b,!0);this.Ne&&this.Ne();if(this.ga)for(a=
0,b=this.ga.length;a<b;++a)c=this.ga[a],c.Ne&&c.Ne()}),v.lE=function(a){var b=a.Kh.e.length,c,e,d;c=0;for(e=this.b.ve.length;c<e;c++)d=this.b.ve[c],a.Kh.aa?0<=d.type.jb.indexOf(a.Kh)&&b++:d.type===a.Kh&&b++;a.Ta(b)},v.VE=function(a){a.Ta(a.Kh.Z().Zc().length)},v.KF=function(a){a.Ta(this.uid)},v.wE=function(a){a.Ta(this.Pj())},v.Jr||(v.Jr=function(a){a.Kb(JSON.stringify(this.b.Tq(this,!0)))}));b&&(a.ix=function(){return this.visible},k.uo=function(a){!a!==!this.visible&&(this.visible=!!a,this.b.Fa=
!0)},a.gE=function(a,b){return Oc(Gb(100*this.opacity),a,b)},k.xy=function(a){a=a/100;0>a?a=0:1<a&&(a=1);a!==this.opacity&&(this.opacity=a,this.b.Fa=!0)},v.Opacity=function(a){a.u(Gb(100*this.opacity))});c&&(a.bx=function(a){return a?this.k===a:!1},a.UE=function(a){var b=this.Z(),c=b.Zc();if(!c.length)return!1;var e=c[0],d=e,g,f;g=1;for(f=c.length;g<f;g++)if(e=c[g],0===a){if(e.k.index>d.k.index||e.k.index===d.k.index&&e.We()>d.We())d=e}else if(e.k.index<d.k.index||e.k.index===d.k.index&&e.We()<d.We())d=
e;b.Mk(d);return!0},k.KE=function(){var a=this.k,b=a.e;b.length&&b[b.length-1]===this||(a.Ui(this,!1),a.vj(this,!1),this.b.Fa=!0)},k.IE=function(){var a=this.k,b=a.e;b.length&&b[0]===this||(a.Ui(this,!1),a.zC(this),this.b.Fa=!0)},k.JE=function(a){a&&a!=this.k&&(this.k.Ui(this,!0),this.k=a,a.vj(this,!0),this.b.Fa=!0)},k.Qy=function(a,b){var c=0===a;if(b){var e=b.qp(this);e&&e.uid!==this.uid&&(this.k.index!==e.k.index&&(this.k.Ui(this,!0),this.k=e.k,e.k.vj(this,!0)),this.k.bC(this,e,c),this.b.Fa=!0)}},
v.EE=function(a){a.Ta(this.k.Gu)},v.DE=function(a){a.Kb(this.k.name)},v.OF=function(a){a.Ta(this.We())});e&&(k.nF=function(a,b){if(this.b.D){var c=this.type.pp(b);if(!(0>c)){var e=1===a;this.$f[c]!==e&&(this.$f[c]=e,this.Ke(),this.b.Fa=!0)}}},k.oF=function(a,b,c){if(this.b.D){var e=this.type.pp(a);0>e||(a=this.type.da[e],e=this.pb[e],b=Math.floor(b),0>b||b>=e.length||(1===this.b.D.aB(a.Lb,b)&&(c/=100),e[b]!==c&&(e[b]=c,a.H&&(this.b.Fa=!0))))}})};tc=function(){this.Go=this.Co=!0;this.type.zl=!0;this.b.Fa=
!0;var f,h,m=this.Do;f=0;for(h=m.length;f<h;++f)m[f](this);this.k.Ud&&this.Qa()};uc=function(f){f&&this.Do.push(f)};wc=function(){if(this.Co){var f=this.mb,h=this.Oc;f.set(this.x,this.y,this.x+this.width,this.y+this.height);f.offset(-this.lc*this.width,-this.mc*this.height);this.j?(f.offset(-this.x,-this.y),h.Fv(f,this.j),h.offset(this.x,this.y),h.vs(f)):h.Zk(f);f.normalize();this.Co=!1;this.JD()}};var f=new La(0,0,0,0);xc=function(){if(this.k.Ud){var n=this.k.qc,h=this.mb;f.set(n.Uc(h.left),n.Vc(h.top),
n.Uc(h.right),n.Vc(h.bottom));this.dd.Ij(f)||(this.dd.right<this.dd.left?n.update(this,null,f):n.update(this,this.dd,f),this.dd.ei(f),this.k.Ge=!0)}};yc=function(){if(this.Go&&this.eh){this.Qa();var n=this.type.Ml,h=this.mb;f.set(n.Uc(h.left),n.Vc(h.top),n.Uc(h.right),n.Vc(h.bottom));this.hg.Ij(f)||(this.hg.right<this.hg.left?n.update(this,null,f):n.update(this,this.hg,f),this.hg.ei(f),this.Go=!1)}};vc=function(f,h){return this.mb.Bc(f,h)&&this.Oc.Bc(f,h)?this.ya&&!this.ya.zh()?(this.ya.dh(this.width,
this.height,this.j),this.ya.Bc(f-this.x,h-this.y)):!0:!1};kc=function(){this.type.eo();return this.uh};zc=function(){this.k.Br();return this.Le};Ac=function(){A(this.Ga);var f,h,m,d=!0;f=0;for(h=this.$f.length;f<h;f++)this.$f[f]&&(m=this.type.da[f],this.Ga.push(m),m.Ee||(d=!1));this.pw=!!this.Ga.length;this.Of=d};lc=function(){return"Inst"+this.kv};Zb=function(f){if(f&&f.Hc&&f.type!=this){var h,m,d;h=0;for(m=f.siblings.length;h<m;h++)if(d=f.siblings[h],d.type==this)return d}f=this.Z().Zc();return f.length?
f[0]:null};$b=function(f){var h=this.Z().Zc();return h.length?h[f.Pj()%h.length]:null};Yb=function(){if(this.$i&&!this.aa){var f,h;f=0;for(h=this.e.length;f<h;f++)this.e[f].uh=f;var m=f,d=this.b.ve;f=0;for(h=d.length;f<h;++f)d[f].type===this&&(d[f].uh=m++);this.$i=!1}};ic=function(f){if(f<this.e.length)return this.e[f];f-=this.e.length;var h=this.b.ve,m,d;m=0;for(d=h.length;m<d;++m)if(h[m].type===this){if(0===f)return h[m];--f}return null};ac=function(){return this.Qf[this.Se]};bc=function(){this.Se++;
this.Se===this.Qf.length?this.Qf.push(new Xb(this)):(this.Qf[this.Se].ka=!0,A(this.Qf[this.Se].ja))};cc=function(){this.Se++;this.Se===this.Qf.length&&this.Qf.push(new Xb(this));var f=this.Qf[this.Se],h=this.Qf[this.Se-1];h.ka?(f.ka=!0,A(f.ja)):(f.ka=!1,Xa(f.e,h.e),Xa(f.ja,h.ja))};dc=function(){this.Se--};ec=function(f){var h,m,d,q,g,b=0;if(!this.aa)for(h=0,m=this.jb.length;h<m;h++)for(g=this.jb[h],d=0,q=g.nb.length;d<q;d++){if(f===g.nb[d].name)return this.U.lastBehIndex=b,g.nb[d];b++}h=0;for(m=this.nb.length;h<
m;h++){if(f===this.nb[h].name)return this.U.lastBehIndex=b,this.nb[h];b++}return null};fc=function(f){return this.lm(f)?this.U.lastBehIndex:-1};gc=function(f){var h,m;h=0;for(m=this.da.length;h<m;h++)if(this.da[h].name===f)return h;return-1};hc=function(){if(this.Hc&&!this.aa){var f,h,m,d,q,g,b;this.eo();g=this.Z();var c=g.ka,e=(f=this.b.wb())&&f.Cb&&f.Cb.Ld;f=0;for(h=this.ld.length;f<h;f++)if(q=this.ld[f],q!==this&&(q.eo(),b=q.Z(),b.ka=c,!c)){A(b.e);m=0;for(d=g.e.length;m<d;++m)b.e[m]=q.rp(g.e[m].uh);
if(e)for(A(b.ja),m=0,d=g.ja.length;m<d;++m)b.ja[m]=q.rp(g.ja[m].uh)}}};jc=function(){return"Type"+this.Aa};Oc=function(f,h,m){if("undefined"===typeof f||"undefined"===typeof m)return!1;switch(h){case 0:return f===m;case 1:return f!==m;case 2:return f<m;case 3:return f<=m;case 4:return f>m;case 5:return f>=m;default:return!1}}})();var Yc={};function ad(f){this.b=f}
(function(){function f(){}function n(){}var h=ad.prototype;h.Ca=function(d){this.Ea=d;this.b=d.b};h.Ca.prototype.V=function(){};h.ra=function(d){this.type=d;this.b=d.b};var m;h.ra.prototype.V=function(){(this.b.ze||this.b.Id)&&"undefined"!=typeof Cocoon&&(m=this)};f.prototype.jC=function(){return!0};f.prototype.kC=function(){return!0};h.g=new f;n.prototype.vo=function(d,f){window.Ve&&window.Ve.vo&&Cocoon.vo.uG({message:d,ZF:f},function(d,b,c){b?m.b.trigger(ad.prototype.g.jC,m):(m.b.trigger(ad.prototype.g.kC,
m),console.log(c))})};h.q=new n})();function bd(f){this.b=f}
(function(){function f(a){0>a&&(a=0);1<a&&(a=1);return Math.log(a)/Math.log(10)*20}function n(a){a=a.toLowerCase();return da.hasOwnProperty(a)&&da[a].length?da[a][0].Ed():B.destination}function h(){return B.createGain?B.createGain():B.createGainNode()}function m(a){return B.createDelay?B.createDelay(a):B.createDelayNode(a)}function d(a,b){a.start?a.start(b||0):a.noteOn(b||0)}function q(a,b,c,e){a.start?a.start(e||0,b):a.noteGrainOn(e||0,b,c-b)}function g(a){try{a.stop?a.stop(0):a.noteOff(0)}catch(b){}}
function b(a,b,c,e,d,g){this.type="filter";this.pc=[a,b,c,e,d,g];this.Ba=h();this.ca=h();this.ca.gain.value=g;this.Y=h();this.Y.gain.value=1-g;this.Db=B.createBiquadFilter();this.Db.type="number"===typeof this.Db.type?a:Z[a];this.Db.frequency.value=b;this.Db.detune&&(this.Db.detune.value=c);this.Db.Q.value=e;this.Db.gain.value=d;this.Ba.connect(this.Db);this.Ba.connect(this.Y);this.Db.connect(this.ca)}function c(a,b,c){this.type="delay";this.pc=[a,b,c];this.Ba=h();this.ca=h();this.ca.gain.value=c;
this.Y=h();this.Y.gain.value=1-c;this.zk=h();this.be=m(a);this.be.delayTime.value=a;this.Vl=h();this.Vl.gain.value=b;this.Ba.connect(this.zk);this.Ba.connect(this.Y);this.zk.connect(this.ca);this.zk.connect(this.be);this.be.connect(this.Vl);this.Vl.connect(this.zk)}function e(a,b,c,e){this.type="convolve";this.pc=[b,c,e];this.Ba=h();this.ca=h();this.ca.gain.value=c;this.Y=h();this.Y.gain.value=1-c;this.fh=B.createConvolver();a&&(this.fh.normalize=b,this.fh.buffer=a);this.Ba.connect(this.fh);this.Ba.connect(this.Y);
this.fh.connect(this.ca)}function a(a,b,c,e,g){this.type="flanger";this.pc=[a,b,c,e,g];this.Ba=h();this.Y=h();this.Y.gain.value=1-g/2;this.ca=h();this.ca.gain.value=g/2;this.em=h();this.em.gain.value=e;this.be=m(a+b);this.be.delayTime.value=a;this.ec=B.createOscillator();this.ec.frequency.value=c;this.wd=h();this.wd.gain.value=b;this.Ba.connect(this.be);this.Ba.connect(this.Y);this.be.connect(this.ca);this.be.connect(this.em);this.em.connect(this.be);this.ec.connect(this.wd);this.wd.connect(this.be.delayTime);
d(this.ec)}function k(a,b,c,e,g,f){this.type="phaser";this.pc=[a,b,c,e,g,f];this.Ba=h();this.Y=h();this.Y.gain.value=1-f/2;this.ca=h();this.ca.gain.value=f/2;this.Db=B.createBiquadFilter();this.Db.type="number"===typeof this.Db.type?7:"allpass";this.Db.frequency.value=a;this.Db.detune&&(this.Db.detune.value=b);this.Db.Q.value=c;this.ec=B.createOscillator();this.ec.frequency.value=g;this.wd=h();this.wd.gain.value=e;this.Ba.connect(this.Db);this.Ba.connect(this.Y);this.Db.connect(this.ca);this.ec.connect(this.wd);
this.wd.connect(this.Db.frequency);d(this.ec)}function v(a){this.type="gain";this.pc=[a];this.Da=h();this.Da.gain.value=a}function r(a,b){this.type="tremolo";this.pc=[a,b];this.Da=h();this.Da.gain.value=1-b/2;this.ec=B.createOscillator();this.ec.frequency.value=a;this.wd=h();this.wd.gain.value=b/2;this.ec.connect(this.wd);this.wd.connect(this.Da.gain);d(this.ec)}function P(a,b){this.type="ringmod";this.pc=[a,b];this.Ba=h();this.ca=h();this.ca.gain.value=b;this.Y=h();this.Y.gain.value=1-b;this.Vk=
h();this.Vk.gain.value=0;this.ec=B.createOscillator();this.ec.frequency.value=a;this.ec.connect(this.Vk.gain);d(this.ec);this.Ba.connect(this.Vk);this.Ba.connect(this.Y);this.Vk.connect(this.ca)}function G(a,b,c,e,d){this.type="distortion";this.pc=[a,b,c,e,d];this.Ba=h();this.tn=h();this.rn=h();this.fD(c,Math.pow(10,e/20));this.ca=h();this.ca.gain.value=d;this.Y=h();this.Y.gain.value=1-d;this.mo=B.createWaveShaper();this.Tl=new Float32Array(65536);this.OA(a,b);this.mo.Tl=this.Tl;this.Ba.connect(this.tn);
this.Ba.connect(this.Y);this.tn.connect(this.mo);this.mo.connect(this.rn);this.rn.connect(this.ca)}function t(a,b,c,e,d){this.type="compressor";this.pc=[a,b,c,e,d];this.Da=B.createDynamicsCompressor();try{this.Da.threshold.value=a,this.Da.knee.value=b,this.Da.ratio.value=c,this.Da.attack.value=e,this.Da.release.value=d}catch(g){}}function l(a,b){this.type="analyser";this.pc=[a,b];this.Da=B.createAnalyser();this.Da.fftSize=a;this.Da.smoothingTimeConstant=b;this.MA=new Float32Array(this.Da.frequencyBinCount);
this.Iv=new Uint8Array(a);this.Lk=0}function p(){this.ba=null;this.Sm=0}function E(a,b){this.src=a;this.wa=V;this.ee=b;this.yl=!1;var c=this;this.lq=this.Aq=null;this.Ti=[];this.In=0;this.Gr=this.cm=this.Pv=this.jn=!1;1===V&&b&&!aa&&(this.wa=0,this.Aq=h());this.pf=this.Ja=null;var e;switch(this.wa){case 0:this.Ja=new Audio;this.Ja.crossOrigin="anonymous";this.Ja.addEventListener("canplaythrough",function(){c.Gr=!0});1===V&&B.createMediaElementSource&&!/wiiu/i.test(navigator.userAgent)&&(this.Pv=!0,
this.Ja.addEventListener("canplay",function(){c.lq||(c.lq=B.createMediaElementSource(c.Ja),c.lq.connect(c.Aq))}));this.Ja.autoplay=!1;this.Ja.mG="auto";this.Ja.src=a;break;case 1:J.dk?J.Vs(a,function(a){c.pf=a;c.Ms()},function(){c.cm=!0}):(e=new XMLHttpRequest,e.open("GET",a,!0),e.responseType="arraybuffer",e.onload=function(){c.pf=e.response;c.Ms()},e.onerror=function(){c.cm=!0},e.send());break;case 2:this.Ja=!0;break;case 3:this.Ja=!0}}function w(a,b){var c=this;this.tag=b;this.fc=this.Ue=!0;this.src=
a.src;this.buffer=a;this.wa=V;this.ee=a.ee;this.playbackRate=1;this.si=!0;this.qd=this.Od=!1;this.ed=0;this.ek=this.xi=this.Ye=!1;this.volume=1;this.yq=function(a){if(!c.qd&&!c.Od){var b=this;b||(b=a.target);b===c.wl&&(c.si=!0,c.fc=!0,W=c.tag,J.trigger(bd.prototype.g.ql,ka))}};this.wl=null;this.ti=1===M&&!this.ee||2===M;this.Li=1;this.startTime=this.ti?J.Fb.qa:J.Vf.qa;this.Hb=this.Ob=null;this.bf=!1;this.nc=null;this.Xu=this.Wu=this.Vu=this.Uu=this.Zu=this.Yu=0;this.n=null;var e=!1;1!==this.wa||0!==
this.buffer.wa||this.buffer.Pv||(this.wa=0);switch(this.wa){case 0:this.ee?(this.n=a.Ja,e=!a.yl,a.yl=!0):(this.n=new Audio,this.n.crossOrigin="anonymous",this.n.autoplay=!1,this.n.src=a.Ja.src,e=!0);e&&this.n.addEventListener("ended",function(){W=c.tag;c.fc=!0;J.trigger(bd.prototype.g.ql,ka)});break;case 1:this.Ob=h();this.Ob.connect(n(b));1===this.buffer.wa?a.Ja&&(this.n=B.createBufferSource(),this.n.buffer=a.Ja,this.n.connect(this.Ob)):(this.n=this.buffer.Ja,this.buffer.Aq.connect(this.Ob),this.buffer.yl||
(this.buffer.yl=!0,this.buffer.Ja.addEventListener("ended",function(){W=c.tag;c.fc=!0;J.trigger(bd.prototype.g.ql,ka)})));break;case 2:this.n=new window.Media(u+this.src,null,null,function(a){a===window.Media.MEDIA_STOPPED&&(c.si=!0,c.fc=!0,W=c.tag,J.trigger(bd.prototype.g.ql,ka))});break;case 3:this.n=!0}}function D(a,b){var c=a.xh()?1:0,e=b.xh()?1:0;return c===e?0:c<e?1:-1}function I(a,b){A(Ba);if(a.length){var c,e,d;c=0;for(e=C.length;c<e;c++)d=C[c],Hb(a,d.tag)&&Ba.push(d);b&&Ba.sort(D)}else Q&&
!Q.sh()&&(A(Ba),Ba[0]=Q)}function U(a,b){da.hasOwnProperty(a)?da[a].push(b):da[a]=[b];var c,e,d,g,f=B.destination;if(da.hasOwnProperty(a)&&(d=da[a],d.length))for(f=d[0].Ed(),c=0,e=d.length;c<e;c++)g=d[c],c+1===e?g.Yd(B.destination):g.Yd(d[c+1].Ed());I(a);c=0;for(e=Ba.length;c<e;c++)Ba[c].IC(f);ga&&ub===a&&(ga.disconnect(),ga.connect(f))}function x(){}function z(){}function O(){}var ea=bd.prototype;ea.Ca=function(a){this.Ea=a;this.b=a.b};ea.Ca.prototype.V=function(){};var J=null,ka=null,W="",u="",
V=0,B=null,R=[],C=[],Q=null,N=!1,M=0,H=!1,S=1,ja=0,K=0,Ia=!1,Aa=1,na=1,T=10,y=1E4,la=1,ga=null,ub="",F=!1,pa=[],aa=!1,da={},Z="lowpass highpass bandpass lowshelf highshelf peaking notch allpass".split(" ");b.prototype.Yd=function(a){this.ca.disconnect();this.ca.connect(a);this.Y.disconnect();this.Y.connect(a)};b.prototype.remove=function(){this.Ba.disconnect();this.Db.disconnect();this.ca.disconnect();this.Y.disconnect()};b.prototype.Ed=function(){return this.Ba};c.prototype.Yd=function(a){this.ca.disconnect();
this.ca.connect(a);this.Y.disconnect();this.Y.connect(a)};c.prototype.remove=function(){this.Ba.disconnect();this.zk.disconnect();this.be.disconnect();this.Vl.disconnect();this.ca.disconnect();this.Y.disconnect()};c.prototype.Ed=function(){return this.Ba};e.prototype.Yd=function(a){this.ca.disconnect();this.ca.connect(a);this.Y.disconnect();this.Y.connect(a)};e.prototype.remove=function(){this.Ba.disconnect();this.fh.disconnect();this.ca.disconnect();this.Y.disconnect()};e.prototype.Ed=function(){return this.Ba};
a.prototype.Yd=function(a){this.Y.disconnect();this.Y.connect(a);this.ca.disconnect();this.ca.connect(a)};a.prototype.remove=function(){this.Ba.disconnect();this.be.disconnect();this.ec.disconnect();this.wd.disconnect();this.Y.disconnect();this.ca.disconnect();this.em.disconnect()};a.prototype.Ed=function(){return this.Ba};k.prototype.Yd=function(a){this.Y.disconnect();this.Y.connect(a);this.ca.disconnect();this.ca.connect(a)};k.prototype.remove=function(){this.Ba.disconnect();this.Db.disconnect();
this.ec.disconnect();this.wd.disconnect();this.Y.disconnect();this.ca.disconnect()};k.prototype.Ed=function(){return this.Ba};v.prototype.Yd=function(a){this.Da.disconnect();this.Da.connect(a)};v.prototype.remove=function(){this.Da.disconnect()};v.prototype.Ed=function(){return this.Da};r.prototype.Yd=function(a){this.Da.disconnect();this.Da.connect(a)};r.prototype.remove=function(){this.ec.disconnect();this.wd.disconnect();this.Da.disconnect()};r.prototype.Ed=function(){return this.Da};P.prototype.Yd=
function(a){this.ca.disconnect();this.ca.connect(a);this.Y.disconnect();this.Y.connect(a)};P.prototype.remove=function(){this.ec.disconnect();this.Vk.disconnect();this.Ba.disconnect();this.ca.disconnect();this.Y.disconnect()};P.prototype.Ed=function(){return this.Ba};G.prototype.fD=function(a,b){.01>a&&(a=.01);this.tn.gain.value=a;this.rn.gain.value=Math.pow(1/a,.6)*b};G.prototype.shape=function(a,b,c){var e=1.05*c*b-b;c=0>a?-1:1;a=0>a?-a:a;b=a<b?a:b+e*(1-Math.exp(-(1/e)*(a-b)));return b*c};G.prototype.OA=
function(a,b){for(var c=Math.pow(10,a/20),e=Math.pow(10,b/20),d=0,g=0;32768>g;++g)d=g/32768,d=this.shape(d,c,e),this.Tl[32768+g]=d,this.Tl[32768-g-1]=-d};G.prototype.Yd=function(a){this.ca.disconnect();this.ca.connect(a);this.Y.disconnect();this.Y.connect(a)};G.prototype.remove=function(){this.Ba.disconnect();this.tn.disconnect();this.mo.disconnect();this.rn.disconnect();this.ca.disconnect();this.Y.disconnect()};G.prototype.Ed=function(){return this.Ba};t.prototype.Yd=function(a){this.Da.disconnect();
this.Da.connect(a)};t.prototype.remove=function(){this.Da.disconnect()};t.prototype.Ed=function(){return this.Da};l.prototype.zb=function(){this.Da.getFloatFrequencyData(this.MA);this.Da.getByteTimeDomainData(this.Iv);for(var a=this.Da.fftSize,b=0,c=this.Lk=0,e=0;b<a;b++)e=(this.Iv[b]-128)/128,0>e&&(e=-e),this.Lk<e&&(this.Lk=e),c+=e*e;this.Lk=f(this.Lk);f(Math.sqrt(c/a))};l.prototype.Yd=function(a){this.Da.disconnect();this.Da.connect(a)};l.prototype.remove=function(){this.Da.disconnect()};l.prototype.Ed=
function(){return this.Da};p.prototype.Xk=function(a){this.ba=a};p.prototype.tm=function(){return!!this.ba};p.prototype.zb=function(){};var ba=!1;E.prototype.LC=function(){var a,b,c,e;c=a=0;for(b=C.length;a<b;++a)e=C[a],C[c]=e,e.buffer===this?e.stop():++c;C.length=c;this.pf=this.Ja=null};E.prototype.Ms=function(){if(!this.Ja&&this.pf){var a=this;if(B.decodeAudioData)B.decodeAudioData(this.pf,function(b){a.Ja=b;a.pf=null;var c,e,d;if(ua(a.ln)||H)ua(a.Pl)||(c=a.Pl.fh,c.normalize=a.Fu,c.buffer=b);else if(a.Ti.length){c=
0;for(e=a.Ti.length;c<e;c++){b=a.Ti[c];d=new w(a,b.Yv);d.$q(!0);if("undefined"!==typeof b.Hu&&(b.ba=J.pi(b.Hu),!b.ba))continue;if(b.ba){var g=mb(b.ba.x,b.ba.y,-b.ba.k.ub(),ja,K,!0),f=mb(b.ba.x,b.ba.y,-b.ba.k.ub(),ja,K,!1);d.Zq(g,f,db(b.ba.j-b.ba.k.ub()),b.Dp,b.rq,b.uq);d.Xk(b.ba)}else d.Zq(b.x,b.y,b.r,b.Dp,b.rq,b.uq);d.play(a.iq,a.Er,a.In);a.jn&&d.pause();C.push(d)}A(a.Ti)}else d=new w(a,a.ln||""),d.play(a.iq,a.Er,a.In),a.jn&&d.pause(),C.push(d)},function(){a.cm=!0});else if(this.Ja=B.createBuffer(this.pf,
!1),this.pf=null,ua(this.ln)||H)ua(this.Pl)||(b=this.Pl.fh,b.normalize=this.Fu,b.buffer=this.Ja);else{var b=new w(this,this.ln);b.play(this.iq,this.Er,this.In);this.jn&&b.pause();C.push(b)}}};E.prototype.Dt=function(){switch(this.wa){case 0:var a=4<=this.Ja.readyState;a&&(this.Gr=!0);return a||this.Gr;case 1:return!!this.pf||!!this.Ja;case 2:return!0;case 3:return!0}return!1};E.prototype.JB=function(){switch(this.wa){case 0:return this.Dt();case 1:return!!this.Ja;case 2:return!0;case 3:return!0}return!1};
E.prototype.wB=function(){switch(this.wa){case 0:return!!this.Ja.error;case 1:return this.cm}return!1};w.prototype.sh=function(){switch(this.wa){case 0:return this.n.ended;case 1:return 1===this.buffer.wa?!this.Ue&&!this.fc&&this.n.loop||this.qd?!1:this.si:this.n.ended;case 2:return this.si;case 3:!0}return!0};w.prototype.iz=function(){return this.Ue||this.fc?!0:this.sh()};w.prototype.$q=function(a){1===V&&(!this.bf&&a?this.Ob&&(this.Hb||(this.Hb=B.createPanner(),this.Hb.panningModel="number"===typeof this.Hb.panningModel?
Aa:["equalpower","HRTF","soundfield"][Aa],this.Hb.distanceModel="number"===typeof this.Hb.distanceModel?na:["linear","inverse","exponential"][na],this.Hb.refDistance=T,this.Hb.maxDistance=y,this.Hb.rolloffFactor=la),this.Ob.disconnect(),this.Ob.connect(this.Hb),this.Hb.connect(n(this.tag)),this.bf=!0):this.bf&&!a&&this.Ob&&(this.Hb.disconnect(),this.Ob.disconnect(),this.Ob.connect(n(this.tag)),this.bf=!1))};w.prototype.Zq=function(a,b,c,e,d,g){this.bf&&1===V&&(this.Hb.setPosition(a,b,0),this.Hb.setOrientation(Math.cos(cb(c)),
Math.sin(cb(c)),0),this.Hb.coneInnerAngle=e,this.Hb.coneOuterAngle=d,this.Hb.coneOuterGain=g,this.Yu=a,this.Zu=b,this.Uu=c,this.Vu=e,this.Wu=d,this.Xu=g)};w.prototype.Xk=function(a){this.bf&&1===V&&(this.nc||(this.nc=new p),this.nc.Xk(a))};w.prototype.zb=function(a){if(this.bf&&1===V&&this.nc&&this.nc.tm()&&this.xh()){this.nc.zb(a);a=this.nc.ba;var b=mb(a.x,a.y,-a.k.ub(),ja,K,!0),c=mb(a.x,a.y,-a.k.ub(),ja,K,!1);this.Hb.setPosition(b,c,0);b=0;"undefined"!==typeof this.nc.ba.j&&(b=a.j-a.k.ub(),this.Hb.setOrientation(Math.cos(b),
Math.sin(b),0))}};w.prototype.play=function(a,b,c,e){var g=this.n;this.Ye=a;this.volume=b;c=c||0;e=e||0;switch(this.wa){case 0:1!==g.playbackRate&&(g.playbackRate=1);g.volume!==b*S&&(g.volume=b*S);g.loop!==a&&(g.loop=a);g.muted&&(g.muted=!1);if(g.currentTime!==c)try{g.currentTime=c}catch(f){}if(this.ee&&F&&!J.od)pa.push(this);else try{this.n.play()}catch(k){console&&console.log&&console.log("[C2] WARNING: exception trying to play audio '"+this.buffer.src+"': ",k)}break;case 1:this.muted=!1;this.Li=
1;if(1===this.buffer.wa)this.Ob.gain.value=b*S,this.Ue||(this.n=B.createBufferSource(),this.n.buffer=this.buffer.Ja,this.n.connect(this.Ob)),this.n.onended=this.yq,this.wl=this.n,this.n.loop=a,this.si=!1,0===c?d(this.n,e):q(this.n,c,this.ng(),e);else{1!==g.playbackRate&&(g.playbackRate=1);g.loop!==a&&(g.loop=a);g.volume=b*S;if(g.currentTime!==c)try{g.currentTime=c}catch(h){}this.ee&&F&&!J.od?pa.push(this):g.play()}break;case 2:(!this.Ue&&this.fc||0!==c)&&g.seekTo(c);g.play();this.si=!1;break;case 3:J.Gc?
AppMobi.context.playSound(this.src,a):AppMobi.player.playSound(this.src,a)}this.playbackRate=1;this.startTime=(this.ti?J.Fb.qa:J.Vf.qa)-c;this.qd=this.fc=this.Ue=!1};w.prototype.stop=function(){switch(this.wa){case 0:this.n.paused||this.n.pause();break;case 1:1===this.buffer.wa?g(this.n):this.n.paused||this.n.pause();break;case 2:this.n.stop();break;case 3:J.Gc&&AppMobi.context.stopSound(this.src)}this.fc=!0;this.qd=!1};w.prototype.pause=function(){if(!(this.Ue||this.fc||this.sh()||this.qd)){switch(this.wa){case 0:this.n.paused||
this.n.pause();break;case 1:1===this.buffer.wa?(this.ed=this.sp(!0),this.Ye&&(this.ed=this.ed%this.ng()),this.qd=!0,g(this.n)):this.n.paused||this.n.pause();break;case 2:this.n.pause();break;case 3:J.Gc&&AppMobi.context.stopSound(this.src)}this.qd=!0}};w.prototype.UC=function(){if(!(this.Ue||this.fc||this.sh())&&this.qd){switch(this.wa){case 0:this.n.play();break;case 1:1===this.buffer.wa?(this.n=B.createBufferSource(),this.n.buffer=this.buffer.Ja,this.n.connect(this.Ob),this.n.onended=this.yq,this.wl=
this.n,this.n.loop=this.Ye,this.Ob.gain.value=S*this.volume*this.Li,this.fo(),this.startTime=(this.ti?J.Fb.qa:J.Vf.qa)-this.ed/(this.playbackRate||.001),q(this.n,this.ed,this.ng())):this.n.play();break;case 2:this.n.play();break;case 3:J.Gc&&AppMobi.context.resumeSound(this.src)}this.qd=!1}};w.prototype.seek=function(a){if(!(this.Ue||this.fc||this.sh()))switch(this.wa){case 0:try{this.n.currentTime=a}catch(b){}break;case 1:if(1===this.buffer.wa)this.qd?this.ed=a:(this.pause(),this.ed=a,this.UC());
else try{this.n.currentTime=a}catch(c){}break;case 3:J.Gc&&AppMobi.context.seekSound(this.src,a)}};w.prototype.IC=function(a){1===this.wa&&(this.bf?(this.Hb.disconnect(),this.Hb.connect(a)):(this.Ob.disconnect(),this.Ob.connect(a)))};w.prototype.ng=function(){var a=0;switch(this.wa){case 0:"undefined"!==typeof this.n.duration&&(a=this.n.duration);break;case 1:a=this.buffer.Ja.duration;break;case 2:a=this.n.getDuration();break;case 3:J.Gc&&(a=AppMobi.context.getDurationSound(this.src))}return a};w.prototype.sp=
function(a){var b=this.ng(),c=0;switch(this.wa){case 0:"undefined"!==typeof this.n.currentTime&&(c=this.n.currentTime);break;case 1:if(1===this.buffer.wa){if(this.qd)return this.ed;c=(this.ti?J.Fb.qa:J.Vf.qa)-this.startTime}else"undefined"!==typeof this.n.currentTime&&(c=this.n.currentTime);break;case 3:J.Gc&&(c=AppMobi.context.getPlaybackTimeSound(this.src))}a&&(c*=this.playbackRate);!this.Ye&&c>b&&(c=b);return c};w.prototype.xh=function(){return!this.qd&&!this.Ue&&!this.fc&&!this.sh()};w.prototype.pD=
function(){return!this.Ue&&!this.fc&&!this.sh()};w.prototype.HD=function(){var a=this.volume*S;isFinite(a)||(a=0);switch(this.wa){case 0:"undefined"!==typeof this.n.volume&&this.n.volume!==a&&(this.n.volume=a);break;case 1:1===this.buffer.wa?this.Ob.gain.value=a*this.Li:"undefined"!==typeof this.n.volume&&this.n.volume!==a&&(this.n.volume=a)}};w.prototype.Yl=function(a){switch(this.wa){case 0:this.n.muted!==!!a&&(this.n.muted=!!a);break;case 1:1===this.buffer.wa?(this.Li=a?0:1,this.Ob.gain.value=
S*this.volume*this.Li):this.n.muted!==!!a&&(this.n.muted=!!a)}};w.prototype.jD=function(){this.xi=!0;this.Yl(this.xi||this.ek)};w.prototype.Bv=function(a){this.ek=!!a;this.Yl(this.xi||this.ek)};w.prototype.fo=function(){var a=this.playbackRate;this.ti&&(a*=J.Qg);switch(this.wa){case 0:this.n.playbackRate!==a&&(this.n.playbackRate=a);break;case 1:1===this.buffer.wa?this.n.playbackRate.value!==a&&(this.n.playbackRate.value=a):this.n.playbackRate!==a&&(this.n.playbackRate=a)}};w.prototype.mD=function(a){switch(this.wa){case 0:a?
this.xh()?(this.Od=!0,this.n.pause()):this.Od=!1:this.Od&&(this.n.play(),this.Od=!1);break;case 1:a?this.xh()?(this.Od=!0,1===this.buffer.wa?(this.ed=this.sp(!0),this.Ye&&(this.ed=this.ed%this.ng()),g(this.n)):this.n.pause()):this.Od=!1:this.Od&&(1===this.buffer.wa?(this.n=B.createBufferSource(),this.n.buffer=this.buffer.Ja,this.n.connect(this.Ob),this.n.onended=this.yq,this.wl=this.n,this.n.loop=this.Ye,this.Ob.gain.value=S*this.volume*this.Li,this.fo(),this.startTime=(this.ti?J.Fb.qa:J.Vf.qa)-this.ed/
(this.playbackRate||.001),q(this.n,this.ed,this.ng())):this.n.play(),this.Od=!1);break;case 2:a?this.xh()?(this.n.pause(),this.Od=!0):this.Od=!1:this.Od&&(this.Od=!1,this.n.play())}};ea.ra=function(a){function b(){if(!Ia&&B.createBuffer){var a=B.createBuffer(1,220,22050),c=B.createBufferSource();c.buffer=a;c.connect(B.destination);d(c)}}this.type=a;J=this.b=a.b;ka=this;this.sd=null;this.qk=-600;this.b.dk&&(aa=!0);!(this.b.Id||this.b.ze&&(this.b.Wj||this.b.xm))||this.b.Xj||this.b.bb||this.b.wm||aa||
(F=!0);B=null;"undefined"!==typeof AudioContext?(V=1,B=new AudioContext):"undefined"!==typeof webkitAudioContext&&(V=1,B=new webkitAudioContext);this.b.Id&&B&&(B.close&&B.close(),"undefined"!==typeof AudioContext?B=new AudioContext:"undefined"!==typeof webkitAudioContext&&(B=new webkitAudioContext));F?document.addEventListener("touchend",function(){!ba&&B&&(b(),ba=!0);var a,c,e;if(F){if(!H)for(a=0,c=pa.length;a<c;++a)e=pa[a],e.fc||e.qd||e.n.play();A(pa)}},!0):aa&&document.addEventListener("touchend",
function(){!ba&&B&&(b(),ba=!0)},!0);1!==V&&(this.b.Pc&&"undefined"!==typeof window.Media?V=2:this.b.Ct&&(V=3));2===V&&(u=location.href,a=u.lastIndexOf("/"),-1<a&&(u=u.substr(0,a+1)),u=u.replace("file://",""));if(this.b.LB&&this.b.MB&&"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.Yf(this);else{if(this.b.Gc)N=this.b.ze;else try{N=!!(new Audio).canPlayType('audio/ogg; codecs="vorbis"')}catch(c){N=
!1}this.b.gj(this)}};var qa=ea.ra.prototype;qa.V=function(){this.b.ai=this;M=this.C[0];this.Lf=this.C[1];this.sC=0!==this.C[2];this.Du=0;Aa=this.C[3];na=this.C[4];this.qk=-this.C[5];T=this.C[6];y=this.C[7];la=this.C[8];this.sd=new p;var a=this.b.S||this.b.width,b=this.b.R||this.b.height;1===V&&(B.listener.setPosition(a/2,b/2,this.qk),B.listener.setOrientation(0,0,1,0,-1,0),window.c2OnAudioMicStream=function(a,b){ga&&ga.disconnect();ub=b.toLowerCase();ga=B.createMediaStreamSource(a);ga.connect(n(ub))});
this.b.ms(function(a){ka.mC(a)});var c=this;this.b.xo(function(a){c.vq(a)})};qa.vq=function(a){var b,c,e;b=0;for(c=C.length;b<c;b++)e=C[b],e.nc&&e.nc.ba===a&&(e.nc.ba=null,e.bf&&e.xh()&&e.Ye&&e.stop());this.sd.ba===a&&(this.sd.ba=null)};qa.Ic=function(){var a={silent:H,masterVolume:S,listenerZ:this.qk,listenerUid:this.sd.tm()?this.sd.ba.uid:-1,playing:[],effects:{}},b=a.playing,c,e,d,g,f,k;c=0;for(e=C.length;c<e;c++)d=C[c],!d.pD()||3===this.Lf||d.ee&&1===this.Lf||!d.ee&&2===this.Lf||(g=d.sp(),d.Ye&&
(g=g%d.ng()),g={tag:d.tag,buffersrc:d.buffer.src,is_music:d.ee,playbackTime:g,volume:d.volume,looping:d.Ye,muted:d.xi,playbackRate:d.playbackRate,paused:d.qd,resume_position:d.ed},d.bf&&(g.pan={},k=g.pan,d.nc&&d.nc.tm()?k.objUid=d.nc.ba.uid:(k.x=d.Yu,k.y=d.Zu,k.a=d.Uu),k.ia=d.Vu,k.oa=d.Wu,k.og=d.Xu),b.push(g));b=a.effects;for(f in da)if(da.hasOwnProperty(f)){d=[];c=0;for(e=da[f].length;c<e;c++)d.push({type:da[f][c].type,params:da[f][c].pc});b[f]=d}return a};var X=[];qa.bd=function(d){var g=d.silent;
S=d.masterVolume;this.qk=d.listenerZ;this.sd.Xk(null);var f=d.listenerUid;-1!==f&&(this.sd.Sm=f,X.push(this.sd));var f=d.playing,h,m,w,q,n,D,I,u,z,x,E;if(3!==this.Lf)for(h=0,m=C.length;h<m;h++)z=C[h],z.ee&&1===this.Lf||(z.ee||2!==this.Lf)&&z.stop();for(n in da)if(da.hasOwnProperty(n))for(h=0,m=da[n].length;h<m;h++)da[n][h].remove();qb(da);for(n in d.effects)if(d.effects.hasOwnProperty(n))for(D=d.effects[n],h=0,m=D.length;h<m;h++)switch(w=D[h].type,x=D[h].params,w){case "filter":U(n,new b(x[0],x[1],
x[2],x[3],x[4],x[5]));break;case "delay":U(n,new c(x[0],x[1],x[2]));break;case "convolve":w=x[2];z=this.km(w,!1);z.Ja?w=new e(z.Ja,x[0],x[1],w):(w=new e(null,x[0],x[1],w),z.Fu=x[0],z.Pl=w);U(n,w);break;case "flanger":U(n,new a(x[0],x[1],x[2],x[3],x[4]));break;case "phaser":U(n,new k(x[0],x[1],x[2],x[3],x[4],x[5]));break;case "gain":U(n,new v(x[0]));break;case "tremolo":U(n,new r(x[0],x[1]));break;case "ringmod":U(n,new P(x[0],x[1]));break;case "distortion":U(n,new G(x[0],x[1],x[2],x[3],x[4]));break;
case "compressor":U(n,new t(x[0],x[1],x[2],x[3],x[4]));break;case "analyser":U(n,new l(x[0],x[1]))}h=0;for(m=f.length;h<m;h++)3===this.Lf||(d=f[h],w=d.buffersrc,q=d.is_music,n=d.tag,D=d.playbackTime,I=d.looping,u=d.volume,E=(x=d.pan)&&x.hasOwnProperty("objUid")?x.objUid:-1,q&&1===this.Lf)||!q&&2===this.Lf||((z=this.dt(w,n,q,I,u))?(z.ed=d.resume_position,z.$q(!!x),z.play(I,u,D),z.fo(),z.HD(),z.Yl(z.xi||z.ek),d.paused&&z.pause(),d.muted&&z.jD(),z.Yl(z.xi||z.ek),x&&(-1!==E?(z.nc=z.nc||new p,z.nc.Sm=
E,X.push(z.nc)):z.Zq(x.x,x.y,x.a,x.ia,x.oa,x.og))):(z=this.km(w,q),z.In=D,z.jn=d.paused,x&&(-1!==E?z.Ti.push({Hu:E,Dp:x.ia,rq:x.oa,uq:x.og,Yv:n}):z.Ti.push({x:x.x,y:x.y,r:x.a,Dp:x.ia,rq:x.oa,uq:x.og,Yv:n}))));if(g&&!H){h=0;for(m=C.length;h<m;h++)C[h].Bv(!0);H=!0}else if(!g&&H){h=0;for(m=C.length;h<m;h++)C[h].Bv(!1);H=!1}};qa.Ne=function(){var a,b,c,e;a=0;for(b=X.length;a<b;a++)c=X[a],e=this.b.pi(c.Sm),c.Xk(e),c.Sm=-1,e&&(ja=e.x,K=e.y);A(X)};qa.mC=function(a){if(!this.sC){!a&&B&&B.resume&&(B.resume(),
Ia=!1);var b,c;b=0;for(c=C.length;b<c;b++)C[b].mD(a);a&&B&&B.suspend&&(B.suspend(),Ia=!0)}};qa.zb=function(){var a=this.b.ih,b,c,e;b=0;for(c=C.length;b<c;b++)e=C[b],e.zb(a),0!==M&&e.fo();var d,g;for(d in da)if(da.hasOwnProperty(d))for(e=da[d],b=0,c=e.length;b<c;b++)g=e[b],g.zb&&g.zb();1===V&&this.sd.tm()&&(this.sd.zb(a),ja=this.sd.ba.x,K=this.sd.ba.y,B.listener.setPosition(this.sd.ba.x,this.sd.ba.y,this.qk))};var Ca=[];qa.lD=function(a){var b,c,e,d,g,f=0;b=0;for(c=a.length;b<c;++b)if(e=a[b],d=e[0],
e=2*e[1],(g=4<d.length&&".ogg"===d.substr(d.length-4))&&N||!g&&!N)Ca.push({filename:d,size:e,ba:null}),f+=e;return f};qa.tD=function(){var a,b,c,e;a=0;for(b=Ca.length;a<b;++a)c=Ca[a],e=this.b.gp+c.filename,c.ba=this.km(e,!1)};qa.YA=function(){var a=0,b,c,e;b=0;for(c=Ca.length;b<c;++b)e=Ca[b],e.ba.JB()||e.ba.wB()||this.b.bb||this.b.xm?a+=e.size:e.ba.Dt()&&(a+=Math.floor(e.size/2));return a};qa.MC=function(){var a,b,c,e;c=a=0;for(b=R.length;a<b;++a)e=R[a],R[c]=e,e.ee?e.LC():++c;R.length=c};qa.km=function(a,
b){var c,e,d,g=null;c=0;for(e=R.length;c<e;c++)if(d=R[c],d.src===a){g=d;break}g||(aa&&b&&this.MC(),g=new E(a,b),R.push(g));return g};qa.dt=function(a,b,c,e,d){var g,f,k;g=0;for(f=C.length;g<f;g++)if(k=C[g],k.src===a&&(k.iz()||c))return k.tag=b,k;a=this.km(a,c);if(!a.Ja)return"<preload>"!==b&&(a.ln=b,a.iq=e,a.Er=d),null;k=new w(a,b);C.push(k);return k};var Ba=[];x.prototype.ql=function(a){return Hb(W,a)};ea.g=new x;z.prototype.Play=function(a,b,c,e){!H&&(c=Math.pow(10,c/20),isFinite(c)||(c=0),0>c&&
(c=0),1<c&&(c=1),Q=this.dt(this.b.gp+a[0]+(N?".ogg":".m4a"),e,a[1],0!==b,c))&&(Q.$q(!1),Q.play(0!==b,c,0,this.Du),this.Du=0)};z.prototype.ul=function(a){I(a);var b;a=0;for(b=Ba.length;a<b;a++)Ba[a].stop()};ea.q=new z;O.prototype.Pw=function(a,b){I(b,!0);Ba.length?a.u(Ba[0].ng()):a.u(0)};ea.Ra=new O})();function cd(f){this.b=f}
(function(){function f(){q&&g&&window.OfflineClientInfo&&window.OfflineClientInfo.SetMessageCallback(function(c){b.iC(c)})}function n(){}function h(){}var m=cd.prototype;m.Ca=function(b){this.Ea=b;this.b=b.b};var d=m.Ca.prototype;d.V=function(){};var q=!1,g=!1;document.addEventListener("DOMContentLoaded",function(){if(window.C2_RegisterSW&&navigator.Ht){var b=document.createElement("script");b.onload=function(){q=!0;f()};b.src="offlineClient.js";document.head.appendChild(b)}});var b=null;d.Lu=function(){g=
!0;f()};m.ra=function(b){this.type=b;this.b=b.b};d=m.ra.prototype;d.V=function(){var c=this;window.addEventListener("resize",function(){c.b.trigger(cd.prototype.g.Xx,c)});b=this;"undefined"!==typeof navigator.onLine&&(window.addEventListener("online",function(){c.b.trigger(cd.prototype.g.Rx,c)}),window.addEventListener("offline",function(){c.b.trigger(cd.prototype.g.Px,c)}));"undefined"!==typeof window.applicationCache&&(window.applicationCache.addEventListener("updateready",function(){c.b.Gi=1;c.b.trigger(cd.prototype.g.tl,
c)}),window.applicationCache.addEventListener("progress",function(b){c.b.Gi=b.loaded/b.total||0}));this.b.Gc||(document.addEventListener("appMobi.device.update.available",function(){c.b.trigger(cd.prototype.g.tl,c)}),document.addEventListener("backbutton",function(){c.b.trigger(cd.prototype.g.pl,c)}),document.addEventListener("menubutton",function(){c.b.trigger(cd.prototype.g.Or,c)}),document.addEventListener("searchbutton",function(){c.b.trigger(cd.prototype.g.Yx,c)}),document.addEventListener("tizenhwkey",
function(b){var a;switch(b.keyName){case "back":a=c.b.trigger(cd.prototype.g.pl,c);!a&&window.tizen&&window.tizen.application.getCurrentApplication().exit();break;case "menu":(a=c.b.trigger(cd.prototype.g.Or,c))||b.preventDefault()}}));this.b.Cm&&"undefined"!==typeof Windows?Windows.UI.Core.SystemNavigationManager.getForCurrentView().addEventListener("backrequested",function(b){c.b.trigger(cd.prototype.g.pl,c)&&(b.XF=!0)}):this.b.Bm&&WinJS.Application&&(WinJS.Application.onbackclick=function(){return!!c.b.trigger(cd.prototype.g.pl,
c)});this.b.ms(function(b){b?c.b.trigger(cd.prototype.g.Sx,c):c.b.trigger(cd.prototype.g.Tx,c)});this.PB="undefined"!==typeof window.is_scirra_arcade};d.iC=function(b){b=b.data.type;"downloading-update"===b?this.b.trigger(cd.prototype.g.ey,this):"update-ready"===b||"update-pending"===b?this.b.trigger(cd.prototype.g.tl,this):"offline-ready"===b&&this.b.trigger(cd.prototype.g.Qx,this)};n.prototype.Rx=function(){return!0};n.prototype.Px=function(){return!0};n.prototype.tl=function(){return!0};n.prototype.Tx=
function(){return!0};n.prototype.Sx=function(){return!0};n.prototype.Xx=function(){return!0};n.prototype.pl=function(){return!0};n.prototype.Or=function(){return!0};n.prototype.Yx=function(){return!0};n.prototype.ey=function(){return!0};n.prototype.tl=function(){return!0};n.prototype.Qx=function(){return!0};m.g=new n;h.prototype.Vw=function(b,e){this.b.nd?CocoonJS.App.openURL(b):this.b.de?ejecta.openURL(b):this.b.Bm?Windows.System.Launcher.launchUriAsync(new Windows.Foundation.Uri(b)):navigator.app&&
navigator.app.loadUrl?navigator.app.loadUrl(b,{openExternal:!0}):this.b.Pc?window.open(b,"_system"):this.PB||this.b.bb||window.open(b,e)};m.q=new h;m.Ra=new function(){}})();function $c(f){this.b=f}
(function(){function f(){this.name="";this.Uk=0;this.pc=[]}function n(){b++;b===g.length&&g.push(new f);return g[b]}function h(){}function m(){}function d(){}var q=$c.prototype;q.Ca=function(b){this.Ea=b;this.b=b.b};q.Ca.prototype.V=function(){};q.ra=function(b){this.type=b;this.b=b.b};var g=[],b=-1;q.ra.prototype.V=function(){var c=this;window.c2_callFunction=function(e,a){var d,g,f,h=n();h.name=e.toLowerCase();h.Uk=0;if(a)for(h.pc.length=a.length,d=0,g=a.length;d<g;++d)f=a[d],h.pc[d]="number"===
typeof f||"string"===typeof f?f:"boolean"===typeof f?f?1:0:0;else A(h.pc);c.b.trigger($c.prototype.g.rl,c,h.name);b--;return h.Uk}};h.prototype.rl=function(c){var e=0>b?null:g[b];return e?Hb(c,e.name):!1};q.g=new h;m.prototype.CallFunction=function(c,e){var a=n();a.name=c.toLowerCase();a.Uk=0;Xa(a.pc,e);this.b.trigger($c.prototype.g.rl,this,a.name);b--};q.q=new m;d.prototype.Cw=function(c,e){var a=n();a.name=e.toLowerCase();a.Uk=0;A(a.pc);var d,g;d=2;for(g=arguments.length;d<g;d++)a.pc.push(arguments[d]);
this.b.trigger($c.prototype.g.rl,this,a.name);b--;c.Dv(a.Uk)};q.Ra=new d})();function dd(f){this.b=f}
(function(){function f(){}function n(){}var h=dd.prototype;h.Ca=function(d){this.Ea=d;this.b=d.b};h.Ca.prototype.V=function(){};h.ra=function(d){this.type=d;this.b=d.b};var m=h.ra.prototype;m.V=function(){if(this.b.bb)sa("[Construct 2] List plugin not supported on this platform - the object will not be created");else{this.O=document.createElement("select");this.O.id=this.C[7];jQuery(this.O).appendTo(this.b.Jl?this.b.Jl:"body");this.O.title=this.C[1];this.O.disabled=0===this.C[3];0===this.C[4]&&(this.O.size=
2);this.O.multiple=0!==this.C[5];this.cz=0!==this.C[6];0===this.C[2]&&(jQuery(this.O).hide(),this.visible=!1);if(this.C[0]){var d=this.C[0].split(";"),f,g,b;f=0;for(g=d.length;f<g;f++)b=document.createElement("option"),b.text=d[f],this.O.add(b)}var c=this;this.O.onchange=function(){c.b.trigger(dd.prototype.g.Sr,c)};this.O.onclick=function(b){b.stopPropagation();c.b.od=!0;c.b.trigger(dd.prototype.g.vx,c);c.b.od=!1};this.O.ondblclick=function(b){b.stopPropagation();c.b.od=!0;c.b.trigger(dd.prototype.g.zx,
c);c.b.od=!1};this.O.addEventListener("touchstart",function(b){b.stopPropagation()},!1);this.O.addEventListener("touchmove",function(b){b.stopPropagation()},!1);this.O.addEventListener("touchend",function(b){b.stopPropagation()},!1);jQuery(this.O).mousedown(function(b){b.stopPropagation()});jQuery(this.O).mouseup(function(b){b.stopPropagation()});this.Qt=this.Rt=this.It=this.Mt=this.Ot=this.Kt=0;this.vi=!0;this.mw(!0);this.b.gj(this)}};m.Ic=function(){var d={tooltip:this.O.title,disabled:!!this.O.disabled,
items:[],sel:[]},f,g,b=d.items;f=0;for(g=this.O.length;f<g;f++)b.push(this.O.options[f].text);b=d.sel;if(this.O.multiple)for(f=0,g=this.O.length;f<g;f++)this.O.options[f].selected&&b.push(f);else b.push(this.O.selectedIndex);return d};m.bd=function(d){this.O.title=d.tooltip;this.O.disabled=d.disabled;for(var f=d.items;this.O.length;)this.O.remove(this.O.length-1);var g,b,c;g=0;for(b=f.length;g<b;g++)c=document.createElement("option"),c.text=f[g],this.O.add(c);d=d.sel;if(this.O.multiple)for(g=0,b=
d.length;g<b;g++)d[g]<this.O.length&&(this.O.options[d[g]].selected=!0);else 1<=d.length&&(this.O.selectedIndex=d[0])};m.Fg=function(){this.b.bb||(jQuery(this.O).remove(),this.O=null)};m.zb=function(){this.mw()};m.mw=function(d){if(!this.b.bb){var f=this.k.Ya(this.x,this.y,!0),g=this.k.Ya(this.x,this.y,!1),b=this.k.Ya(this.x+this.width,this.y+this.height,!0),c=this.k.Ya(this.x+this.width,this.y+this.height,!1),e=this.b.width/this.b.devicePixelRatio,a=this.b.height/this.b.devicePixelRatio;!this.visible||
!this.k.visible||0>=b||0>=c||f>=e||g>=a?(this.vi&&jQuery(this.O).hide(),this.vi=!1):(1>f&&(f=1),1>g&&(g=1),b>=e&&(b=e-1),c>=a&&(c=a-1),e=window.innerWidth,a=window.innerHeight,d||this.Kt!==f||this.Ot!==g||this.Mt!==b||this.It!==c||this.Rt!==e||this.Qt!==a?(this.Kt=f,this.Ot=g,this.Mt=b,this.It=c,this.Rt=e,this.Qt=a,this.vi||(jQuery(this.O).show(),this.vi=!0),d=Math.round(f)+jQuery(this.b.canvas).offset().left,e=Math.round(g)+jQuery(this.b.canvas).offset().top,jQuery(this.O).css("position","absolute"),
jQuery(this.O).offset({left:d,top:e}),jQuery(this.O).width(Math.round(b-f)),jQuery(this.O).height(Math.round(c-g)),this.cz&&jQuery(this.O).css("font-size",this.k.$c(!0)/this.b.devicePixelRatio-.2+"em")):this.vi||(jQuery(this.O).show(),this.vi=!0))}};m.Cd=function(){};m.Ec=function(){};f.prototype.Kw=function(d,f){return Oc(this.O.selectedIndex,d,f)};f.prototype.Sr=function(){return!0};f.prototype.vx=function(){return!0};f.prototype.zx=function(){return!0};h.g=new f;n.prototype.jy=function(d){this.b.bb||
(this.O.selectedIndex=d)};n.prototype.uo=function(d){this.b.bb||(this.visible=0!==d)};h.q=new n;h.Ra=new function(){}})();function Y(f){this.b=f}
(function(){function f(){if(0===this.Uo.length){var a=document.createElement("canvas");a.width=this.width;a.height=this.height;var b=a.getContext("2d");this.Zi?b.drawImage(this.xa,this.Ni,this.Oi,this.width,this.height,0,0,this.width,this.height):b.drawImage(this.xa,0,0,this.width,this.height);this.Uo=a.toDataURL("image/png")}return this.Uo}function n(){}function h(a){a[0]=0;a[1]=0;a[2]=0;v.push(a)}function m(a,b){return a<b?""+a+","+b:""+b+","+a}function d(a,b,c,e){b=b.uid;c=c.uid;var d=m(b,c);if(a.hasOwnProperty(d))a[d][2]=
e;else{var g=v.length?v.pop():[0,0,0];g[0]=b;g[1]=c;g[2]=e;a[d]=g}}function q(a,b,c){b=m(b.uid,c.uid);a.hasOwnProperty(b)&&(h(a[b]),delete a[b])}function g(a,b,c){b=m(b.uid,c.uid);if(a.hasOwnProperty(b))return r=a[b][2],!0;r=-2;return!1}function b(){}var c=Y.prototype;c.Ca=function(a){this.Ea=a;this.b=a.b};var e=c.Ca.prototype;e.V=function(){if(!this.aa){var a,b,c,e,d,g,k,h,l;this.re=[];this.Sj=!1;a=0;for(b=this.jd.length;a<b;a++){d=this.jd[a];k={};k.name=d[0];k.speed=d[1];k.loop=d[2];k.Nq=d[3];k.Oq=
d[4];k.bv=d[5];k.Aa=d[6];k.frames=[];c=0;for(e=d[7].length;c<e;c++)g=d[7][c],h={},h.mr=g[0],h.nr=g[1],h.Ni=g[2],h.Oi=g[3],h.width=g[4],h.height=g[5],h.duration=g[6],h.lc=g[7],h.mc=g[8],h.Fp=g[9],h.mn=g[10],h.cv=g[11],h.Zi=0!==h.width,h.Uo="",h.WF=f,l={left:0,top:0,right:1,bottom:1},h.br=l,h.hb=null,(l=this.b.KA(g[0]))?h.xa=l:(h.xa=new Image,h.xa.vz=g[0],h.xa.Is=g[1],h.xa.hz=null,this.b.uw(h.xa,g[0])),k.frames.push(h),this.re.push(h);this.jd[a]=k}}};e.kw=function(){var a,b,c;a=0;for(b=this.e.length;a<
b;a++)c=this.e[a],c.Rl=c.ic.hb};e.cn=function(){if(!this.aa){var a,b,c;a=0;for(b=this.re.length;a<b;++a)c=this.re[a],c.xa.hz=null,c.hb=null;this.Sj=!1;this.kw()}};e.wq=function(){if(!this.aa&&this.e.length){var a,b,c;a=0;for(b=this.re.length;a<b;++a)c=this.re[a],c.hb=this.b.D.Rm(c.xa,!1,this.b.kb,c.cv);this.kw()}};e.cq=function(){if(!this.aa&&!this.Sj&&this.b.D){var a,b,c;a=0;for(b=this.re.length;a<b;++a)c=this.re[a],c.hb=this.b.D.Rm(c.xa,!1,this.b.kb,c.cv);this.Sj=!0}};e.xr=function(){if(!this.aa&&
!this.e.length&&this.Sj){var a,b,c;a=0;for(b=this.re.length;a<b;++a)c=this.re[a],this.b.D.deleteTexture(c.hb),c.hb=null;this.Sj=!1}};var a=[];e.Gq=function(b){var c,e,d;A(a);c=0;for(e=this.re.length;c<e;++c)d=this.re[c].xa,-1===a.indexOf(d)&&(b.drawImage(d,0,0),a.push(d))};c.ra=function(a){this.type=a;this.b=a.b;a=this.type.jd[0].frames[0].mn;this.Nd?this.ya.$k(a):this.ya=new Bb(a)};var k=c.ra.prototype;k.V=function(){this.visible=0===this.C[0];this.um=this.ck=!1;this.eh=0!==this.C[3];this.ab=this.ct(this.C[1])||
this.type.jd[0];this.L=this.C[2];0>this.L&&(this.L=0);this.L>=this.ab.frames.length&&(this.L=this.ab.frames.length-1);var a=this.ab.frames[this.L];this.ya.$k(a.mn);this.lc=a.lc;this.mc=a.mc;this.fi=this.ab.speed;this.jg=this.ab.Oq;1===this.type.jd.length&&1===this.type.jd[0].frames.length||0===this.fi||(this.b.gj(this),this.ck=!0);this.Nd?this.Oe.reset():this.Oe=new zb;this.yf=this.Oe.qa;this.Yg=!0;this.of=0;this.Xg=!0;this.Ll=this.ns="";this.zs=0;this.Kl=-1;this.type.cq();var b,c,e,d,g,f,k,a=0;for(b=
this.type.jd.length;a<b;a++)for(d=this.type.jd[a],c=0,e=d.frames.length;c<e;c++)g=d.frames[c],0===g.width&&(g.width=g.xa.width,g.height=g.xa.height),g.Zi&&(k=g.xa,f=g.br,f.left=g.Ni/k.width,f.top=g.Oi/k.height,f.right=(g.Ni+g.width)/k.width,f.bottom=(g.Oi+g.height)/k.height,0===g.Ni&&0===g.Oi&&g.width===k.width&&g.height===k.height&&(g.Zi=!1));this.ic=this.ab.frames[this.L];this.Rl=this.ic.hb};k.Ic=function(){var a={a:this.ab.Aa,f:this.L,cas:this.fi,fs:this.yf,ar:this.of,at:this.Oe.qa,rt:this.jg};
this.Yg||(a.ap=this.Yg);this.Xg||(a.af=this.Xg);return a};k.bd=function(a){var b=this.PA(a.a);b&&(this.ab=b);this.L=a.f;0>this.L&&(this.L=0);this.L>=this.ab.frames.length&&(this.L=this.ab.frames.length-1);this.fi=a.cas;this.yf=a.fs;this.of=a.ar;this.Oe.reset();this.Oe.qa=a.at;this.Yg=a.hasOwnProperty("ap")?a.ap:!0;this.Xg=a.hasOwnProperty("af")?a.af:!0;a.hasOwnProperty("rt")?this.jg=a.rt:this.jg=this.ab.Oq;this.ic=this.ab.frames[this.L];this.Rl=this.ic.hb;this.ya.$k(this.ic.mn);this.lc=this.ic.lc;
this.mc=this.ic.mc};k.zo=function(a){this.L=a?0:this.ab.frames.length-1;this.Yg=!1;this.ns=this.ab.name;this.um=!0;this.b.trigger(Y.prototype.g.tx,this);this.b.trigger(Y.prototype.g.rx,this);this.um=!1;this.of=0};k.Ve=function(){return this.Oe.qa};k.zb=function(){this.Oe.add(this.b.mm(this));this.Ll.length&&this.Ns();0<=this.Kl&&this.Os();var a=this.Oe.qa,b=this.ab,c=b.frames[this.L],e=c.duration/this.fi;this.Yg&&a>=this.yf+e&&(this.Xg?this.L++:this.L--,this.yf+=e,this.L>=b.frames.length&&(b.bv?(this.Xg=
!1,this.L=b.frames.length-2):b.loop?this.L=this.jg:(this.of++,this.of>=b.Nq?this.zo(!1):this.L=this.jg)),0>this.L&&(b.bv?(this.L=1,this.Xg=!0,b.loop||(this.of++,this.of>=b.Nq&&this.zo(!0))):b.loop?this.L=this.jg:(this.of++,this.of>=b.Nq?this.zo(!0):this.L=this.jg)),0>this.L?this.L=0:this.L>=b.frames.length&&(this.L=b.frames.length-1),a>this.yf+b.frames[this.L].duration/this.fi&&(this.yf=a),a=b.frames[this.L],this.Yh(c,a),this.b.Fa=!0)};k.ct=function(a){var b,c,e;b=0;for(c=this.type.jd.length;b<c;b++)if(e=
this.type.jd[b],Hb(e.name,a))return e;return null};k.PA=function(a){var b,c,e;b=0;for(c=this.type.jd.length;b<c;b++)if(e=this.type.jd[b],e.Aa===a)return e;return null};k.Ns=function(){var a=this.ab.frames[this.L],b=this.ct(this.Ll);this.Ll="";!b||Hb(b.name,this.ab.name)&&this.Yg||(this.ab=b,this.fi=b.speed,this.jg=b.Oq,0>this.L&&(this.L=0),this.L>=this.ab.frames.length&&(this.L=this.ab.frames.length-1),1===this.zs&&(this.L=0),this.Yg=!0,this.yf=this.Oe.qa,this.Xg=!0,this.Yh(a,this.ab.frames[this.L]),
this.b.Fa=!0)};k.Os=function(){var a=this.ab.frames[this.L],b=this.L;this.L=Ha(this.Kl);0>this.L&&(this.L=0);this.L>=this.ab.frames.length&&(this.L=this.ab.frames.length-1);b!==this.L&&(this.Yh(a,this.ab.frames[this.L]),this.yf=this.Oe.qa,this.b.Fa=!0);this.Kl=-1};k.Yh=function(a,b){var c=a.width,e=a.height,d=b.width,g=b.height;c!=d&&(this.width*=d/c);e!=g&&(this.height*=g/e);this.lc=b.lc;this.mc=b.mc;this.ya.$k(b.mn);this.gb();this.ic=b;this.Rl=b.hb;c=0;for(e=this.ga.length;c<e;c++)d=this.ga[c],
d.lC&&d.lC(a,b);this.b.trigger(Y.prototype.g.Yh,this)};k.Cd=function(a){a.globalAlpha=this.opacity;var b=this.ic,c=b.Zi,e=b.xa,d=this.x,g=this.y,f=this.width,k=this.height;if(0===this.j&&0<=f&&0<=k)d-=this.lc*f,g-=this.mc*k,this.b.De&&(d=Math.round(d),g=Math.round(g)),c?a.drawImage(e,b.Ni,b.Oi,b.width,b.height,d,g,f,k):a.drawImage(e,d,g,f,k);else{this.b.De&&(d=Math.round(d),g=Math.round(g));a.save();var h=0<f?1:-1,l=0<k?1:-1;a.translate(d,g);1===h&&1===l||a.scale(h,l);a.rotate(this.j*h*l);d=0-this.lc*
Ea(f);g=0-this.mc*Ea(k);c?a.drawImage(e,b.Ni,b.Oi,b.width,b.height,d,g,Ea(f),Ea(k)):a.drawImage(e,d,g,Ea(f),Ea(k));a.restore()}};k.hh=function(a){this.Ec(a)};k.Ec=function(a){a.yd(this.Rl);a.Nh(this.opacity);var b=this.ic,c=this.Oc;if(this.b.De){var e=Math.round(this.x)-this.x,d=Math.round(this.y)-this.y;b.Zi?a.df(c.Wb+e,c.Xb+d,c.Lc+e,c.Mc+d,c.zc+e,c.Ac+d,c.xc+e,c.yc+d,b.br):a.Sk(c.Wb+e,c.Xb+d,c.Lc+e,c.Mc+d,c.zc+e,c.Ac+d,c.xc+e,c.yc+d)}else b.Zi?a.df(c.Wb,c.Xb,c.Lc,c.Mc,c.zc,c.Ac,c.xc,c.yc,b.br):
a.Sk(c.Wb,c.Xb,c.Lc,c.Mc,c.zc,c.Ac,c.xc,c.yc)};k.UA=function(a){var b=this.ic,c,e;c=0;for(e=b.Fp.length;c<e;c++)if(Hb(a,b.Fp[c][0]))return c;return-1};k.pg=function(a,b){var c=this.ic,e=c.Fp,d;xa(a)?d=this.UA(a):d=a-1;d=Ha(d);if(0>d||d>=e.length)return b?this.x:this.y;var g=(e[d][1]-c.lc)*this.width,e=e[d][2],e=(e-c.mc)*this.height,c=Math.cos(this.j);d=Math.sin(this.j);var f=g*c-e*d,e=e*c+g*d,g=f+this.x,e=e+this.y;return b?g:e};var v=[],r=-2,P=[];n.prototype.wx=function(a){if(!a)return!1;var b=this.b,
c=b.Nj(),e=c.type,f=null;c.U.collmemory?f=c.U.collmemory:(f={},c.U.collmemory=f);c.U.spriteCreatedDestroyCallback||(c.U.spriteCreatedDestroyCallback=!0,b.xo(function(a){var b=c.U.collmemory;a=a.uid;var e,d;for(e in b)b.hasOwnProperty(e)&&(d=b[e],d[0]===a||d[1]===a)&&(h(b[e]),delete b[e])}));var k=e.Z(),l=a.Z(),k=k.Zc(),p,m,n,t,v,E,B,G=this.b.Qd,C=G-1,Q=b.wb().Cb;for(m=0;m<k.length;m++){n=k[m];l.ka?(n.Qa(),this.b.ft(n.k,a,n.mb,P),p=P):p=l.Zc();for(t=0;t<p.length;t++)v=p[t],b.Uv(n,v)||b.kz(n,v)?(E=
g(f,n,v),E=!E||r<C,d(f,n,v,G),E&&(b.Rk(Q.Ua),E=e.Z(),B=a.Z(),E.ka=!1,B.ka=!1,e===a?(E.e.length=2,E.e[0]=n,E.e[1]=v,e.Xd()):(E.e.length=1,B.e.length=1,E.e[0]=n,B.e[0]=v,e.Xd(),a.Xd()),Q.Pq(),b.Jg(Q.Ua))):q(f,n,v);A(P)}return!1};var G=null,t=new oa,l=!1,p=[],E=new La(0,0,0,0);e.finish=function(a){if(l){if(a){var b=this.b.wb().Cb.Ld;a=G.Z();var c=t.Tf(),e,d;if(a.ka){a.ka=!1;A(a.e);e=0;for(d=c.length;e<d;++e)a.e[e]=c[e];if(b)for(A(a.ja),e=0,d=G.e.length;e<d;++e)c=G.e[e],t.contains(c)||a.ja.push(c)}else if(b)for(b=
a.e.length,e=0,d=c.length;e<d;++e)a.e[b+e]=c[e],ab(a.ja,c[e]);else Xa(a.e,c);G.Xd()}t.clear();l=!1}};n.prototype.gx=function(a){if(a){var b=!1,c,e,d,g=this.b.Nj(),f=g.type,g=g.vm;c=a.Z();e=this.b.wb().Cb.Ld;var k;c.ka?(this.Qa(),E.ei(this.mb),E.offset(0,0),this.b.ft(this.k,a,E,p),k=p):k=e?this.b.GB()&&!c.ja.length&&c.e.length?c.e:c.ja:c.e;G=a;l=f!==a&&!g;c=0;for(e=k.length;c<e;c++)if(d=k[c],this.b.Uv(this,d)){b=!0;if(g)break;f!==a&&t.add(d)}A(p);a=b}else a=!1;return a};n.prototype.Hw=function(a,b){return Oc(this.L,
a,b)};n.prototype.rx=function(a){return Hb(this.ns,a)};n.prototype.tx=function(){return!0};n.prototype.Yh=function(){return!0};c.g=new n;b.prototype.Hy=function(a,b,c){if(a&&b&&(b=this.b.Ro(a,b,this.pg(c,!0),this.pg(c,!1)))){"undefined"!==typeof b.j&&(b.j=this.j,b.gb());this.b.Hd++;var e,d,g;this.b.trigger(Object.getPrototypeOf(a.Ea).g.Xh,b);if(b.Hc)for(e=0,d=b.siblings.length;e<d;e++)g=b.siblings[e],this.b.trigger(Object.getPrototypeOf(g.type.Ea).g.Xh,g);this.b.Hd--;e=this.b.RA();c=!1;if(ua(e.U.Spawn_LastExec)||
e.U.Spawn_LastExec<this.b.oh)c=!0,e.U.Spawn_LastExec=this.b.oh;if(a!=this.type&&(a=a.Z(),a.ka=!1,c?(A(a.e),a.e[0]=b):a.e.push(b),b.Hc))for(e=0,d=b.siblings.length;e<d;e++)g=b.siblings[e],a=g.type.Z(),a.ka=!1,c?(A(a.e),a.e[0]=g):a.e.push(g)}};b.prototype.ky=function(a,b){this.Ll=a;this.zs=b;this.ck||(this.b.gj(this),this.ck=!0);this.um||this.Ns()};b.prototype.ly=function(a){this.Kl=a;this.ck||(this.b.gj(this),this.ck=!0);this.um||this.Os()};c.q=new b;c.Ra=new function(){}})();
function ed(f){this.b=f}
(function(){function f(){return c.length?c.pop():{}}function n(b){var a,d;a=0;for(d=b.length;a<d;a++)c.push(b[a]);A(b)}function h(b){return b.length&&" "===b.charAt(b.length-1)?b.substring(0,b.length-1):b}function m(){}function d(){}var q=ed.prototype;q.V=function(){q.q.Dy=function(b){this.width!==b&&(this.width=b,this.Sh=!0,this.gb())}};q.Ca=function(b){this.Ea=b;this.b=b.b};var g=q.Ca.prototype;g.V=function(){};g.cn=function(){if(!this.aa){var b,a,c;b=0;for(a=this.e.length;b<a;b++)c=this.e[b],c.Ze=
null,c.Jh=null,c.vd=null}};q.ra=function(b){this.type=b;this.b=b.b;this.Nd?A(this.zg):this.zg=[];this.Sh=!0};g=q.ra.prototype;g.V=function(){this.text=this.C[0];this.visible=0===this.C[1];this.font=this.C[2];this.color=this.C[3];this.rm=this.C[4];this.jo=this.C[5];this.Hr=0===this.C[7];this.Yp=this.Mm=this.width;this.Lm=this.height;this.bq=this.C[8];this.hm=this.li="";this.Wv=this.Xv=this.Kg=0;this.pC();this.vd=this.Jh=this.Ze=null;this.oq=!1;this.pk=this.b.Qd;this.Nd?this.Mg.set(0,0,1,1):this.Mg=
new La(0,0,1,1);this.b.D&&this.b.gj(this)};g.pC=function(){var b=this.font.split(" "),a;for(a=0;a<b.length;a++)if("pt"===b[a].substr(b[a].length-2,2)){this.Kg=parseInt(b[a].substr(0,b[a].length-2));this.yn=Math.ceil(this.Kg/72*96)+4;0<a&&(this.hm=b[a-1]);this.li=b[a+1];for(a+=2;a<b.length;a++)this.li+=" "+b[a];break}};g.Ic=function(){return{t:this.text,f:this.font,c:this.color,ha:this.rm,va:this.jo,wr:this.Hr,lho:this.bq,fn:this.li,fs:this.hm,ps:this.Kg,pxh:this.yn,tw:this.Xv,th:this.Wv,lrt:this.pk}};
g.bd=function(b){this.text=b.t;this.font=b.f;this.color=b.c;this.rm=b.ha;this.jo=b.va;this.Hr=b.wr;this.bq=b.lho;this.li=b.fn;this.hm=b.fs;this.Kg=b.ps;this.yn=b.pxh;this.Xv=b.tw;this.Wv=b.th;this.pk=b.lrt;this.Sh=!0;this.Yp=this.Mm=this.width;this.Lm=this.height};g.zb=function(){if(this.b.D&&this.vd&&300<=this.b.Qd-this.pk){var b=this.k;this.Qa();var a=this.mb;if(a.right<b.Va||a.bottom<b.Wa||a.left>b.$a||a.top>b.cb)this.b.D.deleteTexture(this.vd),this.Ze=this.Jh=this.vd=null}};g.Fg=function(){this.Ze=
this.Jh=null;this.b.D&&this.vd&&this.b.D.deleteTexture(this.vd);this.vd=null};g.ED=function(){this.font=this.hm+" "+this.Kg.toString()+"pt "+this.li;this.Sh=!0;this.b.Fa=!0};g.Cd=function(b,a){b.font=this.font;b.textBaseline="top";b.fillStyle=this.color;b.globalAlpha=a?1:this.opacity;var c=1;a&&(c=Math.abs(this.k.$c()),b.save(),b.scale(c,c));if(this.Sh||this.width!==this.Yp)this.type.Ea.Oy(this.text,this.zg,b,this.width,this.Hr),this.Sh=!1,this.Yp=this.width;this.Qa();var c=a?0:this.Oc.Wb,d=a?0:this.Oc.Xb;
this.b.De&&(c=c+.5|0,d=d+.5|0);0===this.j||a||(b.save(),b.translate(c,d),b.rotate(this.j),d=c=0);var g=d+this.height,f=this.yn,f=f+this.bq,h,m;1===this.jo?d+=Math.max(this.height/2-this.zg.length*f/2,0):2===this.jo&&(d+=Math.max(this.height-this.zg.length*f-2,0));for(m=0;m<this.zg.length&&!(h=c,1===this.rm?h=c+(this.width-this.zg[m].width)/2:2===this.rm&&(h=c+(this.width-this.zg[m].width)),b.fillText(this.zg[m].text,h,d),d+=f,d>=g-f);m++);(0!==this.j||a)&&b.restore();this.pk=this.b.Qd};g.Ec=function(b){if(!(1>
this.width||1>this.height)){var a=this.Sh||this.oq;this.oq=!1;var c=this.k.$c(),d=this.k.ub(),g=this.Mg,f=c*this.width,h=c*this.height,m=Math.ceil(f),l=Math.ceil(h),p=Math.abs(m),n=Math.abs(l),q=this.b.S/2,D=this.b.R/2;this.Jh||(this.Ze=document.createElement("canvas"),this.Ze.width=p,this.Ze.height=n,this.Mm=p,this.Lm=n,a=!0,this.Jh=this.Ze.getContext("2d"));if(p!==this.Mm||n!==this.Lm)this.Ze.width=p,this.Ze.height=n,this.vd&&(b.deleteTexture(this.vd),this.vd=null),a=!0;a&&(this.Jh.clearRect(0,
0,p,n),this.Cd(this.Jh,!0),this.vd||(this.vd=b.Bd(p,n,this.b.kb,this.b.sg)),b.PD(this.Ze,this.vd,this.b.sg));this.Mm=p;this.Lm=n;b.yd(this.vd);b.Nh(this.opacity);b.le();b.translate(-q,-D);b.Td();var I=this.Oc,a=this.k.Ya(I.Wb,I.Xb,!0,!0),p=this.k.Ya(I.Wb,I.Xb,!1,!0),n=this.k.Ya(I.Lc,I.Mc,!0,!0),q=this.k.Ya(I.Lc,I.Mc,!1,!0),D=this.k.Ya(I.zc,I.Ac,!0,!0),U=this.k.Ya(I.zc,I.Ac,!1,!0),x=this.k.Ya(I.xc,I.yc,!0,!0),I=this.k.Ya(I.xc,I.yc,!1,!0);if(this.b.De||0===this.j&&0===d)var z=(a+.5|0)-a,O=(p+.5|0)-
p,a=a+z,p=p+O,n=n+z,q=q+O,D=D+z,U=U+O,x=x+z,I=I+O;0===this.j&&0===d?(n=a+m,q=p,D=n,U=p+l,x=a,I=U,g.right=1,g.bottom=1):(g.right=f/m,g.bottom=h/l);b.df(a,p,n,q,D,U,x,I,g);b.le();b.scale(c,c);b.Fn(-this.k.ub());b.translate((this.k.Va+this.k.$a)/-2,(this.k.Wa+this.k.cb)/-2);b.Td();this.pk=this.b.Qd}};var b=[];q.Ly=function(c){A(b);for(var a="",d,g=0;g<c.length;)if(d=c.charAt(g),"\n"===d)a.length&&(b.push(a),a=""),b.push("\n"),++g;else if(" "===d||"\t"===d||"-"===d){do a+=c.charAt(g),g++;while(g<c.length&&
(" "===c.charAt(g)||"\t"===c.charAt(g)));b.push(a);a=""}else g<c.length&&(a+=d,g++);a.length&&b.push(a)};var c=[];q.Oy=function(b,a,c,d,g){if(b&&b.length)if(2>=d)n(a);else{if(100>=b.length&&-1===b.indexOf("\n")){var h=c.measureText(b).width;if(h<=d){n(a);a.push(f());a[0].text=b;a[0].width=h;return}}this.Py(b,a,c,d,g)}else n(a)};q.Py=function(e,a,d,g,m){m&&(this.Ly(e),e=b);var n="",q,t,l,p=0;for(l=0;l<e.length;l++)"\n"===e[l]?(p>=a.length&&a.push(f()),n=h(n),t=a[p],t.text=n,t.width=d.measureText(n).width,
p++,n=""):(q=n,n+=e[l],t=d.measureText(n).width,t>=g&&(p>=a.length&&a.push(f()),q=h(q),t=a[p],t.text=q,t.width=d.measureText(q).width,p++,n=e[l],m||" "!==n||(n="")));n.length&&(p>=a.length&&a.push(f()),n=h(n),t=a[p],t.text=n,t.width=d.measureText(n).width,p++);for(l=p;l<a.length;l++)c.push(a[l]);a.length=p};q.g=new function(){};m.prototype.Ay=function(b){wa(b)&&1E9>b&&(b=Math.round(1E10*b)/1E10);b=b.toString();this.text!==b&&(this.text=b,this.Sh=!0,this.b.Fa=!0)};m.prototype.oy=function(b){this.Kg!==
b&&(this.Kg=b,this.yn=Math.ceil(this.Kg/72*96)+4,this.ED())};m.prototype.ny=function(b){b="rgb("+Oa(b).toString()+","+Pa(b).toString()+","+Qa(b).toString()+")";b!==this.color&&(this.color=b,this.oq=!0,this.b.Fa=!0)};q.q=new m;d.prototype.Text=function(b){b.Kb(this.text)};q.Ra=new d})();function fd(f){this.b=f}
(function(){var f=fd.prototype;f.Ca=function(f){this.Ea=f;this.b=f.b};var n=f.Ca.prototype;n.V=function(){this.aa||(this.xa=new Image,this.xa.Is=this.nr,this.b.uw(this.xa,this.mr),this.hb=this.pattern=null)};n.cn=function(){this.aa||(this.hb=null)};n.wq=function(){if(!this.aa&&this.e.length){this.hb||(this.hb=this.b.D.Rm(this.xa,!0,this.b.kb,this.or));var f,m;f=0;for(m=this.e.length;f<m;f++)this.e[f].hb=this.hb}};n.cq=function(){this.aa||this.hb||!this.b.D||(this.hb=this.b.D.Rm(this.xa,!0,this.b.kb,
this.or))};n.xr=function(){this.aa||this.e.length||!this.hb||(this.b.D.deleteTexture(this.hb),this.hb=null)};n.Gq=function(f){f.drawImage(this.xa,0,0)};f.ra=function(f){this.type=f;this.b=f.b};n=f.ra.prototype;n.V=function(){this.visible=0===this.C[0];this.Mg=new La(0,0,0,0);this.tt=!1;this.xa=this.type.xa;this.b.D?(this.type.cq(),this.hb=this.type.hb):(this.type.pattern||(this.type.pattern=this.b.ib.createPattern(this.type.xa,"repeat")),this.pattern=this.type.pattern)};n.Ne=function(){this.tt=!1;
this.xa=this.type.xa};n.Fg=function(){this.b.D&&this.tt&&this.hb&&(this.b.D.deleteTexture(this.hb),this.hb=null)};n.Cd=function(f){f.globalAlpha=this.opacity;f.save();f.fillStyle=this.pattern;var m=this.x,d=this.y;this.b.De&&(m=Math.round(m),d=Math.round(d));var n=-(this.lc*this.width),g=-(this.mc*this.height),b=n%this.xa.width,c=g%this.xa.height;0>b&&(b+=this.xa.width);0>c&&(c+=this.xa.height);f.translate(m,d);f.rotate(this.j);f.translate(b,c);f.fillRect(n-b,g-c,this.width,this.height);f.restore()};
n.hh=function(f){this.Ec(f)};n.Ec=function(f){f.yd(this.hb);f.Nh(this.opacity);var m=this.Mg;m.right=this.width/this.xa.width;m.bottom=this.height/this.xa.height;var d=this.Oc;if(this.b.De){var n=Math.round(this.x)-this.x,g=Math.round(this.y)-this.y;f.df(d.Wb+n,d.Xb+g,d.Lc+n,d.Mc+g,d.zc+n,d.Ac+g,d.xc+n,d.yc+g,m)}else f.df(d.Wb,d.Xb,d.Lc,d.Mc,d.zc,d.Ac,d.xc,d.yc,m)};f.g=new function(){};f.q=new function(){};f.Ra=new function(){}})();function gd(f){this.b=f}
(function(){function f(b){c=b.x;e=b.y;a=b.z}function n(a,b,c,d){var e;e=k.length?k.pop():new h;e.init(a,b,c,d);return e}function h(){this.el=this.id=this.y=this.x=this.Tn=this.Sn=this.Xp=this.time=this.gr=0;this.jl=this.$n=!1}function m(){}function d(){}var q=gd.prototype;q.Ca=function(a){this.Ea=a;this.b=a.b};q.Ca.prototype.V=function(){};q.ra=function(a){this.type=a;this.b=a.b;this.touches=[];this.nq=!1};var g=q.ra.prototype,b={left:0,top:0};g.Lj=function(a){var b,c;b=0;for(c=this.touches.length;b<
c;b++)if(this.touches[b].id===a)return b;return-1};var c=0,e=0,a=0,k=[];h.prototype.init=function(a,b,c,d){var e=rb();this.gr=this.Xp=this.time=e;this.Sn=a;this.Tn=b;this.x=a;this.y=b;this.pressure=this.height=this.width=0;this.id=c;this.el=d;this.jl=this.$n=!1};h.prototype.update=function(a,b,c,d,e,g){this.Xp=this.time;this.time=a;this.x=b;this.y=c;this.width=d;this.height=e;this.pressure=g;!this.jl&&15<=nb(this.Sn,this.Tn,this.x,this.y)&&(this.jl=!0)};h.prototype.$B=function(a,b){!this.$n&&500<=
rb()-this.gr&&!this.jl&&15>nb(this.Sn,this.Tn,this.x,this.y)&&(this.$n=!0,a.lf=this.el,a.hj=this.id,a.qi=b,a.b.trigger(gd.prototype.g.Hx,a),a.tf=this.x,a.uf=this.y,a.b.trigger(gd.prototype.g.Ix,a),a.qi=0)};var v=-1E3,r=-1E3,P=-1E4;h.prototype.su=function(a,b){if(!this.$n){var c=rb();333>=c-this.gr&&!this.jl&&15>nb(this.Sn,this.Tn,this.x,this.y)&&(a.lf=this.el,a.hj=this.id,a.qi=b,666>=c-P&&25>nb(v,r,this.x,this.y)?(a.b.trigger(gd.prototype.g.Ax,a),a.tf=this.x,a.uf=this.y,a.b.trigger(gd.prototype.g.Bx,
a),r=v=-1E3,P=-1E4):(a.b.trigger(gd.prototype.g.by,a),a.tf=this.x,a.uf=this.y,a.b.trigger(gd.prototype.g.Tr,a),v=this.x,r=this.y,P=c),a.qi=0)}};g.V=function(){this.NB=!("undefined"===typeof window.c2isWindows8||!window.c2isWindows8);this.qi=this.hj=this.lf=this.uf=this.tf=this.es=this.ds=this.cs=this.Uy=this.Ty=this.Sy=this.hn=this.gn=this.en=0;this.LD=0!==this.C[0];var a=0<this.b.Yc?document:this.b.canvas,b=document;this.b.Gc?b=a=window.Canvas:this.b.nd&&(b=a=window);var c=this;"undefined"!==typeof PointerEvent?
(a.addEventListener("pointerdown",function(a){c.Nu(a)},!1),a.addEventListener("pointermove",function(a){c.Mu(a)},!1),b.addEventListener("pointerup",function(a){c.dn(a,!1)},!1),b.addEventListener("pointercancel",function(a){c.dn(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){c.Nu(a)},!1),a.addEventListener("MSPointerMove",function(a){c.Mu(a)},!1),b.addEventListener("MSPointerUp",function(a){c.dn(a,!1)},!1),b.addEventListener("MSPointerCancel",function(a){c.dn(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){c.Ru(a)},!1),a.addEventListener("touchmove",function(a){c.Qu(a)},!1),b.addEventListener("touchend",function(a){c.xq(a,!1)},!1),b.addEventListener("touchcancel",function(a){c.xq(a,!0)},!1));if(this.NB){var d=function(a){a=a.reading;c.cs=a.accelerationX;c.ds=a.accelerationY;c.es=a.accelerationZ},e=function(a){a=a.reading;c.en=a.yawDegrees;c.gn=a.pitchDegrees;c.hn=a.rollDegrees},g=Windows.Devices.Sensors.Accelerometer.getDefault();g&&(g.reportInterval=Math.max(g.minimumReportInterval,16),
g.addEventListener("readingchanged",d));var k=Windows.Devices.Sensors.Inclinometer.getDefault();k&&(k.reportInterval=Math.max(k.minimumReportInterval,16),k.addEventListener("readingchanged",e));document.addEventListener("visibilitychange",function(){document.hidden||document.msHidden?(g&&g.removeEventListener("readingchanged",d),k&&k.removeEventListener("readingchanged",e)):(g&&g.addEventListener("readingchanged",d),k&&k.addEventListener("readingchanged",e))},!1)}else window.addEventListener("deviceorientation",
function(a){c.en=a.alpha||0;c.gn=a.beta||0;c.hn=a.gamma||0},!1),window.addEventListener("devicemotion",function(a){a.accelerationIncludingGravity&&(c.Sy=a.accelerationIncludingGravity.x||0,c.Ty=a.accelerationIncludingGravity.y||0,c.Uy=a.accelerationIncludingGravity.z||0);a.acceleration&&(c.cs=a.acceleration.x||0,c.ds=a.acceleration.y||0,c.es=a.acceleration.z||0)},!1);this.LD&&!this.b.bb&&(jQuery(document).mousemove(function(a){c.fC(a)}),jQuery(document).mousedown(function(a){c.eC(a)}),jQuery(document).mouseup(function(a){c.gC(a)}));
!this.b.Id&&this.b.Pc&&navigator.accelerometer&&navigator.accelerometer.watchAcceleration&&navigator.accelerometer.watchAcceleration(f,null,{frequency:40});this.b.xD(this)};g.Mu=function(a){if(a.pointerType!==a.MSPOINTER_TYPE_MOUSE&&"mouse"!==a.pointerType){a.preventDefault&&a.preventDefault();var c=this.Lj(a.pointerId),d=rb();if(0<=c){var e=this.b.bb?b:jQuery(this.b.canvas).offset(),c=this.touches[c];2>d-c.time||c.update(d,a.pageX-e.left,a.pageY-e.top,a.width||0,a.height||0,a.pressure||0)}}};g.Nu=
function(a){if(a.pointerType!==a.MSPOINTER_TYPE_MOUSE&&"mouse"!==a.pointerType){a.preventDefault&&Ib(a)&&a.preventDefault();var c=this.b.bb?b:jQuery(this.b.canvas).offset(),d=a.pageX-c.left,c=a.pageY-c.top;rb();this.lf=this.touches.length;this.hj=a.pointerId;this.touches.push(n(d,c,a.pointerId,this.lf));this.b.od=!0;this.b.trigger(gd.prototype.g.Qr,this);this.b.trigger(gd.prototype.g.Vr,this);this.tf=d;this.uf=c;this.b.trigger(gd.prototype.g.ro,this);this.b.od=!1}};g.dn=function(a,b){if(a.pointerType!==
a.MSPOINTER_TYPE_MOUSE&&"mouse"!==a.pointerType){a.preventDefault&&Ib(a)&&a.preventDefault();var c=this.Lj(a.pointerId);this.lf=0<=c?this.touches[c].el:-1;this.hj=0<=c?this.touches[c].id:-1;this.b.od=!0;this.b.trigger(gd.prototype.g.Pr,this);this.b.trigger(gd.prototype.g.Ur,this);0<=c&&(b||this.touches[c].su(this,c),100>k.length&&k.push(this.touches[c]),this.touches.splice(c,1));this.b.od=!1}};g.Qu=function(a){a.preventDefault&&a.preventDefault();var c=rb(),d,e,g,f;d=0;for(e=a.changedTouches.length;d<
e;d++)if(g=a.changedTouches[d],f=this.Lj(g.identifier),0<=f){var k=this.b.bb?b:jQuery(this.b.canvas).offset();f=this.touches[f];2>c-f.time||f.update(c,g.pageX-k.left,g.pageY-k.top,2*(g.pG||g.zG||g.dG||g.gG||0),2*(g.qG||g.AG||g.eG||g.hG||0),g.TF||g.yG||g.cG||g.fG||0)}};g.Ru=function(a){a.preventDefault&&Ib(a)&&a.preventDefault();var c=this.b.bb?b:jQuery(this.b.canvas).offset();rb();this.b.od=!0;var d,e,g,f;d=0;for(e=a.changedTouches.length;d<e;d++)if(g=a.changedTouches[d],f=this.Lj(g.identifier),-1===
f){f=g.pageX-c.left;var k=g.pageY-c.top;this.lf=this.touches.length;this.hj=g.identifier;this.touches.push(n(f,k,g.identifier,this.lf));this.b.trigger(gd.prototype.g.Qr,this);this.b.trigger(gd.prototype.g.Vr,this);this.tf=f;this.uf=k;this.b.trigger(gd.prototype.g.ro,this)}this.b.od=!1};g.xq=function(a,b){a.preventDefault&&Ib(a)&&a.preventDefault();this.b.od=!0;var c,d,e;c=0;for(d=a.changedTouches.length;c<d;c++)e=a.changedTouches[c],e=this.Lj(e.identifier),0<=e&&(this.lf=this.touches[e].el,this.hj=
this.touches[e].id,this.b.trigger(gd.prototype.g.Pr,this),this.b.trigger(gd.prototype.g.Ur,this),b||this.touches[e].su(this,e),100>k.length&&k.push(this.touches[e]),this.touches.splice(e,1));this.b.od=!1};g.Ve=function(){return this.b.Pc&&0===this.en&&0!==a?90*a:this.en};g.ik=function(){return this.b.Pc&&0===this.gn&&0!==e?90*e:this.gn};g.Ht=function(){return this.b.Pc&&0===this.hn&&0!==c?90*c:this.hn};g.eC=function(a){this.Ru({changedTouches:[{pageX:a.pageX,pageY:a.pageY,identifier:0}]});this.nq=
!0};g.fC=function(a){this.nq&&this.Qu({changedTouches:[{pageX:a.pageX,pageY:a.pageY,identifier:0}]})};g.gC=function(a){a.preventDefault&&this.b.ot&&!this.b.sg&&a.preventDefault();this.b.ot=!0;this.xq({changedTouches:[{pageX:a.pageX,pageY:a.pageY,identifier:0}]});this.nq=!1};g.il=function(){var a,b,c,d=rb();a=0;for(b=this.touches.length;a<b;++a)c=this.touches[a],c.time<=d-50&&(c.Xp=d),c.$B(this,a)};m.prototype.Vr=function(){return!0};m.prototype.Ur=function(){return!0};m.prototype.$w=function(){return this.touches.length};
m.prototype.ro=function(a){return a?this.b.Vn(a,this.tf,this.uf):!1};var G=[];m.prototype.hx=function(a){if(!a)return!1;var b=a.Z(),c=b.Zc(),d,e,g,f,k,h;g=0;for(f=c.length;g<f;g++){var m=c[g];m.Qa();k=0;for(h=this.touches.length;k<h;k++)if(e=this.touches[k],d=m.k.hc(e.x,e.y,!0),e=m.k.hc(e.x,e.y,!1),m.Bc(d,e)){G.push(m);break}}return G.length?(b.ka=!1,Xa(b.e,G),a.Xd(),A(G),!0):!1};m.prototype.Qr=function(a){a=Math.floor(a);return a===this.lf};m.prototype.Pr=function(a){a=Math.floor(a);return a===this.lf};
m.prototype.Hx=function(){return!0};m.prototype.by=function(){return!0};m.prototype.Ax=function(){return!0};m.prototype.Ix=function(a){return a?this.b.Vn(a,this.tf,this.uf):!1};m.prototype.Tr=function(a){return a?this.b.Vn(a,this.tf,this.uf):!1};m.prototype.Bx=function(a){return a?this.b.Vn(a,this.tf,this.uf):!1};q.g=new m;d.prototype.as=function(a,b){var c=this.qi;if(0>c||c>=this.touches.length)a.u(0);else{var d,e,g,f,k;ua(b)?(d=this.b.oi(0),e=d.scale,g=d.Me,f=d.ie,k=d.j,d.scale=1,d.Me=1,d.ie=1,
d.j=0,a.u(d.hc(this.touches[c].x,this.touches[c].y,!0)),d.scale=e,d.Me=g,d.ie=f,d.j=k):(d=wa(b)?this.b.oi(b):this.b.nm(b))?a.u(d.hc(this.touches[c].x,this.touches[c].y,!0)):a.u(0)}};d.prototype.bs=function(a,b){var c=this.qi;if(0>c||c>=this.touches.length)a.u(0);else{var d,e,g,f,k;ua(b)?(d=this.b.oi(0),e=d.scale,g=d.Me,f=d.je,k=d.j,d.scale=1,d.Me=1,d.je=1,d.j=0,a.u(d.hc(this.touches[c].x,this.touches[c].y,!1)),d.scale=e,d.Me=g,d.je=f,d.j=k):(d=wa(b)?this.b.oi(b):this.b.nm(b))?a.u(d.hc(this.touches[c].x,
this.touches[c].y,!1)):a.u(0)}};q.Ra=new d})();function hd(f){this.b=f}
(function(){function f(){}function n(){}function h(b,d){for(var a in d)try{b[a]=d[a].constructor==Object?h(b[a],d[a]):d[a]}catch(g){b[a]=d[a]}return b}function m(){}function d(b){var d,a="",a=(d=navigator.userAgent.match(/bada.*\W(\w\w)-(\w\w)\W/i))?d[1]:(d=navigator.userAgent.match(/blackberry.*\W(\w\w)-(\w\w)\W/i))?d[1]:"";if(""==a){var g;navigator.language?g=navigator.language:navigator.browserLanguage?g=navigator.browserLanguage:navigator.ik?g=navigator.ik:navigator.Ve&&(g=navigator.Ve);a=g.substr(0,
2)}if("undefined"!=typeof WinJS)a=Windows.System.UserProfile.GlobalizationPreferences.languages[0].substr(0,2);else if("undefined"!=typeof pokki||-1!=navigator.userAgent.indexOf("NodeWebkit"))a="";""==a&&(a=b);return a}var q=hd.prototype;q.Ca=function(b){this.Ea=b;this.b=b.b};q.Ca.prototype.V=function(){};q.ra=function(b){this.type=b;this.b=b.b};var g=q.ra.prototype;g.V=function(){this.Bp={}};g.Cd=function(){};g.Ec=function(){};var b="";f.prototype.kx=function(c){""==b&&(b=d(this.C[0]));return b==
c};q.g=new f;n.prototype.Dw=function(c){b=c};n.prototype.xw=function(b){this.Bp=h(this.Bp,JSON.parse(b))};q.q=new n;m.prototype.Text=function(c,e){""==b&&(b=d(this.C[0]));var a="";try{a=this.Bp[b][e]}catch(g){}c.Kb(a)};q.Ra=new m})();function id(f){this.b=f}
(function(){function f(){}function n(){}function h(){}var m=id.prototype;m.Ca=function(b){this.Ea=b;this.b=b.b};m.Ca.prototype.V=function(){};m.ra=function(b){this.type=b;this.b=b.b};var d=m.ra.prototype,q="",g="undefined"!==typeof window.is_scirra_arcade;g&&(q="arcade"+window.scirra_arcade_id);var b=!1;try{localStorage.getItem("test"),b=!0}catch(c){b=!1}d.V=function(){b||sa("[Construct 2] Webstorage plugin: local storage is not supported on this platform.")};f.prototype.nx=function(c){return b?null!=
localStorage.getItem(q+c):!1};f.prototype.Ux=function(){return!0};f.prototype.Jw=function(c,a,d){if(!b)return!1;c=localStorage.getItem(q+c)||"";return Oc(parseFloat(c),a,d)};m.g=new f;n.prototype.Iy=function(c,a){if(b)try{localStorage.setItem(q+c,a)}catch(d){this.b.trigger(id.prototype.g.Ux,this)}};m.q=new n;h.prototype.ox=function(c,a){b?c.Kb(localStorage.getItem(q+a)||""):c.Kb("")};h.prototype.Jr=function(c){if(b){var a={},d,f,h;d=0;for(f=localStorage.length;d<f;d++)h=localStorage.key(d),g?h.substr(0,
q.length)===q&&(a[h.substr(q.length)]=localStorage.getItem(h)):a[h]=localStorage.getItem(h);c.Kb(JSON.stringify({c2dictionary:!0,data:a}))}else c.Kb("")};m.Ra=new h})();function jd(f){this.b=f}
(function(){function f(){}function n(){}var h=jd.prototype;h.Ca=function(d){this.Ea=d;this.b=d.b};h.Ca.prototype.V=function(){if(this.b.zm||this.b.Dm||this.b.ug||this.b.Em){for(var d=document.getElementsByTagName("script"),f=!1,g=0;g<d.length;g++)if(-1!=d[g].src.indexOf("cordova.js")||-1!=d[g].src.indexOf("phonegap.js")){f=!0;break}f||(d=document.createElement("script"),d.setAttribute("type","text/javascript"),d.setAttribute("src","cordova.js"),document.getElementsByTagName("head")[0].appendChild(d))}};
h.ra=function(d){this.type=d;this.b=d.b};var m=h.ra.prototype;m.V=function(){if((this.b.ze||this.b.Id)&&"undefined"!=typeof game){var d=this;game.setUp();game.onLoginSucceeded=function(f){d.jG=f.playerId;d.iG=f.playerDisplayName;d.Yb=game.tag;d.b.trigger(jd.prototype.g.Ox,d)};game.onLoginFailed=function(){d.Yb=game.tag;d.b.trigger(jd.prototype.g.Nx,d)};game.onGetPlayerImageSucceeded=function(f){d.kG=f;d.b.trigger(jd.prototype.g.Ex,d)};game.onGetPlayerImageFailed=function(){d.b.trigger(jd.prototype.g.Dx,
d)};game.onGetPlayerScoreSucceeded=function(f){d.lG=f;d.Yb=game.tag;d.b.trigger(jd.prototype.g.Gx,d)};game.onGetPlayerScoreFailed=function(){d.Yb=game.tag;d.b.trigger(jd.prototype.g.Fx,d)};game.onSubmitScoreSucceeded=function(){d.Yb=game.tag;d.b.trigger(jd.prototype.g.ay,d)};game.onSubmitScoreFailed=function(){d.Yb=game.tag;d.b.trigger(jd.prototype.g.$x,d)};game.onUnlockAchievementSucceeded=function(){d.Yb=game.tag;d.b.trigger(jd.prototype.g.dy,d)};game.onUnlockAchievementFailed=function(){d.Yb=game.tag;
d.b.trigger(jd.prototype.g.cy,d)};game.onIncrementAchievementSucceeded=function(){d.Yb=game.tag;d.b.trigger(jd.prototype.g.Kx,d)};game.onIncrementAchievementFailed=function(){d.Yb=game.tag;d.b.trigger(jd.prototype.g.Jx,d)};game.onResetAchievementsSucceeded=function(){d.b.trigger(jd.prototype.g.Wx,d)};game.onResetAchievementsFailed=function(){d.b.trigger(jd.prototype.g.Vx,d)}}};m.Cd=function(){};m.Ec=function(){};f.prototype.Ox=function(d){return Hb(d,this.Yb)};f.prototype.Nx=function(d){return Hb(d,
this.Yb)};f.prototype.ax=function(){return!this.b.ze&&!this.b.Id||"undefined"==typeof game?!1:game.isLoggedIn()};f.prototype.Ex=function(){return!0};f.prototype.Dx=function(){return!0};f.prototype.Gx=function(d){return Hb(d,this.Yb)};f.prototype.Fx=function(d){return Hb(d,this.Yb)};f.prototype.ay=function(d){return Hb(d,this.Yb)};f.prototype.$x=function(d){return Hb(d,this.Yb)};f.prototype.dy=function(d){return Hb(d,this.Yb)};f.prototype.cy=function(d){return Hb(d,this.Yb)};f.prototype.Kx=function(d){return Hb(d,
this.Yb)};f.prototype.Jx=function(d){return Hb(d,this.Yb)};f.prototype.Wx=function(){return!0};f.prototype.Vx=function(){return!0};h.g=new f;n.prototype.qx=function(d){(this.b.ze||this.b.Id)&&"undefined"!=typeof game&&game.login(d)};n.prototype.Ky=function(d,f,g){(this.b.ze||this.b.Id)&&"undefined"!=typeof game&&game.submitScore(d,f,g)};n.prototype.Fy=function(d){(this.b.ze||this.b.Id)&&"undefined"!=typeof game&&game.showLeaderboard(d)};h.q=new n;h.Ra=new function(){}})();
function kd(f){this.b=f}
(function(){function f(){}var n=kd.prototype;n.Ca=function(f){this.behavior=f;this.b=f.b};n.Ca.prototype.V=function(){};n.ra=function(f,d){this.type=f;this.behavior=f.behavior;this.d=d;this.b=f.b};var h=n.ra.prototype;h.V=function(){this.Vb=null;this.kn=-1;this.mode=this.Ci=this.Xn=this.Mi=this.If=this.Nk=0;var f=this;this.Nd||(this.Bu=function(d){f.vq(d)});this.b.xo(this.Bu)};h.Ic=function(){return{uid:this.Vb?this.Vb.uid:-1,pa:this.Nk,pd:this.If,msa:this.Mi,tsa:this.Xn,lka:this.Ci,m:this.mode}};
h.bd=function(f){this.kn=f.uid;this.Nk=f.pa;this.If=f.pd;this.Mi=f.msa;this.Xn=f.tsa;this.Ci=f.lka;this.mode=f.m};h.Ne=function(){-1===this.kn?this.Vb=null:this.Vb=this.b.pi(this.kn);this.kn=-1};h.vq=function(f){this.Vb==f&&(this.Vb=null)};h.Fg=function(){this.Vb=null;this.b.OC(this.Bu)};h.zb=function(){};h.il=function(){if(this.Vb){this.Ci!==this.d.j&&(this.Mi=fb(this.Mi+(this.d.j-this.Ci)));var f=this.d.x,d=this.d.y;if(3===this.mode||4===this.mode){var h=nb(this.d.x,this.d.y,this.Vb.x,this.Vb.y);
if(h>this.If||4===this.mode&&h<this.If)d=ib(this.Vb.x,this.Vb.y,this.d.x,this.d.y),f=this.Vb.x+Math.cos(d)*this.If,d=this.Vb.y+Math.sin(d)*this.If}else f=this.Vb.x+Math.cos(this.Vb.j+this.Nk)*this.If,d=this.Vb.y+Math.sin(this.Vb.j+this.Nk)*this.If;this.Ci=h=fb(this.Mi+(this.Vb.j-this.Xn));0!==this.mode&&1!==this.mode&&3!==this.mode&&4!==this.mode||this.d.x===f&&this.d.y===d||(this.d.x=f,this.d.y=d,this.d.gb());0!==this.mode&&2!==this.mode||this.d.j===h||(this.d.j=h,this.d.gb())}};n.g=new function(){};
f.prototype.hy=function(f,d){if(f){var h=f.qp(this.d);h&&(this.Vb=h,this.Nk=ib(h.x,h.y,this.d.x,this.d.y)-h.j,this.If=nb(h.x,h.y,this.d.x,this.d.y),this.Ci=this.Mi=this.d.j,this.Xn=h.j,this.mode=d)}};n.q=new f;n.Ra=new function(){}})();function ld(f){this.b=f}
(function(){function f(d,f){return(d/=f)<1/2.75?7.5625*d*d+0:d<2/2.75?1*(7.5625*(d-=1.5/2.75)*d+.75)+0:d<2.5/2.75?1*(7.5625*(d-=2.25/2.75)*d+.9375)+0:1*(7.5625*(d-=2.625/2.75)*d+.984375)+0}var n=ld.prototype;n.Ca=function(d){this.behavior=d;this.b=d.b};n.Ca.prototype.V=function(){};n.ra=function(d,f){this.type=d;this.behavior=d.behavior;this.d=f;this.b=d.b;this.N=0};var h=n.ra.prototype;h.Ve=function(d){1<d&&(d=1);Pc[this.group]=-1;Pc[this.group]=d;Pc[this.group]>=d&&(Pc[this.group]=d)};h.mt=function(){""!=
this.group&&("undefined"===typeof Qc&&(Qc={},Pc={}),"undefined"===typeof Qc[this.group]&&(Qc[this.group]=[],Pc[this.group]=-1),-1==Qc[this.group].indexOf(this)&&Qc[this.group].push(this))};h.Ng=function(){this.Sd=this.d.width;this.Rd=this.d.height;this.ij=this.d.j;this.dw=this.d.opacity;this.Sg=this.d.x;this.Tg=this.d.y;this.bo=this.value};h.V=function(){this.H=1===this.C[0];this.F=this.C[1];this.Gj=this.C[2];this.A=this.C[3];this.target=this.C[4];this.duration=this.C[5];this.Th=this.C[6];this.T=
this.C[7];this.value=this.C[8];this.Cc=this.C[9];this.ip=1===this.C[10];this.group=this.C[11];this.Tc=null;this.cd=0;5==this.T&&(this.cd=1);this.mt();this.wh=!1;this.ea=this.d.x;this.Eb=this.d.y;this.fa=parseFloat(this.target.split(",")[0]);this.yb=parseFloat(this.target.split(",")[1]);this.Ng();this.jj=this.rc=this.Pa=this.Ab=this.la=0;this.Lg=this.d.height/this.d.width;this.Dn=this.reverse=!1;this.xe=this.we=!0;this.loop=!1;this.eb=this.Oa=0;this.Tp=this.T;this.ad=this.Hm=this.la;this.Jd=this.Ab;
this.ip&&this.init();""==this.A&&(this.A="current");this.Gk=this.Pi=this.Hk=this.Qi=this.Kk=this.Si=this.Jk=this.Ri=!1;this.H&&this.init()};h.init=function(){this.Ri=!1;""===this.A&&(this.A="current");""===this.target&&(this.target="current");var d="current"===this.A,f="current"===this.target,g="OBJ"===this.target;"OBJ"===this.target&&null!=this.Tc&&(0==this.F?this.target=1==this.Cc?this.Tc.x-this.d.x+","+(this.Tc.y-this.d.y):this.Tc.x+","+this.Tc.y:1==this.F||2==this.F||3==this.F||7==this.F?this.target=
1==this.Cc?(2==this.F?1:this.Tc.width)+","+(3==this.F?1:this.Tc.height):(2==this.F?1:this.Tc.width/this.Sd)+","+(3==this.F?1:this.Tc.height/this.Rd):4==this.F?this.target=1==this.Cc?db(this.Tc.j-this.d.j)+"":db(this.Tc.j)+"":5==this.F&&(this.target=1==this.Cc?100*(this.Tc.opacity-this.d.opacity)+"":100*this.Tc.opacity+""));if(0==this.F)f&&(this.target=this.d.x+","+this.d.y),d?this.A=1==this.Cc?this.d.x+","+this.d.y:this.Sg+","+this.Tg:this.reverse||1==this.T||(this.d.x=parseFloat(this.A.split(",")[0]),
this.d.y=parseFloat(this.A.split(",")[1])),1==this.Cc?(this.loop&&(this.d.x=this.Sg,this.d.y=this.Tg),this.ea=this.d.x,this.Eb=this.d.y,this.reverse?(this.fa=-parseFloat(this.target.split(",")[0]),this.yb=-parseFloat(this.target.split(",")[1])):(this.fa=parseFloat(this.target.split(",")[0]),this.yb=parseFloat(this.target.split(",")[1])),this.la=this.ea,this.Ab=this.Eb,this.Pa=this.la+this.fa,this.rc=this.Ab+this.yb):(this.reverse?(this.d.x=parseFloat(this.target.split(",")[0]),this.d.y=parseFloat(this.target.split(",")[1]),
this.fa=this.Sg,this.yb=this.Tg):(this.d.x=this.Sg,this.d.y=this.Tg,this.fa=parseFloat(this.target.split(",")[0]),this.yb=parseFloat(this.target.split(",")[1])),this.ea=this.d.x,this.Eb=this.d.y,this.la=this.ea,this.Ab=this.Eb,this.Pa=this.fa,this.rc=this.yb,-6==this.T&&(this.Pa=this.Sg,this.rc=this.Tg));else if(1==this.F||2==this.F||3==this.F){f&&(this.target="1,1");"current"==this.A&&(this.A="1,1");this.A=""+this.A;this.target=""+this.target;2==this.F?(-1==this.A.indexOf(",")&&(this.A=parseFloat(this.A)+
",1"),-1==this.target.indexOf(",")&&(this.target=parseFloat(this.target)+",1")):3==this.F?(-1==this.A.indexOf(",")&&(this.A="1,"+parseFloat(this.A)),-1==this.target.indexOf(",")&&(this.target="1,"+parseFloat(this.target))):(-1==this.A.indexOf(",")&&(this.A=parseFloat(this.A)+","+parseFloat(this.A)),-1==this.target.indexOf(",")&&(this.target=parseFloat(this.target)+","+parseFloat(this.target)));var b=parseFloat(this.A.split(",")[0]),c=parseFloat(this.A.split(",")[1]);this.we=!0;var e=parseFloat(this.target.split(",")[0]);
if(0==e||isNaN(e))this.we=!1;3==this.F&&(this.we=!1);this.xe=!0;var a=parseFloat(this.target.split(",")[1]);if(0==a||isNaN(a))this.xe=!1;2==this.F&&(this.xe=!1);1==this.Cc?(this.loop&&(this.d.width=this.Sd,this.d.height=this.Rd),d||(this.reverse?(this.d.width=this.d.width*e,this.d.height=this.d.height*a):(this.d.width=this.d.width*b,this.d.height=this.d.height*c)),this.ea=this.d.width,this.Eb=this.d.height,this.la=this.ea,this.Ab=this.Eb,this.reverse?(this.fa=this.ea*b/e,this.yb=this.Eb*c/a):(this.fa=
this.ea*e,this.yb=this.Eb*a)):(d||(this.reverse?(this.d.width=this.Sd*e,this.d.height=this.Rd*a):(this.d.width=this.Sd*b,this.d.height=this.Rd*c)),this.ea=this.d.width,this.Eb=this.d.height,this.la=this.ea,this.Ab=this.Eb,this.reverse?(this.fa=this.Sd*b,this.yb=this.Rd*c):(this.fa=this.Sd*e,this.yb=this.Rd*a));this.Pa=this.fa;this.rc=this.yb;-6==this.T&&(this.Pa=this.Sd*b,this.rc=this.Rd*c)}else if(4==this.F)f&&(this.target=db(this.d.j)),"current"==this.A||this.reverse||1==this.T||(this.d.j=cb(parseFloat(this.A.split(",")[0]))),
1==this.Cc?(this.loop&&(this.d.j=this.ij),this.ea=this.d.j,this.reverse?this.fa=this.d.j-cb(parseFloat(this.target.split(",")[0])):this.fa=this.d.j+cb(parseFloat(this.target.split(",")[0]))):this.reverse?(this.d.j=cb(parseFloat(this.target.split(",")[0])),this.ea=this.d.j,this.fa=this.ij):(this.d.j=this.ij,this.ea=this.d.j,this.fa=cb(parseFloat(this.target.split(",")[0]))),this.la=this.ea,this.Pa=db(this.fa),-6==this.T&&(this.Pa=db(this.ij)),this.jj=cb(this.Pa);else if(5==this.F)"current"==this.A&&
(this.A=this.d.opacity),f&&(this.target=""+this.d.opacity),d||this.reverse||1==this.T||(this.d.opacity=parseFloat(this.A.split(",")[0])/100),1==this.Cc?(this.loop&&(this.d.opacity=this.dw),this.la=this.ea=this.d.opacity,this.fa=this.reverse?-parseFloat(this.target.split(",")[0])/100:parseFloat(this.target.split(",")[0])/100,this.Pa=this.la+this.fa):(this.ea=this.d.opacity,this.reverse?(this.la=parseFloat(this.target.split(",")[0])/100,this.fa=parseFloat(this.A.split(",")[0])/100):(this.la=this.ea,
this.fa=parseFloat(this.target.split(",")[0])/100),this.Pa=this.fa),-6==this.T&&(this.Pa=this.dw);else if(6==this.F)isNaN(this.value)&&(this.value=0),"current"==this.A&&(this.A=""+this.value),f&&(this.target=""+this.value),d||this.reverse||1==this.T||(this.value=parseFloat(this.A.split(",")[0])),1==this.Cc?(this.loop&&(this.value=this.bo),d||(this.value=this.reverse?parseFloat(this.target.split(",")[0]):parseFloat(this.A.split(",")[0])),this.ea=this.value,this.reverse?this.fa=this.ea-parseFloat(this.target.split(",")[0]):
this.fa=this.ea+parseFloat(this.target.split(",")[0]),this.la=this.ea,this.Pa=this.fa):(d||(this.value=this.reverse?parseFloat(this.target.split(",")[0]):parseFloat(this.A.split(",")[0])),this.ea=this.value,this.fa=this.reverse?parseFloat(this.A.split(",")[0]):parseFloat(this.target.split(",")[0]),this.la=this.ea,this.Pa=this.fa),-6==this.T&&(this.Pa=this.bo);else if(7==this.F){f&&(this.target=this.d.width+","+this.d.height);"current"==this.A||this.reverse||1==this.T||(this.d.width=parseFloat(this.A.split(",")[0]),
this.d.height=parseFloat(this.A.split(",")[1]));this.we=!0;e=parseFloat(this.target.split(",")[0]);if(0>e||isNaN(e))this.we=!1;this.xe=!0;a=parseFloat(this.target.split(",")[1]);if(0>a||isNaN(a))this.xe=!1;1==this.Cc?(this.loop&&(this.d.width=this.Sd,this.d.height=this.Rd),this.ea=this.d.width,this.Eb=this.d.height,this.reverse?(this.fa=this.ea-parseFloat(this.target.split(",")[0]),this.yb=this.Eb-parseFloat(this.target.split(",")[1])):(this.fa=this.ea+parseFloat(this.target.split(",")[0]),this.yb=
this.Eb+parseFloat(this.target.split(",")[1]))):(d||(this.reverse?(this.d.width=parseFloat(this.target.split(",")[0]),this.d.height=parseFloat(this.target.split(",")[1])):(this.d.width=this.Sd,this.d.height=this.Rd)),this.ea=this.d.width,this.Eb=this.d.height,this.reverse?(this.fa=this.Sd,this.yb=this.Rd):(this.fa=parseFloat(this.target.split(",")[0]),this.yb=parseFloat(this.target.split(",")[1])));this.la=this.ea;this.Ab=this.Eb;this.Pa=this.fa;this.rc=this.yb;-6==this.T&&(this.Pa=this.Sd,this.rc=
this.Rd)}this.ad=this.Hm=this.la;this.Jd=this.Ab;this.Oa=parseFloat(this.Th.split(",")[0]);this.eb=parseFloat(this.Th.split(",")[1]);if(0>this.Oa||isNaN(this.Oa))this.Oa=0;if(0>this.eb||isNaN(this.eb))this.eb=0;d&&(this.A="current");f&&(this.target="current");g&&(this.target="OBJ")};h.$z=function(d,h){switch(this.Gj){case 0:return 1*d/h+0;case 1:return 1*(d/=h)*d+0;case 2:return-1*(d/=h)*(d-2)+0;case 3:return 1>(d/=h/2)?.5*d*d+0:-.5*(--d*(d-2)-1)+0;case 4:return 1*(d/=h)*d*d+0;case 5:return 1*((d=
d/h-1)*d*d+1)+0;case 6:return 1>(d/=h/2)?.5*d*d*d+0:.5*((d-=2)*d*d+2)+0;case 7:return 1*(d/=h)*d*d*d+0;case 8:return-1*((d=d/h-1)*d*d*d-1)+0;case 9:return 1>(d/=h/2)?.5*d*d*d*d+0:-.5*((d-=2)*d*d*d-2)+0;case 10:return 1*(d/=h)*d*d*d*d+0;case 11:return 1*((d=d/h-1)*d*d*d*d+1)+0;case 12:return 1>(d/=h/2)?.5*d*d*d*d*d+0:.5*((d-=2)*d*d*d*d+2)+0;case 13:return-1*(Math.sqrt(1-(d/=h)*d)-1)+0;case 14:return 1*Math.sqrt(1-(d=d/h-1)*d)+0;case 15:return 1>(d/=h/2)?-.5*(Math.sqrt(1-d*d)-1)+0:.5*(Math.sqrt(1-(d-=
2)*d)+1)+0;case 16:var g=0;0==g&&(g=1.70158);return 1*(d/=h)*d*((g+1)*d-g)+0;case 17:return g=0,0==g&&(g=1.70158),1*((d=d/h-1)*d*((g+1)*d+g)+1)+0;case 18:return g=0,0==g&&(g=1.70158),1>(d/=h/2)?.5*d*d*(((g*=1.525)+1)*d-g)+0:.5*((d-=2)*d*(((g*=1.525)+1)*d+g)+2)+0;case 19:var b=0,c=0;if(0==d)break;if(1==(d/=h))return 1;0==c&&(c=.3*h);0==b||b<Math.abs(1)?(b=1,g=c/4):g=c/(2*Math.PI)*Math.asin(1/b);return-(b*Math.pow(2,10*--d)*Math.sin(2*(d*h-g)*Math.PI/c))+0;case 20:c=b=0;if(0==d)break;if(1==(d/=h))return 1;
0==c&&(c=.3*h);0==b||b<Math.abs(1)?(b=1,g=c/4):g=c/(2*Math.PI)*Math.asin(1/b);return b*Math.pow(2,-10*d)*Math.sin(2*(d*h-g)*Math.PI/c)+1;case 21:c=b=0;if(0==d)break;if(2==(d/=h/2))return 1;0==c&&(c=.3*h*1.5);0==b||b<Math.abs(1)?(b=1,g=c/4):g=c/(2*Math.PI)*Math.asin(1/b);return 1>d?-.5*b*Math.pow(2,10*--d)*Math.sin(2*(d*h-g)*Math.PI/c)+0:b*Math.pow(2,-10*--d)*Math.sin(2*(d*h-g)*Math.PI/c)*.5+1;case 22:return 1-f(h-d,h)+0;case 23:return f(d,h);case 24:return d<h/2?.5*(1-f(h-2*d,h)+0)+0:.5*f(2*d-h,h)+
.5;case 25:return g=d/h/2,2*g*g*(3-2*g);case 26:return g=(d/h+1)/2,2*g*g*(3-2*g)-1;case 27:return g=d/h,g*g*(3-2*g)}return 0};h.Ic=function(){return{i:this.N,active:this.H,tweened:this.F,easing:this.Gj,initial:this.A,target:this.target,duration:this.duration,wait:this.Th,playmode:this.T,value:this.value,coord_mode:this.Cc,forceInit:this.ip,group:this.group,targetObject:this.Tc,pingpongCounter:this.cd,isPaused:this.wh,initialX:this.ea,initialY:this.Eb,targetX:this.fa,targetY:this.yb,tweenSaveWidth:this.Sd,
tweenSaveHeight:this.Rd,tweenSaveAngle:this.ij,tweenSaveX:this.Sg,tweenSaveY:this.Tg,tweenSaveValue:this.bo,tweenInitialX:this.la,tweenInitialY:this.Ab,tweenTargetX:this.Pa,tweenTargetY:this.rc,tweenTargetAngle:this.jj,ratio:this.Lg,reverse:this.reverse,rewindMode:this.Dn,doTweenX:this.we,doTweenY:this.xe,loop:this.loop,initiating:this.Oa,cooldown:this.eb,lastPlayMode:this.Tp,lastKnownValue:this.Hm,lastKnownX:this.ad,lastKnownY:this.Jd,onStarted:this.Ri,onStartedDone:this.Jk,onWaitEnd:this.Si,onWaitEndDone:this.Kk,
onEnd:this.Qi,onEndDone:this.Hk,onCooldown:this.Pi,onCooldownDone:this.Gk}};h.bd=function(d){this.N=d.i;this.H=d.active;this.F=d.tweened;this.Gj=d.easing;this.A=d.initial;this.target=d.target;this.duration=d.duration;this.Th=d.wait;this.T=d.playmode;this.value=d.value;this.Cc=d.coord_mode;this.ip=d.forceInit;this.group=d.group;this.Tc=d.targetObject;this.cd=d.pingpongCounter;this.wh=d.isPaused;this.ea=d.initialX;this.Eb=d.initialY;this.fa=d.targetX;this.yb=d.targetY;this.Sd=d.tweenSaveWidth;this.Rd=
d.tweenSaveHeight;this.ij=d.tweenSaveAngle;this.Sg=d.tweenSaveX;this.Tg=d.tweenSaveY;this.bo=d.tweenSaveValue;this.la=d.tweenInitialX;this.Ab=d.tweenInitialY;this.Pa=d.tweenTargetX;this.rc=d.tweenTargetY;this.jj=d.tweenTargetAngle;this.Lg=d.ratio;this.reverse=d.reverse;this.Dn=d.rewindMode;this.we=d.doTweenX;this.xe=d.doTweenY;this.loop=d.loop;this.Oa=d.initiating;this.eb=d.cooldown;this.Tp=d.lastPlayMode;this.Hm=d.lastKnownValue;this.ad=d.lastKnownX;this.Jd=d.lastKnownY;this.Ri=d.onStarted;this.Jk=
d.onStartedDone;this.Si=d.onWaitEnd;this.Kk=d.onWaitEndDone;this.Qi=d.onEnd;this.Hk=d.onEndDone;this.Pi=d.onCooldown;this.Gk=d.onCooldownDone;this.mt()};h.zb=function(){var d=this.b.mm(this.d),f=-1==this.N;this.H&&0!==d&&(0!=this.N||this.Ri||(this.Ri=!0,this.Gk=this.Pi=this.Hk=this.Qi=this.Kk=this.Si=this.Jk=!1,this.b.trigger(ld.prototype.g.Zx,this.d),this.Jk=!0),this.N=-1==this.N?this.Oa+this.duration+this.eb:this.N+d,this.N<=this.Oa||(0==this.Si&&(this.Si=!0,this.b.trigger(ld.prototype.g.fy,this.d),
this.Kk=!0),this.N<=this.duration+this.Oa&&(d=this.$z(this.N-this.Oa,this.duration),0==this.F?(1==this.Cc?(this.d.x!==this.ad&&(this.la+=this.d.x-this.ad,this.Pa+=this.d.x-this.ad),this.d.y!==this.Jd&&(this.Ab+=this.d.y-this.Jd,this.rc+=this.d.y-this.Jd)):(this.d.x!==this.ad&&(this.la+=this.d.x-this.ad),this.d.y!==this.Jd&&(this.Ab+=this.d.y-this.Jd)),this.d.x=this.la+(this.Pa-this.la)*d,this.d.y=this.Ab+(this.rc-this.Ab)*d,this.ad=this.d.x,this.Jd=this.d.y):1==this.F||2==this.F||3==this.F?(this.d.width!==
this.ad&&(this.la=this.d.width),this.d.height!==this.Jd&&(this.Ab=this.d.height),this.we&&(this.d.width=this.la+(this.Pa-this.la)*d),this.xe?this.d.height=this.Ab+(this.rc-this.Ab)*d:1==this.F&&(this.d.height=this.d.width*this.Lg),this.ad=this.d.width,this.Jd=this.d.height):4==this.F?(d=this.la+(this.jj-this.la)*d,this.N>=this.duration+this.Oa&&(d=this.jj),this.d.j=fb(d)):5==this.F?(1==this.Cc&&this.d.opacity!==this.ad&&(this.la=this.d.opacity),this.d.opacity=this.la+(this.Pa-this.la)*d,this.ad=this.d.opacity):
6==this.F?this.value=this.la+(this.Pa-this.la)*d:7==this.F&&(1==this.Cc&&(this.d.width!==this.ad&&(this.la=this.d.width),this.d.height!==this.Jd&&(this.Ab=this.d.height)),this.we&&(this.d.width=this.la+(this.Pa-this.la)*d),this.xe&&(this.d.height=this.Ab+(this.rc-this.Ab)*d),this.ad=this.d.width,this.Jd=this.d.height),this.d.gb()),this.N>=this.duration+this.Oa&&(this.Fz(f),this.d.gb(),0==this.Qi&&(this.Qi=!0,this.b.trigger(ld.prototype.g.Cx,this.d),this.Hk=!0))))};h.Fz=function(d){switch(this.F){case 0:this.d.x=
this.Pa;this.d.y=this.rc;break;case 1:this.we&&(this.d.width=this.Pa);this.xe?this.d.height=this.rc:this.d.height=this.d.width*this.Lg;break;case 2:this.d.width=this.Pa;break;case 3:this.d.height=this.rc;break;case 4:this.d.j=fb(this.jj);this.Hm=this.d.j;break;case 5:this.d.opacity=this.Pa;break;case 6:this.value=this.Pa;break;case 7:this.we&&(this.d.width=this.Pa),this.xe&&(this.d.height=this.rc)}this.N>=this.duration+this.Oa+this.eb&&(0==this.T?(this.reverse=this.H=!1,this.N=this.duration+this.Oa+
this.eb):1==this.T?(this.N=0,this.init(),this.H=!0):2==this.T?d?(this.reverse=!1,this.init()):(this.reverse=!this.reverse,this.N=0,this.init(),this.H=!0):3==this.T?this.b.Yf(this.d):4==this.T?(this.loop=!0,this.N=0,this.init(),this.H=!0):5==this.T?d?(this.reverse=!1,this.init()):0>=this.cd?(this.N=this.duration+this.Oa+this.eb,this.H=!1):(this.reverse?(--this.cd,this.reverse=!1):(--this.cd,this.reverse=!0),this.N=0,this.init(),this.H=!0):-6==this.T?(this.T=this.Tp,this.reverse=!1,this.N=0,this.H=
!1):6==this.T&&(this.reverse=!1,this.N=this.duration+this.Oa+this.eb,this.H=!1));0==this.Pi&&(this.Pi=!0,this.b.trigger(ld.prototype.g.xx,this.d),this.Gk=!0)};n.g={};h=n.g;h.yE=function(){return this.H};h.eE=function(d,f){var g=[];Qc[this.group].forEach(function(b){g.push(b.N/(b.duration+b.Oa+b.eb))});return Oc(Math.min.apply(null,g),d,f)};h.hE=function(d,f){return Oc(this.N/(this.duration+this.Oa+this.eb),d,f)};h.Zx=function(){if(!1===this.Jk)return this.Ri};h.fy=function(){if(!1===this.Kk)return this.Si};
h.Cx=function(){if(!1===this.Hk)return this.Qi};h.xx=function(){if(!1===this.Gk)return this.Pi};n.q={};var m=n.q;m.kF=function(d){this.H=1===d};m.FF=function(d,f){""===f&&(f=this.group);(1===d||Qc[f].every(function(d){return!d.H}))&&Qc[f].forEach(function(g){1===d?m.Sw.apply(g):m.$r.apply(g)})};m.GF=function(d,f){""===f&&(f=this.group);Qc[f].forEach(function(g){m.ul.apply(g,[d])})};m.cF=function(d,f,g){""===g&&(g=this.group);(1===d||Qc[g].every(function(b){return!b.H}))&&Qc[g].forEach(function(b){1===
d?m.Tw.apply(b,[f]):m.Wr.apply(b,[f])})};m.Sw=function(){this.loop=4===this.T;5==this.T&&(this.cd=1);6==this.T||-6==this.T?this.N<this.duration+this.eb+this.Oa&&(this.reverse=!1,this.init(),this.H=!0):(this.reverse=!1,this.N=0,this.init(),this.H=!0)};m.Tw=function(d){this.Dn=1==d;this.loop=4===this.T;5==this.T&&(this.cd=1);6==this.T||-6==this.T?this.N<this.duration+this.eb+this.Oa&&(this.reverse=!0,this.init(),this.H=!0):d?1==this.cd&&this.N>=this.duration+this.eb+this.Oa&&(this.reverse=!0,this.N=
0,this.cd=2,this.init(),this.H=!0):(this.reverse=!0,this.N=0,this.init(),this.H=!0)};m.$r=function(){this.H||(this.loop=4===this.T,5==this.T&&(this.cd=1),6==this.T||-6==this.T?this.N<this.duration+this.eb+this.Oa&&(this.reverse=!1,this.init(),this.H=!0):(this.cd=1,this.reverse=!1,this.N=0,this.init(),this.H=!0))};m.ul=function(d){this.H&&(2==this.T||4==this.T?this.N=this.reverse?0:-1:1==d?this.Ng():0==d?this.N=this.Oa+this.eb+this.duration:this.N=0,this.zb(),this.H=!1)};m.gy=function(){this.H&&(this.wh=
!0,this.H=!1)};m.bF=function(){this.wh?(this.H=!0,this.wh=!1):this.H||(this.reverse=!1,this.N=0,this.init(),this.H=!0)};m.Wr=function(d){this.Dn=1==d;this.H||(this.loop=4===this.T,5==this.T&&(this.cd=1),6==this.T||-6==this.T?this.N<this.duration+this.eb+this.Oa&&(this.reverse=!0,this.init(),this.H=!0):d?1==this.cd&&this.N>=this.duration+this.eb+this.Oa&&(this.reverse=!0,this.N=0,this.cd=2,this.init(),this.H=!0):(this.reverse=!0,this.N=0,this.init(),this.H=!0))};m.Xr=function(d){this.duration=d};m.Cy=
function(d){this.Th=d;this.Oa=parseFloat(this.Th.split(",")[0]);this.eb=parseFloat(this.Th.split(",")[1]);if(0>this.Oa||isNaN(this.Oa))this.Oa=0;if(0>this.eb||isNaN(this.eb))this.eb=0};m.zy=function(d){"string"==typeof d?(this.target=d,this.fa=parseFloat(d.split(",")[0]),this.yb=parseFloat(d.split(",")[1])):this.fa=this.target=d;this.H||this.init()};m.uF=function(d){d&&(d=d.qp())&&(this.Tc=d,this.target="OBJ")};m.vF=function(d){2==this.F||3==this.F||4==this.F||5==this.F||6==this.F?("string"==typeof d?
this.target=parseFloat(d.split(",")[0]):this.target=""+d+","+this.yb,this.fa=this.target):(this.target=String(d)+","+this.target.split(",")[1],this.fa=parseFloat(this.target.split(",")[0]),this.yb=parseFloat(this.target.split(",")[1]));this.H||(this.Ng(),this.init())};m.wF=function(d){2==this.F||3==this.F||4==this.F||5==this.F||6==this.F?this.fa=this.target="string"==typeof d?parseFloat(d)+"":this.fa+","+d:(this.target=this.target.split(",")[0]+","+String(d),this.fa=parseFloat(this.target.split(",")[0]),
this.yb=parseFloat(this.target.split(",")[1]));this.H||(this.Ng(),this.init())};m.qy=function(d){"string"==typeof d?(this.A=d,this.ea=parseFloat(d.split(",")[0]),this.Eb=parseFloat(d.split(",")[1])):(this.A=""+d,this.ea=d);6==this.F&&(this.value=this.ea);this.H||(this.Ng(),this.init())};m.qF=function(d){2==this.F||3==this.F||4==this.F||5==this.F||6==this.F?("string"==typeof d?this.A=parseFloat(d):this.A=""+d+","+this.Eb,this.ea=this.A):(""==this.A&&(this.A="current"),this.A=String(d)+","+("current"==
this.A?this.Tg:this.A.split(",")[1]),this.ea=parseFloat(this.A.split(",")[0]),this.Eb=parseFloat(this.A.split(",")[1]));6==this.F&&(this.value=this.ea);this.H||(this.Ng(),this.init())};m.ry=function(d){2==this.F||3==this.F||4==this.F||5==this.F||6==this.F?("string"==typeof d?this.A=parseFloat(d):this.A=""+this.ea+","+d,this.ea=this.A):(""==this.A&&(this.A="current"),this.A=("current"==this.A?this.Sg:this.A.split(",")[0])+","+String(d),this.ea=parseFloat(this.A.split(",")[0]),this.Eb=parseFloat(this.A.split(",")[1]));
this.H||(this.Ng(),this.init())};m.zF=function(d){this.value=d};m.yF=function(d){this.F=d};m.mF=function(d){this.Gj=d};m.sF=function(d){this.T=d};m.rF=function(d,f,g,b,c,e,a,h){this.F=d;this.T=f;this.Gj=g;m.qy.apply(this,[b]);m.zy.apply(this,[c]);m.Xr.apply(this,[e]);m.Cy.apply(this,[a]);this.Cc=h;this.Ng()};n.Ra={};n=n.Ra;n.YE=function(d){d.u(this.N/(this.duration+this.Oa+this.eb))};n.ZE=function(d){d.u(this.N)};n.Pw=function(d){d.u(this.duration)};n.xE=function(d){d.u(this.Oa)};n.kE=function(d){d.u(this.eb)};
n.IF=function(d){d.Kb(this.target)};n.LF=function(d){d.u(this.value)};n.wh=function(d){d.Ta(this.wh?1:0)}})();
(function(){function f(a,b){return(b-a.RC)*a.hr}function n(a,b){return(a.SC-b)*a.hr}function h(a,b,c,d,e,g){var f;f=a.Be+b.Be;var h=a.ta,k=c.x*c.x*h;a=-c.x*c.y*h;c=f+c.y*c.y*h;f+=k;h=b.ta;b=d.x*d.x*h;k=-d.x*d.y*h;c+=d.y*d.y*h;d=0+a+k;a=0+a+k;f+=b;b=c*f-d*a;na(0!==b,"Unsolvable constraint.");b=1/b;e.x=f*b;e.y=-d*b;g.x=-a*b;g.y=c*b}function m(a,b,c,e,g){a=d(a,c,g)+d(b,e,g);na(0!==a,"Unsolvable collision or constraint.");return a}function d(a,b,c){b=Ca(b,c);return a.Be+a.ta*b*b}function q(a,b,c,d){a.nj+=
b*a.Be;a.oj+=c*a.Be;a.Ug+=a.ta*(d.x*c-d.y*b)}function g(a,c,d,e,g,f){b(a,-g,-f,d);b(c,g,f,e)}function b(a,b,c,d){a.sc+=b*a.Be;a.tc+=c*a.Be;a.p+=a.ta*(d.x*c-d.y*b)}function c(a,b,c,d,e){return(b.sc+-d.y*b.p-(a.sc+-c.y*a.p))*e.x+(b.tc+d.x*b.p-(a.tc+c.x*a.p))*e.y}function e(a,b,c,d){return new F(b.sc+-d.y*b.p-(a.sc+-c.y*a.p),b.tc+d.x*b.p-(a.tc+c.x*a.p))}function a(a){var b=a.body;a.update(b.za,b.lb)}function k(a,b){var c=sd;if(a.Ma<=b.Na&&b.Ma<=a.Na&&a.Ha<=b.Ia&&b.Ha<=a.Ia&&a.body!==b.body&&(!a.group||
a.group!==b.group)&&a.P&b.P){var d=c.cu(a.zj,b.zj),e=a.sv||b.sv;if(!e||d!==td){if(a.rf>b.rf){var g=a;a=b;b=g}g=Ad(a,b);if(0!==g.length){var f=K(a.qb,b.qb),h=c.Qe[f];h||(h=c.Qe[f]=new D(a,b));h.update(g,d,a,b);"ignore"!==h.state&&d.un(h,c)&&!e?c.$h.push(h):(h.Zd=null,"ignore"!==h.state&&(h.state="normal"));h.Mb=c.Mb}}}}function v(a,b){if(!b.Sa()){var c=b?b.Eg:null;if(null==c){b.Eg=a;b!==a&&(b.ge=a.ge,a.ge=b);for(c=b.Zg;c;c=c.next(b))v(a,b==c.ob?c.ue:c.ob);for(c=b.ci;c;c=c.next(b))v(a,b==c.r?c.K:c.r)}else na(c===
a,"Internal Error: Inconsistency detected in the contact graph.")}}function r(a){T(!a.td,"This addition/removal cannot be done safely during a call to cpSpaceStep() \r\n or during a query. Put these calls into a post-step callback.")}function P(a,b,c,d,e){for(var g=Ca(b.kf,b.gd),f=Ca(b.kf,b.Pd),h=X(b.kf,e),k=c.Rf,l=0;l<k.length;l+=2){var m=k[l],n=k[l+1];if(m*h.x+n*h.y<aa(b.kf,b.gd)*e+b.Ka){var p=b.kf.x*n-b.kf.y*m;g>=p&&p>=f&&a.push(new E(new F(m,n),h,d,K(c.qb,l)))}}}function G(a,b,c){var d=aa(b,a.gd)-
a.Ka;a=aa(b,a.Pd)-a.Ka;return la(d,a)-c}function t(a,b,c,d){for(var e=[],g=a.Rf,f=0;f<g.length;f+=2){var h=g[f],k=g[f+1];b.Ol(h,k)&&e.push(new E(new F(h,k),c,d,K(a.qb,f>>1)))}g=b.Rf;for(f=0;f<g.length;f+=2)h=g[f],k=g[f+1],a.Ol(h,k)&&e.push(new E(new F(h,k),c,d,K(b.qb,f>>1)));if(!e.length){e=[];g=a.Rf;for(f=0;f<g.length;f+=2)h=g[f],k=g[f+1],b.Gs(h,k,qa(c))&&e.push(new E(new F(h,k),c,d,K(a.qb,f)));g=b.Rf;for(f=0;f<g.length;f+=2)h=g[f],k=g[f+1],a.Gs(h,k,c)&&e.push(new E(new F(h,k),c,d,K(b.qb,f)))}return a=
e}function l(a,b){var c=0,d=a.ko(b[0].M,b[0].$d);if(0<d)return-1;for(var e=1;e<b.length;e++){var g=a.ko(b[e].M,b[e].$d);if(0<g)return-1;g>d&&(d=g,c=e)}mc=d;return c}function p(a,b,c,d){d=c+d;b=ba(b,a);var e=$a(b);if(!(e>=d*d))return e=Math.sqrt(e),new E(Z(a,X(b,.5+(c-.5*d)/(e?e:Infinity))),e?X(b,1/e):new F(1,0),e-d,0)}function E(a,b,c,d){this.za=a;this.M=b;this.Ej=c;this.W=this.X=pa;this.ac=this.Ah=this.jk=this.Ce=this.Sv=this.us=this.Xa=0;this.hash=d;Bd++}function w(a,b,c){b?b.ob===a?b.cj=c:b.ej=
c:a.Zg=c;c&&(c.ob===a?c.dj=b:c.fj=b)}function D(a,b){this.kj=this.ji=0;this.Rv=pa;this.r=a;this.ob=a.body;this.K=b;this.ue=b.body;this.Zd=this.ej=this.fj=this.cj=this.dj=null;this.Mb=0;this.yp=null;this.ir=!1;this.state="first coll"}function I(a,b){!a.Am&&10>=b&&(I(a.Nc,b+1),I(a.zd,b+1));for(var c="",d=0;d<b;d++)c+=" ";console.log(c+a.Ha+" "+a.Ia)}function U(a,b){return a.Ma<=b.Na&&b.Ma<=a.Na&&a.Ha<=b.Ia&&b.Ha<=a.Ia}function x(a,b,c){if(b==a)return null;var d=b.parent;if(d==a)return b=a.Tu(b),b.parent=
a.parent,a.Mh(c),b;d.parent.replaceChild(d,d.Tu(b),c);return a}function z(a,b,c){a.At(b)&&(a.Am?c(a.ba):(z(a.Nc,b,c),z(a.zd,b,c)))}function O(a,b,c){if(null==a)return b;if(a.Am)return c.XB(b,a);var d=a.zd.Bo()+J(a.Nc,b),e=a.Nc.Bo()+J(a.zd,b);d===e&&(d=ea(a.Nc,b),e=ea(a.zd,b));e<d?a.Yq(O(a.zd,b,c)):a.Xq(O(a.Nc,b,c));a.Ma=la(a.Ma,b.Ma);a.Ha=la(a.Ha,b.Ha);a.Na=ga(a.Na,b.Na);a.Ia=ga(a.Ia,b.Ia);return a}function ea(a,b){return Math.abs(a.Ma+a.Na-b.Ma-b.Na)+Math.abs(a.Ha+a.Ia-b.Ha-b.Ia)}function J(a,b){return(ga(a.Na,
b.Na)-la(a.Ma,b.Ma))*(ga(a.Ia,b.Ia)-la(a.Ha,b.Ha))}function ka(a,b,c){var d=a.Gg,e=b.Gg;c=c.YB(a,d,b,e);a.Gg=b.Gg=c;d&&(d.xg===a?d.Lh=c:d.Ok=c);e&&(e.xg===b?e.Lh=c:e.Ok=c)}function W(a,b,c){c&&(c.xg===b?c.Lh=a:c.Ok=a);a?a.xg===b?a.Ck=c:a.Dk=c:b.Gg=c}function u(a,b,c,d){this.Lh=null;this.xg=a;this.Ck=b;this.Ok=null;this.aq=c;this.Dk=d}function V(a,b){this.ba=b;a.mp(b,this);this.parent=null;this.Mb=1;this.Gg=null;Cd++}function B(a,b,c){this.ba=null;this.Ma=la(b.Ma,c.Ma);this.Ha=la(b.Ha,c.Ha);this.Na=
ga(b.Na,c.Na);this.Ia=ga(b.Ia,c.Ia);this.parent=null;this.Xq(b);this.Yq(c)}function R(a,b,c){if(a===c)return a.next(b);a.r===b?a.pq=R(a.pq,b,c):a.qq=R(a.qq,b,c);return a}function C(a,b){this.M=a;this.$d=b}function Q(a){for(var b=a.length,c=0;c<b;c+=2){var d=a[(c+2)%b],e=a[(c+3)%b];if(0<(d-a[c])*(a[(c+5)%b]-e)-(e-a[c+1])*(a[(c+4)%b]-d))return!1}return!0}function N(a,b,c){return la(ga(a,b),c)}function M(a,b,c,d,e,g,f,h){if(0>d)return 0;if(0==d)return b[2*h]=g.x,b[2*h+1]=g.y,1;var k=H(b,c,d,e,g,a),l=
new F(b[2*c],b[2*c+1]);e=M(a,b,c+1,k-1,e,l,g,h);l=h+e++;b[2*l]=g.x;b[2*l+1]=g.y;d=H(b,c+k,d-k,g,f,a);l=new F(b[2*(c+k)],b[2*(c+k)+1]);return e+M(a,b,c+k+1,d-1,g,l,f,h+e)}function H(a,b,c,d,e,g){if(0===c)return 0;var f=0,h=b;e=ba(e,d);g=g*da(e);var k=b;for(c=b+c-1;k<=c;){var l=new F(a[2*k],a[2*k+1]),l=Ca(e,ba(l,d));l>g?(l>f&&(f=l,h=k),k++):(S(a,k,c),c--)}h!=b&&S(a,b,h);return k-b}function S(a,b,c){var d=a[2*b];a[2*b]=a[2*c];a[2*c]=d;d=a[2*b+1];a[2*b+1]=a[2*c+1];a[2*c+1]=d}function ja(a,b){for(var c=
0;c<a.length;c++)if(a[c]===b){a[c]=a[a.length-1];a.length--;break}}function K(a,b){return a<b?a+" "+b:b+" "+a}function Ia(a,b){return a>b?a:b}function Aa(a,b){return a<b?a:b}function na(a,b){!a&&console&&console.warn&&(console.warn("ASSERTION FAILED: "+b),console.trace&&console.trace())}function T(a,b){if(!a)throw Error("Assertion failed: "+b);}Object.create=Object.create||function(a){function b(){}b.prototype=a;return new b};var y;"undefined"===typeof exports?(y={},"object"===typeof window&&(window.cp=
y)):y=exports;var la,ga;"object"===typeof window&&-1<window.navigator.userAgent.indexOf("Firefox")?(la=Math.min,ga=Math.max):(la=Aa,ga=Ia);y.xu=function(a,b){var c=cp.B(0,0);return a*(.5*(b*b+0)+$a(c))};y.$y=function(a){return Math.PI*Math.abs(a*a-0)};y.yu=function(a,b,c){var d=X(Z(b,c),.5);return a*(pd(c,b)/12+$a(d))};y.az=function(a,b,c){return c*(Math.PI*c+2*wd(a,b))};y.mq=function(a,b,c){for(var d=0,e=0,g=b.length,f=0;f<g;f+=2)var h=b[f]+c.x,k=b[f+1]+c.y,l=b[(f+2)%g]+c.x,m=b[(f+3)%g]+c.y,n=l*
k-m*h,d=d+n*(h*h+k*k+(h*l+k*m)+(l*l+m*m)),e=e+n;return a*d/(6*e)};y.Ao=function(a){for(var b=0,c=0,d=a.length;c<d;c+=2)b+=Ca(new F(a[c],a[c+1]),new F(a[(c+2)%d],a[(c+3)%d]));return-b/2};y.jz=function(a){for(var b=0,c=new F(0,0),d=0,e=a.length;d<e;d+=2)var g=new F(a[d],a[d+1]),f=new F(a[(d+2)%e],a[(d+3)%e]),h=Ca(g,f),b=b+h,c=Z(c,X(Z(g,f),h));return X(c,1/(3*b))};y.rG=function(a){for(var b=y.jz(a),c=0;c<a.length;c+=2)a[c]-=b.x,a[c+1]-=b.y};y.wu=function(a,b,c){return a*(b*b+c*c)/12};y.bG=function(a,
b){var c=b.Ka-b.nk,d=b.Kc-b.K,e=X([b.nk+b.Ka,b.K+b.Kc],.5);return y.wu(a,c,d)+a*$a(e)};var ub=y.aG=function(a){var b=0,c=0,d,e,g,f;d=g=a[0];e=f=a[1];for(var h=a.length>>1,k=1;k<h;k++){var l=a[2*k],m=a[2*k+1];if(l<d||l==d&&m<e)d=l,e=m,b=k;else if(l>g||l==g&&m>f)g=l,f=m,c=k}return[b,c]};y.SF=function(a,b,c){if(b)for(var d=0;d<a.length;d++)b[d]=a[d];else b=a;var e=ub(a),d=e[0],e=e[1];if(d==e)return b.length=2,b;S(b,0,d);S(b,1,0==e?d:e);d=new F(b[0],b[1]);e=new F(b[2],b[3]);a=M(c,b,2,(a.length>>1)-2,
d,e,d,1)+1;b.length=2*a;na(Q(b),"Internal error: cpConvexHull() and cpPolyValidate() did not agree.Please report this error with as much info as you can.");return b};var F=y.MF=function(a,b){this.x=a;this.y=b};y.B=function(a,b){return new F(a,b)};var pa=y.xG=new F(0,0),aa=y.B.Fj=function(a,b){return a.x*b.x+a.y*b.y},da=y.B.mE=function(a){return Math.sqrt(aa(a,a))};y.B.tE=function(a,b){return Math.sqrt(a*a+b*b)};y.B.oG=function(a,b){return a.x===b.x&&a.y===b.y};var Z=y.B.add=function(a,b){return new F(a.x+
b.x,a.y+b.y)};F.prototype.add=function(a){this.x+=a.x;this.y+=a.y;return this};var ba=y.B.sub=function(a,b){return new F(a.x-b.x,a.y-b.y)};F.prototype.sub=function(a){this.x-=a.x;this.y-=a.y;return this};var qa=y.B.Ve=function(a){return new F(-a.x,-a.y)};F.prototype.Ve=function(){this.x=-this.x;this.y=-this.y;return this};var X=y.B.zu=function(a,b){return new F(a.x*b,a.y*b)};F.prototype.zu=function(a){this.x*=a;this.y*=a;return this};var Ca=y.B.yz=function(a,b){return a.x*b.y-a.y*b.x},Ba=y.B.LE=function(a){return new F(-a.y,
a.x)};y.B.PE=function(a){return new F(a.y,-a.x)};var ud=y.B.wn=function(a,b){return X(b,aa(a,b)/$a(b))};F.prototype.wn=function(a){this.zu(aa(this,a)/$a(a));return this};var va=y.B.rotate=function(a,b){return new F(a.x*b.x-a.y*b.y,a.x*b.y+a.y*b.x)};F.prototype.rotate=function(a){this.x=this.x*a.x-this.y*a.y;this.y=this.x*a.y+this.y*a.x;return this};var vd=y.B.iF=function(a,b){return new F(a.x*b.x+a.y*b.y,a.y*b.x-a.x*b.y)},$a=y.B.vE=function(a){return aa(a,a)};y.B.AE=function(a,b){return a*a+b*b};
y.B.pE=function(a,b,c){return Z(X(a,1-c),X(b,c))};var sb=y.B.normalize=function(a){return X(a,1/da(a))},od=y.B.FE=function(a){return 0===a.x&&0===a.y?pa:sb(a)},tb=y.B.bi=function(a,b){return aa(a,a)>b*b?X(sb(a),b):a};y.B.BE=function(a,b,c){return Z(a,tb(ba(b,a),c))};var wd=y.B.Ej=function(a,b){return da(ba(a,b))},pd=y.B.Ht=function(a,b){return $a(ba(a,b))};y.B.CE=function(a,b,c){return pd(a,b)<c*c};var xd=y.B.QE=function(a,b,c){var d=Math.acos(aa(a,b));if(d){var e=1/Math.sin(d);return Z(X(a,Math.sin((1-
c)*d)*e),X(b,Math.sin(c*d)*e))}return a};y.B.$E=function(a,b,c){var d=Math.acos(aa(a,b));return xd(a,b,la(c,d)/d)};y.B.cE=function(a){return new F(Math.cos(a),Math.sin(a))};y.B.ik=function(a){return Math.atan2(a.y,a.x)};y.B.qE=function(a){return"("+a.x.toFixed(3)+", "+a.y.toFixed(3)+")"};var yd=0,Kb=y.XD=function(a,b,c,d){this.nk=a;this.K=b;this.Ka=c;this.Kc=d;yd++};y.QF=function(a,b,c,d){return new Kb(a,b,c,d)};var qd=0;y.ME=0;var zd=y.UD=-1;y.sG=function(){qd=0};var Ua=y.BF=function(a){this.body=
a;this.Ma=this.Ha=this.Na=this.Ia=0;this.qb=qd++;this.sv=!1;this.kj=this.ji=0;this.Qv=pa;this.group=this.zj=0;this.P=zd;this.J=null;this.rb=!1;this.rf=this.rf};Ua.prototype.Ln=function(a){this.ji=a};Ua.prototype.Mn=function(a){this.body.gc();this.kj=a};Ua.prototype.H=function(){return this.body&&-1!==this.body.Qh.indexOf(this)};Ua.prototype.update=function(a,b){T(!isNaN(b.x),"Rotation is NaN");T(!isNaN(a.x),"Position is NaN");this.Eo(a,b)};Ua.prototype.mp=function(){return new Kb(this.Ma,this.Ha,
this.Na,this.Ia)};y.NE=function(a,b,c){this.shape=a;this.za=b;this.$d=c};y.jF=function(a,b,c){this.shape=a;this.Kc=b;this.M=c};var Lb=y.Ew=function(a,b,c){this.xj=this.jf=c;this.Ka=b;this.type="circle";Ua.call(this,a)};Lb.prototype=Object.create(Ua.prototype);Lb.prototype.Eo=function(a,b){var c=this.jf=va(this.xj,b).add(a),d=this.Ka;this.Ma=c.x-d;this.Ha=c.y-d;this.Na=c.x+d;this.Ia=c.y+d};var Mb=y.iy=function(a,b,c,d){this.r=b;this.K=c;this.M=Ba(sb(ba(c,b)));this.gd=this.Pd=this.kf=null;this.Ka=d;
this.ez=this.Ry=pa;this.type="segment";Ua.call(this,a)};Mb.prototype=Object.create(Ua.prototype);Mb.prototype.Eo=function(a,b){this.gd=Z(a,va(this.r,b));this.Pd=Z(a,va(this.K,b));this.kf=va(this.M,b);var c,d,e,g;this.gd.x<this.Pd.x?(c=this.gd.x,d=this.Pd.x):(c=this.Pd.x,d=this.gd.x);this.gd.y<this.Pd.y?(e=this.gd.y,g=this.Pd.y):(e=this.Pd.y,g=this.gd.y);var f=this.Ka;this.Ma=c-f;this.Ha=e-f;this.Na=d+f;this.Ia=g+f};var Va=y.to=function(a,b,c){this.oD(b,c);this.type="poly";Ua.call(this,a)};Va.prototype=
Object.create(Ua.prototype);C.prototype.compare=function(a){return aa(this.M,a)-this.$d};Va.prototype.oD=function(a,b){T(4<=a.length,"Polygons require some verts");T("number"===typeof a[0],"Polygon verticies should be specified in a flattened list (eg [x1,y1,x2,y2,x3,y3,...])");T(Q(a),"Polygon is concave or has a reversed winding. Consider using cpConvexHull()");var c=a.length,d=c>>1;this.rj=Array(c);this.Rf=Array(c);this.dv=Array(d);this.hf=Array(d);for(d=0;d<c;d+=2){var e=a[d]+b.x,g=a[d+1]+b.y,
f=sb(Ba(new F(a[(d+2)%c]+b.x-e,a[(d+3)%c]+b.y-g)));this.rj[d]=e;this.rj[d+1]=g;this.dv[d>>1]=new C(f,f.x*e+f.y*g);this.hf[d>>1]=new C(new F(0,0),0)}};y.Bw=function(a,b,c){b=b/2;c=c/2;return Dd(a,new Kb(-b,-c,b,c))};var Dd=y.bE=function(a,b){return new Va(a,[b.nk,b.K,b.nk,b.Kc,b.Ka,b.Kc,b.Ka,b.K],pa)};Va.prototype.CD=function(a,b){for(var c=this.rj,d=this.Rf,e=Infinity,g=-Infinity,f=Infinity,h=-Infinity,k=0;k<c.length;k+=2){var l=c[k],m=c[k+1],n=a.x+l*b.x-m*b.y,l=a.y+l*b.y+m*b.x;d[k]=n;d[k+1]=l;e=
la(e,n);g=ga(g,n);f=la(f,l);h=ga(h,l)}this.Ma=e;this.Ha=f;this.Na=g;this.Ia=h};Va.prototype.BD=function(a,b){for(var c=this.dv,d=this.hf,e=0;e<c.length;e++){var g=va(c[e].M,b);d[e].M=g;d[e].$d=aa(a,g)+c[e].$d}};Va.prototype.Eo=function(a,b){this.BD(a,b);this.CD(a,b)};Va.prototype.ko=function(a,b){for(var c=this.Rf,d=a.x*c[0]+a.y*c[1],e=2;e<c.length;e+=2)d=la(d,a.x*c[e]+a.y*c[e+1]);return d-b};Va.prototype.Ol=function(a,b){for(var c=this.hf,d=0;d<c.length;d++){var e=c[d].M;if(0<e.x*a+e.y*b-c[d].$d)return!1}return!0};
Va.prototype.Gs=function(a,b,c){for(var d=this.hf,e=0;e<d.length;e++){var g=d[e].M;if(!(0>aa(g,c))&&0<g.x*a+g.y*b-d[e].$d)return!1}return!0};var ha=y.Kr=function(a,b){this.za=new F(0,0);this.sc=this.tc=0;this.am=new F(0,0);this.Kc=this.p=0;this.Fr=this.Dr=Infinity;this.Ug=this.nj=this.oj=0;this.J=null;this.rb=!1;this.Qh=[];this.ge=this.Eg=this.ci=this.Zg=null;this.$e=0;this.Wi(a);this.Mf(b);this.lb=new F(0,0);this.uv(0)};if("undefined"!==typeof DEBUG&&DEBUG){var nc=function(a,b){T(a.x==a.x&&a.y==
a.y,b)},oc=function(a,b){T(Infinity!==Math.abs(a.x)&&Infinity!==Math.abs(a.y),b)};ha.prototype.Wk=function(){T(this.Ii===this.Ii&&this.Be===this.Be,"Body's mass is invalid.");T(this.N===this.N&&this.ta===this.ta,"Body's moment is invalid.");var a=this.za;nc(a,"Body's position is invalid.");oc(a,"Body's position is invalid.");a=this.am;nc(a,"Body's force is invalid.");oc(a,"Body's force is invalid.");T(this.sc===this.sc&&Infinity!==Math.abs(this.sc),"Body's velocity is invalid.");T(this.tc===this.tc&&
Infinity!==Math.abs(this.tc),"Body's velocity is invalid.");T(this.r===this.r&&Infinity!==Math.abs(this.r),"Body's angle is invalid.");T(this.p===this.p&&Infinity!==Math.abs(this.p),"Body's angular velocity is invalid.");T(this.Kc===this.Kc&&Infinity!==Math.abs(this.Kc),"Body's torque is invalid.");a=this.lb;nc(a,"Body's rotation vector is invalid.");oc(a,"Body's rotation vector is invalid.");T(this.Dr===this.Dr,"Body's velocity limit is invalid.");T(this.Fr===this.Fr,"Body's angular velocity limit is invalid.")}}else ha.prototype.Wk=
function(){};ha.prototype.ub=function(){return y.B.ik(this.lb)};ha.prototype.Cf=function(){return null!==this.Eg};ha.prototype.Qc=function(){return Infinity===this.$e};ha.prototype.Sa=function(){return null===this.J};ha.prototype.Wi=function(a){T(0<a,"Mass must be positive and non-zero.");this.gc();this.Ii=a;this.Be=1/a};ha.prototype.Mf=function(a){T(0<a,"Moment of Inertia must be positive and non-zero.");this.gc();this.N=a;this.ta=1/a};ha.prototype.mf=function(a){this.Qh.push(a)};ha.prototype.Jf=
function(a){ja(this.Qh,a)};ha.prototype.Tk=function(a){this.ci=R(this.ci,this,a)};ha.prototype.Av=function(a){this.gc();this.Wk();a===pa&&(a=y.B(0,0));this.za=a};ha.prototype.vv=function(a){T(!isNaN(a),"Internal Error: Attempting to set body's angle to NaN");this.r=a;this.lb.x=Math.cos(a);this.lb.y=Math.sin(a)};ha.prototype.uv=function(a){this.gc();this.Wk();this.vv(a)};ha.prototype.OD=function(a,b,c){var d=this.sc*b+(a.x+this.am.x*this.Be)*c;a=this.tc*b+(a.y+this.am.y*this.Be)*c;var e=this.Dr,g=
d*d+a*a,e=g>e*e?e/Math.sqrt(g):1;this.sc=d*e;this.tc=a*e;d=this.Fr;this.p=N(this.p*b+this.Kc*this.ta*c,-d,d);this.Wk()};ha.prototype.vC=function(a){this.za.x+=(this.sc+this.nj)*a;this.za.y+=(this.tc+this.oj)*a;this.vv(this.r+(this.p+this.Ug)*a);this.Ug=this.nj=this.oj=0;this.Wk()};ha.prototype.QC=function(){this.gc();this.am=new F(0,0);this.Kc=0};ha.prototype.kd=function(a,c){this.gc();b(this,a.x,a.y,c)};ha.prototype.Zl=function(a){for(var b=this.ci;b;){var c=b.next(this);a(b);b=c}};ha.prototype.au=
function(a){return Z(this.za,va(a,this.lb))};ha.prototype.no=function(a){return vd(ba(a,this.za),this.lb)};ha.prototype.TB=function(){var a=this.sc*this.sc+this.tc*this.tc,b=this.p*this.p;return(a?a*this.Ii:0)+(b?b*this.N:0)};var pc=y.EF=function(a){if(this.Ov=a){if(a.ii)throw Error("This static index is already associated with a dynamic index.");a.ii=this}};pc.prototype.mz=function(a,b){if(0<a.count){var c=a.FC;this.each(function(a){c(a,new Kb(a.Ma,a.Ha,a.Na,a.Ia),b)})}};var Da=y.Aw=function(a){pc.call(this,
a);this.ND=null;this.yg={};this.count=0;this.pn=this.nn=this.root=null;this.Mb=0};Da.prototype=Object.create(pc.prototype);var Ed=0;Da.prototype.XB=function(a,b){var c=this.nn;if(c)return this.nn=c.parent,c.constructor(this,a,b),c;Ed++;return new B(0,a,b)};var Cd=0;Da.prototype.mp=function(a,b){var c=this.ND;if(c){var d=.1*(a.Na-a.Ma),e=.1*(a.Ia-a.Ha),c=X(c(a),.1);b.Ma=a.Ma+la(-d,c.x);b.Ha=a.Ha+la(-e,c.y);b.Na=a.Na+ga(d,c.x);b.Ia=a.Ia+ga(e,c.y)}else b.Ma=a.Ma,b.Ha=a.Ha,b.Na=a.Na,b.Ia=a.Ia};Da.prototype.vp=
function(){var a=this.ii;return a&&a.Mb?a.Mb:this.Mb};Da.prototype.Gp=function(){this.ii&&this.ii.Mb?this.ii.Mb++:this.Mb++};var Fd=0;Da.prototype.YB=function(a,b,c,d){var e=this.pn;if(e)return this.pn=e.Lh,e.Lh=null,e.xg=a,e.Ck=b,e.Ok=null,e.aq=c,e.Dk=d,e;Fd++;return new u(a,b,c,d)};u.prototype.Mh=function(a){this.Lh=a.pn;a.pn=this};V.prototype.Cs=function(a){var b=this.Gg,c;for(this.Gg=null;b;)b.xg===this?(c=b.Ck,W(b.Ok,b.aq,b.Dk)):(c=b.Dk,W(b.Lh,b.xg,b.Ck)),b.Mh(a),b=c};B.prototype.Mh=function(a){this.parent=
a.nn;a.nn=this};V.prototype.Mh=function(){};B.prototype.Xq=function(a){this.Nc=a;a.parent=this};B.prototype.Yq=function(a){this.zd=a;a.parent=this};V.prototype.Am=!0;B.prototype.Am=!1;B.prototype.Tu=function(a){return this.Nc==a?this.zd:this.Nc};B.prototype.replaceChild=function(a,b,c){na(a==this.Nc||a==this.zd,"Node is not a child of parent.");this.Nc==a?(this.Nc.Mh(c),this.Xq(b)):(this.zd.Mh(c),this.Yq(b));for(a=this;a;a=a.parent)b=a.Nc,c=a.zd,a.Ma=la(b.Ma,c.Ma),a.Ha=la(b.Ha,c.Ha),a.Na=ga(b.Na,
c.Na),a.Ia=ga(b.Ia,c.Ia)};B.prototype.Bo=V.prototype.Bo=function(){return(this.Na-this.Ma)*(this.Ia-this.Ha)};B.prototype.At=V.prototype.At=function(a){return this.Ma<=a.Ka&&a.nk<=this.Na&&this.Ha<=a.Kc&&a.K<=this.Ia};V.prototype.Hh=function(a,b,c,d){U(a,this)&&(b?ka(a,this,c):(this.Mb<a.Mb&&ka(this,a,c),d&&d(a.ba,this.ba)))};B.prototype.Hh=function(a,b,c,d){U(a,this)&&(this.Nc.Hh(a,b,c,d),this.zd.Hh(a,b,c,d))};V.prototype.Ak=function(a,b,c){if(this.Mb==a.vp())for(b&&b.Hh(this,!1,a,c),b=this;b.parent;b=
b.parent)b==b.parent.Nc?b.parent.zd.Hh(this,!0,a,c):b.parent.Nc.Hh(this,!1,a,c);else for(a=this.Gg;a;)this===a.aq?(c&&c(a.xg.ba,this.ba),a=a.Dk):a=a.Ck};B.prototype.Ak=function(a,b,c){this.Nc.Ak(a,b,c);this.zd.Ak(a,b,c)};V.prototype.sz=function(a){return this.Ma<=a.Ma&&this.Na>=a.Na&&this.Ha<=a.Ha&&this.Ia>=a.Ia};V.prototype.update=function(a){var b=a.root;return this.sz(this.ba)?!1:(a.mp(this.ba,this),b=x(b,this,a),a.root=O(b,this,a),this.Cs(a),this.Mb=a.vp(),!0)};V.prototype.js=function(a){var b=
a.ii;b?(a=b.root)&&a.Hh(this,!0,b,null):this.Ak(a,a.Ov.root,null)};Da.prototype.rg=function(a,b){var c=new V(this,a);this.yg[b]=c;this.root=O(this.root,c,this);this.count++;c.Mb=this.vp();c.js(this);this.Gp()};Da.prototype.remove=function(a,b){var c=this.yg[b];delete this.yg[b];this.root=x(this.root,c,this);this.count--;c.Cs(this);c.Mh(this)};Da.prototype.contains=function(a,b){return null!=this.yg[b]};Da.prototype.JC=function(a){if(this.root){var b,c=this.yg;for(b in c)c[b].update(this);c=(b=this.Ov)&&
b.root;this.root.Ak(this,c,a);b&&!c&&this.mz(this,b);this.Gp()}};Da.prototype.ov=function(a){if(a=this.yg[a])a.update(this)&&a.js(this),this.Gp()};Da.prototype.FC=function(a,b){this&&this.root&&this instanceof y.Aw&&z(this.root,a,b)};Da.prototype.count=function(){return this.count};Da.prototype.each=function(a){for(var b in this.yg)a(this.yg[b].ba)};Da.prototype.log=function(){this.root&&I(this.root,0)};var Nb=y.dE=function(){this.r=this.K=0};Nb.prototype.un=function(){return!0};Nb.prototype.sn=function(){};
D.prototype.bt=function(){return this.ir?this.K:this.r};D.prototype.et=function(){return this.ir?this.r:this.K};D.prototype.Lp=function(){return"first coll"===this.state};D.prototype.gw=function(){w(this.ob,this.dj,this.cj);w(this.ue,this.fj,this.ej);this.fj=this.ej=this.dj=this.cj=null};D.prototype.update=function(a,b,c,d){if(this.Zd)for(var e=0;e<this.Zd.length;e++)for(var g=this.Zd[e],f=0;f<a.length;f++){var h=a[f];h.hash===g.hash&&(h.ac=g.ac,h.Ah=g.Ah)}this.Zd=a;this.yp=b;this.ir=c.zj!==b.r;this.ji=
c.ji*d.ji;this.kj=c.kj*d.kj;this.Rv=ba(c.Qv,d.Qv);this.r=c;this.ob=c.body;this.K=d;this.ue=d.body;"cached"==this.state&&(this.state="first coll")};D.prototype.Md=function(a,b,d){for(var e=this.ob,g=this.ue,f=0;f<this.Zd.length;f++){var h=this.Zd[f];h.W=ba(h.za,e.za);h.X=ba(h.za,g.za);h.Ce=1/m(e,g,h.W,h.X,h.M);h.Sv=1/m(e,g,h.W,h.X,Ba(h.M));h.Xa=-d*la(0,h.Ej+b)/a;h.jk=0;h.us=c(e,g,h.W,h.X,h.M)*this.ji}};D.prototype.Wd=function(a){if(!this.Lp())for(var b=this.ob,c=this.ue,d=0;d<this.Zd.length;d++){var e=
this.Zd[d],f=e.M.x,h=e.M.y;g(b,c,e.W,e.X,(f*e.ac-h*e.Ah)*a,(f*e.Ah+h*e.ac)*a)}};var Gd=0,Hd=0;D.prototype.kd=function(){Gd++;for(var a=this.ob,b=this.ue,c=this.Rv,d=this.kj,e=0;e<this.Zd.length;e++){Hd++;var f=this.Zd[e],h=f.Ce,k=f.M,l=f.W,m=f.X,n=b.sc-m.y*b.p-(a.sc-l.y*a.p),p=b.tc+m.x*b.p-(a.tc+l.x*a.p),r=n*k.x+p*k.y,t=(n+c.x)*-k.y+(p+c.y)*k.x,p=f.jk;f.jk=ga(p+(f.Xa-(k.x*(b.nj-m.y*b.Ug-a.nj+l.y*a.Ug)+k.y*(m.x*b.Ug+b.oj-l.x*a.Ug-a.oj)))*h,0);n=f.ac;f.ac=ga(n+-(f.us+r)*h,0);r=d*f.ac;h=f.Ah;f.Ah=N(h+
-t*f.Sv,-r,r);r=k.x*(f.jk-p);p=k.y*(f.jk-p);q(a,-r,-p,l);q(b,r,p,m);n=f.ac-n;f=f.Ah-h;g(a,b,l,m,k.x*n-k.y*f,k.x*f+k.y*n)}};D.prototype.next=function(a){return this.ob==a?this.cj:this.ej};var Bd=0,Ra=[],mc=0;Lb.prototype.rf=0;Mb.prototype.rf=1;Va.prototype.rf=2;Lb.prototype.Po=[function(a,b){var c=p(a.jf,b.jf,a.Ka,b.Ka);return c?[c]:Ra},function(a,b){var c=b.gd,d=a.jf,e=ba(b.Pd,c),g;g=aa(e,ba(d,c))/$a(e);g=ga(0,la(g,1));c=Z(c,X(e,g));return(d=p(d,c,a.Ka,b.Ka))?(c=d.M,0===g&&0>aa(c,b.Ry)||1===g&&0>
aa(c,b.ez)?Ra:[d]):Ra},function(a,b){for(var c=b.hf,d=0,e=aa(c[0].M,a.jf)-c[0].$d-a.Ka,g=0;g<c.length;g++){var f=aa(c[g].M,a.jf)-c[g].$d-a.Ka;if(0<f)return Ra;f>e&&(e=f,d=g)}var c=c[d].M,h=b.Rf,k=h.length,l=d<<1,d=h[l],g=h[l+1],f=h[(l+2)%k],h=h[(l+3)%k],k=c.x*g-c.y*d,l=c.x*h-c.y*f,m=Ca(c,a.jf);return m<l?(e=p(a.jf,new F(f,h),a.Ka,0))?[e]:Ra:m<k?[new E(ba(a.jf,X(c,a.Ka+e/2)),qa(c),e,0)]:(e=p(a.jf,new F(d,g),a.Ka,0))?[e]:Ra}];Mb.prototype.Po=[null,function(){return Ra},function(a,b){var c=[],d=b.hf,
e=d.length,g=aa(a.kf,a.gd),f=b.ko(a.kf,g)-a.Ka,g=b.ko(qa(a.kf),-g)-a.Ka;if(0<g||0<f)return Ra;var h=0,k=G(a,d[0].M,d[0].$d);if(0<k)return Ra;for(var l=0;l<e;l++){var m=G(a,d[l].M,d[l].$d);if(0<m)return Ra;m>k&&(k=m,h=l)}d=qa(d[h].M);l=Z(a.gd,X(d,a.Ka));m=Z(a.Pd,X(d,a.Ka));b.Ol(l.x,l.y)&&c.push(new E(l,d,k,K(a.qb,0)));b.Ol(m.x,m.y)&&c.push(new E(m,d,k,K(a.qb,1)));if(f>=k||g>=k)f>g?P(c,a,b,f,1):P(c,a,b,g,-1);if(0===c.length){f=2*h;g=b.Rf;k=new F(g[f],g[f+1]);if((h=p(a.gd,k,a.Ka,0))||(h=p(a.Pd,k,a.Ka,
0)))return[h];e=2*e;e=new F(g[(f+2)%e],g[(f+3)%e]);if((h=p(a.gd,e,a.Ka,0))||(h=p(a.Pd,e,a.Ka,0)))return[h]}return c}];Va.prototype.Po=[null,null,function(a,b){var c=l(b,a.hf);if(-1==c)return Ra;var d=mc,e=l(a,b.hf);if(-1==e)return Ra;var g=mc;return d>g?t(a,b,a.hf[c].M,d):t(a,b,qa(b.hf[e].M),g)}];var Ad=y.Ds=function(a,b){T(a.rf<=b.rf,"Collided shapes must be sorted by type");return a.Po[b.rf](a,b)},td=new Nb,fa=y.Gy=function(){this.Ks=this.Mb=0;this.eg=[];this.Qq=[];this.dr=[];this.aj=new Da(null);
this.Vg=new Da(this.aj);this.$h=[];this.Qe={};this.di=[];this.td=0;this.Oo={};this.Az=td;this.Fq=[];this.Xc=[];this.SB=10;this.qm=pa;this.hi=1;this.Ep=0;this.cl=Infinity;this.pz=.1;this.nz=Math.pow(.9,60);this.oz=3;this.Nv=new ha(Infinity,Infinity);this.Nv.$e=Infinity;this.Ds=this.WB()};fa.prototype.Vy=function(a,b){r(this);this.NC();var c=new Nb;c.r=0;c.K=0;a&&(c.un=a);b&&(c.sn=b);this.Oo[K(0,0)]=c};fa.prototype.NC=function(){r(this);delete this.Oo[K(0,0)]};fa.prototype.cu=function(a,b){return this.Oo[K(a,
b)]||this.Az};fa.prototype.mf=function(a){var b=a.body;if(b.Qc())return this.ls(a);if(this.td)return a.rb||(a.rb=!0,this.Xc.push(this.mf),this.Xc.push(a)),a;a.rb=!0;T(!a.J,"This shape is already added to a space and cannot be added to another.");r(this);b.gc();b.mf(a);a.update(b.za,b.lb);this.Vg.rg(a,a.qb);a.J=this;return a};fa.prototype.ls=function(a){if(this.td)return a.rb||(a.rb=!0,this.Xc.push(this.ls),this.Xc.push(a)),a;a.rb=!0;T(!a.J,"This shape is already added to a space and cannot be added to another.");
r(this);var b=a.body;b.mf(a);a.update(b.za,b.lb);this.aj.rg(a,a.qb);a.J=this;return a};fa.prototype.xl=function(a){T(!a.Qc(),"Static bodies cannot be added to a space as they are not meant to be simulated.");if(this.td)return a.rb||(a.rb=!0,this.Xc.push(this.xl),this.Xc.push(a)),a;a.rb=!0;T(!a.J,"This body is already added to a space and cannot be added to another.");r(this);this.eg.push(a);a.J=this;return a};fa.prototype.Xs=function(a,b){for(var c in this.Qe){var d=this.Qe[c];if(a===d.ob&&(b===d.r||
null===b)||a===d.ue&&(b===d.K||null===b))d.gw(),ja(this.$h,d),delete this.Qe[c]}};fa.prototype.Jf=function(a){var b=a.body;b.Qc()?this.pv(a):this.td?a.rb&&(a.rb=!1,this.Xc.push(this.Jf),this.Xc.push(a)):(a.rb=!1,T(this.Fs(a),"Cannot remove a shape that was not added to the space. (Removed twice maybe?)"),r(this),b.gc(),b.Jf(a),this.Xs(b,a),this.Vg.remove(a,a.qb),a.J=null)};fa.prototype.pv=function(a){if(this.td)a.rb&&(a.rb=!1,this.Xc.push(this.pv),this.Xc.push(a));else{a.rb=!1;T(this.Fs(a),"Cannot remove a static or sleeping shape that was not added to the space. (Removed twice maybe?)");
r(this);var b=a.body;b.Qc()&&b.wo(a);b.Jf(a);this.Xs(b,a);this.aj.remove(a,a.qb);a.J=null}};fa.prototype.Bn=function(a){this.td?a.rb&&(a.rb=!1,this.Xc.push(this.Bn),this.Xc.push(a)):(a.rb=!1,T(this.qz(a),"Cannot remove a body that was not added to the space. (Removed twice maybe?)"),r(this),a.gc(),ja(this.eg,a),a.J=null)};fa.prototype.Tk=function(a){this.td?a.rb&&(a.rb=!1,this.Xc.push(this.Tk),this.Xc.push(a)):(a.rb=!1,T(this.rz(a),"Cannot remove a constraint that was not added to the space. (Removed twice maybe?)"),
r(this),a.r.gc(),a.K.gc(),ja(this.di,a),a.r.Tk(a),a.K.Tk(a),a.J=null)};fa.prototype.Fs=function(a){return a.J===this};fa.prototype.qz=function(a){return a.J==this};fa.prototype.rz=function(a){return a.J==this};fa.prototype.DD=function(a){delete this.Qe[K(a.r.qb,a.K.qb)];ja(this.$h,a)};fa.prototype.Xo=function(a,b){this.Vm();for(var c=this.eg,d=0;d<c.length;d++)a.call(b,c[d]);c=this.dr;for(d=0;d<c.length;d++)for(var e=c[d];e;){var g=e.ge;a.call(b,e);e=g}this.co(!0)};fa.prototype.Zl=function(a){this.Vm();
for(var b=this.di,c=0;c<b.length;c++)a(b[c]);this.co(!0)};fa.prototype.KC=function(a){T(!this.td,"You cannot manually reindex objects while the space is locked. Wait until the current query or step is complete.");var b=a.body;a.update(b.za,b.lb);this.Vg.ov(a.qb);this.aj.ov(a.qb)};fa.prototype.gs=function(a){T(!a.Sa(),"Internal error: Attempting to activate a rogue body.");if(this.td)-1===this.Qq.indexOf(a)&&this.Qq.push(a);else{this.eg.push(a);for(var b=0;b<a.Qh.length;b++){var c=a.Qh[b];this.aj.remove(c,
c.qb);this.Vg.rg(c,c.qb)}for(b=a.Zg;b;b=b.next(a))if(c=b.ob,a===c||c.Qc()){var c=b.r,d=b.K;this.Qe[K(c.qb,d.qb)]=b;b.Mb=this.Mb;b.yp=this.cu(c.zj,d.zj);this.$h.push(b)}for(b=a.ci;b;b=b.ge)c=b.r,(a===c||c.Qc())&&this.di.push(b)}};fa.prototype.zz=function(a){T(!a.Sa(),"Internal error: Attempting to deactivate a rogue body.");ja(this.eg,a);for(var b=0;b<a.Qh.length;b++){var c=a.Qh[b];this.Vg.remove(c,c.qb);this.aj.rg(c,c.qb)}for(c=a.Zg;c;c=c.next(a))b=c.ob,(a===b||b.Qc())&&this.DD(c);for(c=a.ci;c;c=
c.ge)b=c.r,(a===b||b.Qc())&&ja(this.di,c)};ha.prototype.gc=function(){if(!this.Sa()){this.$e=0;var a=this?this.Eg:null;if(a&&a.Cf(a)){T(!a.Sa(),"Internal Error: componentActivate() called on a rogue body.");for(var b=a.J,c=a;c;){var d=c.ge;c.$e=0;c.Eg=null;c.ge=null;b.gs(c);c=d}ja(b.dr,a)}}};ha.prototype.wo=function(a){T(this.Qc(),"Body.activateStatic() called on a non-static body.");for(var b=this.Zg;b;b=b.next(this))a&&a!=b.r&&a!=b.K||(b.ob==this?b.ue:b.ob).gc()};ha.prototype.lv=function(a){na(null===
(a.ob===this?a.cj:a.ej),"Internal Error: Dangling contact graph pointers detected. (A)");na(null===(a.ob===this?a.dj:a.fj),"Internal Error: Dangling contact graph pointers detected. (B)");var b=this.Zg;na(null===b||null===(b.ob===this?b.dj:b.fj),"Internal Error: Dangling contact graph pointers detected. (C)");a.ob===this?a.cj=b:a.ej=b;b&&(b.ob===this?b.dj=a:b.fj=a);this.Zg=a};fa.prototype.BC=function(a){for(var b=Infinity!==this.cl,c=this.eg,d=0;d<c.length;d++){var e=c[d];na(null===e.ge,"Internal Error: Dangling next pointer detected in contact graph.");
na(null===e.Eg,"Internal Error: Dangling root pointer detected in contact graph.")}if(b)for(var g=(d=this.Ep)?d*d:$a(this.qm)*a*a,d=0;d<c.length;d++)e=c[d],e.$e=Infinity!==e.Ii?e.TB()>(g?e.Ii*g:0)?0:e.$e+a:Infinity;for(var g=this.$h,d=0,f=g.length;d<f;d++){var h=g[d],e=h.ob;a=h.ue;b&&((a.Sa()&&!a.Qc()||e.Cf())&&e.gc(),(e.Sa()&&!e.Qc()||a.Cf())&&a.gc());e.lv(h);a.lv(h)}if(b){b=this.di;for(d=0;d<b.length;d++)a=b[d],e=a.r,a=a.K,a.Sa()&&!a.Qc()&&e.gc(),e.Sa()&&!e.Qc()&&a.gc();for(d=0;d<c.length;){e=c[d];
if(null===(e?e.Eg:null)){v(e,e);a:{for(b=e;b;b=b.ge)if(b.$e<this.cl){b=!0;break a}b=!1}if(!b){this.dr.push(e);for(b=e;b;b=b.ge)this.zz(b);continue}}d++;e.Eg=null;e.ge=null}}};fa.prototype.XC=function(){for(var a=0;a<this.Fq.length;a++)this.Fq[a]();this.Fq.length=0};fa.prototype.Vm=function(){this.td++};fa.prototype.co=function(a){this.td--;T(0<=this.td,"Internal Error: Space lock underflow.");if(0===this.td&&a){a=this.Qq;for(var b=0;b<a.length;b++)this.gs(a[b]);a.length=0;this.XC()}};var sd;fa.prototype.WB=
function(){sd=this;return k};fa.prototype.Zy=function(a){var b=this.Mb-a.Mb,c=a.ob,d=a.ue;if((c.Qc()||c.Cf())&&(d.Qc()||d.Cf()))return!0;1<=b&&"cached"!=a.state&&(a.state="cached");return b>=this.oz?(a.Zd=null,!1):!0};fa.prototype.step=function(b){if(0!==b){T(0===pa.x&&0===pa.y,"vzero is invalid");this.Mb++;var c=this.Ks;this.Ks=b;var d,e,g=this.eg,f=this.di,h=this.$h;for(d=0;d<h.length;d++){var k=h[d];k.state="normal";k.ob.Cf()||k.ue.Cf()||k.gw()}h.length=0;this.Vm();for(d=0;d<g.length;d++)g[d].vC(b);
this.Vg.each(a);this.Vg.JC(this.Ds);this.co(!1);this.BC(b);this.Vm();for(e in this.Qe)this.Zy(this.Qe[e])||delete this.Qe[e];e=this.pz;k=1-Math.pow(this.nz,b);for(d=0;d<h.length;d++)h[d].Md(b,e,k);for(d=0;d<f.length;d++)e=f[d],e.un(this),e.Md(b);e=Math.pow(this.hi,b);k=this.qm;for(d=0;d<g.length;d++)g[d].OD(k,e,b);b=0===c?0:b/c;for(d=0;d<h.length;d++)h[d].Wd(b);for(d=0;d<f.length;d++)f[d].Wd(b);for(d=0;d<this.SB;d++){for(b=0;b<h.length;b++)h[b].kd();for(b=0;b<f.length;b++)f[b].kd()}for(d=0;d<f.length;d++)f[d].sn(this);
for(d=0;d<h.length;d++)h[d].yp.sn(h[d],this);this.co(!0)}};var ia=y.jE=function(a,b){this.r=a;this.K=b;this.J=null;this.rb=!1;this.qq=this.pq=null;this.Dg=Infinity;this.lh=Math.pow(.9,60);this.Ih=Infinity};ia.prototype.Md=function(){};ia.prototype.Wd=function(){};ia.prototype.kd=function(){};ia.prototype.un=function(){};ia.prototype.sn=function(){};ia.prototype.next=function(a){return this.r===a?this.pq:this.qq};var Ob=y.WE=function(a,b,c,d){ia.call(this,a,b);this.Wg=c;this.nf=d;a=a?Z(a.za,va(c,a.lb)):
c;b=b?Z(b.za,va(d,b.lb)):d;this.Ej=da(ba(b,a));na(0<this.Ej,"You created a 0 length pin joint. A pivot joint will be much more stable.");this.M=this.W=this.X=null;this.Xa=this.ac=this.Bi=this.Ce=0};Ob.prototype=Object.create(ia.prototype);Ob.prototype.Md=function(a){var b=this.r,c=this.K;if(!b.Sa()||!c.Sa()){this.W=va(this.Wg,b.lb);this.X=va(this.nf,c.lb);var d=ba(Z(c.za,this.X),Z(b.za,this.W)),e=da(d);this.M=X(d,1/(e?e:Infinity));this.Ce=1/m(b,c,this.W,this.X,this.M);b=this.Ih;this.Xa=N(-(1-Math.pow(this.lh,
a))*(e-this.Ej)/a,-b,b);this.Bi=this.Dg*a}};Ob.prototype.Wd=function(a){a=X(this.M,this.ac*a);g(this.r,this.K,this.W,this.X,a.x,a.y)};Ob.prototype.kd=function(){var a=this.r,b=this.K,d=this.M,e=(this.Xa-c(a,b,this.W,this.X,d))*this.Ce,f=this.ac;this.ac=N(f+e,-this.Bi,this.Bi);e=this.ac-f;g(a,b,this.W,this.X,d.x*e,d.y*e)};var Pb=y.DF=function(a,b,c,d,e,g){ia.call(this,a,b);this.Wg=c;this.nf=d;this.min=e;this.max=g;this.W=this.X=this.M=null;this.Xa=this.ac=this.Bi=this.Ce=0};Pb.prototype=Object.create(ia.prototype);
Pb.prototype.Md=function(a){var b=this.r,c=this.K;if(!b.Sa()||!c.Sa()){this.W=va(this.Wg,b.lb);this.X=va(this.nf,c.lb);var d=ba(Z(c.za,this.X),Z(b.za,this.W)),e=da(d),g=0;e>this.max?(g=e-this.max,this.M=od(d)):e<this.min?(g=this.min-e,this.M=qa(od(d))):(this.M=pa,this.ac=0);this.Ce=1/m(b,c,this.W,this.X,this.M);b=this.Ih;this.Xa=N(-(1-Math.pow(this.lh,a))*g/a,-b,b);this.Bi=this.Dg*a}};Pb.prototype.Wd=function(a){a=this.ac*a;g(this.r,this.K,this.W,this.X,this.M.x*a,this.M.y*a)};Pb.prototype.kd=function(){if(0!==
this.M.x||0!==this.M.y){var a=this.r,b=this.K,c=this.M,d=e(a,b,this.W,this.X),d=aa(d,c),d=(this.Xa-d)*this.Ce,f=this.ac;this.ac=N(f+d,-this.Bi,0);d=this.ac-f;g(a,b,this.W,this.X,c.x*d,c.y*d)}};var Qb=y.XE=function(a,b,c,d){ia.call(this,a,b);"undefined"===typeof d&&(d=c,c=a?a.no(d):d,d=b?b.no(d):d);this.Wg=c;this.nf=d;this.W=this.X=pa;this.lk=new F(0,0);this.mk=new F(0,0);this.ua=pa;this.kk=0;this.Xa=pa};Qb.prototype=Object.create(ia.prototype);Qb.prototype.Md=function(a){var b=this.r,c=this.K;b.Sa()&&
c.Sa()||(this.W=va(this.Wg,b.lb),this.X=va(this.nf,c.lb),h(b,c,this.W,this.X,this.lk,this.mk),this.kk=this.Dg*a,b=ba(Z(c.za,this.X),Z(b.za,this.W)),this.Xa=tb(X(b,-(1-Math.pow(this.lh,a))/a),this.Ih))};Qb.prototype.Wd=function(a){g(this.r,this.K,this.W,this.X,this.ua.x*a,this.ua.y*a)};Qb.prototype.kd=function(){var a=this.r,b=this.K,c=e(a,b,this.W,this.X),c=ba(this.Xa,c),d=this.mk,c=new F(aa(c,this.lk),aa(c,d)),d=this.ua;this.ua=tb(Z(this.ua,c),this.kk);g(a,b,this.W,this.X,this.ua.x-d.x,this.ua.y-
d.y)};var vb=y.sE=function(a,b,c,d,e){ia.call(this,a,b);this.rB=c;this.sB=d;this.tB=Ba(sb(ba(d,c)));this.nf=e;this.nt=null;this.bi=0;this.W=this.X=null;this.lk=new F(0,0);this.mk=new F(0,0);this.ua=pa;this.kk=0;this.Xa=null};vb.prototype=Object.create(ia.prototype);vb.prototype.Md=function(a){var b=this.r,c=this.K;if(!b.Sa()||!c.Sa()){var d=b.au(this.rB),e=b.au(this.sB),g=va(this.tB,b.lb),f=aa(d,g);this.nt=g;this.X=va(this.nf,c.lb);var k=Ca(Z(c.za,this.X),g);k<=Ca(d,g)?(this.bi=1,this.W=ba(d,b.za)):
k>=Ca(e,g)?(this.bi=-1,this.W=ba(e,b.za)):(this.bi=0,this.W=ba(Z(X(Ba(g),-k),X(g,f)),b.za));h(b,c,this.W,this.X,this.lk,this.mk);this.kk=this.Dg*a;b=ba(Z(c.za,this.X),Z(b.za,this.W));this.Xa=tb(X(b,-(1-Math.pow(this.lh,a))/a),this.Ih)}};vb.prototype.Wd=function(a){g(this.r,this.K,this.W,this.X,this.ua.x*a,this.ua.y*a)};vb.prototype.qB=function(a){var b=this.nt;a=0<this.bi*Ca(a,b)?a:ud(a,b);return tb(a,this.kk)};vb.prototype.kd=function(){var a=this.r,b=this.K,c=e(a,b,this.W,this.X),c=ba(this.Xa,c),
d=this.mk,c=new F(aa(c,this.lk),aa(c,d)),d=this.ua;this.ua=this.qB(Z(d,c));g(a,b,this.W,this.X,this.ua.x-d.x,this.ua.y-d.y)};var Rb=y.oE=function(a,b,c,d,e,g,f){ia.call(this,a,b);this.Wg=c;this.nf=d;this.SC=e;this.hr=g;this.hi=f;this.qD=n;this.jr=this.qw=0;this.W=this.X=null;this.Ce=0;this.M=null};Rb.prototype=Object.create(ia.prototype);Rb.prototype.Md=function(a){var b=this.r,c=this.K;if(!b.Sa()||!c.Sa()){this.W=va(this.Wg,b.lb);this.X=va(this.nf,c.lb);var d=ba(Z(c.za,this.X),Z(b.za,this.W)),e=
da(d);this.M=X(d,1/(e?e:Infinity));d=m(b,c,this.W,this.X,this.M);na(0!==d,"Unsolvable this.");this.Ce=1/d;this.jr=0;this.qw=1-Math.exp(-this.hi*a*d);e=this.qD(this,e);g(b,c,this.W,this.X,this.M.x*e*a,this.M.y*e*a)}};Rb.prototype.Wd=function(){};Rb.prototype.kd=function(){var a=this.r,b=this.K,d=c(a,b,this.W,this.X,this.M),e=(this.jr-d)*this.qw;this.jr=d+e;e*=this.Ce;g(a,b,this.W,this.X,this.M.x*e,this.M.y*e)};var qc=y.nE=function(a,b,c,d,e){ia.call(this,a,b);this.RC=c;this.hr=d;this.hi=e;this.rD=
f;this.md=this.sw=this.kr=0};qc.prototype=Object.create(ia.prototype);qc.prototype.Md=function(a){var b=this.r,c=this.K;if(!b.Sa()||!c.Sa()){var d=b.ta+c.ta;na(0!==d,"Unsolvable spring.");this.md=1/d;this.sw=1-Math.exp(-this.hi*a*d);this.kr=0;a=this.rD(this,b.r-c.r)*a;b.p-=a*b.ta;c.p+=a*c.ta}};qc.prototype.kd=function(){var a=this.r,b=this.K,c=a.p-b.p,d=(this.kr-c)*this.sw;this.kr=c+d;c=d*this.md;a.p+=c*a.ta;b.p-=c*b.ta};var Sb=y.dF=function(a,b,c,d){ia.call(this,a,b);this.min=c;this.max=d;this.md=
this.Xa=this.rd=this.ua=0};Sb.prototype=Object.create(ia.prototype);Sb.prototype.Md=function(a){var b=this.r,c=this.K;if(!b.Sa()||!c.Sa()){var d=c.r-b.r,e=0;d>this.max?e=this.max-d:d<this.min&&(e=this.min-d);this.md=1/(1/b.N+1/c.N);b=this.Ih;this.Xa=N(-(1-Math.pow(this.lh,a))*e/a,-b,b);this.rd=this.Dg*a;this.Xa||(this.ua=0)}};Sb.prototype.Wd=function(a){var b=this.r,c=this.K;a=this.ua*a;b.p-=a*b.ta;c.p+=a*c.ta};Sb.prototype.kd=function(){if(this.Xa){var a=this.r,b=this.K,c=-(this.Xa+(b.p-a.p))*this.md,
d=this.ua;this.ua=0>this.Xa?N(d+c,0,this.rd):N(d+c,-this.rd,0);c=this.ua-d;a.p-=c*a.ta;b.p+=c*b.ta}};var Tb=y.aF=function(a,b,c,d){ia.call(this,a,b);this.j=0;this.Cq=c;this.mv=d;this.j=(b?b.r:0)-(a?a.r:0);this.md=this.Xa=this.ua=this.rd=0};Tb.prototype=Object.create(ia.prototype);Tb.prototype.Md=function(a){var b=this.r,c=this.K;if(!b.Sa()||!c.Sa()){var d=this.Cq,e=this.mv,g=c.r-b.r,f=this.j-g,h=0;0<f*e?h=f:this.j=Math.floor((g-d)/e)*e+d;this.md=1/(b.ta+c.ta);b=this.Ih;this.Xa=N(-(1-Math.pow(this.lh,
a))*h/a,-b,b);this.rd=this.Dg*a;this.Xa||(this.ua=0)}};Tb.prototype.Wd=function(a){var b=this.r,c=this.K;a=this.ua*a;b.p-=a*b.ta;c.p+=a*c.ta};Tb.prototype.kd=function(){if(this.Xa){var a=this.r,b=this.K,c=this.mv,d=-(this.Xa+(b.p-a.p))*this.md,e=this.ua;this.ua=N((e+d)*c,0,this.rd*Math.abs(c))/c;d=this.ua-e;a.p-=d*a.ta;b.p+=d*b.ta}};var Ub=y.rE=function(a,b,c,d){ia.call(this,a,b);this.Cq=c;this.Lg=d;this.Kq=1/d;this.md=this.Xa=this.rd=this.ua=0};Ub.prototype=Object.create(ia.prototype);Ub.prototype.Md=
function(a){var b=this.r,c=this.K;if(!b.Sa()||!c.Sa()){this.md=1/(b.ta*this.Kq+this.Lg*c.ta);var d=this.Ih;this.Xa=N(-(1-Math.pow(this.lh,a))*(c.r*this.Lg-b.r-this.Cq)/a,-d,d);this.rd=this.Dg*a}};Ub.prototype.Wd=function(a){var b=this.r,c=this.K;a=this.ua*a;b.p-=a*b.ta*this.Kq;c.p+=a*c.ta};Ub.prototype.kd=function(){var a=this.r,b=this.K,c=(this.Xa-(b.p*this.Lg-a.p))*this.md,d=this.ua;this.ua=N(d+c,-this.rd,this.rd);c=this.ua-d;a.p-=c*a.ta*this.Kq;b.p+=c*b.ta};var Vb=y.CF=function(a,b,c){ia.call(this,
a,b);this.GC=c;this.md=this.rd=this.ua=0};Vb.prototype=Object.create(ia.prototype);Vb.prototype.Md=function(a){this.md=1/(this.r.ta+this.K.ta);this.rd=this.Dg*a};Vb.prototype.Wd=function(a){var b=this.r,c=this.K;a=this.ua*a;b.p-=a*b.ta;c.p+=a*c.ta};Vb.prototype.kd=function(){var a=this.r,b=this.K,c=-(b.p-a.p+this.GC)*this.md,d=this.ua;this.ua=N(d+c,-this.rd,this.rd);c=this.ua-d;a.p-=c*a.ta;b.p+=c*b.ta}})();function md(f){var n=f[1],h=f[2];f=cp.B.sub(n,f[0]);n=cp.B.sub(h,n);return 0>cp.B.yz(f,n)}
function nd(f){this.b=f;var n=this.J=new cp.Gy;n.Vy(function(h){if(h.Lp()){var m=h.bt().body.Pe,d=h.et().body.Pe;m.Xf=h;m.Un=!1;d.Xf=h;d.Un=!0;f.trigger(nd.prototype.g.Pu,m.d);f.trigger(nd.prototype.g.Pu,d.d);m.Xf=null;d.Xf=null}return"ignore"!==h.state},function(h){if(h.Lp()){var m=h.bt().body.Pe,d=h.et().body.Pe;m.Xf=h;m.Un=!1;d.Xf=h;d.Un=!0;f.trigger(nd.prototype.g.Ou,m.d);f.trigger(nd.prototype.g.Ou,d.d);m.Xf=null;d.Xf=null}return!0});n.qm=cp.B(0,100);n.LA=1/30;n.uD=0;n.cl=1}
(function(){function f(d){this.b.trigger(nd.prototype.g.hC,d.Pe.d)}function n(){}function h(){}function m(){}var d=nd.prototype;d.Ca=function(d){this.behavior=d;this.b=d.b};d.Ca.prototype.V=function(){this.behavior.Pt=-1;this.behavior.Kf=[]};d.ra=function(d,b){this.type=d;this.behavior=d.behavior;this.d=b;this.b=d.b;this.J=this.behavior.J};var q=d.ra.prototype;q.GD=function(){if(0!==this.Re&&2!==this.Re&&4!==this.Re){var d=this.d,b=[];d.Qa();d.UF(b);var c,e,a,f,d=0;for(c=b.length;d<c;++d)if(e=b[d],
a=e.HC,e.Ig&&3===this.Re)for(e.Ig.Hs||(f=e.id&3758096384,e.Ig.Hs=this.gt(e.Ig,-2147483648===f||1073741824===f||536870912===f||f&-2147483648&&f&1073741824&&f&536870912)),f=cp.B(a.left,a.top),e=e.Ig.Hs,a=0;a<e.length;++a)this.La.push(new cp.to(this.body,e[a],f));else f=cp.B(0,0),this.La.push(new cp.to(this.body,[a.left,a.top,a.left,a.bottom,a.right,a.bottom,a.right,a.top],f));d=0;for(c=this.La.length;d<c;++d)b=this.La[d],b.group=this.Mo,b.P=this.No,b.Ln(this.Hj),b.Mn(this.Mj),this.enabled&&this.J.mf(b)}};
q.gt=function(d,b){var c=d.Ib,e=d.ke,a=[];a.length=e;for(w=0;w<e;w++)a[w]=cp.B(c[2*w],c[2*w+1]);b&&a.reverse();c=a.slice(0);w=[];for(e=0;3<=c.length;){var a=[c[e],c[(e+1)%c.length],c[(e+2)%c.length]],f;if(!(f=md(a)))a:{f=c;for(var h=a,m=void 0,m=void 0,n=0;n<f.length;++n)if(m=f[n],-1==h.indexOf(m)){var q=h[0],t=h[1],l=cp.B.sub(h[2],q),t=cp.B.sub(t,q),p=cp.B.sub(m,q),m=cp.B.Fj(l,l),q=cp.B.Fj(l,t),l=cp.B.Fj(l,p),E=cp.B.Fj(t,t),t=cp.B.Fj(t,p),p=1/(m*E-q*q),E=(E*l-q*t)*p,m=(m*t-q*l)*p;if(m=0<=E&&0<=m&&
1>E+m){f=!0;break a}}f=!1}f?e++:(c.splice((e+1)%c.length,1),w.push(a));e%=c.length}for(c=[];0<w.length;){e=w[0];w.shift();for(a=0;a<w.length;a++){f=e;m=w[a];h=void 0;q=0;t=n=void 0;for(h=0;3>h;h++)-1==f.indexOf(m[h])?(n=m[h],t=m[(h+1)%3]):q++;2!=q?f=!1:(h=f.indexOf(t),m=f.length,md([f[(h-2+m)%m],f[(h-1+m)%m],n])||md([n,f[h],f[(h+1)%m]])?f=!1:(f.splice(h,0,n),f=!0));f&&(w.splice(a,1),a=-1)}c.push(e)}for(var e=[],w=0;w<c.length;++w){a=c[w].reverse();f=[];f.length=2*a.length;for(h=0;h<a.length;++h)f[2*
h]=a[h].x,f[2*h+1]=a[h].y;e.push(f)}return e};q.FD=function(){var d=this.La;if(this.enabled)for(var b=0,c=d.length;b<c;b++)this.J.Jf(d[b]);d.length=0;this.lj(this.body);if(this.d.pe)this.Ie=0,this.GD(),this.Ff=!0,this.body.Mf(Infinity);else{c=this.Re;3!=c||this.d.ya&&!this.d.ya.zh()||(c=1);var b=Math.abs(this.d.width),e=Math.abs(this.d.height);switch(c){case 0:this.Zb=1;break;case 1:this.Zb=cp.wu(this.ud,b,e);d.push(new cp.Bw(this.body,b,e));break;case 2:this.Zb=cp.xu(this.ud,b/2);d.push(new cp.Ew(this.body,
e/2,cp.B(0,0)));break;case 3:this.d.ya.dh(this.d.width,this.d.height,0);c=this.gt(this.d.ya,0>this.d.width!=0>this.d.height);for(b=this.Ie=0;b<c.length;++b)e=new cp.to(this.body,c[b],this.offset),e.Bl=cp.Ao(c[b]),this.Ie+=e.Bl,d.push(e);for(var e=0,a,b=0;b<d.length;++b)a=d[b].Bl/this.Ie,e+=cp.mq(a*this.ud,c[b],this.offset);this.Zb=e;break;case 4:e=0,0>this.Yo&&(e=-this.Yo),c=cp.B(-b/2+e,0),b=cp.B(b/2-e,0),this.Zb=cp.yu(this.ud,c,b),d.push(new cp.iy(this.body,c,b,Math.abs(this.Yo)))}0>=this.Zb&&(this.Zb=
1);this.Fd||this.Ff?this.body.Mf(Infinity):this.body.Mf(this.Zb);this.body.Sa()||this.body.gc();for(b=0;b<d.length;++b)e=d[b],e.group=this.Mo,e.P=this.No,e.Ln(this.Hj),e.Mn(this.Mj),this.enabled&&this.J.mf(e)}};q.V=function(){this.Fd=1==this.C[0];this.Re=this.C[1];this.Mo=this.C[2];this.No=parseInt(this.C[3],16);this.ud=this.C[4];this.Zb=1;this.Hj=this.C[5];this.Mj=this.C[6];this.enabled=0==this.C[7];this.Yo=this.C[8];this.Ff=1==this.C[9];this.Jp=!0;this.ho=!1;this.offset=cp.B(0,0);this.Im=this.Km=
this.Vt=this.Ut=this.Up=this.Wp=this.Vp=0;this.St=null;this.Tt=-1;this.Xf=null;this.Un=!1;this.Ie=0;var d;this.Fd?(d=this.body=new cp.Kr(Infinity,Infinity),this.enabled&&this.behavior.Kf.push(d),d.$e=Infinity):(d=this.body=new cp.Kr(this.ud,1),this.enabled&&this.J.xl(d));d.ww=!1;d.Pe=this;this.d.lz=d;this.La=[]};q.iv=function(){this.Jo(this.body)};q.Fg=function(){if(this.enabled)for(var d=0;d<this.La.length;d++)this.J.Jf(this.La[d]);this.La.length=0;var b=this;this.body.Zl(function(c){b.J.Tk(c)});
this.body.Sa()?ab(this.behavior.Kf,this.body):this.J.Bn(this.body)};q.Ic=function(){return{}};q.bd=function(){};q.lj=function(d){var b=d.Pe,c=b.d,e=!1;c.Qa();if(b.Km!==c.width||b.Im!==c.height)e=!0,b.Jp=!0,b.Km=c.width,b.Im=c.height;if(e||b.Vp!==c.x||b.Wp!==c.y||b.Up!==c.j||b.Ut!==c.lc||b.Vt!==c.mc)c.pe?d.Av(cp.B(c.x,c.y)):(b.offset=cp.B((c.lc-.5)*c.width,(c.mc-.5)*c.height),d.uv(c.j),d.Av(cp.B.sub(cp.B(c.x,c.y),cp.B.rotate(b.offset,d.lb)))),d.Qc()&&(b.ho=!0,d.wo()),b.Vp=c.x,b.Wp=c.y,b.Up=c.j,b.Ut=
c.lc,b.Vt=c.mc};q.lw=function(d){var b=d.Pe,c=b.d;d.ww&&(d.QC(),d.ww=!1);if(!d.Sa()){b.lj(d);var e=cp.B.add(d.za,cp.B.rotate(b.offset,d.lb));b.Vp=c.x=e.x;b.Wp=c.y=e.y;b.Up=c.j=d.ub();c.gb()}};q.Jo=function(d){d=d.Pe;if(d.enabled){if(d.Jp||d.d.pe&&d.d.rC||d.Km!==d.d.width||4!==d.Re&&d.Im!==d.d.height||3===d.Re&&(d.St!==d.d.ab||d.Tt!==d.d.L))d.FD(),d.d.pe&&(d.d.rC=!1),d.Km=d.d.width,d.Im=d.d.height,d.St=d.d.ab,d.Tt=d.d.L,d.Jp=!1,d.ho=!1;if(d.ho){for(var b=0,c=d.La.length;b<c;b++)d.J.KC(d.La[b]);d.ho=
!1}}};q.zb=function(){var d=this.b.Qg;if(this.b.Qd>this.behavior.Pt&&0<d){this.J.Xo(f,this);this.behavior.Kf.forEach(this.lj);this.J.Xo(this.lj);this.behavior.Kf.forEach(this.Jo);this.J.eg.forEach(this.Jo);this.J.uD?this.J.step(this.b.mm(this.d)):this.J.step(this.J.LA*d);for(var d=this.J.Xc,b=0,c=d.length/2;b<c;b++)d[2*b].call(this.J,d[2*b+1]);d.length=0;this.J.Xo(this.lw);this.behavior.Kf.forEach(this.lw);this.behavior.Pt=this.b.Qd}};q.ik=function(d){var b=null,c=0;"string"==typeof d?this.body.Zl(function(c){c.tag===
d&&(b=c)}):this.body.Zl(function(e){d===c&&(b=e);c++});return b};n.prototype.Cf=function(){return this.body.Cf()};n.prototype.hC=function(){return!0};n.prototype.Ou=function(){return!0};n.prototype.Pu=function(){return!0};d.g=new n;q.bB=function(d,b,c){var e;switch(d){case 0:e=cp.B(b,c);break;case 1:b=cb(b);e=cp.B(c*Math.cos(b),c*Math.sin(b));break;case 2:e=(void 0).no(cp.B(b,c));break;case 3:if(!(void 0).Pe){e=cp.B(0,0);break}d=(void 0).Pe.d;d.Qa();c=b;d.pg&&-1!==c?(b=d.pg(c,!0),c=d.pg(c,!1),e=(void 0).no(cp.B(b,
c))):e=cp.B(0,0)}return e};h.prototype.iD=function(d){var b;if(0==d&&this.Fd){if(this.Fd=!1,this.enabled){this.body.wo();d=0;for(b=this.La.length;d<b;d++)this.J.Jf(this.La[d]);ab(this.behavior.Kf,this.body);this.body.Wi(this.ud);this.Ff||this.body.Mf(this.Zb);this.body.$e=0;this.J.xl(this.body);d=0;for(b=this.La.length;d<b;d++)this.J.mf(this.La[d])}}else if(1==d&&!this.Fd&&(this.Fd=!0,this.enabled)){d=0;for(b=this.La.length;d<b;d++)this.J.Jf(this.La[d]);this.J.Bn(this.body);this.body.Wi(Infinity);
this.body.Mf(Infinity);this.body.$e=Infinity;this.behavior.Kf.push(this.body);this.body.sc=0;this.body.tc=0;d=this.body.p=0;for(b=this.La.length;d<b;d++)this.J.mf(this.La[d])}};h.prototype.kD=function(d){this.d.pe||(0==d&&this.Ff?(this.Ff=!1,this.Fd||this.body.Mf(this.Zb)):1!=d||this.Ff||(this.Ff=!0,this.body.p=0,this.body.Mf(Infinity)))};h.prototype.Wi=function(d){this.ud=d;if(this.d.pe)this.Fd||this.body.Wi(this.ud);else{d=this.La[0];switch(this.Re){case 0:this.Zb=1;break;case 1:this.Zb=cp.mq(this.ud,
d.rj,cp.B(0,0));break;case 2:this.Zb=cp.xu(this.ud,d.Ka);break;case 3:d=0;for(var b,c=0;c<this.La.length;++c)b=shapes[c].Bl/this.Ie,d+=cp.mq(b*this.ud,polys[c],this.offset);this.Zb=d;break;case 4:this.Zb=cp.yu(this.ud,d.r,d.K)}0>=this.Zb&&(this.Zb=1);this.Fd||(this.body.Wi(this.ud),this.Ff||this.body.Mf(this.Zb))}};h.prototype.Mn=function(d){this.Mj=d;for(var b=0;b<this.La.length;b++)this.La[b].Mn(d)};h.prototype.Ln=function(d){this.Hj=d;for(var b=0;b<this.La.length;b++)this.La[b].Ln(d)};h.prototype.Cz=
function(d){if(!d&&this.enabled)for(this.enabled=!1,this.Fd?ab(this.behavior.Kf,this.body):this.J.Bn(this.body),d=0;d<this.La.length;d++)this.J.Jf(this.La[d]);else if(d&&!this.enabled)for(this.enabled=!0,this.Fd?this.behavior.Kf.push(this.body):this.J.xl(this.body),d=0;d<this.La.length;d++)this.J.mf(this.La[d])};h.prototype.gD=function(d,b,c){this.J.qm=this.bB(d,b,c)};h.prototype.eD=function(d){this.J.hi=d};q.Ve=function(d,b){this.lj(d);var c;if(-1==b)c=this.J.Nv;else{c=this.b.pi(b);if(!c)return null;
c=c.lz;this.lj(c)}return c&&d!=c?c:null};d.q=new h;m.prototype.speed=function(d){var b=this.body.sc,c=this.body.tc;d.u(Math.sqrt(b*b+c*c))};m.prototype.group=function(d){d.Ta(this.Mo)};m.prototype.P=function(d){d.Ta(this.No)};m.prototype.ud=function(d){this.Fd?d.u(Infinity):d.u(this.body.Ii)};m.prototype.Zb=function(d){this.Fd||this.Ff?d.u(Infinity):d.u(this.body.N)};m.prototype.Hj=function(d){d.u(this.Hj)};m.prototype.Mj=function(d){d.u(this.Mj)};m.prototype.Bl=function(d){if(this.d.pe||3===this.Re){if(!this.Ie)for(var b=
0;b<this.La.length;++b)this.Ie+=cp.Ao(this.La[b].rj);d.u(this.Ie)}else if(0==this.La.length)d.u(0);else{var c=this.La[0];switch(this.Re){case 0:b=0;break;case 1:b=cp.Ao(c.rj);break;case 3:b=this.Ie;break;case 2:b=cp.$y(c.Ka);break;case 4:b=cp.az(c.r,c.K,c.Ka)}d.u(b)}};m.prototype.cl=function(d){d.u(this.J.cl)};m.prototype.Ep=function(d){d.u(this.J.Ep)};d.Ra=new m})();function rd(f){this.b=f;this.Pn=this.bl=this.Ph=this.On=0}
(function(){function f(){}var n=rd.prototype;n.Ca=function(f){this.behavior=f;this.b=f.b};n.Ca.prototype.V=function(){};n.ra=function(f,d){this.type=f;this.behavior=f.behavior;this.d=d;this.b=f.b};var h=n.ra.prototype;h.V=function(){this.enabled=0!==this.C[0]};h.Ic=function(){return{smg:this.behavior.On,ss:this.behavior.Ph,se:this.behavior.bl,smd:this.behavior.Pn}};h.bd=function(f){this.behavior.On=f.smg;this.behavior.Ph=f.ss;this.behavior.bl=f.se;this.behavior.Pn=f.smd};h.zb=function(){};h.il=function(){if(this.enabled){var f=
this.behavior.$m.Tf(),d=0,h=0,g,b,c,e=0;g=0;for(b=f.length;g<b;g++){a:{c=f[g];for(var a=void 0,k=void 0,n=void 0,a=0,k=c.ga.length;a<k;++a)if(n=c.ga[a],n.behavior instanceof rd){c=n;break a}c=null}c&&c.enabled&&(d+=f[g].x,h+=f[g].y,++e)}f=this.d.k.Rb;b=this.b.Fb.qa;c=g=0;b>=this.behavior.Ph&&b<this.behavior.bl&&(g=this.behavior.On*Math.min(this.b.Qg,1),0===this.behavior.Pn&&(g*=1-(b-this.behavior.Ph)/(this.behavior.bl-this.behavior.Ph)),b=Math.random()*Math.PI*2,c=Math.random()*g,g=Math.cos(b)*c,
c*=Math.sin(b));f.Vq(d/e+g);f.Wq(h/e+c)}};f.prototype.Ey=function(f,d,h){this.behavior.On=f;this.behavior.Ph=this.b.Fb.qa;this.behavior.bl=this.behavior.Ph+d;this.behavior.Pn=h};n.q=new f})();
function Zc(){return[$c,hd,dd,cd,bd,ad,jd,Y,ed,fd,gd,id,ld,kd,nd,rd,L.prototype.g.Zw,L.prototype.g.Nr,L.prototype.g.My,$c.prototype.q.CallFunction,ed.prototype.g.so,ed.prototype.q.Zr,L.prototype.Ra.QD,L.prototype.Ra.RD,Y.prototype.g.so,Y.prototype.q.Zr,id.prototype.g.nx,id.prototype.g.Jw,L.prototype.g.Mr,L.prototype.q.By,id.prototype.Ra.ox,ed.prototype.q.Ay,L.prototype.g.cx,L.prototype.g.Lw,gd.prototype.g.hx,gd.prototype.g.$w,L.prototype.g.lx,Y.prototype.q.Lr,jd.prototype.q.Ky,Y.prototype.q.ly,L.prototype.q.wy,
Y.prototype.q.uo,Y.prototype.g.bx,gd.prototype.g.ro,$c.prototype.g.rl,ld.prototype.q.ul,ld.prototype.q.$r,L.prototype.q.Ny,Y.prototype.g.Xw,bd.prototype.q.Play,cd.prototype.q.Vw,ad.prototype.q.vo,jd.prototype.q.Fy,Y.prototype.q.my,Y.prototype.g.ix,gd.prototype.g.Tr,ed.prototype.q.uo,ld.prototype.q.Xr,id.prototype.q.Iy,bd.prototype.q.ul,jd.prototype.q.qx,L.prototype.q.yw,L.prototype.q.Jy,jd.prototype.g.ax,ed.prototype.q.xy,kd.prototype.q.hy,ed.prototype.q.Yr,Y.prototype.Ra.as,Y.prototype.Ra.bs,Y.prototype.q.Yr,
ld.prototype.q.ry,ld.prototype.q.Wr,L.prototype.q.vy,Y.prototype.g.Iw,Y.prototype.q.ky,Y.prototype.q.Qy,L.prototype.g.Rw,Y.prototype.g.gx,Y.prototype.q.Hy,Y.prototype.q.yy,ed.prototype.q.Lr,L.prototype.q.Ow,nd.prototype.q.Cz,nd.prototype.q.iD,nd.prototype.q.kD,ld.prototype.q.gy,nd.prototype.q.gD,nd.prototype.q.eD,Y.prototype.g.Nw,L.prototype.Ra.As,Y.prototype.q.ty,Y.prototype.g.Mw,L.prototype.g.Qw,Y.prototype.g.Hw,Y.prototype.g.wx,rd.prototype.q.Ey,Y.prototype.g.dx,L.prototype.g.po,L.prototype.q.Uw,
hd.prototype.q.xw,hd.prototype.g.kx,hd.prototype.q.Dw,hd.prototype.Ra.Text,dd.prototype.g.so,dd.prototype.q.jy,L.prototype.Ra.random,dd.prototype.g.Kw,ed.prototype.q.ny,L.prototype.Ra.WC,L.prototype.q.uy,dd.prototype.g.Sr,ed.prototype.q.oy]};

Youez - 2016 - github.com/yon3zu
LinuXploit