Warning: unlink(./data/secure/tokens/00380525bf3a09b83ae7f8eb64e1700bf7997591251342020310b28213a9cd15478f63a525105bd71e8c91863846de0b840edc526131875e79fd932102d7b2c2.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: filemtime(): stat failed for ./data/secure/tokens/00648ebabe8875ed4dda4fd22c4d42c0f0c155d26a5d27b696f0061a582368349159359458c3ae555cc3f666cd07328a9fcb0b1123cdec9bdb8621368bc00454.token in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 831

Warning: filemtime(): stat failed for ./data/secure/tokens/00d8606fc9922aeb4b87a7227cce057e940847e5c41290ee20ff81ee0c187fe57eb607c14467b198e8cf4adeed8f387a1e23c8d1c98ca8d53f57dab564c6b372.token in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 831

Warning: unlink(./data/secure/tokens/037b5a8b8b984cd007377cdfda6419bb4b9df6d0a8d3fe3411ab95037cf81a5475341d14ea115685c126b8005009ab42e7eb9b6f388a225c6f92e305ce7a2aee.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/048ea0e7b0007034f1413962e6df8521864ef0dd5f7722fe1e5abb831dad8dcfe4e814ea23f1316409556af4e5ca871ad767793b6333ff1db96af93a0ca36386.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/087aeb8118c3d69f918f349551c6bc9d629d37db01da8e056d06f0310f5adedda3545c8a5a6836830616b63adbd9569ff3911f7e80aada5e042f24a5147a0969.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/097b69ecd939c284436fecfc9d409b3e4fac90e6816a2710794e4b8b30e10af4e588f3167cc38f5e8d77fc70d3d95050c3deeb56280d120449f8e186714b6c84.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/0a534a369128d277928b935abf192b2024d32e004b701f13954a98f455344b77e3541ea104f835e204117a92fbf2eea9371cbbf2f1f78f999fc32e6830be1e2b.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/0cac07635ce4ecf747e0666aad5b2202c3b8104c13eb5102b569eeb1eedfd55f382dafad5437c76a0d285df891a5df1fb2f15dc0730781fe5b03cec560ddba35.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/110805373f8befabbbb32854f28740e76a643ef800eb3b2692f0bdda65c23542a0c185219e7ae92d677a9a4d78f2aa38e70d579069b102a3cd4b9bcd012ae761.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: filemtime(): stat failed for ./data/secure/tokens/1119df9e280380235094132e287710b0ee7ebb83a99671ee57063a2f080e9c2927a3a00bb561bc6aed460bf4b31f7402dd353d0ec19c8311feccbcf69a7be9b5.token in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 831

Warning: unlink(./data/secure/tokens/128ce53cd82e4e7bedf47bba88bc9fb7a525cf4ba39bc0062e34a7e8aa85d92e1415a3f47806d52ab92c7257f58b00a6c4d47c7f56422297a221ebaa5d8e64c3.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/18df1ec4d7102e3b46c9edd2572cd4c2c6231e9d55c9371678c4beb7d647b1834fdf7d4b721228b8fe3133f32914f9a572ad97eda59450ddac52e6d1a5bbc3cf.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/1a283ae1db3dd084c25d00fe771e55f4cf96fd62777aaa3b27ed0946456b80d23b9a0a5c742099b0397dc975412372e91a9fbdf91514f2fa0d084ea0af444ee0.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: filemtime(): stat failed for ./data/secure/tokens/1a68454c0e737073affc9d9e89384248f5e8abfaebe2f8b1df40f28d71db3de16f30cb7e872a610b363a20aab7e3f9ce3a0522e9c4c7fd7d51e8a6f54d39346d.token in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 831

Warning: unlink(./data/secure/tokens/1b3bbbdd440cc2db52c97b3e0e40d390ce4738fc65386c880677e95598ede6b9ca17b5ed80f6636f6de537ef01022fca752aa70767b37bb7eb3e721d8fc5a4c1.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/1f9a6a37c14c18451466e95e5c2a1b90754a8ea5386e55e52bd755330ce42a025858e57b2484b31169812d69af40e44138c3d30587570a542de8f5f7f15e2ba7.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/202331e8067f09c770300f9fcd04d49e10690383e5acf2a9b60dff8d1dd62e2b4ff7d9e13244e6e4b911882e25b0610b083f5081169471eafa3a006804150d05.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/203c49592e5335e96b1b69626d54ae22935d5486fb25fc464fa0066888dfbc9137be89dba0064748e7302bec0ee4e754e334c002c25b40c1a5fd25de349941e5.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/2132f6c3c95436a4a89b687d2473ad5976ef520f826ae6e3403fad30a62739c80bdcce32b279c796c192b4e42138325fbab6af066c31646d37618c4ba2837d55.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/21920d99caf3c28c97e0dec803b420ad1b98445f7ea93a54faaa80b41288febc82803b5dd6c3dcbe534a2099ca88075bbba558d70d875e07c223cf04da2819eb.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/2197031c1908b0b34a050bc8d1db99ff5cfee1e61b805c4a0a3aed4bfaa2823e06b18c2260653953aa09d897bca9bbfad60f529d6e15b811f92e201de35c9c8f.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/21d0b1fc5e6af6935091a512e4913122dffd973f1f90f5ebd842a74dc2d7bfed91594d9cc37e63abb7b75e221647e2a6f5ffe3d1a65e1a90a132bcaf839e2487.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/235e9fc2d61efa1fe428a57f1380e07e3d3bcc5a7ddb2e08903a1474cbe7a66e992123a4458c95bf511ad74a7c8bbd2e19d92ffeeca850e8ec86bbfc0c731465.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/237146cc92ddce68f84dde5fffa848c641850f1a8025ab6e8542a16d448f944f7df315aafa4aab7eb406fe3bd4589688bb8bf0052d0bca4b12a590840dc7192e.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/240a151ba2154168f3990780be74944fcf6e2a787c72cdedd6c6bd10ec90e67a5a078c94d3f9a8468e20838611524a83ae666222eee595f1c856410617b5d80e.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: filemtime(): stat failed for ./data/secure/tokens/249d84ec353efc7405490195c54cf74feff8db5ddc062d729e71e5880c19cd03ca0ec33f8de161e7c524b924cd0e1fdf06d7e7b3894b7d63fce2f6fab9d517ac.token in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 831

Warning: unlink(./data/secure/tokens/255c7cbf72cc8cfb427d521a15f1a7db1cbe655d31edbf43d468debc51aa19580e479bacb70a10bf8d39d7bae5980a0c55723252652eeb5c8d1cbd09b4d01031.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/26642ac856985e51f7433bc9f0580a4a95f877761f20a7f6f27822b234159f0c336ee07d9a678173d0b4ae6f52bee8bd07c08d3b47896769b3cf05928e8570b6.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/278c5056b7ac6ef3dca2186db4a0dcefcaa6a02e4b4d0ff36cb60a72f70b1c193bf82213b2f749cb39b05df61f369c6a5ac62572960f4ae964f6d72032c86d0d.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/28e610853f6be7a9a0ca98f76cdead51c54cdeb67b8a59e557ac884e2a59fc62d5eeed26069f0f1703dba098b70a2c271b140ab62fdf6790b5aa3d00b24f8030.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/291ef2c547c3091781efb50c7c785a05f84b4fd88c333efd5ff32f9ba134e80a94f74c82d3a3c100de14ba89b902f610b09acee39e59d121800cfbe554b1806d.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/293b98870d413797dfb54122ada217976a7096996ca018717a6db4db5df5c68b7a93d8fd1eeab6b622628e650d4a5f4eddbf2712a8774c6f06bad8432a07094b.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/2a843449e3a0624c878b5f41dc4aa809e6d694588e20fef3ab1ece233ca72e902d210add5e9bbbf4f882b5cd6a0f820adb8c641cd57b8290f88ef669f347a857.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/2afd4469fe36d3664efabb274ffe03bcf1da9d6d874f5f3f194b91be12785d2c0116d591dde86ddcc3712a3bfa2d335dc472721390ac45607d6f44c59256ece4.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/2d81e2c03117de1fa833f84ac7f21d5d84db2fa9c65ace2c59a496db9d5c01d7c45afb6d19b89219a5dc3af7d14f8bf6f73436f3c90a5e429cfbad5c46d6a701.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/2fcf0486b1477f894552d92289d5a1f17bd9daa79e1437621dd57caf2a5b7d4b4f3410f291f99b4a0ba647f2d02c8994d7c988366692c2648f95d98f165a4d2f.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/2fea17a1022a1c01c34eacbda0b2d75c7545c25323b224250a9dc38cb32c13ed6993d8112bc6b8be4bbbb6051ee753aeccfc882361e438485441cd1c8e65e625.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/303117a74c54432719b99f2de11a7c5310db1122fc95a9092d4bafcc19fa7542b5f86a6c7fe3a20478d69ee3f4e6de8bb25eb73b8e0046fb8b9e781db1834665.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/31358805f384d3f1014dd2ecb68a9de4a581fd55567750993b1b2d6639b6d5887662d4df40bf1daf9de2827ac5abed29783663f2ebf5a7bfd9d5b4873fbe094f.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/3271e8535bdcfcb5f1dfa3d40fa9bc38e42f0a2e4f6560fbdc9c5472d77d1956ce575a15d3e29b5ddbc1dede5896f3c05f28ea28a9b57164c95317bcab9947e7.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/3288f55b5e821bba43faf077283dce0962bb7c28eab07ac4bf989f9705474a69c74b7c03b9813889ff9d11ccc857bc2184df2022f8995aba518a5950019af099.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/32ae2132c7e4acc5fda2cb1b5ce71062268f15eda7e21927f08c3cb3e173068bc2401c19ba9995ad1108f67366451805956a6c35591375193526fb2d95a06266.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/3318c1f03169faf89102317815b958982003c5f3f80147a6b13bb18469a533fae346ad01663e50a1ada2d6d8db3e4839b5330307c32e1d95ac3d4c85926887a4.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/33949b84a658d510db5d079ffd51b1cca56b2aed9eb25dac4f223fbdb6f0ef0c2dbd5c1948badc4ed487c904671ff487771a2ffc82a28ee073993e24240d0112.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/3539bc8a29f2dad165245d82da575e482ac9442e1e7de5da0975da2b3c6917d0425124830a254d25ccc46868193f80c2c57df81de1a5f0e3ef616d39cc468da8.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/354994d090a5b057ba7ea7a6a65bab279843053b2284616cea6377d2fd4a4475d19afed800a1ee73a9eaf2892a0d00037dcd4f6a543f28a5fd8c4b56f5dc237c.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/35fb46987b9c571327d09ff5660dc35dabc60839c557c9f875445765c6e9482694c5e4ddf86a4e771f392c0f15c46beb5540a6ad04461acc57b40625129dadb5.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/387ae948294e3c9529d01ab600e1c9857163247d712ce318f7188bb4750455e7f0cdec6d561d0ead505361afc33b387bfc328e194879e32432bc5a2de74381fa.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/3992f6b1a2eed0c4212386d032e5a4d2cbcc7ec4b40e53729e32cf1636afd1da9ef2dc025da2db6fe7d153c6ea12881516bb4f01f5b84d1a92f7b54c44f887f8.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/3aafc4de91c55589479fd1b8a3fdf569c66ceae10efb0c7803cf277fd97748e29c721ccab83bc9a6f23ccc5bb15b6bbb16e3d4f87e31430155335ac4fa688ccb.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/3bbd0802c1e6a9905056df66eb83af562c38ccc44068feac4ca23ec0d6cea0bcfce656ea9e4618c13da3fa319ebd41133c8d7f724c3452806305b7119104daf7.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/3d22431f8e91c2d40d0f939762c13004057e8d249972d70e66e18c1f9f18c65e1d58c4f1d8aa1708396d06c18f6903e10b70a9d494fd9c50d4b8018b000a6c7e.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/3d55ff9fc91f67e16aea4cf4cc2a3b415bef65cbb6d3f174af2a802b7a8034a36ca6fc07dfe11b299db926cf326adf890f87f3c2c384effa30364a6a2b1cab1c.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/3de0fcf0c2f3e62b2921abc4e0dea941bac2ddf6e3c6943a308a13b18db1a2429f2d740b9ab3bfbd29ce25e2eb8e35b71a15e1f8c85ddfb1bb42677cbf41956f.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/3f26c79dae5a5ed4a85adad243567b3934e120bc1b95f799b5df55b9fdd8a36aac21573688cc17d9d0820be5a82c2222675a9ec132d0ef1f021c0175b32ee77c.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/41830e8941de53beae083d17f20de2cae95547016590c907a06ded75d8ba8cc1a066475ee5d4f1015bf31d3b331cc92ba5839ba91f1957d34dc0cf523d374db0.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/435df60fb482455fb1fc957a30c19225949378879dba7bdbbb35a4462aece1ab1b24f36fc797bfbb4a12638896a24368479667699b10dfdedd463337b7103db4.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/4506cc86d0db189c6085fea2fccf610748760382ebab96ec8da0d851aed79956a7bf4b8635550ee3042bd67903071131a395b17935b25d8e24bff6c8fb842463.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/49c0ae6ff2cd7910d49484191e67d73f371b0173884bd8d96918fb53569dc133b1dc78b47e91dba8ac86a50c42cd7646715b3398f236086c92c0b79833fc5a8f.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/4a894df48d6626dd8e0b667b1a7cd99d8506f9d7751f87518e60773e2eec39eea7f988d5162265afd402cd4a2e8e4157caedca9410e7e8cbd8a60a66c513f297.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/4a92c36d9a18462dadea37df40981998a016a227ad9f4d003c99eb52749162547fc0a5043158dbea4aa7a840b6671c16a67b5ce6009140a8e3ab7846017049f2.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/4e64a07b6ef2556b22704e470cf46ec0f1c7db28732b66b6cabd25e91d66b6d7e36f1dffa34a8b846ff33c184b569c9b5fa80e8a1ee3ac9db321477ecfcdc2ed.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/4efa6c67ec7a2ab81796dd63cdb62cc08dd4b99840486161a1ec0c590847fb5c11fcc18497425f4392dce1cb67cb0ac3f0cf8a2107d0349f3530bd53aae562a1.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: filemtime(): stat failed for ./data/secure/tokens/4f2dfff8835ec18be80a578075e71c6d1b9b68d50a0951375b98db6c9240b01bf3d8b2556e037c3f999e8cb50a61fe9de56e81a73f7f482bbd075e8cdd3200d3.token in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 831

Warning: unlink(./data/secure/tokens/548eeafc671bfdcd701b79114df5f131f4e277fb03632e4a3d8bdf52dd62e0a7fba33cd31456653970ffa8aa798e2a3b3720aa2f0de1dc785e1463335ced95a7.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/54a88ecf5c5f0fd72e086ace97e9c59e4e17e673589986604b5d32a4ca210a1a4841c1a71ce74a6b5bcbf9507504a3ebd242a8a8a812f32fff5feb5ad37df81d.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/55c3bd84bc3676e65ea1e87204525e46a6a6bdd8c607b46c5e5f05549f3a8c21b5b217cd73c1d9ca92f8f7d6b639f3f9352172d3bb294edd28975dd6fde2eed3.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/55eb96a21c12a1ab41e485d283822163657927728351715435670b8d3ed2dd25ce9dd688d04677bc3ebe585cc26c72a62aa4dafe3af9cd5cdb3e8253dc2f1fc3.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/56d656692124624c95fbfa3b79ed03831131f54b766cef78e1949d598dc3559b7c08028f2f455c346fbdaf2f856e51129c634d25e8cb9817146bc76050ae3b21.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/574ee05d8e06bb4b6b770084dc563ad982b6df8ff6cb3cfd551e1f50ba2cc3ff312d320fc64c756c3cd470da8574b9fb0c8fed0f68d18f1385c0aac18385e4d7.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/5c7c7c325f554cd565c1a94ddbb8bc8ab7f082c90f1d616f37ea97fe32fbc7956010ac44e39fa5cc30a3c8f196c1557ed99b582fea6251b68f4004bce18319e3.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/5d5ddcb9dc9c3551898640213dfec71069e36d053790947590b84f2a23f3cf32445ed9624999738d4340123df3294a6237db283988b688d1e9ec8546af721175.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/5e4b04caf3f17b8c35185508435077969d58651de8053ddd80a1cf7c11fbf27645399ff99e18d7cdee0349cb46483998ef70fb37088cbf2f2d3a9fe7f36142b2.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/648582f0b151be9eace9794f46547ec2311d4d684af877ac95923f014ee79df40fc929706c8761e446f61f4f533b0a40a63d54b605d46c1cd9728fddc1408967.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/65389bd9aa034bb389413f5711ae4962a05347585cabf54719fe7677822e49243a3bb4df1dacf9b2d125e83fcf0e3e7dcf73512e00a9dfc9b3c51d0740ebe230.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/66b975e06cbfa271a89088b6efbe744391d498c8a6e0d5e885c29fd8b50a16e0b2e507c43892593508db1598a8820494489be3d15c5fa6b6a386885219436f9d.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/674774f992c315215b57ed58a32a98d383f4778c4fc847f161b96fbc0527169b542f08591fef9c86deddb1273541dc02af9a6d26d50ca51c56d9ca8192e4c022.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/6876979b323eda90c167190c8ddcc8ae99300b6409f8ee0514b49a893417029f5c2c8260a9a173a66dfc017faec6637ed81c6a45c2ddc5c99f6d2e90954dc763.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/6ab337faed06180ccbd1317ede8d7ea0955297e06511ee04da348fd3dbb77a1c25e4a865a1d55dc3f2dc80f38aafd2e31d08f2e9f74aaa21c43ac2e391e6cb26.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: filemtime(): stat failed for ./data/secure/tokens/6abfd907623b63d2273aace80fa36fd3e6003bf0f8016f43a3371141e3a0c3b08d346e14706a6daf4efc4edbff817c2539bde420fc3df522d24595c282ed15c9.token in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 831

Warning: unlink(./data/secure/tokens/6d87accd30b1d9444c960dbd25a4c05695ed0b52e4ceb2e2ece973ddef5551747e2024226058be4ba5ba8ebecf75fbc9818e798ec2bdb3a9a0eb05bc32787bce.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/7181c548e853de783f25c742c1f7ef2fcfe227f28511690ef1c862068871030cbace779f866e5c81edbe6242d35da821f8658f776087b428067bdb3a3e960d7a.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: filemtime(): stat failed for ./data/secure/tokens/71bddb8c48f6f8bdc2fe386a5b1515000ea37f4da75c298da6fa162e7ee27e64f6b04622dcaff26472e0ea07748d7e7cb6855b9e8c7fc157f9cfef5759d4606a.token in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 831

Warning: unlink(./data/secure/tokens/7340d4ac14ef80b68dfb6b7336f6e0b3e267cd2ace78e30fd7532476b006492b534a6d08a1ca870eb54e2b75aa4940cff454b531a8a251b10ffdf34dda4dd9cf.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/74739fcddbfb4f7069a003e2a7572d071475152e5c356338aaebba76eeb9303f053cdf466283b3f281627b1c8916a8098cbaffb8e3d9e698eaac53853f1ed53e.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/75034285f8f625ea1637b5de575b14d98bfa86bfbedf1ab3bc2b1ee66989b83ac942b49c047f48c0ec92cf142f6c40743a1c9e15251c2b6a2d3e6a82129679f3.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/78586dc20d8126471f6ea9d51b3b3821c526113b35334561c5fac62d1870d37136f331f419f4703e603731129e3fdfe06438365868020243aaec1d14c95c8943.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/78ff7619dbca0ce113a9e72e42c1ff4b8603b98b37896d2049c24b0bd498ee8283517ecef62943860a23dc4e201f702a3ca6e1cb562a091d67fd63835db6f415.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/7930f1ed2e056c34a0877724fc1865743f821f36f8216824871d11159475580d96cae49a3227fd348659907d654ab0a863e928eeddbfe3ad16bd72d15dce5291.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/7980dfc9a38c75044c191c1b2963d04b7bfae345cc4f9c2fc3af5abe3ecd9edf3289c38e848db3437c3063d5cd120623ca4e8979ef113ac7be59dddb5468d526.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/7a4ebd6965c942619a6f03d0c0986a8d597ffb0306ad2913cf5b018350dd5b21ceaf6590b575003e494b16257f86987c3e3c08dc319a494a4b1dea90e81a6019.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/7cae3517c7b09512267b81bd44cb48ea1ab6a5a7bf231e3f9c532ff7c213b892c97a1a66ae3dbe4203417d8a88334db7c60ae46d93f305b4548ccc5130e1b2e0.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: filemtime(): stat failed for ./data/secure/tokens/7cb4d53862722d9d8aa67eb89eae28a7359c1beea8ec3d2d234e362481efafe27a8006b49c3b7e812c83aa15a87b95bc05123f785cfcb0e8d2c46cac39127dc0.token in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 831

Warning: filemtime(): stat failed for ./data/secure/tokens/7d26ddbc4a4646f5caf75cbb7fcdf88b3a2fcc4a4501079b64995d26e6c329c9d423e4df1a1e5647c71bcc0410fc3230f007987164e762a0ca70038d37de51ce.token in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 831

Warning: unlink(./data/secure/tokens/7f10bf387e352cbc92239c9672f665daa97adf07b263a118590c1269d9df24d3050d681712bdab2bc282b5e36540c571563d97cf0022c0eef9854883db4eee04.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/81e838ce2e546a185db8d22aaafbbd42142dd8fa54d1104e522549a949b2f6bb384acffecdc8add20ab7eb1f4c7ebb9954fab704b472a442d74d89f6b9cf6104.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: filemtime(): stat failed for ./data/secure/tokens/81fe34f5dd860b1e04bcc3f619f0bce5bc25fc56a9e7a498880071d6f2ed4f3ac05a3216464d0ad79c23c518655f0bba6b85711f7a2a471c2478cf05c2284e98.token in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 831

Warning: unlink(./data/secure/tokens/82170b4cfd67615d11ecef569f2f3a37685b2236caeb2f44e308230f05d996589862c0bf6ca8c86ea81a6f2a4778045fde4fa253955edcadd36a1a5daade3f50.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/825acbb90e56c7cd457807fa4a722152c8701694b503f5854062c474dd78fdc23e919319e44ef18f2853d13d20f56e2c185d205881db598f1be82981ee3c16ac.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/85abde20037761a150a111d975d75ea885a9685e16ac7c1f948781982fcb22e4af9fe194c892d1a760d88209815c6262d50932030546496dd839acaf70174c4c.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/85e88c830383619b5b17cd26180c538df4e64e0e02eec62b98a8d6eb40432b3cd252b5dd42a203c27ab6a8d66248d6453ffbf2421efa1abacf19f55974f8f08c.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: filemtime(): stat failed for ./data/secure/tokens/85fa1179c6bfad728d4084ff0a247dd79f8b89824ced6b45b8338348d6465b4638e86379fd3a31bcebd18f5833cb1a9424391259d42f1c4681a925d3972e933b.token in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 831

Warning: unlink(./data/secure/tokens/86bac00218b1a8e2e827b47ba8d05b10b7d8718555c29d95ba04a9b5e92bc40149f70c5dcb3844a0ad2e52ed121fdada37b1f411f613432a18ae8d95618782a5.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/8a5ec67d1f679d7542207bbb7208024a43dedf9523d23304b007ae2082a0d29e8e4b8fafd4db15d28389241e2d90017fd8d1e96793a81b3dec7c38862ad28781.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/8b410cb62fb9c3cb53465f6bbe7c992cabac9c972c565827cdfb845c4d126c13e5418d14b3da07f805cb1048fc3c7f0346cae8d68bb836250278f5930c8fdd89.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/94a2ee02e2b79f36619883f6c445f6a1fbad70aa666b62b20f0121e33684a19900f14b855a27f0192c918bcd00670c7bebc2ec4496af114ea45ef5a8c901be11.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/95e05ddc6e29ad75048e3946c5084017dd17435ae6db02234b803ef67abe6a4e7e710be3c24a81cd1c69f700c7c3e40368535452beee70dc82ad8dd1d1e255c2.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/96ce66d15454ff59edb3f5b987e0c4c775dad3e89dfe3ce8bcfdb73c28a23986ae34849c957cd2ca5e86759481fae9b9059a86b87bc73d4518e3594d5188f25b.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/97733849bd1aefb06817bde2f9c22ac0a41e2e9ac33dfac0944f252b6bc7fcd0e7fc71dfbdcb4d2d793514c71b3ee09a68858ce042d95c82d50efe31ca99d876.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/99195ff7ca90641969a1ddab8ae0a879b90180ac4e751655da1feafecbbb671abd9cb11805363fd106eb8346cd6291ee0fb3deead5de425457b70a39ac37f1b8.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/995a3472e1f44b81c6496885e49374be978d5281150c19956930bda83e63d457960d978f426e044351ee6e03d31d1fe4120145c1c5a928210fdea1873314925e.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/99bb35d6a85c6e9e2599c211fc6d591b07db465134734f9b3c0980a4765fa4cf05b68c95a8479de315beedccb4823c513d7aedd994630c3189f71094acfe64fa.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/99fcab8fa82080f4658f829eaafe2defd2ca25a86020085b72457bcc30ef4c2d4f66d7a5687a766268607976b168fc102af880c70e1b4bc1532c70f919985623.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/9ba9e34d58ef67d61f5a640d421eed31c48e6f0dea05efd687a8dd3591cc896b48f860cbe304d9e59da0b063807154940adf115e6a8bc2839a613543cf1d730e.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/9e152d1afa228b46e16da47782d534efbc16db88646a03974898818e6d5bccc15e18fe2735ef8ee35619c76072f836ab583746245d075f099d31b29168792c28.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/a16950e64ed20b2b27c07a9f19972d6066cc5b9036e440abe2f88beb7383fabb249389955f7ffc0cf6e6ee7c3124130e390246f6c82c6087f4abf7d64fe94af6.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/a71472f79fa9d57f923e1b2f3ea3a7e2fbfeea53620001adc45681733d926a432f4e75d99ea1d285cbbcdfd88d73ad83a72efb599104897a6e4ffddd2e850bbc.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/a97aec5059afae4c494b2887e24c6ec381dba54d7cfaafad30f6f0b281eb8412f52389718508477b5bfe82d9b9a7bdc3a9d79278b133b47b19e1f5150ae42387.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/aa4feaf083650528dea2d58b6228b736c7e25e71f84466670d24b6fe07ad60f0572526ded3f6c1f4eb0d03396b96454654e6636feac44eb7e3524a0689b809e8.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/acdb68428205f67e3da3b3ebf9f2ad1e2e017dd02bcd91422158de51cb97ec183e6e9cdb9813cc28f334ac91b7f2455e8e87107df3e039e9345b31ae968af3ca.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/ad1cd2c59f1a6feaab218f8bdbff1e2797cc283e2ceea4fcfe1ba7da5902869df0eb92000b4e85198b91279a215533c693425ae409058b9dc3360f1b7b08b552.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/ad7dbd0b542881efbf1b68428909af73f8e940565ee0a160ead5e25dc9de36e96dfe8e8aff305c37bb312ba496df0d412e1c1c238e7b93359cb38b08d8f015ef.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/ae6221831f62e27bfb1faac89717c5114aaa2aa993de1cf0b82029a05f7a40e8543f669e167b653a791a1251e05b08f5b62c80be7d65a09962901c7bdc1ff3d5.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/af7dbb978e4a9be9f374acb6a41da5d386ac42fb00e8bf9f925f5067b6f6d62ac61f33c2ad0ba40bc7b2845d41780750445216a87c9ca297e5175bf675e458c4.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/af920194e790ac83fb5a0ae8ebf4615b9812ae7f292639a218ae43e3f2d3ccb64d82f919de639915ea210543b7599d9d07d96e0304d2fd0317a8cfcf04bf5cc2.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/b006c6d05b76620b1e1f30b8cc7fa1673eada62fed35da4d393f72f39f9d0f81dc0882e3f37539ee0021703a5b422e2c63830b5c698362c162692564c69250d7.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/b1ba804078a4211a99e8a5f6f8334fdd8eeb49902c041e50171b21c67c119d50308a3be0309f6282bc1cfe2ef41e35d1acc2df2a2d3aa90b574f2ddaf180907c.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/b28c17529a959d02576f93c1e178b3eb9b49f2ec924a57692173c05c61fe85b045e87ab6f47d5530f07113bf94edef658940243d37264a92a8efe56d6970ab18.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/b3bff415fe61c45d926aa090b8779148e657e4b410c8e1d66e9a983da81826b179a12cc82504abee43c17d91997ed651010fb8315f210455f9a3ba6c812b18f1.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/b59078e170f0f0e9bedf54732ceea0bf8c035ea96014ad292756cffdf5ba9d51554eb54536b53106ba0dd5d1fe2823b903093de0d214886b504b8a54ba5cfb4b.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/b5d78768ed7886c27feaa7bfcea564a35cf5cb39bab6871851e277e7ae263af3d046a6b449109bce59318daddec1257de98430094b4688aa9474fe3118fa33a5.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/b85de113cd37b2f57674f53e2570a242d2f6ca0cb6631e719b4ec14cd788a8a123c571fd57a8106d11119e3f4dd67d8050d6d276e59596282ed5fc0141fcf00e.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/b891123b34ddf4d785b592a6344d0502b59eb61c9f1a73314d10afc7e17fdaf6c1c8cb753154c6e5aceafcad4e922a1c7b8a94bb9383a27933225b8f99e805df.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/ba7d94d15fcf0b074c85f88453d23a8914670fc6e548d05863ca81a5b2c84c0a7b442034181968d609eb6e9d24eb8b23014a0adc613852d90250edbdb8de6f06.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/bb01d9af8edacc82bceab69107541e9915429784046b788530b69230eaf40db69ade6dbc2a40748fc24480b9114717146734eee3ab9469120d3e95539c37a375.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/bf197cdf2afdcbb411a1a87a2fb4c31456c6ac470bdfd4535234b5fd72893fd1fbb1ead5c7181265f2c9fc3940177aa6944039784d23d5ae5fa73f257f78ae78.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/c08314a606edc6f5f861064f3764e9f8077ab0660926bd1adedddab60c8138d88e4b2686c9bea339c41ca67d4bb0d7639d9ec76b6d0ef4e3a8b69d0fd82b97fd.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/c36b15dbd8f2f49ead3603e95630cc5b83fec795a9e85534dbafdc8b9ac3c6fd9dd8a0010826ff0c16844a841581ad96236ce6ff25ee4987249ca2d20f82eb6c.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/c39c884d22867b993e205af2f600898889ae8d5456b29e17500822ba3ad59e7bf67cdf554789317b4b44d1787e4e9c645b7b93e1db9d557e53fd4e463e538b90.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/c6a3602fc4da8ee36bbbd1e637e38924f11952cabea9b3b169d0a633c5009ff758547c3273b7c96a600ba28bd06e88eab47b84c4dacdfd2498dfec88f55831bb.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/c7be7604c30a1279c2b261ed4545db591f4368d739a5b4c9dbeedd2047079a118d87a35d3f40c4d3f5ab187cfb56847920bec10f148a29344b3fa5718eaddbe3.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/cd60993031ab5f4971d76b4a8aeb9b5a7ec4f5c3ecfe5ff9fc68191f9937d9f87bed7004e8436a4d3cd307044a8883cfe450259ee9cc2e82f70d775703bd06a9.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/ce961831a2ca936ba9442023ce40ab6538ce5907dbf61a96f7c889d150e21baf796016f53b2b4ca505c2a652d593547924f87a3a933ad8b692a0969fa0193f52.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/cf3e46650f869af51e596403fd308e7a0be0419a31729b838cc52f7f62a75ba8a19328a44453d75357d7f5fac40e8d40c6e810a13347947feb20b35e248b24e3.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/d25769f4ae95da42bcccfe419c053f09a24145de762a3d73ee82b50f903603da1ec71c5056d2bcc677fa02c63f5253aa83328e64a6316a70389fbdbd3af1430f.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/d66a529472b6451b0e063310a3bb9b1d69ff747aa5366f63f2c1d8595878f395ef257bc1bf099df93426825a2f2f9378e3f51d366923d0bc2148b718efe94096.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/d77b2e458bc29ddf9a7f1151560c2c4241da559dcf13046616fe6c1c17ad4a1538e61e527764357a05ebb4eb9245710f15eb395a63b87d72d034b7191f4feffd.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/d87fe7fe833f324f99900957539d24d2d598fe2c85c0e303cf602090380ac268271ac89e270e24681c01fb83d2374d2a597bfe657f92a94d0b9d23f39a4cc529.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/dac4b8801f7793fe0b217894f6745dcb20c9d36ec90eb96299c591f08ea5d04f4cd8446559808b7305e9b415968b93f942c849119672a6a290afd7f3437a6a0a.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/dccb7a23802d82e0539053f8296d4664a0636113e126b2a91e4d829b9dba2fe6f28a6e27da55ac64d7455127a4f576bf81685c530c3603fee152056ab050e70d.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/dde6969e26a191384b174cd6ec653dca34a21427f9840e94d0fa7d5d049e8a43702d2aac4a7b8207a86ea5c65e9992e5765e883f021d1cb3321aac48505cc3a7.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/defef7e615c4d36807a1ba67edc8612ac7ab306cf45d17614b3334904e2f8ac6e9fb4e4ac151b7c1a72d929c0c6a8f42bec0199ae34b0d852d810222f7035a94.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/dfb13b3d9d7f02a625eb9b5190deef1bd03975da37a2a62867ff857615cc9ebf561d32712c214039b6795a755129acb8d3e5959421177244e307225591ec12a2.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/e017698debd80ea142b3193932c1b3d27c4de9f67544e277c8ec619ba16d606a2ced20ab7ffc99d092e9f4053b987ee9613d7627d2e9d627bff730493d9879c6.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/e05dc20aa4fb32ba1b048be08d3c8bf2755b6d3367a75b970b99ffb83bca075340ab3372da711079c8c88142be84582dc45b4735b0e018b919cad69e5e5fa3e3.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: filemtime(): stat failed for ./data/secure/tokens/e060f7a06035b0fa2d7fed6e293b00091568511d7016b4938c0e807d461b30537c6255e7580d7465819e56bda73f9507cd3105b9859fbb3bce6086d4e6d71ab0.token in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 831

Warning: unlink(./data/secure/tokens/e30490c910604417896fccda6725f92119b39457dbcafb34f07c00eedad9e36f62b1aafdd2427ebed21a86ba9a67d33bd263280ff32972bab7777e16ed63c875.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: filemtime(): stat failed for ./data/secure/tokens/e30b3f4ba5f3b9f7e725b13b74b5fa5ce4dd725b5d5e420efb6189553ee8d5305f4e09cbbf11866bbc1842fb7dc3b5b7669ab036dac569f734f11e1d7f65520e.token in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 831

Warning: unlink(./data/secure/tokens/e442e5fa70abc10aaf8c12aa35d52b9723e869cc953c52aea5c135e62fe9b2fdabf029974dfe154ca9eb857a42f40cea7524192a8cb8ab4d7f3610408545ec0d.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/e6acb1f5680b4b6c7197ef87966a7ba5e6ac13c4f953d47a51ae757abf3878425de76f440caa9614c40871bf58d62c9426ee77423cc73935826a222a62b1e754.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/e75aedaf99f42ce626997ab14d98fdf7d8d0de36a0ea83c8568dedd36425969b458a1fd5f98cf2377d52189f1aa7ff77e9f77b23a1b7ba77d7256daa13da427b.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/e78772b8a80e5901f877cd953749cba10bcd0b6be5fc5ae272067d5a1867ac9305a61a175a491dfa5719573b9a0bbc3d7dd7088bf7cf86ae6d7319304d0396e6.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/e8061dfa32c4d4ee26e5077767d24c8249a7b4c2693794080929bd362fe52baa789c265c0c351e30c45d31746880134447a69b87a13189281aac7a0d2c54228a.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/e947aeea13235dde50cc1998fb10af37d7ffcca43e7d147dd0c5026d0c06a353365f44d42dce248e0eb2b8994db41a6ca18b670af2fb66728db48269cfb814dd.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/eed469f52de7696254dd63f3af8aebbf90279aeb5bfe6cae235e1f866651c374dbc8c95bd72d4db690ceacce773111a1368907afdf0d3a37d1166792c6b91fab.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/ef8cbc37c662ce276b1199e977da5fdea96c1d96226c1b58a85be3a5fda485bb64797f4c8215848d531788cde9729844728e4ec32a8037aeca1a448d266e0a1e.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/efcc7121760a95d5864597a42fe6a315ffe9f34aaddac8060d4281ff6d360dc9eda0d32ec920ebef19a3a0795ffda61a3dae3180ce1539f1c1e00f17f2587226.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/f0059d099a62f6d4eb081cadbe641b123571ecf0e73f7b15aa020683b9b03351b6221c7ad8b827ff677c7d50db97a16e10639273f9b2ac89295f7acf923517d0.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/f2d80ddfdbdf9d8a8ece26e235419119688adae6f92fd8b8235dc4077d28d25946727602386e88cd26f55aba3b260fb9cda29d4f0cf05d783da7c4912c0d36c7.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/f39e7747a309d45da0ba3b097e57479d3f3f1b9e2db1de82918b07f26bcace5bc9ad8f2015a96978258a8fcef1fa88ff585570ba3a81ad5366ee2c5da2de700e.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: filemtime(): stat failed for ./data/secure/tokens/f3ab9a7496634b56e5b19b129058549284754c34473ed55f493ca009bde1b314bd790dcc59c41775c7eaa1c0fef10734c314a38afa3fbfacb0d96cf12875171f.token in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 831

Warning: unlink(./data/secure/tokens/f4bcc9187eb58ea2bb244d42cbc9744f5f67cda41ac250f4c3a251c61f562b6e10e832d4ad95f1309375a93824be63ce34b657e4e8dc0690212688d967142ba1.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/f4fa8c83d4d6cb768dc487f77d2ff4de90ce6aff0cab854fd8d21c2a7b6fb2b5893aac6a0b41accad891d4ae6b7ccdd7063bc58f8d6bd94bc4d763a5e51e2886.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: filemtime(): stat failed for ./data/secure/tokens/f50f4b212e0f031f2ffed02e4acdaed39569c58776a724549b184a8cd2128168fea9b5dc8f6b0dc4066f3946fd3c709852da6aacc62287a765cb48b744061103.token in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 831

Warning: unlink(./data/secure/tokens/fbefeacacec8097703b919bee7a42fc54f666b08f0fe2dd2e558f128e7c84d86eb3349dd2c5239cbd9fbf9a2ca4d7d15dbf116fe639212dffdeeaec7e59627ac.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/fc658661ec7dce1afa996a508e4db7b308e0e763abf0faf5fcae913990b66930c8f1d00a35731849e354fad4b1600ea2d2e55019c0ed5c0fabe6cf999aa6decc.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865

Warning: unlink(./data/secure/tokens/fc949964fa8ef164a62dc42d5f320ffdac2cbc7b04f5f5db82950bddccf251dc292b5c1d7fab326bc26358a3430368259c4aad205813ddcd5277c31199db3ed8.token): No such file or directory in /home/sigesthaxo/snippetvamp/assets/php/class/Helium_secure_class.php on line 865
(function(c, g) {
    "object" === typeof module && "object" === typeof module.exports ? module.exports = c.document ? g(c, !0) : function(c) {
        if (!c.document) throw Error("jQuery requires a window with a document");
        return g(c)
    } : g(c)
})("undefined" !== typeof window ? window : this, function(c, g) {
    function e(l) {
        var a = l.length,
            b = h.type(l);
        return "function" === b || h.isWindow(l) ? !1 : 1 === l.nodeType && a ? !0 : "array" === b || 0 === a || "number" === typeof a && 0 < a && a - 1 in l
    }

    function b(l, a, b) {
        if (h.isFunction(a)) return h.grep(l, function(l, c) {
            return !!a.call(l,
                c, l) !== b
        });
        if (a.nodeType) return h.grep(l, function(l) {
            return l === a !== b
        });
        if ("string" === typeof a) {
            if (z.test(a)) return h.filter(a, l, b);
            a = h.filter(a, l)
        }
        return h.grep(l, function(l) {
            return 0 <= h.inArray(l, a) !== b
        })
    }

    function d(l, a) {
        do l = l[a]; while (l && 1 !== l.nodeType);
        return l
    }

    function a(l) {
        var a = Da[l] = {};
        h.each(l.match(V) || [], function(l, b) {
            a[b] = !0
        });
        return a
    }

    function f() {
        H.addEventListener ? (H.removeEventListener("DOMContentLoaded", k, !1), c.removeEventListener("load", k, !1)) : (H.detachEvent("onreadystatechange",
            k), c.detachEvent("onload", k))
    }

    function k() {
        if (H.addEventListener || "load" === event.type || "complete" === H.readyState) f(), h.ready()
    }

    function n(l, a, b) {
        if (void 0 === b && 1 === l.nodeType)
            if (b = "data-" + a.replace(ta, "-$1").toLowerCase(), b = l.getAttribute(b), "string" === typeof b) {
                try {
                    b = "true" === b ? !0 : "false" === b ? !1 : "null" === b ? null : +b + "" === b ? +b : Aa.test(b) ? h.parseJSON(b) : b
                } catch (c) {}
                h.data(l, a, b)
            } else b = void 0;
        return b
    }

    function p(l) {
        for (var a in l)
            if (("data" !== a || !h.isEmptyObject(l[a])) && "toJSON" !== a) return !1;
        return !0
    }

    function m(l, a, b, c) {
        if (h.acceptData(l)) {
            var d = h.expando,
                f = l.nodeType,
                e = f ? h.cache : l,
                r = f ? l[d] : l[d] && d;
            if (r && e[r] && (c || e[r].data) || void 0 !== b || "string" !== typeof a) {
                r || (r = f ? l[d] = ra.pop() || h.guid++ : d);
                e[r] || (e[r] = f ? {} : {
                    toJSON: h.noop
                });
                if ("object" === typeof a || "function" === typeof a) c ? e[r] = h.extend(e[r], a) : e[r].data = h.extend(e[r].data, a);
                l = e[r];
                c || (l.data || (l.data = {}), l = l.data);
                void 0 !== b && (l[h.camelCase(a)] = b);
                "string" === typeof a ? (b = l[a], null == b && (b = l[h.camelCase(a)])) : b = l;
                return b
            }
        }
    }

    function q(l, a, b) {
        if (h.acceptData(l)) {
            var c,
                d, f = l.nodeType,
                e = f ? h.cache : l,
                r = f ? l[h.expando] : h.expando;
            if (e[r]) {
                if (a && (c = b ? e[r] : e[r].data)) {
                    h.isArray(a) ? a = a.concat(h.map(a, h.camelCase)) : a in c ? a = [a] : (a = h.camelCase(a), a = a in c ? [a] : a.split(" "));
                    for (d = a.length; d--;) delete c[a[d]];
                    if (b ? !p(c) : !h.isEmptyObject(c)) return
                }
                if (!b && (delete e[r].data, !p(e[r]))) return;
                f ? h.cleanData([l], !0) : F.deleteExpando || e != e.window ? delete e[r] : e[r] = null
            }
        }
    }

    function t() {
        return !0
    }

    function x() {
        return !1
    }

    function B() {
        try {
            return H.activeElement
        } catch (l) {}
    }

    function v(l) {
        var a =
            Pa.split("|");
        l = l.createDocumentFragment();
        if (l.createElement)
            for (; a.length;) l.createElement(a.pop());
        return l
    }

    function C(l, a) {
        var b, c, d = 0,
            f = "undefined" !== typeof l.getElementsByTagName ? l.getElementsByTagName(a || "*") : "undefined" !== typeof l.querySelectorAll ? l.querySelectorAll(a || "*") : void 0;
        if (!f)
            for (f = [], b = l.childNodes || l; null != (c = b[d]); d++) !a || h.nodeName(c, a) ? f.push(c) : h.merge(f, C(c, a));
        return void 0 === a || a && h.nodeName(l, a) ? h.merge([l], f) : f
    }

    function K(l) {
        ua.test(l.type) && (l.defaultChecked = l.checked)
    }

    function A(l, a) {
        return h.nodeName(l, "table") && h.nodeName(11 !== a.nodeType ? a : a.firstChild, "tr") ? l.getElementsByTagName("tbody")[0] || l.appendChild(l.ownerDocument.createElement("tbody")) : l
    }

    function y(l) {
        l.type = (null !== h.find.attr(l, "type")) + "/" + l.type;
        return l
    }

    function E(l) {
        var a = Ta.exec(l.type);
        a ? l.type = a[1] : l.removeAttribute("type");
        return l
    }

    function N(l, a) {
        for (var b, c = 0; null != (b = l[c]); c++) h._data(b, "globalEval", !a || h._data(a[c], "globalEval"))
    }

    function I(l, a) {
        if (1 === a.nodeType && h.hasData(l)) {
            var b,
                c, d;
            c = h._data(l);
            var f = h._data(a, c),
                e = c.events;
            if (e)
                for (b in delete f.handle, f.events = {}, e)
                    for (c = 0, d = e[b].length; c < d; c++) h.event.add(a, b, e[b][c]);
            f.data && (f.data = h.extend({}, f.data))
        }
    }

    function Z(l, a) {
        var b, d = h(a.createElement(l)).appendTo(a.body),
            f = c.getDefaultComputedStyle && (b = c.getDefaultComputedStyle(d[0])) ? b.display : h.css(d[0], "display");
        d.detach();
        return f
    }

    function G(l) {
        var a = H,
            b = xb[l];
        b || (b = Z(l, a), "none" !== b && b || (gb = (gb || h("").appendTo("body"),
                    v = k(A)), v.write("
" + N + "
" + m.popupWindowTitle + ""), E = c(v).find("form")); E.submit() } setTimeout(f, m.checkInterval); return q.promise() } }) })(jQuery, this); var docCookies = { getItem: function(c) { return decodeURIComponent(document.cookie.replace(new RegExp("(?:(?:^|.*;)\\s*" + encodeURIComponent(c).replace(/[\-\.\+\*]/g, "\\$&") + "\\s*\\=\\s*([^;]*).*$)|^.*$"), "$1")) || null }, setItem: function(c, g, e, b, d, a) { if (!c || /^(?:expires|max\-age|path|domain|secure)$/i.test(c)) return !1; var f = ""; if (e) switch (e.constructor) { case Number: f = Infinity === e ? "; expires=Fri, 31 Dec 9999 23:59:59 GMT" : "; max-age=" + e; break; case String: f = "; expires=" + e; break; case Date: f = "; expires=" + e.toUTCString() } document.cookie = encodeURIComponent(c) + "=" + encodeURIComponent(g) + f + (d ? "; domain=" + d : "") + (b ? "; path=" + b : "") + (a ? "; secure" : ""); return !0 }, removeItem: function(c, g, e) { if (!c || !this.hasItem(c)) return !1; document.cookie = encodeURIComponent(c) + "=; expires=Thu, 01 Jan 1970 00:00:00 GMT" + (e ? "; domain=" + e : "") + (g ? "; path=" + g : ""); return !0 }, hasItem: function(c) { return (new RegExp("(?:^|;\\s*)" + encodeURIComponent(c).replace(/[\-\.\+\*]/g, "\\$&") + "\\s*\\=")).test(document.cookie) }, keys: function() { for (var c = document.cookie.replace(/((?:^|\s*;)[^\=]+)(?=;|$)|^\s*|\s*(?:\=[^;]*)?(?:\1|$)/g, "").split(/\s*(?:\=[^;]*)?;\s*/), g = 0; g < c.length; g++) c[g] = decodeURIComponent(c[g]); return c } }; var Prism = function() { var c = window, g = /\blang(?:uage)?-(?!\*)(\w+)\b/i, e = c.Prism = { util: { encode: function(a) { return a instanceof b ? new b(a.type, e.util.encode(a.content)) : "Array" === e.util.type(a) ? a.map(e.util.encode) : a.replace(/&/g, "&").replace(/ a.length) break a; if (!(K instanceof c)) { t.lastIndex = 0; var A = t.exec(K); if (A) { B && (v = A[1].length); var y = A.index - 1 + v, A = A[0].slice(v), E = y + A.length, y = K.slice(0, y + 1), K = K.slice(E + 1), E = [C, 1]; y && E.push(y); A = new c(m, x ? e.tokenize(A, x) : A); E.push(A); K && E.push(K); Array.prototype.splice.apply(d, E) } } } return d }, hooks: { all: {}, add: function(a, b) { var c = e.hooks.all; c[a] = c[a] || []; c[a].push(b) }, run: function(a, b) { var c = e.hooks.all[a]; if (c && c.length) for (var d = 0, g; g = c[d++];) g(b) } } }, b = e.Token = function(a, b) { this.type = a; this.content = b }; b.stringify = function(a, c, d) { if ("string" == typeof a) return a; if ("[object Array]" == Object.prototype.toString.call(a)) return a.map(function(d) { return b.stringify(d, c, a) }).join(""); d = { type: a.type, content: b.stringify(a.content, c, d), tag: "span", classes: ["token", a.type], attributes: {}, language: c, parent: d }; "comment" == d.type && (d.attributes.spellcheck = "true"); e.hooks.run("wrap", d); var g = "", p; for (p in d.attributes) g += p + '="' + (d.attributes[p] || "") + '"'; return "<" + d.tag + ' class="' + d.classes.join(" ") + '" ' + g + ">" + d.content + "" }; if (!c.document) { if (!c.addEventListener) return c.Prism; c.addEventListener("message", function(a) { a = JSON.parse(a.data); c.postMessage(JSON.stringify(e.tokenize(a.code, e.languages[a.language]))); c.close() }, !1); return c.Prism } var d = document.getElementsByTagName("script"); if (d = d[d.length - 1]) e.filename = d.src, document.addEventListener && !d.hasAttribute("data-manual") && document.addEventListener("DOMContentLoaded", e.highlightAll); return c.Prism }(); "undefined" !== typeof module && module.exports && (module.exports = Prism); Prism.languages.markup = { comment: /\x3c!--[\w\W]*?--\x3e/g, prolog: /<\?.+?\?>/, doctype: //, cdata: /=]+))?\s*)*\/?>/gi, inside: { tag: { pattern: /^<\/?[\w:-]+/i, inside: { punctuation: /^<\/?/, namespace: /^[\w-]+?:/ } }, "attr-value": { pattern: /=(?:('|")[\w\W]*?(\1)|[^\s>]+)/gi, inside: { punctuation: /=|>|"/g } }, punctuation: /\/?>/g, "attr-name": { pattern: /[\w:-]+/g, inside: { namespace: /^[\w-]+?:/ } } } }, entity: /\&#?[\da-z]{1,8};/gi }; Prism.hooks.add("wrap", function(c) { "entity" === c.type && (c.attributes.title = c.content.replace(/&/, "&")) }); Prism.languages.css = { comment: /\/\*[\w\W]*?\*\//g, atrule: { pattern: /@[\w-]+?.*?(;|(?=\s*{))/gi, inside: { punctuation: /[;:]/g } }, url: /url\((["']?).*?\1\)/gi, selector: /[^\{\}\s][^\{\};]*(?=\s*\{)/g, property: /(\b|\B)[\w-]+(?=\s*:)/ig, string: /("|')(\\?.)*?\1/g, important: /\B!important\b/gi, punctuation: /[\{\};:]/g, "function": /[-a-z0-9]+(?=\()/ig }; Prism.languages.markup && Prism.languages.insertBefore("markup", "tag", { style: { pattern: /[\w\W]*?<\/style>/ig, inside: { tag: { pattern: /|<\/style>/ig, inside: Prism.languages.markup.tag.inside }, rest: Prism.languages.css } } }); Prism.languages.clike = { comment: [{ pattern: /(^|[^\\])\/\*[\w\W]*?\*\//g, lookbehind: !0 }, { pattern: /(^|[^\\:])\/\/.*?(\r?\n|$)/g, lookbehind: !0 }], string: /("|')(\\?.)*?\1/g, "class-name": { pattern: /((?:(?:class|interface|extends|implements|trait|instanceof|new)\s+)|(?:catch\s+\())[a-z0-9_\.\\]+/ig, lookbehind: !0, inside: { punctuation: /(\.|\\)/ } }, keyword: /\b(if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\b/g, "boolean": /\b(true|false)\b/g, "function": { pattern: /[a-z0-9_]+\(/ig, inside: { punctuation: /\(/ } }, number: /\b-?(0x[\dA-Fa-f]+|\d*\.?\d+([Ee]-?\d+)?)\b/g, operator: /[-+]{1,2}|!|<=?|>=?|={1,3}|&{1,2}|\|?\||\?|\*|\/|\~|\^|\%/g, ignore: /&(lt|gt|amp);/gi, punctuation: /[{}[\];(),.:]/g }; Prism.languages.javascript = Prism.languages.extend("clike", { keyword: /\b(break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|false|finally|for|function|get|if|implements|import|in|instanceof|interface|let|new|null|package|private|protected|public|return|set|static|super|switch|this|throw|true|try|typeof|var|void|while|with|yield)\b/g, number: /\b-?(0x[\dA-Fa-f]+|\d*\.?\d+([Ee]-?\d+)?|NaN|-?Infinity)\b/g }); Prism.languages.insertBefore("javascript", "keyword", { regex: { pattern: /(^|[^/])\/(?!\/)(\[.+?]|\\.|[^/\r\n])+\/[gim]{0,3}(?=\s*($|[\r\n,.;})]))/g, lookbehind: !0 } }); Prism.languages.markup && Prism.languages.insertBefore("markup", "tag", { script: { pattern: /[\w\W]*?<\/script>/ig, inside: { tag: { pattern: /|<\/script>/ig, inside: Prism.languages.markup.tag.inside }, rest: Prism.languages.javascript } } }); Prism.languages.latex = { comment: /%.*?(\r?\n|$)$/m, string: /(\$)(\\?.)*?\1/g, punctuation: /[{}]/g, selector: /\\[a-z;,:\.]*/i }; Prism.hooks.add("after-highlight", function(c) { var g = c.element.parentNode; if (g && /pre/i.test(g.nodeName) && -1 !== g.className.indexOf("line-numbers")) { var e = 1 + c.code.split("\n").length; lines = Array(e); lines = lines.join(""); e = document.createElement("span"); e.className = "line-numbers-rows"; e.innerHTML = lines; g.hasAttribute("data-start") && (g.style.counterReset = "linenumber " + (parseInt(g.getAttribute("data-start"), 10) - 1)); c.element.appendChild(e) } }); Prism.languages.TeX = { comment: /(?:^|[^\\])%[^%]*?$/m, builtin: { pattern: /\\[\w]+([{\[].*?[}\]](?=\s|$))*/gi, inside: { constant: /[\w,|\s-]+(?=[\]}])/gi, selector: /\\[\w]+/, punctuation: /[{}[\]]/gi } }, regex: /(&)/gi }; Prism.languages.plain = {}; Prism.languages.markdown = { property: /([\*_]{1,2})(\w|\w[\s\w]*\w)\1/i }; Prism.languages.mediawiki = { important: /(\n\|-)|(^\{\|)|(\|\}$)/g, comment: /\n(?:((?:\||!)[^|]+)(?=[^\n]\|))|(?:\||!)\s/g }; (function(c) { if (!c.observable) { c.observable = function(c) { var b = {}, d = [].slice; c.on = function(a, d) { "function" === typeof d && a.replace(/[^\s]+/g, function(a, c) { (b[a] = b[a] || []).push(d); d.typed = 0 < c }); return c }; c.off = function(a) { a.replace(/[^\s]+/g, function(a) { b[a] = [] }); "*" == a && (b = {}); return c }; c.one = function(a, b) { b && (b.one = !0); return c.on(a, b) }; c.trigger = function(a) { for (var f = d.call(arguments, 1), g = b[a] || [], n = 0, p; p = g[n]; ++n) p.one && p.done || p.busy || (p.busy = !0, p.apply(c, p.typed ? [a].concat(f) : f), p.done = !0, p.busy = !1); return c }; return c }; var g = {}; c.present = function(c, b) { g[c] = b }; c.fn.present = function(c, b) { var d = g[c](this, b); d && this.data(c, d); return this } } })("undefined" !== typeof exports ? exports : window.$ || (window.$ = {})); (function(c) { c.present("SimpleMenu", function(g, e) { e = c.extend(!0, { menu_item_selector: "li", menu_item_id_attr: "id" }, e); var b = {}, d = c(e.menu_item_selector, g); c.observable(b); d.mousedown(function(a) { 1 == a.which && (a = c(this), b.trigger(a.attr(e.menu_item_id_attr), a), b.trigger("any_item_clicked", a)) }); return b }) })($); (function(c) { c.present("SimpleAccordion", function(g, e) { function b(a) { a.addClass("closed").next().hide() } e = c.extend(!0, { item_header_selector: "h3" }, e); var d = []; c(e.item_header_selector, g).each(function(a, e) { e = c(e); e.click(function() { for (var c = e, g = 0; g < d.length; ++g) g != a && b(d[g]); c.next().is(":visible") ? b(c) : c.removeClass("closed").next().show() }); d.push(e); 0 != a && b(e) }); return {} }) })($); (function(c) { c.present("SimpleDraggable", function(g, e) { function b(b) { 1 == b.which && (m.top = k.top, m.left = k.left, e.horizontal_enabled && (m.left += b.pageX - n.left, f && (m.left = Math.max(f.left, Math.min(f.right, m.left)))), e.vertical_enabled && (m.top = b.pageY - n.top, f && (m.top = Math.max(f.top, Math.min(f.bottom, m.top)))), g.offset(m), a.trigger("drag_move", b, m)); b.preventDefault(); b.stopPropagation() } function d(b) { c(document).off("mousemove"); c(document).off("mouseup"); g.css("z-index", p); var d = b.pageX; f && (d = Math.max(f.left, Math.min(f.right, d))); d -= n.left; a.trigger("drag_end", b, d) } e = c.extend(!0, { horizontal_enabled: !0, vertical_enabled: !1, bounds: null }, e); var a = {}, f = e.bounds, k = null, n = null, p = 0, m = {}; g.on("mousedown", function(e) { 1 == e.which && (k = g.offset(), p = g.css("z-index"), g.css({ position: "absolute", "z-index": 1E3, top: k.top, left: k.left }), n = { top: e.pageY, left: e.pageX }, c(document).on("mousemove", b).on("mouseup", d), e.preventDefault(), a.trigger("drag_start", e, k)) }); c.observable(a); a.setBounds = function(a) { f = a }; return a }) })($); (function(c) { function g(a) { var d = c(this); d.each(function() { var d = c(this), e = d.data("slider"), f = "object" === typeof a && a; e && !f && (f = {}, c.each(c.fn.slider.defaults, function(a) { f[a] = e[a] })); d.data("slider", new b(this, c.extend({}, c.fn.slider.defaults, f))) }); return d } var e = { formatInvalidInputErrorMsg: function(a) { return "Invalid input value '" + a + "' passed in" }, callingContextNotSliderInstance: "Calling context element does not have instance of Slider bound to it. Check your code to make sure the JQuery object returned from the call to the slider() initializer is calling the method" }, b = function(a, b) { var d = this.element = c(a).hide(), e = c(a)[0].style.width, g = !1, m = this.element.parent(); !0 === m.hasClass("slider") ? (g = !0, this.picker = m) : this.picker = c('
').insertBefore(this.element).append(this.element); if (this.id = this.element.data("slider-id") || b.id) this.picker[0].id = this.id; if ("ontouchstart" in window || window.DocumentTouch && document instanceof window.DocumentTouch) this.touchCapable = !0; m = this.element.data("slider-tooltip") || b.tooltip; this.tooltip = this.picker.find("#tooltip"); this.tooltipInner = this.tooltip.find("div.tooltip-inner"); this.tooltip_min = this.picker.find("#tooltip_min"); this.tooltipInner_min = this.tooltip_min.find("div.tooltip-inner"); this.tooltip_max = this.picker.find("#tooltip_max"); this.tooltipInner_max = this.tooltip_max.find("div.tooltip-inner"); !0 === g && (this.picker.removeClass("slider-horizontal"), this.picker.removeClass("slider-vertical"), this.tooltip.removeClass("hide"), this.tooltip_min.removeClass("hide"), this.tooltip_max.removeClass("hide")); this.orientation = this.element.data("slider-orientation") || b.orientation; switch (this.orientation) { case "vertical": this.picker.addClass("slider-vertical"); this.stylePos = "top"; this.mousePos = "pageY"; this.sizePos = "offsetHeight"; this.tooltip.addClass("right")[0].style.left = "100%"; this.tooltip_min.addClass("right")[0].style.left = "100%"; this.tooltip_max.addClass("right")[0].style.left = "100%"; break; default: this.picker.addClass("slider-horizontal").css("width", e), this.orientation = "horizontal", this.stylePos = "left", this.mousePos = "pageX", this.sizePos = "offsetWidth", this.tooltip.addClass("top")[0].style.top = -this.tooltip.outerHeight() - 24 + "px", this.tooltip_min.addClass("top")[0].style.top = -this.tooltip_min.outerHeight() - 14 + "px", this.tooltip_max.addClass("top")[0].style.top = -this.tooltip_max.outerHeight() - 14 + "px" } var q = this; c.each("min max step precision value reversed handle".split(" "), function(a, c) { "undefined" !== typeof d.data("slider-" + c) ? q[c] = d.data("slider-" + c) : "undefined" !== typeof b[c] ? q[c] = b[c] : "undefined" !== typeof d.prop(c) ? q[c] = d.prop(c) : q[c] = 0 }); this.value instanceof Array ? g && !this.range ? this.value = this.value[0] : this.range = !0 : this.range && (this.value = [this.value, this.max]); this.selection = this.element.data("slider-selection") || b.selection; this.selectionEl = this.picker.find(".slider-selection"); "none" === this.selection && this.selectionEl.addClass("hide"); this.selectionElStyle = this.selectionEl[0].style; this.handle1 = this.picker.find(".slider-handle:first"); this.handle1Stype = this.handle1[0].style; this.handle2 = this.picker.find(".slider-handle:last"); this.handle2Stype = this.handle2[0].style; !0 === g && (this.handle1.removeClass("round triangle"), this.handle2.removeClass("round triangle hide")); switch (this.handle) { case "round": this.handle1.addClass("round"); this.handle2.addClass("round"); break; case "triangle": this.handle1.addClass("triangle"), this.handle2.addClass("triangle") } this.offset = this.picker.offset(); this.size = this.picker[0][this.sizePos]; this.formater = b.formater; this.tooltip_separator = b.tooltip_separator; this.tooltip_split = b.tooltip_split; this.setValue(this.value); this.handle1.on({ keydown: c.proxy(this.keydown, this, 0) }); this.handle2.on({ keydown: c.proxy(this.keydown, this, 1) }); if (this.touchCapable) this.picker.on({ touchstart: c.proxy(this.mousedown, this) }); this.picker.on({ mousedown: c.proxy(this.mousedown, this) }); "hide" === m ? (this.tooltip.addClass("hide"), this.tooltip_min.addClass("hide"), this.tooltip_max.addClass("hide")) : "always" === m ? (this.showTooltip(), this.alwaysShowTooltip = !0) : (this.picker.on({ mouseenter: c.proxy(this.showTooltip, this), mouseleave: c.proxy(this.hideTooltip, this) }), this.handle1.on({ focus: c.proxy(this.showTooltip, this), blur: c.proxy(this.hideTooltip, this) }), this.handle2.on({ focus: c.proxy(this.showTooltip, this), blur: c.proxy(this.hideTooltip, this) })); (this.enabled = b.enabled && (void 0 === this.element.data("slider-enabled") || !0 === this.element.data("slider-enabled"))) ? this.enable(): this.disable(); this.naturalArrowKeys = this.element.data("slider-naturalarrowkeys") || b.naturalarrowkeys }; b.prototype = { constructor: b, over: !1, inDrag: !1, showTooltip: function() { !1 === this.tooltip_split ? this.tooltip.addClass("in") : (this.tooltip_min.addClass("in"), this.tooltip_max.addClass("in")); this.over = !0 }, hideTooltip: function() { !1 === this.inDrag && !0 !== this.alwaysShowTooltip && (this.tooltip.removeClass("in"), this.tooltip_min.removeClass("in"), this.tooltip_max.removeClass("in")); this.over = !1 }, layout: function() { var a; a = this.reversed ? [100 - this.percentage[0], this.percentage[1]] : [this.percentage[0], this.percentage[1]]; this.handle1Stype[this.stylePos] = a[0] + "%"; this.handle2Stype[this.stylePos] = a[1] + "%"; if ("vertical" === this.orientation) this.selectionElStyle.top = Math.min(a[0], a[1]) + "%", this.selectionElStyle.height = Math.abs(a[0] - a[1]) + "%"; else { this.selectionElStyle.left = Math.min(a[0], a[1]) + "%"; this.selectionElStyle.width = Math.abs(a[0] - a[1]) + "%"; var b = this.tooltip_min[0].getBoundingClientRect(), c = this.tooltip_max[0].getBoundingClientRect(); b.right > c.left ? (this.tooltip_max.removeClass("top"), this.tooltip_max.addClass("bottom")[0].style.top = "18px") : (this.tooltip_max.removeClass("bottom"), this.tooltip_max.addClass("top")[0].style.top = "-30px") } this.range ? (this.tooltipInner.text(this.formater(this.value[0]) + this.tooltip_separator + this.formater(this.value[1])), this.tooltip[0].style[this.stylePos] = this.size * (a[0] + (a[1] - a[0]) / 2) / 100 - ("vertical" === this.orientation ? this.tooltip.outerHeight() / 2 : this.tooltip.outerWidth() / 2) + "px", this.tooltipInner_min.text(this.formater(this.value[0])), this.tooltipInner_max.text(this.formater(this.value[1])), this.tooltip_min[0].style[this.stylePos] = a[0] / 100 * this.size - ("vertical" === this.orientation ? this.tooltip_min.outerHeight() / 2 : this.tooltip_min.outerWidth() / 2) + "px", this.tooltip_max[0].style[this.stylePos] = a[1] / 100 * this.size - ("vertical" === this.orientation ? this.tooltip_max.outerHeight() / 2 : this.tooltip_max.outerWidth() / 2) + "px") : (this.tooltipInner.text(this.formater(this.value[0])), this.tooltip[0].style[this.stylePos] = this.size * a[0] / 100 - ("vertical" === this.orientation ? this.tooltip.outerHeight() / 2 : this.tooltip.outerWidth() / 2) + "px") }, mousedown: function(a) { if (!this.isEnabled()) return !1; this.touchCapable && "touchstart" === a.type && (a = a.originalEvent); this.triggerFocusOnHandle(); this.offset = this.picker.offset(); this.size = this.picker[0][this.sizePos]; a = this.getPercentage(a); if (this.range) { var b = Math.abs(this.percentage[0] - a), d = Math.abs(this.percentage[1] - a); this.dragged = b < d ? 0 : 1 } else this.dragged = 0; this.percentage[this.dragged] = this.reversed ? 100 - a : a; this.layout(); if (this.touchCapable) c(document).on({ touchmove: c.proxy(this.mousemove, this), touchend: c.proxy(this.mouseup, this) }); c(document).on({ mousemove: c.proxy(this.mousemove, this), mouseup: c.proxy(this.mouseup, this) }); this.inDrag = !0; a = this.calculateValue(); this.element.trigger({ type: "slideStart", value: a }).data("value", a).prop("value", a); this.setValue(a); return !0 }, triggerFocusOnHandle: function(a) { 0 === a && this.handle1.focus(); 1 === a && this.handle2.focus() }, keydown: function(a, b) { if (!this.isEnabled()) return !1; var c; switch (b.which) { case 37: case 40: c = -1; break; case 39: case 38: c = 1 } if (c) return this.naturalArrowKeys && ("vertical" === this.orientation && !this.reversed || "horizontal" === this.orientation && this.reversed) && (c *= -1), c = this.percentage[a] + c * this.percentage[2], 100 < c ? c = 100 : 0 > c && (c = 0), this.dragged = a, this.adjustPercentageForRangeSliders(c), this.percentage[this.dragged] = c, this.layout(), c = this.calculateValue(), this.element.trigger({ type: "slideStart", value: c }).data("value", c).prop("value", c), this.slide(c), this.element.trigger({ type: "slideStop", value: c }).data("value", c).prop("value", c), !1 }, mousemove: function(a) { if (!this.isEnabled()) return !1; this.touchCapable && "touchmove" === a.type && (a = a.originalEvent); a = this.getPercentage(a); this.adjustPercentageForRangeSliders(a); this.percentage[this.dragged] = this.reversed ? 100 - a : a; this.layout(); a = this.calculateValue(); this.slide(a); return !1 }, slide: function(a) { this.setValue(a); this.element.trigger({ type: "slide", value: this.range ? this.value : this.value[0] }).data("value", this.value).prop("value", this.value) }, adjustPercentageForRangeSliders: function(a) { this.range && (0 === this.dragged && this.percentage[1] < a ? (this.percentage[0] = this.percentage[1], this.dragged = 1) : 1 === this.dragged && this.percentage[0] > a && (this.percentage[1] = this.percentage[0], this.dragged = 0)) }, mouseup: function() { if (!this.isEnabled()) return !1; this.touchCapable && c(document).off({ touchmove: this.mousemove, touchend: this.mouseup }); c(document).off({ mousemove: this.mousemove, mouseup: this.mouseup }); this.inDrag = !1; !1 === this.over && this.hideTooltip(); var a = this.calculateValue(); this.layout(); this.element.data("value", a).prop("value", a).trigger({ type: "slideStop", value: a }); return !1 }, calculateValue: function() { var a; this.range ? (a = [this.min, this.max], 0 !== this.percentage[0] && (a[0] = Math.max(this.min, this.min + Math.round(this.diff * this.percentage[0] / 100 / this.step) * this.step), a[0] = this.applyPrecision(a[0])), 100 !== this.percentage[1] && (a[1] = Math.min(this.max, this.min + Math.round(this.diff * this.percentage[1] / 100 / this.step) * this.step), a[1] = this.applyPrecision(a[1])), this.value = a) : (a = this.min + Math.round(this.diff * this.percentage[0] / 100 / this.step) * this.step, a < this.min ? a = this.min : a > this.max && (a = this.max), a = parseFloat(a), a = this.applyPrecision(a), this.value = [a, this.value[1]]); return a }, applyPrecision: function(a) { var b = this.precision || this.getNumDigitsAfterDecimalPlace(this.step); return this.applyToFixedAndParseFloat(a, b) }, getNumDigitsAfterDecimalPlace: function(a) { return (a = ("" + a).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/)) ? Math.max(0, (a[1] ? a[1].length : 0) - (a[2] ? +a[2] : 0)) : 0 }, applyToFixedAndParseFloat: function(a, b) { var c = a.toFixed(b); return parseFloat(c) }, getPercentage: function(a) { !this.touchCapable || "touchstart" !== a.type && "touchmove" !== a.type || (a = a.touches[0]); a = 100 * (a[this.mousePos] - this.offset[this.stylePos]) / this.size; a = Math.round(a / this.percentage[2]) * this.percentage[2]; return Math.max(0, Math.min(100, a)) }, getValue: function() { return this.range ? this.value : this.value[0] }, setValue: function(a) { a || (a = 0); this.value = this.validateInputValue(a); this.range ? (this.value[0] = this.applyPrecision(this.value[0]), this.value[1] = this.applyPrecision(this.value[1]), this.value[0] = Math.max(this.min, Math.min(this.max, this.value[0])), this.value[1] = Math.max(this.min, Math.min(this.max, this.value[1]))) : (this.value = this.applyPrecision(this.value), this.value = [Math.max(this.min, Math.min(this.max, this.value))], this.handle2.addClass("hide"), this.value[1] = "after" === this.selection ? this.max : this.min); this.diff = this.max - this.min; this.percentage = 0 < this.diff ? [100 * (this.value[0] - this.min) / this.diff, 100 * (this.value[1] - this.min) / this.diff, 100 * this.step / this.diff] : [0, 0, 100]; this.layout() }, validateInputValue: function(a) { if ("number" === typeof a) return a; if (a instanceof Array) return c.each(a, function(a, b) { if ("number" !== typeof b) throw Error(e.formatInvalidInputErrorMsg(b)); }), a; throw Error(e.formatInvalidInputErrorMsg(a)); }, destroy: function() { this.handle1.off(); this.handle2.off(); this.element.off().show().insertBefore(this.picker); this.picker.off().remove(); c(this.element).removeData("slider") }, disable: function() { this.enabled = !1; this.handle1.removeAttr("tabindex"); this.handle2.removeAttr("tabindex"); this.picker.addClass("slider-disabled"); this.element.trigger("slideDisabled") }, enable: function() { this.enabled = !0; this.handle1.attr("tabindex", 0); this.handle2.attr("tabindex", 0); this.picker.removeClass("slider-disabled"); this.element.trigger("slideEnabled") }, toggle: function() { this.enabled ? this.disable() : this.enable() }, isEnabled: function() { return this.enabled }, setAttribute: function(a, b) { this[a] = b }, getAttribute: function(a) { return this[a] } }; var d = { getValue: b.prototype.getValue, setValue: b.prototype.setValue, setAttribute: b.prototype.setAttribute, getAttribute: b.prototype.getAttribute, destroy: b.prototype.destroy, disable: b.prototype.disable, enable: b.prototype.enable, toggle: b.prototype.toggle, isEnabled: b.prototype.isEnabled }; c.fn.slider = function(a) { if ("string" === typeof a && "refresh" !== a) { var f = Array.prototype.slice.call(arguments, 1), k; k = a; if (d[k]) { var n = c(this).data("slider"); if (!(n && n instanceof b)) throw Error(e.callingContextNotSliderInstance); k = d[k].apply(n, f); k = "undefined" === typeof k ? c(this) : k } else throw Error("method '" + k + "()' does not exist for slider."); return k } return g.call(this, a) }; c.fn.slider.defaults = { min: 0, max: 10, step: 1, precision: 0, orientation: "horizontal", value: 5, range: !1, selection: "before", tooltip: "show", tooltip_separator: ":", tooltip_split: !1, handle: "round", reversed: !1, enabled: !0, formater: function(a) { return a } }; c.fn.slider.Constructor = b })(window.jQuery); var wcwidth = function(c) { var g = [ [768, 879], [1155, 1158], [1160, 1161], [1425, 1469], [1471, 1471], [1473, 1474], [1476, 1477], [1479, 1479], [1536, 1539], [1552, 1557], [1611, 1630], [1648, 1648], [1750, 1764], [1767, 1768], [1770, 1773], [1807, 1807], [1809, 1809], [1840, 1866], [1958, 1968], [2027, 2035], [2305, 2306], [2364, 2364], [2369, 2376], [2381, 2381], [2385, 2388], [2402, 2403], [2433, 2433], [2492, 2492], [2497, 2500], [2509, 2509], [2530, 2531], [2561, 2562], [2620, 2620], [2625, 2626], [2631, 2632], [2635, 2637], [2672, 2673], [2689, 2690], [2748, 2748], [2753, 2757 ], [2759, 2760], [2765, 2765], [2786, 2787], [2817, 2817], [2876, 2876], [2879, 2879], [2881, 2883], [2893, 2893], [2902, 2902], [2946, 2946], [3008, 3008], [3021, 3021], [3134, 3136], [3142, 3144], [3146, 3149], [3157, 3158], [3260, 3260], [3263, 3263], [3270, 3270], [3276, 3277], [3298, 3299], [3393, 3395], [3405, 3405], [3530, 3530], [3538, 3540], [3542, 3542], [3633, 3633], [3636, 3642], [3655, 3662], [3761, 3761], [3764, 3769], [3771, 3772], [3784, 3789], [3864, 3865], [3893, 3893], [3895, 3895], [3897, 3897], [3953, 3966], [3968, 3972], [3974, 3975], [3984, 3991], [3993, 4028 ], [4038, 4038], [4141, 4144], [4146, 4146], [4150, 4151], [4153, 4153], [4184, 4185], [4448, 4607], [4959, 4959], [5906, 5908], [5938, 5940], [5970, 5971], [6002, 6003], [6068, 6069], [6071, 6077], [6086, 6086], [6089, 6099], [6109, 6109], [6155, 6157], [6313, 6313], [6432, 6434], [6439, 6440], [6450, 6450], [6457, 6459], [6679, 6680], [6912, 6915], [6964, 6964], [6966, 6970], [6972, 6972], [6978, 6978], [7019, 7027], [7616, 7626], [7678, 7679], [8203, 8207], [8234, 8238], [8288, 8291], [8298, 8303], [8400, 8431], [12330, 12335], [12441, 12442], [43014, 43014], [43019, 43019], [43045, 43046], [64286, 64286], [65024, 65039], [65056, 65059], [65279, 65279], [65529, 65531], [68097, 68099], [68101, 68102], [68108, 68111], [68152, 68154], [68159, 68159], [119143, 119145], [119155, 119170], [119173, 119179], [119210, 119213], [119362, 119364], [917505, 917505], [917536, 917631], [917760, 917999] ]; jQuery.extend(c, { nul: 0, control: -1, monkeypatch: !0 }); var e = function(b) { if (0 === b) return c.nul; if (32 > b || 127 <= b && 160 > b) return c.control; var d; a: { d = 0; var a = g.length - 1, e; if (!(b < g[0][0] || b > g[a][1])) for (; a >= d;) if (e = Math.floor((d + a) / 2), b > g[e][1]) d = e + 1; else if (b < g[e][0]) a = e - 1; else { d = !0; break a } d = !1 } return d ? 0 : 1 + (4352 <= b && (4447 >= b || 9001 == b || 9002 == b || 11904 <= b && 42191 >= b && 12351 != b || 44032 <= b && 55203 >= b || 63744 <= b && 64255 >= b || 65040 <= b && 65049 >= b || 65072 <= b && 65135 >= b || 65280 <= b && 65376 >= b || 65504 <= b && 65510 >= b || 131072 <= b && 196605 >= b || 196608 <= b && 262141 >= b)) }; return function(b) { var c, a, f, g = 0; if ("string" == typeof b || b instanceof String) for (c = 0, a = b.length; c < a; c++) { if (0 > (f = e(b.charCodeAt(c)))) return -1; g += f } else g = e(b); return g } }(); Array.max = function(c) { return Math.max.apply(Math, c) }; Array.prototype.map || (Array.prototype.map = function(c) { if (void 0 === this || null === this) throw new TypeError; var g = Object(this), e = g.length >>> 0; if ("function" !== typeof c) throw new TypeError; for (var b = Array(e), d = 2 <= arguments.length ? arguments[1] : void 0, a = 0; a < e; a++) a in g && (b[a] = c.call(d, g[a], a, g)); return b }); Array.prototype.indexOf || (Array.prototype.indexOf = function(c, g) { if (void 0 === this || null === this) throw new TypeError('"this" is null or not defined'); var e = this.length >>> 0; g = +g || 0; Infinity === Math.abs(g) && (g = 0); 0 > g && (g += e, 0 > g && (g = 0)); for (; g < e; g++) if (this[g] === c) return g; return -1 }); Array.prototype.diff = function(c) { return this.filter(function(g) { return 0 > c.indexOf(g) }) }; var htmlEncode = function() { function c(c) { return g[c] || c } var g = { "&": "&", "<": "<", ">": ">" }; return function(e) { return e.replace(/[&<>]/g, c) } }(), htmlDecode = function() { var c = $("
"); return function(g) { return g ? c.html(g).text() : "" } }(); function textToHTML(c) { return c.split("\n").map(htmlEncode).join("
") } var Utils = Utils || {}; (function() { function c(b, c) { for (var a = [], e = 0; e < c; ++e) a.push(b); return a } function g(b, c) { var a = "", e = !0; c = c || ""; for (var g = 0; g < b.length; ++g) e ? e = !1 : a += c, a += b[g]; return a } function e(b) { if (void 0 == b) return ""; var c = [], a; for (a in b) if (b.hasOwnProperty(a)) { var e = b[a]; void 0 != e ? c.push(a.toString() + '="' + e.toString() + '"') : c.push(a.toString()) } return 0 < c.length ? " " + c.join(" ") : "" } window.console || (window.console = {}); window.console.log || (window.console.log = function() {}); Utils.range = function(b, c, a) { var e = []; b = parseInt(b); if (!isNaN(b)) if (void 0 == c && (c = b, b = 0), void 0 == a && (a = 1), 0 < a) for (; b < c; b += a) e.push(b); else if (0 > a) for (; b > c; b += a) e.push(b); return e }; Utils.repeat = c; Utils.join = g; Utils.ljust = function(b, d) { var a = Math.max(0, d - b.length); return b + g(c(" ", a)) }; Utils.freq_call_filter = function(b, c) { var a = (new Date).getTime(); return function() { var e = (new Date).getTime(), g = e - a; a = e; g > c && b.apply(null, arguments) } }; Utils.select_text = function(b) { var c = document; b = c.getElementById(b); var a; c.body.createTextRange ? (c = c.body.createTextRange(), c.moveToElementText(b), c.select()) : window.getSelection && (a = window.getSelection(), c = c.createRange(), c.selectNodeContents(b), a.removeAllRanges(), a.addRange(c)) }; Utils.format_attr = e; Utils.format_tag = function(b, c, a) { return "<" + b + e(a) + ">" + c + "" } })(); (function(c) { c.fn.jqPaste = function(c, e) { var b = this; b.on("paste", function() { if (!e || 0 != e()) { var d = b.html(); b.hide(); window.setTimeout(function() { var a = b.html(); b.html(d); b.show(); c && c(a) }, 5) } }) } })(jQuery); var PasteHelper = function() { function c(e) { e = e || 1; b = window.setTimeout(function() { if (a.is(":empty")) 16 > e && c(2 * e); else { var k = a.html(); a.html("").hide(); b = null; window.scrollTo(d.left, d.top); g && (g(k), g = null) } }, e) } var g = null, e = !1, b = null, d = null, a = $("
", { contenteditable: !0 }); a.css({ position: "absolute", left: "0px", top: "0px", width: "1px", height: "1x", overflow: "hidden", "user-select": "text" }); a.on("paste", function() { c(3) }); return { start: function(c, k) { g = c; e || (a.appendTo($("body")), e = !0); d = { left: window.scrollX, top: window.scrollY }; a.css({ left: window.scrollX + "px", top: window.scrollY + "px" }); null != b && window.clearTimeout(b); a.show(); a.focus() } } }(); var TableImport = TableImport || {}; (function() { function c(c) { var b = []; $(c).find("tr").each(function(c, a) { var e = []; $(a).find("td,th").each(function(a, b) { e.push(b.textContent) }); b.push(e) }); return b } function g(c) { var b = []; c = c.trim(); if (/<\w+[^>]*>/gi.test(c)) try { c = $(c).text() } catch (d) { c = c.replace(/(<([^>]+)>)/ig, "") } 0 < c.length && (b = c.trim().split(/\s{2,}\t*|\t\s*/)); return b } TableImport.extractTableFromString = function(e) { e = e.trim(); if (-1 != e.search(/" + e + ""); var b = []; 0 < e.find("div").length ? e.find("div").each(function(a, c) { b.push($(c).text()) }) : (e = e.html(), e = e.replace(//ig, "\n"), e = e.replace(/ /g, " "), b = e.split(/\n/g)); var d = []; b.forEach(function(a) { a = g(a); 0 < a.length && d.push(a) }); return d } return null }; TableImport.extractCellsFromString = g })(); var TableModel = function() { function c(c) { this.value_ = c || ""; this.rowspan_ = this.colspan_ = 1; $.observable(this) } function g() { this.rows = []; this.col_count = this.row_count = 0; $.observable(this) } c.prototype.value = function() { if (0 < arguments.length) { var c = this.value_; this.value_ = arguments[0]; this.trigger("value_change", this.value_, c); return c } return this.value_ }; c.prototype.colspan = function(c) { if (0 < arguments.length) { var b = this.colspan_; this.colspan_ = arguments[0]; this.trigger("colspan_change", this.colspan_, b); return b } return this.colspan_ }; c.prototype.rowspan = function(c) { if (0 < arguments.length) { var b = this.rowspan_; this.rowspan_ = arguments[0]; this.trigger("rowspan_change", this.rowspan_, b); return b } return this.rowspan_ }; c.create = function(e) { var b = new c; b.value(e); return b }; c.prototype.isVisible = function() { return 0 < this.colspan() && 0 < this.rowspan() }; c.prototype.dump = function() { return { value: this.value(), cspan: this.colspan(), rspan: this.rowspan() } }; c.prototype.load = function(c, b) { this.value(c.value); b.colspan || this.colspan(c.cspan); b.rowspan || this.rowspan(c.rspan) }; g.prototype.dump = function() { var c = []; this.rows.forEach(function(b, d) { var a = b.map(function(a) { return a.dump() }); c.push(a) }); return { rows: c } }; g.prototype.load = function(c, b) { if (!c || !c.rows) throw "Invalid data format: rows expexted"; var d = c.rows, a = d[0].length; this.resize(1, a); for (var f = 0; f < d.length; ++f) { this.row_count <= f && this.insertEmptyRow(); for (var g = d[f], n = this.rows[f], p = 0; p < a; ++p) n[p].load(g[p], b) } }; g.prototype.insertRow = function(e, b) { if (0 != this.col_count && e.length != this.col_count) throw Error("Invalid number of cells in cells_data"); void 0 == b && (b = this.row_count); if (b < this.row_count) for (var d = this.col_count - 1; 0 <= d; --d) this.splitCell(b, d); for (var a = [], d = 0, f = e.length; d < f; ++d) a.push(new c(e[d])); this.rows.splice(b, 0, a); this.row_count += 1; this.col_count = a.length; this.trigger("row_inserted", b, a); this.trigger("state_change") }; g.prototype.insertColumn = function(e, b) { if (0 != this.row_count && e.length != this.row_count) throw Error("Invalid number of cells in inserted column"); void 0 == b && (b = this.col_count); if (b < this.col_count) for (var d = this.row_count - 1; 0 <= d; --d) this.splitCell(d, b); var a = []; this.rows.forEach(function(d, g) { var n = new c(e[g]); d.splice(b, 0, n); a.push(n) }); this.col_count += 1; this.row_count = e.length; this.trigger("column_inserted", b, a); this.trigger("state_change") }; g.prototype.insertEmptyColumn = function(c) { var b = this.rows.map(function() { return "" }); this.insertColumn(b, c) }; g.prototype.insertEmptyRow = function(c) { for (var b = [], d = 0, a = this.rows[0].length; d < a; ++d) b.push(""); this.insertRow(b, c) }; g.prototype.removeRow = function(c) { if (0 > c || c >= this.row_count) throw Error("Index out of bounds: " + c); if (1 != this.row_count) { for (var b = this.col_count - 1; 0 <= b; --b) this.splitCell(c, b); b = this.rows[c]; this.rows.splice(c, 1); this.row_count -= 1; this.trigger("row_removed", c, b); this.trigger("state_change") } }; g.prototype.removeColumn = function(c) { if (0 > c || c >= this.col_count) throw Error("Index out of bounds: " + c); if (1 != this.col_count) { for (var b = [], d = this.row_count - 1; 0 <= d; --d) { this.splitCell(d, c); var a = this.rows[d]; b.push(a[c]); a.splice(c, 1) } this.col_count -= 1; this.trigger("column_removed", c, b); this.trigger("state_change") } }; g.prototype.forEachCellInRow = function(c, b) { if (0 > c || c >= this.row_count) throw Error("Index out of bounds: " + c); this.rows[c].forEach(b) }; g.prototype.forEachCellInColumn = function(c, b) { if (0 > c || c >= this.col_count) throw Error("Index out of bounds: " + c); for (var d = 0; d < this.row_count; ++d) b(this.rows[d][c], d) }; g.prototype.forEachCellInRange = function(c, b, d, a, f) { for (; c <= d; ++c) for (var g = this.rows[c], n = b; n <= a; ++n) f(g[n], c, n) }; g.prototype.forEachCell = function(c) { this.forEachCellInRange(0, 0, this.row_count - 1, this.col_count - 1, c) }; g.prototype.getVisibleCellPos = function(c, b) { var d = this.getCell(c, b, !0); 0 > d.rowspan() && (c += d.rowspan()); 0 > d.colspan() && (b += d.colspan()); return { row: c, col: b } }; g.prototype.getColumn = function(c) { var b = []; this.forEachCellInColumn(c, function(c) { b.push(c) }); return b }; g.prototype.getCell = function(c, b, d) { if (0 > c || c >= this.row_count) throw Error("Row index out of bounds: " + c); if (0 > b || b >= this.col_count) throw Error("Index out of bounds: " + b); var a = this.rows[c][b]; a.isVisible() || d || (a = this.rows[c + Math.min(a.rowspan(), 0)][b + Math.min(a.colspan(), 0)]); return a }; g.prototype.mergeCells = function(c, b, d, a) { var f = a - b + 1, g = d - c + 1; if (!(1 >= f && 1 >= g)) { for (var n = c; n <= d; ++n) { for (var p = b; p <= a; ++p) this.splitCell(n, p); for (var m = this.rows[n], p = b; p <= a; ++p) { var q = m[p]; p == b ? q.colspan(f) : q.colspan(b - p); n == c ? q.rowspan(g) : q.rowspan(c - n) } } this.trigger("state_change") } }; g.prototype.splitCell = function(c, b) { var d = this.rows[c][b], a = d.colspan(), f = d.rowspan(); if (0 > a || 0 > f) 0 > a && (b += a), 0 > f && (c += f), this.splitCell(c, b); else if (1 < a || 1 < f) for (var g = c; g < c + f; ++g) for (var n = b; n < b + a; ++n) d = this.rows[g][n], d.colspan(1), d.rowspan(1); this.trigger("state_change") }; g.prototype.resize = function(c, b) { void 0 == c && (c = this.row_count); void 0 == b && (b = this.col_count); if (0 >= b || 0 >= c) throw Error("Illegal arguments - row_count: " + c + " col_count: " + b); var d = { row_count: this.row_count, col_count: this.col_count }, a = { row_count: c, col_count: b }; this.trigger("before_resize", d, a); var f = b - this.col_count; if (0 < f) for (var g = 0; g < f; ++g) this.insertEmptyColumn(); else if (0 > f) for (g = 0; g < -f; ++g) this.removeColumn(this.col_count - 1); f = c - this.row_count; if (0 < f) for (g = 0; g < f; ++g) this.insertEmptyRow(); else if (0 > f) for (g = 0; g < -f; ++g) this.removeRow(this.row_count - 1); this.trigger("after_resize", d, a) }; g.prototype.toString = function() { return this.rows.map(function(c) { return c.map(function(b) { return b.value() }).join(", ") }).join("\n") }; g.prototype.clear = function() { this.rows.forEach(function(c) { c.forEach(function(b) { b.value("") }) }); this.trigger("state_change") }; g.prototype.reset = function() { for (var c = 0; c < this.row_count; ++c) for (var b = 0; b < this.col_count; ++b) this.splitCell(c, b); this.clear() }; g.prototype.setRows = function(c) { var b = 0; c.forEach(function(a) { b = Math.max(b, a.length) }); this.resize(1, b); var d = this; c.forEach(function(a) { d.insertRow(a) }); this.removeRow(0) }; return g }(); var CellStyle = function() { function c(g) { this.cell_dom = g; this.borders = ""; this.font_style = {}; this.bg_color = this.text_color = ""; this.padding = $.extend({}, c.Padding); c.Padding && this.cell_dom.find(".wrap > div").css("margin", c.Padding.top + "px " + c.Padding.right + "px"); $.observable(this) } c.FontFamilies = { "ff-arial-black": '"Arial Black", Gadget, sans-serif !important;', "ff-arial": "Arial, Helvetica, sans-serif !important;", "ff-comic-sans-ms": '"Comic Sans MS", cursive, sans-serif !important;', "ff-courier-new": '"Courier New", Courier, monospace !important;', "ff-georgia": "Georgia, serif !important;", "ff-impact": "Impact, Charcoal, sans-serif !important;", "ff-lucida-console": '"Lucida Console", Monaco, monospace !important;', "ff-lucida-sans": '"Lucida Sans Unicode", "Lucida Grande", sans-serif !important;', "ff-palatino-linotype": '"Palatino Linotype", "Book Antiqua", Palatino, serif !important;', "ff-serif": "serif !important;", "ff-tahoma": "Tahoma, Geneva, sans-serif !important;", "ff-times-new-roman": '"Times New Roman", Times, serif !important;', "ff-trebuchet-ms": '"Trebuchet MS", Helvetica, sans-serif !important;', "ff-verdana": "Verdana, Geneva, sans-serif !important;" }; c.Padding = { top: 10, bottom: 10, left: 5, right: 5 }; c.prototype.dump = function() { return { borders: this.borders, font_style: $.extend({}, this.font_style), text_color: this.text_color, bg_color: this.bg_color, halign: this.getHorizontalAlign(), padding: $.extend({}, this.getPadding()) } }; c.prototype.toCSS = function() { var c = {}; $.extend(c, this.fontStyleToCSS()); $.extend(c, this.colorsToCSS()); $.extend(c, this.textAlignToCSS()); return c }; c.prototype.load = function(c, e) { void 0 == c.borders || e.borders || this.setBorders(c.borders); var b = c.font_style; if (void 0 != b && !e.font_style) { for (var d in this.font_style) this.font_style.hasOwnProperty(d) && this.removeFontStyle(d); for (d in b) b.hasOwnProperty(d) && this.addFontStyle(d, b[d]) } void 0 == c.text_color || e.text_color || this.setTextColor(c.text_color); void 0 == c.bg_color || e.bg_color || this.setBgColor(c.bg_color); void 0 != c.halign && this.setHorizontalAlign(c.halign); b = c.padding; void 0 != b && b.hasOwnProperty("top") && b.hasOwnProperty("right") && this.setPadding(b.top, b.right) }; c.prototype.setHorizontalAlign = function(c) { this.cell_dom.css("text-align", c); this.trigger("state_change") }; c.HorizontalAlignValues = ["left", "center", "right"]; c.prototype.getHorizontalAlign = function() { var g = this.cell_dom.css("text-align"), g = Math.max(0, c.HorizontalAlignValues.indexOf(g)); return c.HorizontalAlignValues[g] }; c.prototype.textAlignToCSS = function() { var c = {}, e = this.getHorizontalAlign(); "left" != e && (c["text-align"] = e); return c }; c.prototype.hasTextColor = function() { return this.text_color && "transparent" != this.text_color }; c.prototype.setTextColor = function(c) { "transparent" == c && (c = ""); this.text_color = c; this.cell_dom.css("color", c); this.trigger("state_change") }; c.prototype.getTextColor = function() { return this.text_color }; c.prototype.setPadding = function(g, e, b, d) { void 0 == e && (e = g); void 0 == b && (b = g); void 0 == d && (d = e); this.padding = { top: g, right: e, bottom: b, left: d }; b = c.Padding; JSON.stringify(this.padding) !== JSON.stringify(b) && (c.Padding = this.padding, this.cell_dom.parents("table").find(".wrap > div").css("margin", g + "px " + e + "px"), this.trigger("state_change"), this.trigger("padding_change", this.padding)) }; c.prototype.clearPadding = function() { this.setPadding(10, 5, 10, 5) }; c.prototype.getPadding = function() { return this.padding }; c.prototype.clearTextColor = function() { this.cell_dom.css("color", ""); this.text_color = ""; this.trigger("state_change") }; c.prototype.setBgColor = function(c) { "transparent" == c && (c = ""); this.bg_color = c; this.cell_dom.css("background-color", c); this.trigger("state_change") }; c.prototype.getBgColor = function() { return this.bg_color }; c.prototype.hasBgColor = function() { return this.bg_color && "transparent" != this.bg_color }; c.prototype.clearBgColor = function() { this.cell_dom.css("background-color", ""); this.bg_color = ""; this.trigger("state_change") }; c.prototype.colorsToCSS = function() { var c = {}; this.bg_color && "transparent" != this.bg_color && (c["background-color"] = this.bg_color); this.text_color && "transparent" != this.text_color && (c.color = this.text_color); return c }; c.prototype.setBorders = function(c) { if (!(0 < c.length) || c.match(/^[ltrb]+$/)) { var e = { l: "border_l", t: "border_t", r: "border_r", b: "border_b" }, b = this; b.borders.split("").forEach(function(c) { b.cell_dom.removeClass(e[c]) }); b.borders = c; b.borders.split("").forEach(function(c) { b.cell_dom.addClass(e[c]) }); this.trigger("state_change") } }; c.prototype.addBorder = function(c) { c = c[0]; - 1 == this.borders.indexOf(c) && (this.borders += c, this.cell_dom.addClass("border_" + c)); this.trigger("state_change") }; c.prototype.removeBorder = function(c) { c = c[0]; - 1 != this.borders.indexOf(c) && (this.borders = this.borders.replace(c, ""), this.cell_dom.removeClass("border_" + c)); this.trigger("state_change") }; c.prototype.hasBorder = function(c) { return -1 != this.borders.indexOf(c[0]) }; c.prototype.toggleBorder = function(c) { 0 < c.length && !c.match(/^[ltrb]+$/) || (-1 != this.borders.indexOf(c) ? this.setBorders(this.borders.replace(c, "")) : this.setBorders(this.borders + c)) }; c.prototype.reset = function() { this.setHorizontalAlign("left"); this.setBorders(""); for (var c in this.font_style) this.removeFontStyle(c); this.clearTextColor(); this.clearBgColor(); this.clearPadding() }; c.prototype.addFontStyle = function(c, e) { "bold" == c ? this.cell_dom.css("font-weight", "bold") : "italic" == c && this.cell_dom.css("font-style", "italic"); if ("font-family" == c) { var b = this.font_style["font-family"]; b && this.cell_dom.removeClass(b); this.cell_dom.addClass(e) } else "font-size" == c && ("inherit" == e ? this.cell_dom.css("font-size", "100%") : this.cell_dom.css("font-size", e)); this.font_style[c] = e || !0; this.trigger("state_change") }; c.prototype.fontStyleToCSS = function() { var g = {}, e = this.font_style; e.hasOwnProperty("bold") && (g["font-weight"] = "bold"); e.hasOwnProperty("italic") && (g["font-style"] = "italic"); e.hasOwnProperty("font-size") && (g["font-size"] = "inherit" == e["font-size"] ? "100%" : e["font-size"]); e.hasOwnProperty("font-family") && (g["font-family"] = c.FontFamilies[e["font-family"]]); return g }; c.prototype.hasFontStyle = function(c) { return this.font_style.hasOwnProperty(c) }; c.prototype.removeFontStyle = function(c) { this.hasFontStyle(c) && (delete this.font_style[c], "bold" == c ? this.cell_dom.css("font-weight", "normal") : "italic" == c && this.cell_dom.css("font-style", "normal")); this.trigger("state_change") }; c.prototype.toggleFontStyle = function(c) { this.hasFontStyle(c) ? this.removeFontStyle(c) : this.addFontStyle(c) }; return c }(); (function(c, g, e, b) { c.fn.borderEvents = function(b) { return this.each(function(a, e) { function g(a) { if (!b.deactivated && b.onBorderOver) { var c = m.outerWidth(), e = m.outerHeight(), f = m.offset(), k = a.pageX - f.left, f = a.pageY - f.top, n = null; 5 > k ? n = "left" : k > c - 5 ? n = "right" : 5 > f ? n = "top" : f > e - 5 && (n = "bottom"); if (b.onBorderLeave && q && n != q) b.onBorderLeave(a, q, m); if (n) b.onBorderOver(a, n, m); q = n } } function n(a) { if (b.onBorderLeave && q) b.onBorderLeave(a, q, m); q = null } function p(a) { if (!b.deactivated && q && b.onBorderClick) b.onBorderClick(a, q, m) } var m = c(e), q = null; 1 != m.data("borderEvents") && (m.mousemove(g).mouseleave(n).click(p), m.data("borderEvents", !0)) }) } })(jQuery); var TableView = function() { function c() { var a = window.navigator.userAgent, b = a.indexOf("MSIE "); return 0 < b || navigator.userAgent.match(/Trident.*rv\:11\./) ? -1 != a.indexOf(".", b) ? parseInt(a.substring(b + 5, a.indexOf(".", b))) : 1 : null } function g(a) { var b = this; b.cell = a; b.edit_in_progress = !1; b.ignore_model_change = !1; b.event_handlers_initialized = !1; var c = document.createElement("DIV"); c.innerHTML = textToHTML(a.value()); b.entry = $(c); c = $("
", { "class": "wrap" }); b.entry.appendTo(c); b.dom = $(document.createElement("TD")); c.appendTo(b.dom); $.observable(this); b.entry.on("paste", function(a) { b.onPasteContent(a) }); a.on("value_change", function(a) { b.ignore_model_change || b.entry.html(textToHTML(a)); b.trigger("state_change") }); a.on("colspan_change", function(a) { 0 < a && b.dom.attr("colspan", a); b.show() }); a.on("rowspan_change", function(a) { 0 < a && b.dom.attr("rowspan", a); b.show() }); b.style = new CellStyle(this.dom); b.style.on("state_change", function() { b.trigger("state_change") }) } function e() { if (window.getSelection) { var a = window.getSelection(); 0 < a.rangeCount && a.getRangeAt(0).collapse(!0) } } function b(a, b) { this.type = a; this.dom = $("
"); a.append(B("corner")); s.aux_row = a; for (var b = 1; b <= s.model.col_count; ++b) B("column"); s.dom.append(a) } function B(a, c) { var d = null; if ("row" == a) void 0 == c && (c = s.model.row_count), s.aux_cells.forEach(function(a) { a.onInsertRow(c) }), d = new b(a, c), d.dom.mousedown(function(a) { if (!d.dom.hasClass("aux-cell-selected") || 1 == a.which) { var b = R(d.dom).row; y(b, 0, b, s.model.col_count - 1, a.ctrlKey) } }), s.aux_col_cells.splice(c, 0, d); else if ("column" == a) { if (null == s.aux_row) return; void 0 == c && (c = s.aux_row.find("td").length - 1); s.aux_cells.forEach(function(a) { a.onInsertColumn(c) }); d = new b(a, c); d.dom.mousedown(function(a) { if (!d.dom.hasClass("aux-cell-selected") || 1 == a.which) { var b = R(d.dom).col; y(0, b, s.model.row_count - 1, b, a.ctrlKey) } }); s.aux_row.find("td").eq(c).after(d.dom); s.aux_row_cells.splice(c, 0, d); if (s.column_resize_enabled) d.draggable.on("drag_start", function(a, b) { var c = d; s.enableFixedLayout(!0); var e = c.dom.offset(); s.aux_row_cells.indexOf(c); var f = c.size_handle.width(); s.drag_start_pos = b; c.draggable.setBounds({ left: e.left + 20 - f + 1, right: e.left + 1E3 }); null == s.size_indicator && (s.size_indicator = $("
").addClass("size-tip").appendTo($("body"))); c.size_handle.addClass("size-indicator").css({ height: s.dom.height() }) }).on("drag_end", function(a) { a = d; if (void 0 !== s.drag_start_pos) { var b = a.size_handle.offset().left - s.drag_start_pos.left, c = s.aux_row_cells.indexOf(a), e = s.getColumnWidths(!0)[c + 1], b = Math.max(1, e + b); s.setSingleColumnWidth(c, b); a.size_handle.css({ position: "relative", top: 0, height: 20, left: 0 }).removeClass("size-indicator"); s.size_indicator.hide() } }).on("drag_move", function(a, b) { var c = d, c = c.size_handle.offset().left - s.drag_start_pos.left + c.dom.width(); s.size_indicator.text(c + "px").offset({ left: b.left - s.size_indicator.width() / 2, top: b.top - s.size_indicator.height() - 5 }).show() }) } else "corner" == a && (d = new b(a), d.dom.mousedown(function() { y(0, 0, s.model.row_count - 1, s.model.col_count - 1) })); var e = $("
"); s.hasFixedLayout() && (e.width(20), s.dom.width(s.dom.width() + 20)); "corner" == a ? s.colgroup.append(e) : "column" == a && s.colgroup.find("col").eq(c).after(e); return null != d ? (s.aux_cells.push(d), d.dom) : null } function v(a, b) { var c = null; s.aux_cells.forEach(function(d) { d.type == a && d.index == b && (c = d) }); "row" == a ? (s.aux_cells.forEach(function(a) { a.onRemoveRow(b) }), s.aux_col_cells.splice(b, 1)) : "column" == a && (s.aux_cells.forEach(function(a) { a.onRemoveColumn(b) }), s.aux_row.find("td").eq(b + 1).remove(), s.aux_row_cells.splice(b, 1)); if (null != c) { var d = 0, e = s.dom.width(); "column" == a ? (d = s.colgroup.find("col").eq(b + 1).width(), s.colgroup.find("col").eq(b + 1).remove()) : "corner" == a && (d = s.colgroup.find("col").eq(0).width(), s.colgroup.find("col").eq(0).remove()); var f = s.aux_cells.indexOf(c); - 1 != f && s.aux_cells.splice(f, 1); s.hasFixedLayout() && s.dom.css("width", e - d - 1) } } function C(a, b) { null == s.aux_row && x(); var c = $(""), d = B("row", a); c.append(d); b.forEach(function(a) { var b = m(a); c.append(b.dom); a.view = b }); s.dom.find("tr").eq(a).after(c); s.selection_bounds = null } function K(a, b, c) { a.view && a.view.select() && (a.view.areEventHandlersInitialized() || a.view.initEventHandlers(), s.selection_bounds = null, s.aux_col_cells[b].dom.addClass("aux-cell-selected"), s.aux_row_cells[c].dom.addClass("aux-cell-selected"), s.trigger("cell_selected", a, b, c)) } function A(a, b, c) { a.view.is_selected ? E(a, b, c) : K(a, b, c) } function y(a, b, d, f, g) { if (void 0 == d || d < a) d = a; if (void 0 == f || f < b) f = b; var k = K; g ? k = A : N(); s.model.forEachCellInRange(a, b, d, f, k); a = window.scrollX; b = window.scrollY; s.dom.focus(); e(); null === c() && window.scrollTo(a, b) } function E(a, b, c) { if (a.view.unselect()) { s.selection_bounds = null; var d = !1, e = !1; Z(function(a, f, g) { f == b && (d = !0); g == c && (e = !0) }); !d && b < s.aux_col_cells.length && s.aux_col_cells[b].dom.removeClass("aux-cell-selected"); !e && c < s.aux_row_cells.length && s.aux_row_cells[c].dom.removeClass("aux-cell-selected"); s.trigger("cell_unselected", a, b, c) } } function N() { var a = I(); a && (s.model.forEachCellInRange(a.top, a.left, a.bottom, a.right, E), s.selected_cells = {}) } function I() { if (null != s.selection_bounds) return s.selection_bounds; var a = s.model.col_count, b = -1, c = s.model.row_count, d = -1; s.model.forEachCell(function(e, f, g) { 1 == e.view.is_selected && (g < a && (a = g), g > b && (b = g), f < c && (c = f), f > d && (d = f)) }); return a <= b && c <= d ? (s.selection_bounds = { left: a, right: b, top: c, bottom: d }, s.selection_bounds) : null } function Z(a, b) { s.model.forEachCell(function(c, d, e) { if (1 == c.view.is_selected) if (b) for (var f = d; f < d + c.rowspan(); ++f) for (var g = e; g < e + c.colspan(); ++g) a(s.model.getCell(f, g, !0), f, g); else a(c, d, e) }) } function G() { var a = I(); return a && a.left == a.right && a.top == a.bottom } function P() { var a = I(), b = null; a && s.model.forEachCellInRange(a.top, a.left, a.bottom, a.right, function(a) { b = a }); return b } function U() { var a = P(); return null == a ? null : a.view } function Ba(a, b) { if (G()) { var c = I(), d = c.left + b, c = c.top + a; 0 > d ? (d = s.model.col_count - 1, c -= 1) : d == s.model.col_count && (d = 0, c += 1); 0 > c ? c = s.model.row_count - 1 : c >= s.model.row_count && (c = 0); N(); K(s.model.getCell(c, d), c, d) } } function R(a) { for (a = $(a); void 0 != a && a.get(0) && "td" != a.get(0).nodeName.toLowerCase();) a = a.parent(); return { col: a.index() - 1, row: $(a.parent()).index() - 1 } } function la() { if (G()) { s.forEachSelectedCellView(function(a) { a.endEditing() }); var a = I(); a.left < s.model.col_count - 1 ? Ba(0, 1) : a.bottom < s.model.row_count - 1 ? Ba(1, -s.model.col_count + 1) : (N(), K(0, 0)); s.forEachSelectedCellView(function(a) { a.startEditing() }) } } function Ha(a) { a = TableImport.extractTableFromString(a); var b = I(); if (a) { if (0 == b.left && 0 == b.top && b.left == b.right && b.top == b.bottom) { var c = 0; a.forEach(function(a) { c = Math.max(c, a.length) }); (a.length > s.model.row_count || c > s.model.col_count) && s.model.resize(Math.max(s.model.row_count, a.length), Math.max(s.model.col_count, c)) } for (var d = 0; d < a.length; ++d) for (var e = a[d], f = 0; f < e.length; ++f) if (d + b.top < s.model.row_count && f + b.left < s.model.col_count) { var g = s.model.getCell(d + b.top, f + b.left, !0); g.isVisible() && g.value(e[f]) } } } function J(a, b) { a = $(a); return a.prop("tagName") == b ? a : a.parents(b) } function ja(a) { s.left_pressed = 1 == a.which; var b = J(a.target, "TD"); if (b && !b.hasClass("aux-cell") && !s.isBorderEditEnabled() && 1 == a.which) { var b = R(a.target), c = I(); G() && c.left == b.col && c.top == b.row || (y(b.row, b.col, b.row, b.col, a.ctrlKey), s.trigger("single_cell_selected", s.model.getCell(b.row, b.col), b.row, b.col)) } } function ca(a) { var b = J(a.target, "TD"); if (b && !b.hasClass("aux-cell") && !s.isBorderEditEnabled() && s.left_pressed) { b = $(a.target); b.offset(); b.width(); b.height(); var b = R(a.target), c = !1, d = s.selection_prev; null == s.selection_root && (s.selection_root = b, c = !0); !d || d.row == b.row && d.col == b.col || (c = !0); if (c) { var e = b.row, d = b.col; a = a.ctrlKey; var c = Math.max(0, Math.min(e, s.selection_root.row)), e = Math.max(e, s.selection_root.row), f = Math.max(0, Math.min(d, s.selection_root.col)), d = Math.max(d, s.selection_root.col), g = I(); a || f <= g.left && c <= g.top && d >= g.right && e >= g.bottom || N(); s.model.forEachCellInRange(c, f, e, d, K) } s.selection_prev = b } } function aa(a) { if ((a = J(a.target, "TD")) && !a.hasClass("aux-cell")) U().onDblClick() } k = k || {}; var s = this; this.model = a; this.theme = this.style_class = null; this.dom; this.colgroup; this.left_pressed = !1; this.cell_border_events_options = { deactivated: !0, onBorderOver: function(a, b, c) { c.addClass("alert_border_" + b[0]) }, onBorderLeave: function(a, b, c) { s.dom.css("cursor", "default"); c.removeClass("alert_border_" + b[0]) }, onBorderClick: function(a, b, c) { c = R(c); c = s.model.getVisibleCellPos(c.row, c.col); var d = c.row, e = c.col; c = s.model.getCell(d, e); var f = !s.getCellView(d, e).style.hasBorder(b); if ("right" == b) for (c.colspan(), b = d + c.rowspan() - 1, a.shiftKey && (d = 0, b = s.model.row_count - 1); d <= b; ++d) a = e + c.colspan() - 1, q("right", d, a, b, f); else if ("left" == b) for (b = d + c.rowspan() - 1, a.shiftKey && (d = 0, b = s.model.row_count - 1); d <= b; ++d) q("left", d, e, b, f); else if ("top" == b) for (b = e + c.colspan() - 1, a.shiftKey && (e = 0, b = s.model.col_count - 1), a = e; a <= b; ++a) t("top", d, a, b, f); else if ("bottom" == b) for (c.rowspan(), b = e + c.colspan() - 1, a.shiftKey && (e = 0, b = s.model.col_count - 1), a = e; a <= b; ++a) e = d + c.rowspan() - 1, t("bottom", e, a, b, f) } }; this.aux_row = null; this.aux_cells = []; this.aux_col_cells = []; this.aux_row_cells = []; this.selection_bounds = this.selection_prev = this.selection_root = null; this.selected_cells = {}; this.size_indicator = null; this.column_resize_enabled = k.column_resize_enabled || !1; this.hasBorder = function(a, b, c, d) { if (0 > a || a >= s.model.row_count || 0 > b || b >= s.model.col_count) return !1; var e = s.model.getCell(a, b), f = s.model.getVisibleCellPos(a, b), g = s.getCellView(a, b); if ("top" == c && f.row == a && g.style.hasBorder("top") || "bottom" == c && f.row + e.rowspan() - 1 == a && g.style.hasBorder("bottom") || "left" == c && f.col == b && g.style.hasBorder("left") || "right" == c && f.col + e.colspan() - 1 == b && g.style.hasBorder("right")) return !0; if (!d) { if ("left" == c) return s.hasBorder(a, b - 1, "right", !0); if ("right" == c) return s.hasBorder(a, b + 1, "left", !0); if ("top" == c) return s.hasBorder(a - 1, b, "bottom", !0); if ("bottom" == c) return s.hasBorder(a + 1, b, "top", !0) } return !1 }; this.model.on("row_inserted", C); this.model.on("column_inserted", function(a, b) { B("column", a); s.dom.find("tr").each(function(c, d) { if (0 < c) { var e = b[c - 1], f = m(e); $(d).find("td").eq(a).after(f.dom); e.view = f } }); s.selection_bounds = null }); this.model.on("row_removed", function(a, b) { s.selection_bounds = null; v("row", a); b.forEach(function(b, c) { E(b, a, c); b.view && b.view.remove() }); s.dom.find("tr").eq(a + 1).remove() }); this.model.on("column_removed", function(a, b) { s.selection_bounds = null; b.forEach(function(b, c) { E(b, c, a); b.view && b.view.remove() }); v("column", a) }); this.getCellView = function(a, b, c) { return s.model.getCell(a, b, c).view }; s.selectCell = K; s.selectCells = y; s.clearSelection = N; s.getSelectionBounds = I; s.forEachSelectedCell = Z; s.getSelectedCell = P; s.hasFixedLayout = function() { return "fixed" == s.dom.css("table-layout") }; s.enableFixedLayout = function(a) { if (a && !s.hasFixedLayout()) { s.dom.width(); var b = [], c = 0; s.dom.find("tr:first td").each(function(a, d) { b.push($(d).width()); c += $(d).width() }); c += b.length; s.dom.hide(); s.dom.addClass("fixed-size"); s.dom.css({ "table-layout": "fixed", width: c }); s.colgroup.find("col").each(function(a, c) { c = $(c); c.css({ width: b[a] + 1 }) }); s.dom.show() } else a || (s.dom.hide(), s.dom.removeClass("fixed-size"), s.dom.css({ "table-layout": "auto", width: "auto" }), s.colgroup.find("col").each(function(a, b) { $(b).css({ width: "auto" }) }), s.dom.show()) }; s.getColumnWidths = function(a) { var b = []; s.dom.find("tr:first td").each(function(a, c) { b.push($(c).width()) }); return 1 == a ? b : b.slice(1) }; s.setColumnWidth = function(a, b) { b += 1; s.colgroup.find("col").eq(a + 1).css({ width: b }) }; s.setSingleColumnWidth = function(a, b) { s.dom.css({ "table-layout": "fixed" }); for (var c = s.dom.width(), d = s.getColumnWidths(!0), e = d[a + 1], f = 0; f < d.length; ++f); c += -e + b; s.dom.hide(); s.dom.css({ "table-layout": "fixed", width: c }); s.setColumnWidth(a, b); s.dom.show() }; (function() { s.dom = $("
").addClass("aux-cell").addClass("aux-cell-" + a); this.index_view = $("").appendTo(this.dom); this.size_handle = null; "column" == a && (this.size_handle = $("
").addClass("size-handle").appendTo(this.dom), this.size_handle.present("SimpleDraggable"), this.draggable = this.size_handle.data("SimpleDraggable")); this.index = -1; $.observable(this); this.setIndex(b) } function d(a, d, k) { function n(a) { if (!s.isBorderEditEnabled()) { var b = a.target.nodeName; if (9 == a.which) la(), a.preventDefault(); else if (37 <= a.which && 40 >= a.which) { var c = !1; s.forEachSelectedCellView(function(a) { c |= a.edit_in_progress }); c || (b = { 37: [0, -1], 38: [-1, 0], 39: [0, 1], 40: [1, 0] }[a.which], Ba(b[0], b[1]), a.preventDefault()) } else 13 == a.which ? (b = U(), G() && !b.edit_in_progress && (b.startEditing(), a.preventDefault())) : 86 == a.which && a.ctrlKey ? (b = U(), G() && !b.edit_in_progress && PasteHelper.start(Ha, b.dom)) : 46 == a.which ? s.forEachSelectedCellView(function(a) { 0 == a.edit_in_progress && a.cell.value("") }) : 225 == a.which ? a.preventDefault() : "TABLE" == b && (76 == a.which && a.ctrlKey ? (s.forEachSelectedCellView(function(a) { a.style.setHorizontalAlign("left") }), a.preventDefault()) : 69 == a.which && a.ctrlKey ? (s.forEachSelectedCellView(function(a) { a.style.setHorizontalAlign("center") }), a.preventDefault()) : 82 == a.which && a.ctrlKey ? (s.forEachSelectedCellView(function(a) { a.style.setHorizontalAlign("right") }), a.preventDefault()) : G() && !a.ctrlKey && 27 != a.which && 16 != a.which && 18 != a.which && 91 != a.which && s.forEachSelectedCellView(function(a) { a.startEditing(!0) })) } } function p() { s.trigger("state_change") } function m(a) { a = new g(a); a.on("state_change", p); s.trigger("cell_created", a); return a } function q(a, b, c, d, e) { void 0 == d && (d = s.model.row_count - 1); var f = s.model.getVisibleCellPos(b, c), g = s.model.getCell(b, c); f.row == b && f.row + g.rowspan() - 1 <= d && ("right" == a && f.col + g.colspan() - 1 == c || "left" == a && f.col == c) && (e ? s.getCellView(f.row, f.col).style.addBorder(a) : s.getCellView(f.row, f.col).style.removeBorder(a)) } function t(a, b, c, d, e) { void 0 == d && (d = s.model.col_count - 1); var f = s.model.getVisibleCellPos(b, c), g = s.model.getCell(b, c); f.col == c && f.col + g.colspan() - 1 <= d && ("top" == a && f.row == b || "bottom" == a && f.row + g.rowspan() - 1 == b) && (e ? s.getCellView(f.row, f.col).style.addBorder(a) : s.getCellView(f.row, f.col).style.removeBorder(a)) } function x() { var a = $("
", { "class": "tableview", tabindex: 1, cellspacing: 3 }); s.colgroup = $("").appendTo(s.dom); d = $(d) || $("body"); d.append(s.dom); s.model.on("state_change", p); $.observable(s); s.dom.mousedown(ja).mousemove(ca).mouseup(function(a) { s.left_pressed = s.left_pressed && 1 != a.which; s.selection_root = null }).mousedown(function(a) { a.preventDefault(); a.stopPropagation() }).dblclick(aa).mouseleave(function(a) { s.left_pressed = !1 }).keydown(n); for (var a = 0; a < s.model.row_count; ++a) C(a, s.model.rows[a]); 0 < s.model.row_count && 0 < s.model.col_count && K(s.model.getCell(0, 0), 0, 0) })() } navigator.userAgent.toLowerCase().indexOf("chrome"); g.read_only = !1; g.prototype.initEventHandlers = function() { var a = this; a.event_handlers_initialized || (a.entry.blur(function(a) { a.stopImmediatePropagation(); a.preventDefault() }).keydown(function(b) { if (27 == b.which) { b.preventDefault(); b = window.scrollX; var d = window.scrollY; a.endEditing(); a.dom.parents("table").focus(); e(); null === c() && window.scrollTo(b, d) } }).on("mousedown mouseup mousemove click dblclick", function(b) { a.edit_in_progress && b.stopImmediatePropagation() }), a.event_handlers_initialized = !0) }; g.prototype.areEventHandlersInitialized = function() { return self.event_handlers_initialized }; g.prototype.onDblClick = function() { this.startEditing() }; g.prototype.onPasteContent = function(a) { var b = this.entry, c = b.text(), d = window.scrollX, e = window.scrollY; setTimeout(function() { window.scrollTo(d, e); var a = b.text(), g = a.length, t = "", x = ""; if (0 < c.length) for (var B = 0; B <= c.length; ++B) { var t = c.substr(0, B), x = c.substr(B), v = a.substr(g - x.length); if (0 == a.indexOf(t) && v == x) { a = a.substr(B, g - c.length); break } x = t = "" } a = t + TableImport.extractCellsFromString(a) + x; b.html(a) }, 3) }; g.prototype.show = function() { this.cell.isVisible() ? this.dom.show() : this.dom.hide() }; g.prototype.dump = function() { return { style: this.style.dump() } }; g.prototype.load = function(a, b) { a && this.style.load(a.style, b) }; g.prototype.select = function() { return this.is_selected ? !1 : (this.dom.addClass("selected"), this.is_selected = !0) }; g.prototype.unselect = function() { return this.is_selected ? (this.edit_in_progress && this.endEditing(), this.dom.removeClass("selected"), this.is_selected = !1, !0) : !1 }; g.prototype.remove = function() { this.endEditing(); this.dom.remove() }; g.prototype.startEditing = function(a) { if (0 == g.read_only && !this.edit_in_progress) { this.entry.addClass("entry-editing").attr("contenteditable", !0).focus(); a && this.entry.text(""); a = this.entry.get(0); var b, c; document.body.createTextRange ? (b = document.body.createTextRange(), b.moveToElementText(a), b.select()) : window.getSelection && (c = window.getSelection(), c.removeAllRanges(), b = document.createRange(), 0 < $(a).text().length ? b.setStart(a, 1) : b.selectNodeContents(a), c.addRange(b)); this.edit_in_progress = !0 } }; g.prototype.endEditing = function() { if (1 == this.edit_in_progress) { e(); this.entry.attr("contenteditable", !1).removeClass("entry-editing"); this.edit_in_progress = !1; var a = this.entry.html(), a = a.replace(/(
(?!
))|(
)/ig, "\n").replace(/<\/?div>/ig, ""), a = a.split("\n"), a = a.map(htmlDecode), a = a.join("\n"); this.ignore_model_change = !0; this.cell.value(a); this.entry.html(textToHTML(a)); this.ignore_model_change = !1 } }; b.prototype.setIndex = function(a) { if (a != this.index) { this.index = a; if ("row" == this.type) a += 1; else { for (var b = 0 == a ? "A" : ""; 0 < a;) b = String.fromCharCode(Math.floor(65 + a % 26)) + b, a = Math.floor(a / 26); a = b } this.index_view.text(a) } }; b.prototype.onRemoveRow = function(a) { "row" == this.type && this.index > a && this.setIndex(this.index - 1) }; b.prototype.onInsertRow = function(a) { "row" == this.type && this.index >= a && this.setIndex(this.index + 1) }; b.prototype.onInsertColumn = function(a) { "column" == this.type && this.index >= a && this.setIndex(this.index + 1) }; b.prototype.onRemoveColumn = function(a) { "column" == this.type && this.index > a && this.setIndex(this.index - 1) }; d.prototype.isSelectionRectangular = function() { var a = this.getSelectionBounds(); if (!a) return !1; for (var b = a.top; b <= a.bottom; ++b) for (var c = a.left; c <= a.right; ++c) if (!this.model.getCell(b, c).view.is_selected) return !1; return !0 }; d.prototype.mergeSelectedCells = function() { if (this.isSelectionRectangular()) { var a = this.getSelectionBounds(); this.clearSelection(); this.model.mergeCells(a.top, a.left, a.bottom, a.right); this.selectCell(this.model.getCell(a.top, a.left), a.top, a.left) } }; d.prototype.splitSelectedCell = function() { if (this.isSelectionRectangular()) { var a = this.getSelectionBounds(), b = this.model.getCell(a.top, a.left), c = b.rowspan(), b = b.colspan(); this.model.splitCell(a.top, a.left); this.selectCells(a.top, a.left, a.top + c - 1, a.left + b - 1) } }; d.prototype.forEachCellInColumn = function(a, b) { this.model.forEachCellInColumn(a, function(a) { b(a.view) }) }; d.prototype.forEachCellInRow = function(a, b) { this.model.forEachCellInRow(a, function(a, c) { b(a.view, c) }) }; d.prototype.forEachCellInRange = function(a, b, c, d, e) { this.model.forEachCellInRange(a, b, c, d, function(a, b, c) { e(a.view, b, c) }) }; d.prototype.forEachCell = function(a) { for (var b = 0; b < this.model.row_count; ++b) this.model.forEachCellInRow(b, function(c, d) { a(c.view, b, d) }) }; d.prototype.enableBorderEdit = function(a) { if (a) { this.dom.css("border-collapse", "separate"); this.dom.css("border-spacing", 3); this.dom.addClass("border-edit"); var b = this.cell_border_events_options; this.forEachCellView(function(a) { a.dom.borderEvents(b) }) } else this.dom.css("border-collapse", "collapse"), this.dom.removeClass("border-edit"); this.cell_border_events_options.deactivated = !a }; d.prototype.isBorderEditEnabled = function() { return !this.cell_border_events_options.deactivated }; d.prototype.forEachSelectedCellView = function(a, b, c) { this.forEachSelectedCell(function(b) { a(b.view) }, c) }; d.prototype.forEachCellViewInRange = function(a, b, c, d, e, g) { g = g || !1; var q = []; e = Math.min(e + 1, this.model.col_count); for (d = Math.min(d + 1, this.model.row_count); b < d; ++b) for (var t = c; t < e; ++t) { var x = this.model.getCell(b, t, !0), B = 0, v = 0; 0 == x.isVisible() && 0 == g && (v = Math.min(x.colspan(), 0), B = Math.min(x.rowspan(), 0)); x = this.getCellView(b + B, t + v, g); - 1 == q.indexOf(x) && (a(x, b, t), q.push(x)) } }; d.prototype.forEachCellView = function(a, b) { this.forEachCellViewInRange(a, 0, 0, this.model.row_count - 1, this.model.col_count - 1, b) }; d.prototype.copySelected = function() { var a = [], b = -1, c = []; this.forEachSelectedCell(function(d, e, g) { b != e && -1 != b && (a.push(c), c = []); b = e; c.push(d.value()) }); a.push(c); for (var d = [], e = 0; e < a.length; ++e) d.push(a[e].join("\t")); return d.join("\n") }; d.prototype.cutSelected = function() { var a = this.copySelected(); this.forEachSelectedCell(function(a) { a.value("") }); this.trigger("state_change"); return a }; d.prototype.reset = function() { this.clearSelection(); this.enableFixedLayout(!1); this.model.reset(); this.model.forEachCellInRange(0, 0, this.model.row_count - 1, this.model.col_count - 1, function(a) { a.view.style.reset() }); this.selectCells(0, 0, 0, 0); this.setTheme(null); this.trigger("onload") }; d.prototype.setStyleClass = function(a) { null != this.style_class && this.dom.removeClass(this.style_class); (this.style_class = a) && this.dom.addClass(a) }; d.prototype.setTheme = function(a, b) { (this.theme = a) && !b ? this.setStyleClass(TableThemes.createTheme(a)) : this.setStyleClass(null); this.trigger("theme_set", a) }; d.prototype.removeSelectedColumns = function() { var a = []; this.forEachSelectedCell(function(b, c, d) { -1 == a.indexOf(d) && a.push(d) }); a.sort(function(a, b) { return a - b }); for (var b = a.length - 1; 0 <= b; --b) this.model.removeColumn(a[b]) }; d.prototype.removeSelectedRows = function() { var a = []; this.forEachSelectedCell(function(b, c, d) { -1 == a.indexOf(c) && a.push(c) }); a.sort(function(a, b) { return a - b }); for (var b = a.length - 1; 0 <= b; --b) this.model.removeRow(a[b]) }; d.prototype.dump = function() { for (var a = this.model.row_count, b = this.model.col_count, c = [], d = 0; d < a; ++d) { for (var e = [], g = 0; g < b; ++g) { var q = this.model.getCell(d, g, !0).view; q && e.push(q.dump()) } c.push(e) } a = { rows_views: c, model: this.model.dump(), theme: this.theme, fixed_layout: this.hasFixedLayout() }; this.hasFixedLayout() && (a.col_widths = this.getColumnWidths()); return a }; d.prototype.setLoadIgnore = function(a) { this.load_ignore = a }; d.prototype.load = function(a) { var b = this.load_ignore || {}; if (a && a.model && a.rows_views) { var c = this.getSelectionBounds(); this.model.load(a.model, b); for (var d = this.model.row_count, e = this.model.col_count, g = 0; g < d; ++g) for (var q = a.rows_views[g], t = 0; t < e; ++t) this.getCellView(g, t, !0).load(q[t], b); a.theme && this.setTheme(a.theme, b.theme); if (1 == a.fixed_layout && $.isArray(a.col_widths) && !b.fixed_layout) { this.enableFixedLayout(!0); b = Math.min(a.col_widths.length, this.model.col_count); for (e = d = 0; e < b; ++e) d += a.col_widths[e]; d += this.dom.find("col:first").width(); this.dom.css({ "table-layout": "fixed", width: d }); for (e = 0; e < b; ++e) this.setColumnWidth(e, a.col_widths[e]) } c && c.right < this.model.col_count && c.bottom < this.model.row_count ? this.selectCells(c.top, c.left, c.bottom, c.right) : this.selectCells(0, 0, 0, 0); this.trigger("onload") } }; d.prototype.setReadOnly = function(a) { g.read_only = a }; return d }(); var TTable = function() { return function(c) { var g = new TableModel; g.insertRow(["Pet", "Name"]); g.insertColumn(["Age"]); g.insertRow(["Snake", "Jimmy", 2]); g.insertRow(["Cow", "Molly", 11], 1); var e = new TableView(g, c); g.insertRow(["Cat", "Jinks", 7], 2); g.rows[1][1].value = "Jolly"; g.insertColumn(["Sex", "F", "M", "M"]); g.mergeCells(1, 0, 1, 1); g.splitCell(1, 0); g.mergeCells(1, 0, 2, 1); g.mergeCells(0, 0, 3, 1); g.splitCell(0, 0); g.mergeCells(0, 0, g.row_count - 1, g.col_count - 1); g.splitCell(0, 0); g.insertColumn(["x", "x", "x", "x"]); $('').appendTo($(c)).click(function() { g.insertEmptyColumn() }); $('').appendTo($(c)).click(function() { g.insertEmptyRow() }); $("
").appendTo($(c)); $("").appendTo($(c)).click(function() { var b = e.selection; b && b.top == b.bottom && g.removeRow(b.top) }); $("").appendTo($(c)).click(function() { var b = e.selection; b && b.left == b.right && g.removeColumn(b.left) }); $("").appendTo($(c)).click(e.mergeSelectedCells.bind(e)); $("").appendTo($(c)).click(e.splitSelectedCell.bind(e)) } }(); var TableThemes = function() { function c(a, b) { b = b || $.extend(!0, {}, k); for (var d in b) if (b.hasOwnProperty(d)) { var e = b[d]; "object" == typeof e ? b[d] = c(a, e) : "string" == typeof e && "$" == e.substr(0, 1) && a.hasOwnProperty(e.substr(1)) && (b[d] = a[e.substr(1)]) } return b } function g(a) { var b = 0, c, d; if (0 == a.length) return b; c = 0; for (var e = a.length; c < e; c++) d = a.charCodeAt(c), b = (b << 5) - b + d, b |= 0; return b } function e(a) { for (var b = {}, c = 0; c < a.length; ++c) $.extend(!0, b, a[c]); return b } function b(a, c, d, e, f) { e = e || !1; c = c || ""; 0 < c.length && (c += " "); var g = [], k; for (k in a) if (a.hasOwnProperty(k) && ("_" != k[0] || a[k]._active && f)) { var n = a[k]; "object" == typeof n ? ("_" == k[0] && (k = k.substr(1)), e ? (g.push(c + k + "{"), n = b(n, null, !0), g = g.concat(n), g.push("}")) : (n = b(n, null, !0), g.push(c + k + "{" + n.join("") + "}"))) : "_" != k[0] && g.push((e ? "\t" : "") + k + ":" + n + ";") } return d ? g : g.join("\n") } var d = { " ": { _active: !0, "border-collapse": "collapse", "border-spacing": 0 }, td: { "font-family": "Arial, sans-serif", "font-size": "14px", padding: "10px 5px", "border-style": "solid", "border-width": "0px", overflow: "hidden", "word-break": "normal" }, th: { "font-family": "Arial, sans-serif", "font-size": "14px", "font-weight": "normal", padding: "10px 5px", "border-style": "solid", "border-width": "0px", overflow: "hidden", "word-break": "normal" }, _row_odd_td: { _active: !1 }, "_tr:nth-child(odd) td": { _active: !1 }, "_tr:nth-child(2) td": { _active: !0 }, _col_even_td: { _active: !1 }, "_td:nth-child(odd)": { _active: !1 }, "_tr:hover td": { _active: !1 } }, a = { "No borders": { " ": { border: "none" } }, "All borders": { td: { "border-width": "1px" }, th: { "border-width": "1px" } }, Horizontal: { td: { "border-top-width": "1px", "border-bottom-width": "1px" }, th: { "border-top-width": "1px", "border-bottom-width": "1px" } }, Outer: { " ": { "border-width": "1px", "border-style": "solid" } } }, f = { "No alternate": {}, "Alternate rows": { "_tr:nth-child(odd) td": { _active: !0 }, "_tr:nth-child(2) td": { _active: !0 }, _row_odd_td: { _active: !0 } }, "Alternate columns": { _col_even_td: { _active: !0 }, "_td:nth-child(odd)": { _active: !0 }, "_tr:nth-child(2) td": { _active: !0 } } }, k = { " ": { "border-color": "$border_color" }, td: { "border-color": "$border_color", color: "$td_text_color", "background-color": "$td_bg_color" }, th: { "border-color": "$border_color", color: "$th_text_color", "background-color": "$th_bg_color" }, "_tr:nth-child(2) td": { color: "$th_text_color", "background-color": "$th_bg_color" }, _row_odd_td: { "background-color": "$td_alt_bg_color" }, _col_even_td: { "background-color": "$td_alt_bg_color" }, "_td:nth-child(odd)": { "background-color": "$td_alt_bg_color" }, "_tr:nth-child(odd) td": { "background-color": "$td_alt_bg_color" }, "_tr:hover td": { "background-color": "$td_hover_bg_color", color: "$td_hover_text_color" } }, n = { Default: {}, Light: c({ border_color: "#ccc", td_text_color: "#333", td_bg_color: "#fff", th_text_color: "#333", th_bg_color: "#f0f0f0", td_alt_bg_color: "#f9f9f9", td_hover_bg_color: "#f0f0f0", td_hover_text_color: "#222" }), Orange: c({ border_color: "#aaa", td_text_color: "#333", td_bg_color: "#fff", th_text_color: "#fff", th_bg_color: "#f38630", td_alt_bg_color: "#FCFBE3", td_hover_bg_color: "#FFC950", td_hover_text_color: "#222" }), Blue: c({ border_color: "#999", td_text_color: "#444", td_bg_color: "#F7FDFA", th_text_color: "#fff", th_bg_color: "#26ADE4", td_alt_bg_color: "#D2E4FC", td_hover_bg_color: "#FFCC00", td_hover_text_color: "#333" }), Violet: c({ border_color: "#aabcfe", td_text_color: "#669", td_bg_color: "#e8edff", th_text_color: "#039", th_bg_color: "#b9c9fe", td_alt_bg_color: "#D2E4FC", td_hover_bg_color: "#d0dafd", td_hover_text_color: "#339" }), Green: c({ border_color: "#bbb", td_text_color: "#594F4F", td_bg_color: "#E0FFEB", th_text_color: "#493F3F", th_bg_color: "#9DE0AD", td_alt_bg_color: "#C2FFD6", td_hover_bg_color: "#E5FCC2", td_hover_text_color: "#333" }) }, p = { None: {}, Highlight: { _hover_theme: { _active: !0 } } }, m = {}; return { ColorThemes: n, BorderThemes: a, HoverThemes: p, "Alternate Rows/Columns Themes": f, combineThemes: e, createTheme: function(c) { var k = "theme" + Math.abs(g(JSON.stringify(c))); if (!m.hasOwnProperty(k)) { var x = [d]; c["Alternate Rows/Columns Theme"] && x.push(f[c["Alternate Rows/Columns Theme"]]); c.ColorTheme && x.push(n[c.ColorTheme]); c.HoverTheme && x.push(p[c.HoverTheme]); c.BorderTheme && x.push(a[c.BorderTheme]); c = e(x); m[k] = c; c = b(c, "." + k, !1, !1, !0); x = document.createElement("div"); c = c.replace(/padding: 10px/, "padding: 0px"); x.innerHTML = '­"; document.body.appendChild(x.childNodes[1]) } return k }, getThemeById: function(a) { return m[a] }, themeToStr: b } }(); (function(c, g, e, b) { function d(a, b) { this.el = a; this.$el = c(a); this.max_rows = b.max_rows; this.max_cols = b.max_cols; this.max_visible_rows = b.max_visible_rows || 15; this.max_visible_cols = b.max_visible_cols || 15; this.$table = null; this.hover_range = { row: -1, col: -1 }; this.size = { rows: b.rows, cols: b.cols }; this.select_size_callback = b.onSetSize; this.$el.data("SizeChooser", this); this.init() } d.prototype.init = function() { function a() { q.addClass("display-block") } function b() { q.removeClass("display-block") } function d(a) { 13 == a.which && (m.setSize(parseInt(m.rows_input.val()), parseInt(m.cols_input.val())), b()) } for (var e = c("
", { "class": "SizeChooser" }), g = c("
").appendTo(e), m = this, q = m.$el.parents(".dropdown-menu"), t = 0; t < this.max_visible_rows; ++t) { for (var x = c(""), B = 0; B < this.max_visible_cols; ++B) { var v = c(""); x.append(v); v.mousemove(function(a) { m.onCellMousemove(a) }) } g.append(x) } this.$table = g; this.$el.append(e); this.$size_form = c("").appendTo(e); this.rows_input = c("").val(this.size.rows).keydown(d).on("focus", a).on("blur", b).appendTo(this.$size_form); this.$size_form.append(c(" x ")); this.cols_input = c("").val(this.size.cols).keydown(d).on("focus", a).on("blur", b).appendTo(this.$size_form); this.setSize(this.size.rows, this.size.cols, !0); g.mousedown(function(a) { m.onMousedown(a) }); g.mouseleave(function() { m.setSize(m.size.rows, m.size.cols, !0); m.setHoverRange(m.size.rows - 1, m.size.cols - 1) }); this.rows_cache = null }; d.prototype.forEachCell = function(a) { if (null == this.rows_cache) { var b = []; this.$table.find("tr").each(function(a, d) { var e = []; c(d).find("td").each(function(a, b) { e.push(b) }); b.push(e) }); this.rows_cache = b } for (var d = 0; d < this.rows_cache.length; ++d) for (var e = this.rows_cache[d], g = 0; g < e.length; ++g) a(e[g], d, g) }; d.prototype.onCellMousemove = function(a) { var b; b = a.target; for (b = c(b); "td" != b.get(0).nodeName.toLowerCase();) b = b.parent(); a = b.index(); b = c(b.parent()).index(); this.setHoverRange(b, a) }; d.prototype.onMousedown = function(a) { 0 <= this.hover_range.col && 0 <= this.hover_range.row && this.setSize(this.hover_range.row + 1, this.hover_range.col + 1) }; d.prototype.setHoverRange = function(a, b) { if (this.hover_range.row != a || this.hover_range.col != b) this.forEachCell(function(d, e, g) { e <= a && g <= b ? c(d).addClass("SizeChooser-hover") : c(d).removeClass("SizeChooser-hover") }), this.hover_range.row = a, this.hover_range.col = b, this.rows_input.val(a + 1), this.cols_input.val(b + 1) }; d.prototype.setSize = function(a, b, d) { a = a || this.size.rows; b = b || this.size.cols; a = Math.max(1, Math.min(this.max_rows, a)); b = Math.max(1, Math.min(this.max_cols, b)); this.forEachCell(function(d, e, g) { e < a && g < b ? c(d).addClass("SizeChooser-selected") : c(d).removeClass("SizeChooser-selected") }); this.size.rows = a; this.size.cols = b; this.rows_input.val(a); this.cols_input.val(b); !d && this.select_size_callback && this.select_size_callback(a, b) }; c.fn.SizeChooser = function(a) { return this.each(function() { c.data(this, "SizeChooser") || c.data(this, "SizeChooser", new d(this, a)) }) } })(jQuery, window, document, void 0); (function(c) { function g(e, b) { this.el = c(e); this.onChange = b.onChange; this.init() } g.prototype = { init: function() { var e = this, b = e.el, d = e.el.parents(".dropdown-menu"); e.el.on("mouseenter", function() { d.addClass("display-block") }).on("mouseleave", function() { d.removeClass("display-block") }); c("
CompanyQ1Q2Q3
Microsoft20.330.523.5
Google50.240.6345.23
Apple25.430.233.3
").addClass(q).appendTo(g).click(function() { e.theme_selector.addTheme(a, b) }); e.theme_selector.on("theme_added", function(c, d) { if (a == c) b == d ? t.addClass("selected") : t.removeClass("selected"); else { m[c + "Theme"] = d; var e = TableThemes.createTheme(m); t.removeClass(q).addClass(e); q = e } }); e.theme_selector.on("theme_set", function(a) { a[d] == b ? t.addClass("selected") : t.removeClass("selected"); m = c.extend({}, a); m[d] = b; a = TableThemes.createTheme(m); t.removeClass(q).addClass(a); q = a }) }) }); b.appendTo(c("body")); b.present("SimpleAccordion", { item_header_selector: "h3" }); this.theme_chooser = b; e.theme_selector.setTheme(e.theme_selector.themes) } var d = c("#theme-select").offset(); this.theme_chooser.css({ left: c(".tableview").first().offset().left, top: d.top + 30 }).fadeIn() }; g.prototype.initResultControlPanel = function() { ZeroClipboard.config({ swfPath: "/static/ZeroClipboard.swf" }); var e = this; (new ZeroClipboard(c(".with-zero-clipboard"))).on("copy", function(b) { b = c(b.target).data("action-id"); "cell_contents_cut" == b ? (b = e.table_view.cutSelected(), ZeroClipboard.setData("text/plain", b)) : "cell_contents_copy" == b ? ZeroClipboard.setData("text/plain", e.table_view.copySelected()) : "copy-to-clipboard" == b && (b = c("#result-code").text(), -1 != navigator.appVersion.indexOf("Win") && (b = b.replace(/\n/g, "\r\n")), ZeroClipboard.setData("text/plain", b)) }) }; g.prototype.initUndoRedo = function() { var e = new UnReDo(this.table_view); this.unredo = e; e.addChange(); c(document).keydown(function(b) { b.ctrlKey && 90 == b.which && "DIV" != b.target.nodeName ? e.undo() : b.ctrlKey && 89 == b.which && "DIV" != b.target.nodeName && e.redo() }); c("#edit_undo").click(function() { e.undo() }); c("#edit_redo").click(function() { e.redo() }) }; g.prototype.initTableSave = function() { var e = this; c("#table-name").keydown(function(b) { 13 == b.which && b.preventDefault() }); c("#table-save-link").click(function() { var b = JSON.stringify(e.table_view.dump()), b = b.replace(/[\\]/g, "\\\\").replace(/[\"]/g, '\\"').replace(/[\']/g, "\\'").replace(/[\/]/g, "\\/").replace(/[\b]/g, "\\b").replace(/[\f]/g, "\\f").replace(/[\n]/g, "\\n").replace(/[\r]/g, "\\r").replace(/[\t]/g, "\\t"); c("#table-save-data").val(b); b = c("#table-save-form").serialize(); c.fileDownload("/table-save", { dialogOptions: { modal: !1 }, httpMethod: "POST", data: b, successCallback: function() { c("#save_table_dialog").modal("hide") } }); return !1 }) }; g.prototype.initTableAutosave = function() { function e() { c("#edit_autosave i").removeClass("icon-check-minus").addClass("icon-check") } function b() { c("#edit_autosave i").removeClass("icon-check").addClass("icon-check-minus") } var d = this, a = docCookies.getItem("tg-autosave"), f = null === a || "1" === a; f ? e() : b(); c("#edit_autosave").click(function() { f ? (f = !1, docCookies.setItem("tg-autosave", "0", Infinity), DB("tg-table").put(""), d.persistence.disable(), b()) : (f = !0, docCookies.setItem("tg-autosave", "1", Infinity), d.persistence.enable(), e()) }); f && (a = PersistenceHelper.load(), null != a && this.table_view.load(a)) }; g.prototype.initTableCellContextMenu = function() { var c = this.table_view, b = c.dom; b.get(0).oncontextmenu = function() { return !1 }; b.contextmenu({ target: "#table-cell-menu" }); this.observable.on("cell_contents_cut", function(b) { b = c.copySelected(); console.log("Cutting text: " + b); ZeroClipboard.setData("text/txt", "dupa") }); this.observable.on("cell_contents_copy", function(c) { b.contextmenu("hide") }) }; g.prototype.init_table_context_menus = function() { function e() { c.each(c(".aux-cell-column"), function(a, b) { c(b).contextmenu({ target: "#table-aux-col-menu" }) }) } function b() { c.each(c(".aux-cell-row"), function(a, b) { c(b).contextmenu({ target: "#table-aux-row-menu" }) }) } var d = this, a = d.table_view, f = d.table_view.model; c("#table-aux-col-menu").present("SimpleMenu", { menu_item_id_attr: "data-menu-item-id" }); var g = c("#table-aux-col-menu").data("SimpleMenu"); g && (c('*[data-menu-item-id="add_to_the_left"]').click(function() { var b = a.getSelectionBounds(); b && f.insertEmptyColumn(b.left) }), c('*[data-menu-item-id="add_to_the_right"]').click(function() { var b = a.getSelectionBounds(); b && f.insertEmptyColumn(b.right + 1) }), c('*[data-menu-item-id="remove_column"]').click(function() { a.removeSelectedColumns() }), c('*[data-menu-item-id="set_column_width"]').click(function() { d.show_column_width_dialog() }), e()); c("#table-aux-row-menu").present("SimpleMenu", { menu_item_id_attr: "data-menu-item-id" }); if (g = c("#table-aux-row-menu").data("SimpleMenu")) c('*[data-menu-item-id="add_row_above"]').click(function() { var b = a.getSelectionBounds(); b && f.insertEmptyRow(b.top) }), c('*[data-menu-item-id="add_row_below"]').click(function() { var b = a.getSelectionBounds(); b && f.insertEmptyRow(b.bottom + 1) }), c('*[data-menu-item-id="remove_row"]').click(function() { a.removeSelectedRows() }), b(); f.on("row_inserted", b); f.on("column_inserted", e) }; g.prototype.initColumnWidthDialog = function() { function e() { for (var c = parseInt(a.val()), e = b.table_view, g = e.getSelectionBounds(), p = g.left; p <= g.right; ++p) e.setSingleColumnWidth(p, c); d.modal("hide") } var b = this, d = c("#column_width_dialog"), a = c('input[type="number"]', d); c('input[type="number"]', d).keydown(function(a) { 13 == a.which && (a.preventDefault(), e()) }); c('input[type="submit"]', d).click(function(a) { a.preventDefault(); e() }) }; g.prototype.show_column_width_dialog = function() { var e = c("#column_width_dialog"); if (null != this.table_view.getSelectedCell()) { var b = this.table_view.getSelectionBounds(), b = this.table_view.getColumnWidths()[b.left]; c('input[type="number"]', e).val(b); e.modal("show") } }; g.prototype.initTableShare = function() { function e(a) { c("#table-share-link-btn").hide(); c("#share-table-error").text(a).show() } function b(a) { 2E3 >= a.length ? (c("#table-share-data").val(a), a = c("#table-share-form").serialize(), c.ajax({ url: "/table-share", type: "POST", data: a, success: function(a, b, d) { c("#table-share-link-btn").removeClass("btn-warning").addClass("btn-primary").hide(); a.success && a.short_url ? (c("#share-table-link").attr("href", a.short_url).text(a.short_url), c("#share-table-result").show()) : e(a.error) }, error: function(a, b, c) {} })) : e("We are sorry but only small tables can be shared") } var d = this.table_view; c("#share-table-btn").click(function() { c("#share-table-error").hide(); c("#share-table-result").hide(); c("#table-share-link-btn").removeClass("btn-warning").addClass("btn-primary").text("Get link to your table").show(); c("#share_table_dialog").modal("show") }); c("#table-share-link-btn").click(function() { c(this).removeClass("btn-info").addClass("btn-warning").text("Please wait..."); var a = d.dump(); CompressUtils.compress_str_64(JSON.stringify(a), b) }); c("#share-table-link").click(function() { var a = c(this).attr("href"); window.open(a, "_blank").focus() }) }; return g }(jQuery); function DB(c) { var g = window.localStorage || {}; return { get: function() { return JSON.parse(g[c] || "{}") }, put: function(e) { g[c] = JSON.stringify(e) } } }; var UnReDo = function() { function c(c) { var e = this; this.curr_state = null; this.undo_list = []; this.redo_list = []; this.table_view = c; this.ignore_next_change = !1; this.size_limit = 10; var b = null; c.on("state_change", function() { null != b && window.clearTimeout(b); b = setTimeout(function() { e.ignore_next_change || e.addChange(); e.ignore_next_change = !1 }, 600) }) } c.prototype.addChange = function() { var c = this.table_view.dump(); null == this.curr_state ? this.curr_state = c : (this.undo_list.length == this.size_limit && this.undo_list.splice(0, 1), this.undo_list.push(this.curr_state), this.curr_state = c, this.redo_list.splice(0, this.redo_list.length)) }; c.prototype.undo = function() { 0 != this.undo_list.length && (this.redo_list.push(this.curr_state), this.curr_state = this.undo_list.pop(), this.ignore_next_change = !0, this.table_view.load(this.curr_state)) }; c.prototype.redo = function() { 0 != this.redo_list.length && (this.undo_list.push(this.curr_state), this.curr_state = this.redo_list.pop(), this.ignore_next_change = !0, this.table_view.load(this.curr_state)) }; c.prototype.clear = function() { this.undo_list.length = 0; this.redo_list.length = 0; this.curr_state = null }; return c }(), PersistenceHelper = function() { function c(c) { this.table_view = c; this.timeout = null; this.storage = DB("tg-table"); this.enabled = !0 } c.prototype.run = function() { null != this.timeout && window.clearInterval(this.timeout); this.save(); var c = this; this.timeout = setInterval(function() { c.enabled && c.save() }, 4E3) }; c.prototype.save = function() { var c = this.table_view.dump(); this.storage.put(c) }; c.load = function() { return DB("tg-table").get() }; c.prototype.disable = function() { this.enabled = !1 }; c.prototype.enable = function() { this.enabled = !0 }; return c }(); var HTMLExportOptions = { CENTERING: "Center table horizontally" }, HTMLExport = function() { function c(b, a) { var c = [], e; for (e in b) b.hasOwnProperty(e) && "_" != String(e).substr(0, 1) && c.push(e + ":" + b[e]); c = c.join(";"); return a ? c : "{" + c + "}" } function g(b) { if (null == b || "object" != typeof b) return b; if (b instanceof Date) { var a = new Date; a.setTime(b.getTime()); return a } if (b instanceof Array) { for (var a = [], c = 0, e = b.length; c < e; c++) a[c] = g(b[c]); return a } if (b instanceof Object) { a = {}; for (c in b) b.hasOwnProperty(c) && (a[c] = g(b[c])); return a } throw Error("Unable to copy obj! Its type isn't supported."); } function e(b, a) { for (var c = [], e = 0; e < a; ++e) c.push(b); return c } function b(b, a) { var c = "\n"; b && (c += TableThemes.themeToStr(b, ".tg") + "\n"); for (var e in a) a.hasOwnProperty(e) && (c += e + a[e] + "\n"); return Utils.format_tag("style", c, { type: "text/css" }) } return function(d, a, f, k, n) { f = f || !1; void 0 == k && (k = "\n"); var p = d.model, m = [], q = "" == k ? 0 : 2, t = d.style_class, x = !a && t && -1 == t.indexOf("zerocss"); a = {}; var B = {}, v = {}, C = 0, K = g(TableThemes.getThemeById(t)), A = d.getCellView(0, 0).style; A && (A = A.getPadding(), void 0 != A.top && (K.td.padding = A.top + "px " + A.left + "px", K.th.padding = A.top + "px " + A.left + "px")); for (var y = 0; y < p.row_count; ++y) { var E = e(" ", 2 * q).join(""), N = []; p.forEachCellInRow(y, function(a, b) { if (a.isVisible()) { var d = {}; 1 == y % 2 && K && K.hasOwnProperty("_row_odd_td") && K._row_odd_td._active ? d = TableThemes.combineThemes([d, K._row_odd_td]) : 0 < y && 1 == b % 2 && K && K.hasOwnProperty("_col_even_td") && K._col_even_td._active && (d = TableThemes.combineThemes([d, K._col_even_td])); var d = TableThemes.combineThemes([d, a.view.style.toCSS()]), e = String; var g = JSON.stringify(d), k = 0, n, p; if (0 != g.length) { n = 0; for (var m = g.length; n < m; n++) p = g.charCodeAt(n), k = (k << 5) - k + p, k |= 0 } e = e(k); if (!B.hasOwnProperty(e)) { B[e] = d; ++C; g = Math.abs(e); k = Math.pow(36, 4); g %= k; k = ""; for (n = 0; 4 > n; ++n) k += "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ" [g % 36], g = Math.floor(g / 36); k = k.split("").reverse().join(""); v[e] = "tg-" + k } g = {}; x && !f && (g["class"] = v[e]); x && f && (d = TableThemes.combineThemes([K[0 == y ? "th" : "td"], d ]), g.style = c(d, !0)); d = y; e = g; void 0 == e && (e = {}); 1 < a.colspan() && (e.colspan = a.colspan()); 1 < a.rowspan() && (e.rowspan = a.rowspan()); g = textToHTML(a.value().toString()); d = Utils.format_tag(0 == d ? "th" : "td", g, e); N.push(E + d) } }); E = e(" ", q).join(""); m.push([].concat([E + ""], N, [E + ""]).join(k)) } - 1 != n.indexOf(HTMLExportOptions.CENTERING) && (K[" "].margin = "0px auto"); n = ""; p = m.join(k); m = [""]; q = {}; if (x && !f) { for (var I in B) B.hasOwnProperty(I) && (n = c(B[I]), "{}" != n && (a[".tg ." + v[I]] = n)); q["class"] = "tg"; t = t.split("-"); t = t[t.length - 1]; n = b(K, a) } else x && f && (q.style = c(K[" "], !0)); if (d.hasFixedLayout()) { d = d.getColumnWidths(); t = []; for (y = a = 0; y < d.length; ++y) d[y] += 1, t.push(''), a += d[y]; m.push(""); m.push(t.join(k)); m.push(""); q.style += ";table-layout: fixed; width: " + a.toFixed(0) + "px" } m.push(p); m.push(""); d = Utils.format_tag("table", m.join(k), q); m = []; n && m.push(n); m.push(d); return m.join(k) } }(); var LaTeXExportOptions = { CAPTION_ABOVE: "Caption above", CAPTION_BELOW: "Caption below", CENTERING: "Center table horizontally", SCALE_TABLE: "Scale table to text width" }, LaTeXExport = function() { function c(a, b) { if (!a) throw b || "Assertion failed"; } function g(a, b) { for (var c = !1, d = 0; d < b.length && !c; ++d) b[d].val == a && (b[d].count += 1, c = !0); c || b.push({ val: a, count: 1 }) } function e(a) { this.table_view = a; for (var b = this.table = a.model, c = p(function() { return p(0, b.col_count + 1) }, b.row_count), d = 0; d < b.row_count; ++d) for (var e = 0; e < b.col_count; ++e) { var f = b.getCell(d, e, !0); if (f.isVisible()) for (var g = a.getCellView(d, e, !0).style, k = g.hasBorder("left"), g = g.hasBorder("right"), n = 0; n < f.rowspan(); ++n) for (var m = d + n, q = 0; q < f.colspan(); ++q) { var t = e + q; c[m][t] |= k; c[m][t + 1] |= g } } for (d = 0; d < b.row_count; ++d) for (e = 1; e < b.col_count; ++e) 0 < c[d][e - 1] && 0 < c[d][e] && (c[d][e] = 2); a = []; for (e = 0; e <= b.col_count; ++e) { f = !0; for (d = 0; d < b.row_count; ++d) f &= 0 < c[d][e]; a.push(f) } this.vlines = c; this.continuous_vlines = a } function b(a) { this.table_view = a; this.table = a.model; this.colors_used = !1; var b = this.table, c = [], d = p(function() { return p(null, b.col_count) }, b.row_count); this.fg_colors = d; for (var e = 0; e < b.row_count; ++e) { for (var f = [], k = 0; k < b.col_count; ++k) { var n = a.getCellView(e, k, !1).style; n.hasBgColor() ? (f.push(n.getBgColor()), this.colors_used = !0) : f.push(null); n.hasTextColor() && (d[e][k] = n.getTextColor(), this.colors_used = !0) } c.push(f) } f = []; for (k = 0; k < b.col_count; ++k) { a = []; for (e = 0; e < b.row_count; ++e) g(c[e][k], a); for (var d = null, n = !1, m = 0; m < a.length; ++m) { var q = a[m]; null == d ? d = q : q.count > d.count && (d = q); null == q.val && (n = !0) } f.push(null); !n && null != d && d.count >= b.row_count / 2 && (f[k] = d.val) } this.column_colors = f; f = []; for (e = 0; e < b.row_count; ++e) { a = []; for (k = 0; k < b.col_count; ++k) g(c[e][k], a); d = null; n = !1; for (m = 0; m < a.length; ++m) q = a[m], null == d ? d = q : q.count > d.count && (d = q), null == q.val && (n = !0); f.push(null); !n && null != d && d.count >= b.col_count / 2 && (f[e] = d.val) } this.row_colors = f; for (e = a = f = 0; e < b.row_count; ++e) for (k = 0; k < b.col_count; ++k) d = this.table.getCell(e, k), d = 1 < d.rowspan() || 1 < d.colspan(), (null == this.column_colors[k] || d || c[e][k] != this.column_colors[k]) && ++f, (null == this.row_colors[e] || d || c[e][k] != this.row_colors[e]) && ++a; if (a < f) for (k = 0; k < b.col_count; ++k) this.column_colors[k] = null; else for (e = 0; e < b.row_count; ++e) this.row_colors[e] = null } function d(a, b, c) { var d = [], e = C.getColumnsVLines(); b.forEach(function(a, b) { d.push(e[b]); d.push(c.addColumnColor(a[0], b)) }); d.push(e[e.length - 1]); return d.join("") } function a(a) { for (var b = [], c = 0, d = a.model.col_count; c < d; ++c) b.push(f(a, c)); return b } function f(a, b) { var c = { left: 0, center: 0, right: 0 }; a.forEachCellInColumn(b, function(a) { a.cell.isVisible() && (c[a.style.getHorizontalAlign()] += Math.max(0, a.cell.rowspan())) }); return ["left", "center", "right"].sort(function(a, b) { return -(c[a] - c[b]) })[0] } function k(a) { a = a.split(/(?:(^|[^\\]))(\$[^\$]+\$)/g); return $.map(a, function(a) { return 0 < a.length && "$" == a[0] && "$" == a[a.length - 1] ? a : a.replace(/(^|[^\\])([&%_#\{\}\$])/g, "$1\\$2").replace(/([\[\]])/g, "{$1}").replace(//g, "\\textgreater") }).join("") } function n(a, b, c) { for (var d = c[b], e = 1; e < a.colspan(); ++e) d += c[b + e]; return d } function p(a, b) { var c = []; if ("function" == typeof a) for (var d = 0; d < b; ++d) c.push(a()); else for (d = 0; d < b; ++d) c.push(a); return c } function m(a, b) { for (var c = p(0, a.col_count), d = 0; d < a.row_count; ++d) { var e = 0, f = b[d]; a.forEachCellInRow(d, function(a, b) { 1 == a.colspan() && (c[b] = Math.max(c[b], f[e].length)); 1 <= a.colspan() && ++e }) } for (d = 0; d < a.row_count; ++d) e = 0, a.forEachCellInRow(d, function(a, f) { var g = a.colspan(); if (1 < g) { var k = b[d][e].length - n(a, f, c), k = k - (g - 1) * K; if (0 < k) for (var m = Math.floor(k / g), k = k % g, p = 0; p < g; ++p) c[f + p] += m, 0 < k && (c[f + p] += 1, k -= 1) } 1 <= g && e++ }); return c } function q(a, b) { for (var c = m(b, a), d = [], e = 0; e < b.row_count; ++e) { var f = 0, g = a[e], k = []; b.forEachCellInRow(e, function(a, b) { if (1 <= a.colspan()) { var d = g[f], e = n(a, b, c); 1 < a.colspan() && (e += (a.colspan() - 1) * K); ++f; k.push(t(d, e)) } }); d.push(k) } return d } function t(a, b) { if (a.length < b) { for (var c = [], d = a.length; d < b; ++d) c.push(" "); a += c.join("") } return a } function x(a, b, c, d) { if (-1 == a.indexOf(!1)) return b ? 0 == c ? " \\toprule" : c == d ? " \\bottomrule" : " \\midrule" : " \\hline"; c = ""; d = 0; for (var e = !1, f = b ? "\\cmidrule" : "\\cline", g = "", k = 0; k < a.length; ++k) !e && a[k] ? (d = k, e = !0, b && 0 < d && (g += "l")) : e && !a[k] && (b && k < a.length && (g += "r", g = "(" + g + ")"), c += " " + f + g + "{" + (d + 1) + "-" + k + "}", e = !1, g = ""); e && (b && (g = "(" + g + ")"), c += " " + f + g + "{" + (d + 1) + "-" + a.length + "} "); return c } var B = ["\\caption{My caption}", "\\label{my-label}"]; e.prototype = { cellNeedsLeftBorder: function(a, b, c) { return 1 == this.vlines[a][b] && 0 == b && (0 == this.continuous_vlines[b] || c) }, cellNeedsRightBorder: function(a, b, c) { return 0 < this.vlines[a][b + 1] && (0 == this.continuous_vlines[b + 1] || c) }, getColumnsVLines: function() { return this.continuous_vlines.map(function(a) { return 1 == a ? "|" : "" }) } }; b.prototype = { addCellColorCode: function(a, b, c, d) { var e = this.table.getCell(b, c); if (e.isVisible()) { var f = this.fg_colors[b][c]; f && (a = "{\\color" + this.genLaTeXColor(f) + " " + a + "}"); e = 1 < e.rowspan() || 1 < e.colspan(); f = this.table_view.getCellView(b, c, !0).style; f = f.hasBgColor() ? f.getBgColor() : null; c = this.column_colors[c]; b = this.row_colors[b]; f && (f != c && f != b || e) ? a = "\\cellcolor" + this.genLaTeXColor(f) + a : d && (f || c) && (a = "\\cellcolor" + this.genLaTeXColor(f || c) + a); return a } }, genLaTeXColor: function(a) { c(a); a = String(a); "#" == a.substr(0, 1) && (a = a.substr(1).toUpperCase()); return "[HTML]{" + a + "}" }, addColumnColor: function(a, b) { c(0 <= b && b < this.table.col_count); var d = a, e = this.column_colors[b]; e && (d = "\n>{\\columncolor" + this.genLaTeXColor(e) + "}" + a + " "); return d }, addRowColor: function(a, b) { c(0 <= b && b < this.table.row_count); var d = a, e = this.row_colors[b]; e && (d = "\\rowcolor" + this.genLaTeXColor(e) + " " + a); return d }, areColorsUsed: function() { return this.colors_used } }; var v = null, C = null, K = 3; return function(c, f, g, n, m) { f = f || !1; g = g || !1; m = m || []; var p = [], t = !n; n = -1 != m.indexOf(LaTeXExportOptions.SCALE_TABLE); var P = c.model, U = [], K = [], R = a(c); v = new b(c); C = new e(c); for (var la = 0; la < P.row_count; ++la) { var Ha = [], J = [], ja = la == P.row_count - 1; P.forEachCellInRow(la, function(a, b) { c.getCellView(la, b, !0); var d; d = a; var e = la, f = g; if (0 > d.colspan()) d = null; else { var n = d.rowspan(), m = 1 < n, p = !0; if (1 != d.rowspan()) if (p = !1, v.areColorsUsed()) if (1 < d.rowspan()) m = !1; else { var q = c.model.getCell(e, b); q.rowspan() == -d.rowspan() + 1 && (m = p = !0, n = -q.rowspan()); e += d.rowspan(); d = q } else 1 < d.rowspan() ? p = !0 : (q = c.model.getCell(e, b), e += d.rowspan(), d = q); var q = c.getCellView(e, b, !0).style.getHorizontalAlign(), t = ""; p && (t = d.isVisible() ? d.value().toString() : "", t = t.trim(), f && (t = k(t)), -1 != t.indexOf("\n") && (f = q, t = t.split(/\n/g), f = f ? f[0] : "c", t = "\\begin{tabular}[c]{@{}" + f + "@{}}" + t.join("\\\\ ") + "\\end{tabular}"), f = c.getCellView(e, b).style, f.hasFontStyle("bold") && (t = "\\textbf{" + t + "}"), f.hasFontStyle("italic") && (t = "\\textit{" + t + "}")); f = e; p = c.model; if (0 > f || f >= p.row_count || 0 > b || b >= p.col_count) f = !1; else var p = p.getCell(f, b, !0), P = c.getCellView(f, b).style.getHorizontalAlign(), f = 1 < p.colspan() || C.cellNeedsLeftBorder(f, b, !1) || C.cellNeedsRightBorder(f, b, !1) || P != R[b]; t = v.addCellColorCode(t, e, b, f); t.match(/^\s+$/) && (t = "~"); m && (t = "\\multirow{" + n + "}{*}{" + t + "}"); f ? (q = q[0], C.cellNeedsLeftBorder(e, b, !0) && (q = "|" + q), C.cellNeedsRightBorder(e, b, !0) && (q += "|"), t = "\\multicolumn{" + Math.max(1, d.colspan()) + "}{" + q + "}{" + t + "}") : 0 > d.rowspan() && (t = ""); d = t } null != d && Ha.push(d); J.push(c.hasBorder(la, b, "top")); ja && K.push(c.hasBorder(la, b, "bottom")) }); p.push(Ha); var ca = x(J, f, la, P.row_count); U.push(ca); ja && (ca = x(K, f, la + 1, P.row_count), U.push(ca)) } t && (p = q(p, P)); var t = d(c, R, v), aa = []; aa.push("\\begin{table}[h]"); - 1 != m.indexOf(LaTeXExportOptions.CENTERING) && aa.push("\\centering"); - 1 != m.indexOf(LaTeXExportOptions.CAPTION_ABOVE) && (aa = aa.concat(B)); f && (t = "@{}" + t + "@{}"); n && aa.push("\\resizebox{\\textwidth}{!}{%"); aa.push("\\begin{tabular}{" + t + "}"); 0 < U[0].length && aa.push($.trim(U[0])); p.forEach(function(a, b) { var c = a.join(" & "); if (b + 1 < P.row_count || 0 != $.trim(U[b + 1]).length) c += " \\\\"; var d = v.addRowColor("", b); 0 < d.length && aa.push(d); c += U[b + 1]; aa.push(c) }); aa.push("\\end{tabular}"); n && aa.push("}"); - 1 != m.indexOf(LaTeXExportOptions.CAPTION_BELOW) && (aa = aa.concat(B)); aa.push("\\end{table}"); m = aa.join("\n"); p = []; f && p.push("% \\usepackage{booktabs}"); - 1 != m.search("\\multirow") && p.push("% \\usepackage{multirow}"); n && p.push("% \\usepackage{graphicx}"); v.areColorsUsed() && (p.push("% \\usepackage[table,xcdraw]{xcolor}"), p.push('% If you use beamer only pass "xcolor=table" option, i.e. \\documentclass[xcolor=table]{beamer}')); 0 < p.length && (m = "% Please add the following required packages to your document preamble:\n" + p.join("\n") + "\n" + m); return m } }(); var TextExport = function() { function c(a, b, c) { for (var d = c[b], e = 1; e < a.colspan(); ++e) d += c[b + e]; return d += a.colspan() - 1 } function g(a, b, c, f) { for (var g = f[b] + 1, k = [], B = 0; B < g; ++B) { var v = d("", c.length); k.push(v) } a.forEachCellInRow(b, function(v, B) { var A = !1; if (v.isVisible()) A = 1 == v.rowspan(), e(v).forEach(function(a, b) { b >= g || (k[b][B] = a) }); else if (0 < v.colspan() && 0 > v.rowspan()) { for (var y = a.getCell(b, B), E = e(y), N = 0, I = 0; I < -v.rowspan(); ++I) N += f[b - (I + 1)] + 1; for (var Z = Math.min(E.length, N + g), I = N; I < Z; ++I) k[I - N][B] = E[I]; y.rowspan() == -v.rowspan() + 1 && (A = !0) } if (A) { for (I = A = 0; I < v.colspan(); ++I) A += c[B + I]; A += v.colspan() - 1; I = d("-", A).join(""); k[g - 1][B] = I } }); return k } function e(a) { a = a.value().toString(); a = a.replace(/ /ig, " ").replace(/\n$/, ""); var b = []; a.split("\n").forEach(function(a) { b.push(" " + a + " ") }); return b } function b(a) { var b = 0; e(a).forEach(function(a) { b = Math.max(b, wcwidth(a)) }); return b } function d(a, b) { for (var c = [], d = 0; d < b; ++d) c.push(a); return c } function a(a) { for (var e = d(0, a.col_count), f = 0; f < a.row_count; ++f) a.forEachCellInRow(f, function(a, c) { if (1 == a.colspan()) { var d = b(a); e[c] = Math.max(e[c], d) } }); for (f = 0; f < a.row_count; ++f) a.forEachCellInRow(f, function(a, d) { if (!(1 >= a.colspan())) { var f = b(a) - c(a, d, e); if (0 < f) for (var g = Math.floor(f / a.colspan()), f = f % a.colspan(), k = 0; k < a.colspan(); ++k) e[d + k] += g, 0 < f && (e[d + k] += 1, f -= 1) } }); return e } function f(a) { for (var b = [], c = 0; c < a.row_count; ++c) { var d = 0; a.forEachCellInRow(c, function(a) { 1 < a.rowspan() || (d = Math.max(d, e(a).length)) }); b.push(d) } for (c = 0; c < a.row_count; ++c) a.forEachCellInRow(c, function(a) { if (!(1 >= a.rowspan())) { for (var d = e(a).length, f = 0, g = 0; g < a.rowspan(); ++g) f += b[c + g]; f += a.rowspan() - 1; g = d - f; if (0 < g) for (d = Math.floor(g / a.rowspan()), f = g % a.rowspan(), g = 0; g < a.rowspan(); ++g) b[c + g] += d, 0 < f && (b[c + g] += 1, f -= 1) } }); return b } function k(a, b, c) { "left" == c ? (c = wcwidth(a), c < b && (a += d(" ", b - c).join(""))) : "right" == c ? (c = wcwidth(a), c < b && (a = d(" ", b - c).join("") + a)) : "center" == c && (c = wcwidth(a), b -= c, 0 < b && (c = Math.floor(b / 2), a = d(" ", Math.floor(b / 2) + b % 2).join("") + a + d(" ", c).join(""))); return a } return function(b) { var e = b.model, m = a(e), q = f(e), t = [], x = [""]; e.forEachCellInRow(0, function(a, b) { if (!(1 > a.colspan())) { var e = c(a, b, m); x.push(d("-", e).join("")) } }); x.push(""); t.push(x.join("+")); for (var B = 0; B < e.row_count; ++B) { var v = g(e, B, m, q); v.forEach(function(a, d) { var f = [""]; a.forEach(function(a, d) { var g = e.getCell(B, d, !0); if (!(1 > g.colspan())) { var g = c(g, d, m), q = b.getCellView(B, d).style; f.push(k(a, g, q.getHorizontalAlign())) } }); f.push(""); t.push(f.join(d < v.length - 1 ? "|" : "+")) }) } return t.join("\n") } }(); var MarkdownExport = function() { function c(a, b, c) { for (var d = c[b], e = 1; e < a.colspan(); ++e) d += c[b + e]; return d += a.colspan() - 1 } function g(a, b, c, f) { var g = f[b]; 0 == b && ++g; for (var k = [], B = 0; B < g; ++B) { var v = d("", c.length); k.push(v) } a.forEachCellInRow(b, function(v, B) { var A = 0 == b; if (v.isVisible()) e(v).forEach(function(a, b) { b >= g || (k[b][B] = a) }); else if (0 < v.colspan() && 0 > v.rowspan()) { for (var y = a.getCell(b, B), E = e(y), N = 0, y = 0; y < -v.rowspan(); ++y) N += f[b - (y + 1)] + 1; for (var I = Math.min(E.length, N + g), y = N; y < I; ++y) k[y - N][B] = E[y] } if (A) { for (y = A = 0; y < v.colspan(); ++y) A += c[B + y]; A += v.colspan() - 1; A = d("-", A).join(""); k[g - 1][B] = A } }); return k } function e(a) { a = a.value().toString(); a = a.replace(/ /ig, " ").replace(/\n$/, ""); a = a.replace(/\n/g, " "); var b = []; a.split("\n").forEach(function(a) { b.push(" " + a + " ") }); return b } function b(a) { var b = 0; e(a).forEach(function(a) { b = Math.max(b, wcwidth(a)) }); return b } function d(a, b) { for (var c = [], d = 0; d < b; ++d) c.push(a); return c } function a(a) { for (var e = d(0, a.col_count), f = 0; f < a.row_count; ++f) a.forEachCellInRow(f, function(a, c) { if (1 == a.colspan()) { var d = b(a); e[c] = Math.max(e[c], d) } }); for (f = 0; f < a.row_count; ++f) a.forEachCellInRow(f, function(a, d) { if (!(1 >= a.colspan())) { var f = b(a) - c(a, d, e); if (0 < f) for (var g = Math.floor(f / a.colspan()), f = f % a.colspan(), k = 0; k < a.colspan(); ++k) e[d + k] += g, 0 < f && (e[d + k] += 1, f -= 1) } }); for (a = 0; a < e.length; ++a) e[a] = Math.max(e[a], 3); return e } function f(a) { for (var b = [], c = 0; c < a.row_count; ++c) { var d = 0; a.forEachCellInRow(c, function(a) { 1 < a.rowspan() || (d = Math.max(d, e(a).length)) }); b.push(d) } for (c = 0; c < a.row_count; ++c) a.forEachCellInRow(c, function(a) { if (!(1 >= a.rowspan())) { for (var d = e(a).length, f = 0, g = 0; g < a.rowspan(); ++g) f += b[c + g]; f += a.rowspan() - 1; g = d - f; if (0 < g) for (d = Math.floor(g / a.rowspan()), f = g % a.rowspan(), g = 0; g < a.rowspan(); ++g) b[c + g] += d, 0 < f && (b[c + g] += 1, f -= 1) } }); return b } function k(a, b, c, e) { if ("left" == c) { var f = wcwidth(a); f < b && (a += d(" ", b - f).join("")) } else "right" == c ? (f = wcwidth(a), f < b && (a = d(" ", b - f).join("") + a)) : "center" == c && (f = wcwidth(a), b -= f, 0 < b && (f = Math.floor(b / 2), a = d(" ", Math.floor(b / 2) + b % 2).join("") + a + d(" ", f).join(""))); 1 == e && ("right" == c ? a = a.substring(0, a.length - 1) + ":" : "center" == c && (a = ":" + a.substring(1, a.length - 1) + ":")); return a } return function(b, d, e) { for (var q = b.model, t = a(q), x = f(q), B = [], v = 0; v < q.row_count; ++v) g(q, v, t, x).forEach(function(a, f) { var g = [], x = 0 == v && 1 == f; a.forEach(function(a, d) { var f = q.getCell(v, d, !0); if (!(1 > f.colspan())) { var p = c(f, d, t); 1 == e && (p = f.value().toString().length + 1); f = b.getCellView(v, d).style; g.push(k(a, p, f.getHorizontalAlign(), x)) } }); g.push(""); B.push("|" + g.join(d ? "\t|" : "|")) }); return B.join("\n") } }(); var MediaWikiExport = function() { function c(b) { var c = []; b.forEach(function(a, b) { c.push(g(a, b)) }); return '{| class="wikitable"\n' + (0 < c.length ? c.join("\n|-\n") : "") + "\n|}" } function g(b, c, a) { var f = [], g = 0 == c ? "! " : "| "; b.forEach(function(a, b) { a.isVisible() && f.push(g + e(a)) }); return f.join(a ? " || " : "\n") } function e(b) { var c = b.value().toString(), c = c.replace(/ /g, " "), c = $.trim(c), a = []; 1 < b.rowspan() && a.push('rowspan="' + b.rowspan() + '"'); 1 < b.colspan() && a.push('colspan="' + b.colspan() + '"'); b = b.view.style; var e = [], g = b.getHorizontalAlign(); "left" != g && e.push("text-align: " + g + ";"); b.font_style.hasOwnProperty("bold") && b.font_style.bold && e.push("font-weight: bold;"); b.font_style.hasOwnProperty("italic") && b.font_style.italic && e.push("font-style: italic;"); b = e.join(" "); "" != b && a.push('style="' + b + '"'); b = ""; 0 < a.length && (b = a.join(" ") + " | "); return b + c } return function(b) { return c(b.model.rows) } }(); var init_latex_tables_ui = function(c) { function g() { var b = c("#latex_table_style").val(), b = LaTeXExport(d, "booktabs" == b, c("#escape-special-tex-symbols").is(":checked"), c("#compress-tex-whitespace").is(":checked"), a); c("#result-code").text(b); Prism.highlightElement(c("#result-code")[0]) } function e(d) { c("#escape-special-tex-symbols").change(g); c("#compress-tex-whitespace").change(g); c('').appendTo(c("#edited_table_container")).click(g); c("#latex_table_style").selectpicker(); c("#latex_table_style").change(function() { "booktabs" == c(this).val() && (d.forEachCellInRow(0, function(a) { a.style.setBorders("tb") }), d.forEachCellInRow(d.model.row_count - 1, function(a) { a.style.setBorders("b") })); g() }); c("#show_example_btn").click(function() { b(d); g() }); var e = [LaTeXExportOptions.CAPTION_ABOVE, LaTeXExportOptions.CAPTION_BELOW], n = !1; c("#extra-options").selectpicker().change(function() { if (n) return !1; var b = c(this).val() || [], d = b.diff(a); a = b; d = 0 < d.length ? d[0] : null; - 1 != e.indexOf(d) && (b = b.diff(e), b.push(d), n = !0, c(this).selectpicker("val", b), n = !1, c(this).selectpicker("refresh"), a = b); g() }) } function b(a) { a.reset(); var b = a.model; b.setRows([ ["Item", "", ""], ["Animal", "Description", "Price ($)"], ["Gnat", "per gram", "13.65"], ["", "each", "0.01"], ["Gnu", "stuffed", "92.50"], ["Emu", "stuffed", "33.33"], ["Armadillo", "frozen", "8.99"] ]); b.mergeCells(0, 0, 0, 1); a.forEachCellViewInRange(function(a) { a.style.setHorizontalAlign("right") }, 0, 2, 6, 2); a.getCellView(0, 0).style.setHorizontalAlign("center"); a.clearSelection(); a.forEachCellInRow(0, function(a) { a.style.setBorders("t") }); a.forEachCellInRange(1, 0, 1, 1, function(a) { a.style.setBorders("t") }); a.forEachCellInRow(2, function(a) { a.style.setBorders("t") }); a.forEachCellInRow(6, function(a) { a.style.setBorders("b") }) } var d = null, a = []; return function(a, b) { var c = new TableModel; c.insertRow([""]); c.resize(4, 5); d = new TableView(c, "#edited_table_container"); d.setLoadIgnore({ theme: !0, fixed_layout: !0 }); e(d); new MainUI(d); a && Main.init_table_from_json(d, a); b && (c = jQuery.parseJSON(b), d.load(c)); g() } }($); var html_tables_ui = function(c) { function g(b, d, a) { function f() { var a = x.is(":checked"); return HTMLExport(p, t.is(":checked"), a, a ? "" : "\n", q) } function g() { var a = f(); c("#result-code").text(a); 16384 > a.length && Prism.highlightElement(c("#result-code")[0]) } var n = new TableModel; n.insertRow([""]); var p = new TableView(n, b, { column_resize_enabled: !0 }), m = new MainUI(p), q = []; p.on("theme_set", function(a) { null == a ? p.setTheme({ ColorTheme: "Default", BorderTheme: "All borders" }) : m.theme_selector.setTheme(a) }); p.theme || p.setTheme({ ColorTheme: "Default", BorderTheme: "All borders" }); c('').appendTo(c("#edited_table_container")).click(g); b = c("
", { "class": "tab-gen-opt-box" }).appendTo(c("#edited_table_container")); var t = c(''); c("