From d37ff20f6728606aac4fa76c5b1ae038d593afef Mon Sep 17 00:00:00 2001 From: Lars Jung Date: Thu, 23 Jun 2011 20:35:28 +0200 Subject: [PATCH] Included build stuff. --- .gitignore | 47 ++++ README.md | 33 ++- build.properties | 19 ++ build.xml | 58 ++++ h5ai/lib/jquery-1.5.min.js | 16 -- h5ai/main.css | 248 ------------------ src/dot.htaccess | 137 ++++++++++ .../h5ai/css/inc/html5reset.less | 0 src/h5ai/css/inc/mixins.less | 87 ++++++ src/h5ai/css/main.less | 244 +++++++++++++++++ src/h5ai/footer.html | 23 ++ src/h5ai/header.html | 32 +++ {h5ai => src/h5ai}/icons/archive.png | Bin {h5ai => src/h5ai}/icons/ascending.png | Bin {h5ai => src/h5ai}/icons/audio.png | Bin {h5ai => src/h5ai}/icons/authors.png | Bin {h5ai => src/h5ai}/icons/bin.png | Bin {h5ai => src/h5ai}/icons/blank.png | Bin {h5ai => src/h5ai}/icons/bmp.png | Bin {h5ai => src/h5ai}/icons/c.png | Bin {h5ai => src/h5ai}/icons/calc.png | Bin {h5ai => src/h5ai}/icons/cd.png | Bin {h5ai => src/h5ai}/icons/copying.png | Bin {h5ai => src/h5ai}/icons/cpp.png | Bin {h5ai => src/h5ai}/icons/crumb.png | Bin {h5ai => src/h5ai}/icons/css.png | Bin {h5ai => src/h5ai}/icons/deb.png | Bin {h5ai => src/h5ai}/icons/default.png | Bin {h5ai => src/h5ai}/icons/descending.png | Bin {h5ai => src/h5ai}/icons/doc.png | Bin {h5ai => src/h5ai}/icons/draw.png | Bin {h5ai => src/h5ai}/icons/eps.png | Bin {h5ai => src/h5ai}/icons/exe.png | Bin {h5ai => src/h5ai}/icons/folder.png | Bin {h5ai => src/h5ai}/icons/gif.png | Bin {h5ai => src/h5ai}/icons/h.png | Bin {h5ai => src/h5ai}/icons/home.png | Bin {h5ai => src/h5ai}/icons/hpp.png | Bin {h5ai => src/h5ai}/icons/html.png | Bin {h5ai => src/h5ai}/icons/ico.png | Bin {h5ai => src/h5ai}/icons/image.png | Bin {h5ai => src/h5ai}/icons/install.png | Bin {h5ai => src/h5ai}/icons/java.png | Bin {h5ai => src/h5ai}/icons/jpg.png | Bin {h5ai => src/h5ai}/icons/js.png | Bin {h5ai => src/h5ai}/icons/log.png | Bin {h5ai => src/h5ai}/icons/makefile.png | Bin {h5ai => src/h5ai}/icons/package.png | Bin {h5ai => src/h5ai}/icons/parent.png | Bin {h5ai => src/h5ai}/icons/pdf.png | Bin {h5ai => src/h5ai}/icons/php.png | Bin {h5ai => src/h5ai}/icons/playlist.png | Bin {h5ai => src/h5ai}/icons/png.png | Bin {h5ai => src/h5ai}/icons/pres.png | Bin {h5ai => src/h5ai}/icons/psd.png | Bin {h5ai => src/h5ai}/icons/py.png | Bin {h5ai => src/h5ai}/icons/rar.png | Bin {h5ai => src/h5ai}/icons/rb.png | Bin {h5ai => src/h5ai}/icons/readme.png | Bin {h5ai => src/h5ai}/icons/reload.png | Bin {h5ai => src/h5ai}/icons/rpm.png | Bin {h5ai => src/h5ai}/icons/rss.png | Bin {h5ai => src/h5ai}/icons/rtf.png | Bin {h5ai => src/h5ai}/icons/script.png | Bin {h5ai => src/h5ai}/icons/source.png | Bin {h5ai => src/h5ai}/icons/sql.png | Bin {h5ai => src/h5ai}/icons/tar.png | Bin {h5ai => src/h5ai}/icons/tex.png | Bin {h5ai => src/h5ai}/icons/text.png | Bin {h5ai => src/h5ai}/icons/unknown.png | Bin {h5ai => src/h5ai}/icons/vcal.png | Bin {h5ai => src/h5ai}/icons/video.png | Bin {h5ai => src/h5ai}/icons/view-details.png | Bin {h5ai => src/h5ai}/icons/view-icons.png | Bin {h5ai => src/h5ai}/icons/xml.png | Bin {h5ai => src/h5ai}/icons/zip.png | Bin {h5ai => src/h5ai}/images/archive.png | Bin {h5ai => src/h5ai}/images/audio.png | Bin {h5ai => src/h5ai}/images/authors.png | Bin {h5ai => src/h5ai}/images/bin.png | Bin {h5ai => src/h5ai}/images/blank.png | Bin {h5ai => src/h5ai}/images/bmp.png | Bin {h5ai => src/h5ai}/images/c.png | Bin {h5ai => src/h5ai}/images/cd.png | Bin {h5ai => src/h5ai}/images/copying.png | Bin {h5ai => src/h5ai}/images/cpp.png | Bin {h5ai => src/h5ai}/images/css.png | Bin {h5ai => src/h5ai}/images/deb.png | Bin {h5ai => src/h5ai}/images/default.png | Bin {h5ai => src/h5ai}/images/exe.png | Bin {h5ai => src/h5ai}/images/folder.png | Bin {h5ai => src/h5ai}/images/gif.png | Bin {h5ai => src/h5ai}/images/gzip.png | Bin {h5ai => src/h5ai}/images/h.png | Bin {h5ai => src/h5ai}/images/hpp.png | Bin {h5ai => src/h5ai}/images/html.png | Bin {h5ai => src/h5ai}/images/html5-css3.png | Bin {h5ai => src/h5ai}/images/html5-semantics.png | Bin {h5ai => src/h5ai}/images/html5-storage.png | Bin {h5ai => src/h5ai}/images/html5.png | Bin {h5ai => src/h5ai}/images/ico.png | Bin {h5ai => src/h5ai}/images/image.png | Bin {h5ai => src/h5ai}/images/install.png | Bin {h5ai => src/h5ai}/images/java.png | Bin {h5ai => src/h5ai}/images/jpg.png | Bin {h5ai => src/h5ai}/images/js.png | Bin {h5ai => src/h5ai}/images/log.png | Bin {h5ai => src/h5ai}/images/makefile.png | Bin {h5ai => src/h5ai}/images/package.png | Bin {h5ai => src/h5ai}/images/parent.png | Bin {h5ai => src/h5ai}/images/pdf.png | Bin {h5ai => src/h5ai}/images/php.png | Bin {h5ai => src/h5ai}/images/png.png | Bin {h5ai => src/h5ai}/images/py.png | Bin {h5ai => src/h5ai}/images/rar.png | Bin {h5ai => src/h5ai}/images/rb.png | Bin {h5ai => src/h5ai}/images/readme.png | Bin {h5ai => src/h5ai}/images/rpm.png | Bin {h5ai => src/h5ai}/images/rtf.png | Bin {h5ai => src/h5ai}/images/script.png | Bin {h5ai => src/h5ai}/images/tar.png | Bin {h5ai => src/h5ai}/images/tex.png | Bin {h5ai => src/h5ai}/images/text.png | Bin {h5ai => src/h5ai}/images/tiff.png | Bin {h5ai => src/h5ai}/images/unknown.png | Bin {h5ai => src/h5ai}/images/xml.png | Bin {h5ai => src/h5ai}/images/zip.png | Bin src/h5ai/js/lib/jquery-1.6.1.min.js | 18 ++ src/h5ai/js/lib/modernizr-2.0.4.min.js | 4 + {h5ai => src/h5ai/js}/main.js | 34 +-- dot.htaccess => target/dot.htaccess | 3 +- target/h5ai/css/main.css | 1 + {h5ai => target/h5ai}/footer.html | 10 +- {h5ai => target/h5ai}/header.html | 10 +- target/h5ai/icons/archive.png | Bin 0 -> 551 bytes target/h5ai/icons/ascending.png | Bin 0 -> 640 bytes target/h5ai/icons/audio.png | Bin 0 -> 554 bytes target/h5ai/icons/authors.png | Bin 0 -> 492 bytes target/h5ai/icons/bin.png | Bin 0 -> 551 bytes target/h5ai/icons/blank.png | Bin 0 -> 227 bytes target/h5ai/icons/bmp.png | Bin 0 -> 663 bytes target/h5ai/icons/c.png | Bin 0 -> 554 bytes target/h5ai/icons/calc.png | Bin 0 -> 506 bytes target/h5ai/icons/cd.png | Bin 0 -> 757 bytes target/h5ai/icons/copying.png | Bin 0 -> 699 bytes target/h5ai/icons/cpp.png | Bin 0 -> 599 bytes target/h5ai/icons/crumb.png | Bin 0 -> 458 bytes target/h5ai/icons/css.png | Bin 0 -> 592 bytes target/h5ai/icons/deb.png | Bin 0 -> 671 bytes target/h5ai/icons/default.png | Bin 0 -> 311 bytes target/h5ai/icons/descending.png | Bin 0 -> 631 bytes target/h5ai/icons/doc.png | Bin 0 -> 535 bytes target/h5ai/icons/draw.png | Bin 0 -> 679 bytes target/h5ai/icons/eps.png | Bin 0 -> 619 bytes target/h5ai/icons/exe.png | Bin 0 -> 846 bytes target/h5ai/icons/folder.png | Bin 0 -> 409 bytes target/h5ai/icons/gif.png | Bin 0 -> 655 bytes target/h5ai/icons/h.png | Bin 0 -> 504 bytes target/h5ai/icons/home.png | Bin 0 -> 460 bytes target/h5ai/icons/hpp.png | Bin 0 -> 530 bytes target/h5ai/icons/html.png | Bin 0 -> 770 bytes target/h5ai/icons/ico.png | Bin 0 -> 792 bytes target/h5ai/icons/image.png | Bin 0 -> 671 bytes target/h5ai/icons/install.png | Bin 0 -> 788 bytes target/h5ai/icons/java.png | Bin 0 -> 658 bytes target/h5ai/icons/jpg.png | Bin 0 -> 675 bytes target/h5ai/icons/js.png | Bin 0 -> 540 bytes target/h5ai/icons/log.png | Bin 0 -> 423 bytes target/h5ai/icons/makefile.png | Bin 0 -> 614 bytes target/h5ai/icons/package.png | Bin 0 -> 614 bytes target/h5ai/icons/parent.png | Bin 0 -> 494 bytes target/h5ai/icons/pdf.png | Bin 0 -> 799 bytes target/h5ai/icons/php.png | Bin 0 -> 757 bytes target/h5ai/icons/playlist.png | Bin 0 -> 610 bytes target/h5ai/icons/png.png | Bin 0 -> 679 bytes target/h5ai/icons/pres.png | Bin 0 -> 629 bytes target/h5ai/icons/psd.png | Bin 0 -> 622 bytes target/h5ai/icons/py.png | Bin 0 -> 743 bytes target/h5ai/icons/rar.png | Bin 0 -> 621 bytes target/h5ai/icons/rb.png | Bin 0 -> 781 bytes target/h5ai/icons/readme.png | Bin 0 -> 384 bytes target/h5ai/icons/reload.png | Bin 0 -> 649 bytes target/h5ai/icons/rpm.png | Bin 0 -> 660 bytes target/h5ai/icons/rss.png | Bin 0 -> 660 bytes target/h5ai/icons/rtf.png | Bin 0 -> 627 bytes target/h5ai/icons/script.png | Bin 0 -> 613 bytes target/h5ai/icons/source.png | Bin 0 -> 586 bytes target/h5ai/icons/sql.png | Bin 0 -> 510 bytes target/h5ai/icons/tar.png | Bin 0 -> 406 bytes target/h5ai/icons/tex.png | Bin 0 -> 677 bytes target/h5ai/icons/text.png | Bin 0 -> 463 bytes target/h5ai/icons/unknown.png | Bin 0 -> 556 bytes target/h5ai/icons/vcal.png | Bin 0 -> 556 bytes target/h5ai/icons/video.png | Bin 0 -> 739 bytes target/h5ai/icons/view-details.png | Bin 0 -> 324 bytes target/h5ai/icons/view-icons.png | Bin 0 -> 295 bytes target/h5ai/icons/xml.png | Bin 0 -> 585 bytes target/h5ai/icons/zip.png | Bin 0 -> 617 bytes target/h5ai/images/archive.png | Bin 0 -> 1433 bytes target/h5ai/images/audio.png | Bin 0 -> 2062 bytes target/h5ai/images/authors.png | Bin 0 -> 1508 bytes target/h5ai/images/bin.png | Bin 0 -> 1767 bytes target/h5ai/images/blank.png | Bin 0 -> 227 bytes target/h5ai/images/bmp.png | Bin 0 -> 2899 bytes target/h5ai/images/c.png | Bin 0 -> 2763 bytes target/h5ai/images/cd.png | Bin 0 -> 3047 bytes target/h5ai/images/copying.png | Bin 0 -> 1980 bytes target/h5ai/images/cpp.png | Bin 0 -> 2685 bytes target/h5ai/images/css.png | Bin 0 -> 1745 bytes target/h5ai/images/deb.png | Bin 0 -> 2317 bytes target/h5ai/images/default.png | Bin 0 -> 997 bytes target/h5ai/images/exe.png | Bin 0 -> 2764 bytes target/h5ai/images/folder.png | Bin 0 -> 1550 bytes target/h5ai/images/gif.png | Bin 0 -> 2690 bytes target/h5ai/images/gzip.png | Bin 0 -> 1836 bytes target/h5ai/images/h.png | Bin 0 -> 2513 bytes target/h5ai/images/hpp.png | Bin 0 -> 2707 bytes target/h5ai/images/html.png | Bin 0 -> 3352 bytes target/h5ai/images/html5-css3.png | Bin 0 -> 424 bytes target/h5ai/images/html5-semantics.png | Bin 0 -> 428 bytes target/h5ai/images/html5-storage.png | Bin 0 -> 535 bytes target/h5ai/images/html5.png | Bin 0 -> 811 bytes target/h5ai/images/ico.png | Bin 0 -> 3408 bytes target/h5ai/images/image.png | Bin 0 -> 2556 bytes target/h5ai/images/install.png | Bin 0 -> 2159 bytes target/h5ai/images/java.png | Bin 0 -> 2645 bytes target/h5ai/images/jpg.png | Bin 0 -> 2996 bytes target/h5ai/images/js.png | Bin 0 -> 3023 bytes target/h5ai/images/log.png | Bin 0 -> 1350 bytes target/h5ai/images/makefile.png | Bin 0 -> 1713 bytes target/h5ai/images/package.png | Bin 0 -> 2686 bytes target/h5ai/images/parent.png | Bin 0 -> 1227 bytes target/h5ai/images/pdf.png | Bin 0 -> 2806 bytes target/h5ai/images/php.png | Bin 0 -> 3358 bytes target/h5ai/images/png.png | Bin 0 -> 2998 bytes target/h5ai/images/py.png | Bin 0 -> 3129 bytes target/h5ai/images/rar.png | Bin 0 -> 2309 bytes target/h5ai/images/rb.png | Bin 0 -> 3220 bytes target/h5ai/images/readme.png | Bin 0 -> 1346 bytes target/h5ai/images/rpm.png | Bin 0 -> 2020 bytes target/h5ai/images/rtf.png | Bin 0 -> 2680 bytes target/h5ai/images/script.png | Bin 0 -> 1881 bytes target/h5ai/images/tar.png | Bin 0 -> 1013 bytes target/h5ai/images/tex.png | Bin 0 -> 2160 bytes target/h5ai/images/text.png | Bin 0 -> 2754 bytes target/h5ai/images/tiff.png | Bin 0 -> 2690 bytes target/h5ai/images/unknown.png | Bin 0 -> 1420 bytes target/h5ai/images/xml.png | Bin 0 -> 2954 bytes target/h5ai/images/zip.png | Bin 0 -> 2232 bytes target/h5ai/js/lib/jquery-1.6.1.min.js | 18 ++ target/h5ai/js/lib/modernizr-2.0.4.min.js | 4 + target/h5ai/js/main.js | 1 + tools/scripp.jar | Bin 0 -> 1101338 bytes 253 files changed, 748 insertions(+), 299 deletions(-) create mode 100644 .gitignore create mode 100644 build.properties create mode 100644 build.xml delete mode 100644 h5ai/lib/jquery-1.5.min.js delete mode 100644 h5ai/main.css create mode 100644 src/dot.htaccess rename h5ai/lib/html5reset.css => src/h5ai/css/inc/html5reset.less (100%) create mode 100644 src/h5ai/css/inc/mixins.less create mode 100644 src/h5ai/css/main.less create mode 100644 src/h5ai/footer.html create mode 100644 src/h5ai/header.html rename {h5ai => src/h5ai}/icons/archive.png (100%) rename {h5ai => src/h5ai}/icons/ascending.png (100%) rename {h5ai => src/h5ai}/icons/audio.png (100%) rename {h5ai => src/h5ai}/icons/authors.png (100%) rename {h5ai => src/h5ai}/icons/bin.png (100%) rename {h5ai => src/h5ai}/icons/blank.png (100%) rename {h5ai => src/h5ai}/icons/bmp.png (100%) rename {h5ai => src/h5ai}/icons/c.png (100%) rename {h5ai => src/h5ai}/icons/calc.png (100%) rename {h5ai => src/h5ai}/icons/cd.png (100%) rename {h5ai => src/h5ai}/icons/copying.png (100%) rename {h5ai => src/h5ai}/icons/cpp.png (100%) rename {h5ai => src/h5ai}/icons/crumb.png (100%) rename {h5ai => src/h5ai}/icons/css.png (100%) rename {h5ai => src/h5ai}/icons/deb.png (100%) rename {h5ai => src/h5ai}/icons/default.png (100%) rename {h5ai => src/h5ai}/icons/descending.png (100%) rename {h5ai => src/h5ai}/icons/doc.png (100%) rename {h5ai => src/h5ai}/icons/draw.png (100%) rename {h5ai => src/h5ai}/icons/eps.png (100%) rename {h5ai => src/h5ai}/icons/exe.png (100%) rename {h5ai => src/h5ai}/icons/folder.png (100%) rename {h5ai => src/h5ai}/icons/gif.png (100%) rename {h5ai => src/h5ai}/icons/h.png (100%) rename {h5ai => src/h5ai}/icons/home.png (100%) rename {h5ai => src/h5ai}/icons/hpp.png (100%) rename {h5ai => src/h5ai}/icons/html.png (100%) rename {h5ai => src/h5ai}/icons/ico.png (100%) rename {h5ai => src/h5ai}/icons/image.png (100%) rename {h5ai => src/h5ai}/icons/install.png (100%) rename {h5ai => src/h5ai}/icons/java.png (100%) rename {h5ai => src/h5ai}/icons/jpg.png (100%) rename {h5ai => src/h5ai}/icons/js.png (100%) rename {h5ai => src/h5ai}/icons/log.png (100%) rename {h5ai => src/h5ai}/icons/makefile.png (100%) rename {h5ai => src/h5ai}/icons/package.png (100%) rename {h5ai => src/h5ai}/icons/parent.png (100%) rename {h5ai => src/h5ai}/icons/pdf.png (100%) rename {h5ai => src/h5ai}/icons/php.png (100%) rename {h5ai => src/h5ai}/icons/playlist.png (100%) rename {h5ai => src/h5ai}/icons/png.png (100%) rename {h5ai => src/h5ai}/icons/pres.png (100%) rename {h5ai => src/h5ai}/icons/psd.png (100%) rename {h5ai => src/h5ai}/icons/py.png (100%) rename {h5ai => src/h5ai}/icons/rar.png (100%) rename {h5ai => src/h5ai}/icons/rb.png (100%) rename {h5ai => src/h5ai}/icons/readme.png (100%) rename {h5ai => src/h5ai}/icons/reload.png (100%) rename {h5ai => src/h5ai}/icons/rpm.png (100%) rename {h5ai => src/h5ai}/icons/rss.png (100%) rename {h5ai => src/h5ai}/icons/rtf.png (100%) rename {h5ai => src/h5ai}/icons/script.png (100%) rename {h5ai => src/h5ai}/icons/source.png (100%) rename {h5ai => src/h5ai}/icons/sql.png (100%) rename {h5ai => src/h5ai}/icons/tar.png (100%) rename {h5ai => src/h5ai}/icons/tex.png (100%) rename {h5ai => src/h5ai}/icons/text.png (100%) rename {h5ai => src/h5ai}/icons/unknown.png (100%) rename {h5ai => src/h5ai}/icons/vcal.png (100%) rename {h5ai => src/h5ai}/icons/video.png (100%) rename {h5ai => src/h5ai}/icons/view-details.png (100%) rename {h5ai => src/h5ai}/icons/view-icons.png (100%) rename {h5ai => src/h5ai}/icons/xml.png (100%) rename {h5ai => src/h5ai}/icons/zip.png (100%) rename {h5ai => src/h5ai}/images/archive.png (100%) rename {h5ai => src/h5ai}/images/audio.png (100%) rename {h5ai => src/h5ai}/images/authors.png (100%) rename {h5ai => src/h5ai}/images/bin.png (100%) rename {h5ai => src/h5ai}/images/blank.png (100%) rename {h5ai => src/h5ai}/images/bmp.png (100%) rename {h5ai => src/h5ai}/images/c.png (100%) rename {h5ai => src/h5ai}/images/cd.png (100%) rename {h5ai => src/h5ai}/images/copying.png (100%) rename {h5ai => src/h5ai}/images/cpp.png (100%) rename {h5ai => src/h5ai}/images/css.png (100%) rename {h5ai => src/h5ai}/images/deb.png (100%) rename {h5ai => src/h5ai}/images/default.png (100%) rename {h5ai => src/h5ai}/images/exe.png (100%) rename {h5ai => src/h5ai}/images/folder.png (100%) rename {h5ai => src/h5ai}/images/gif.png (100%) rename {h5ai => src/h5ai}/images/gzip.png (100%) rename {h5ai => src/h5ai}/images/h.png (100%) rename {h5ai => src/h5ai}/images/hpp.png (100%) rename {h5ai => src/h5ai}/images/html.png (100%) rename {h5ai => src/h5ai}/images/html5-css3.png (100%) rename {h5ai => src/h5ai}/images/html5-semantics.png (100%) rename {h5ai => src/h5ai}/images/html5-storage.png (100%) mode change 100755 => 100644 rename {h5ai => src/h5ai}/images/html5.png (100%) rename {h5ai => src/h5ai}/images/ico.png (100%) rename {h5ai => src/h5ai}/images/image.png (100%) rename {h5ai => src/h5ai}/images/install.png (100%) rename {h5ai => src/h5ai}/images/java.png (100%) rename {h5ai => src/h5ai}/images/jpg.png (100%) rename {h5ai => src/h5ai}/images/js.png (100%) rename {h5ai => src/h5ai}/images/log.png (100%) rename {h5ai => src/h5ai}/images/makefile.png (100%) rename {h5ai => src/h5ai}/images/package.png (100%) rename {h5ai => src/h5ai}/images/parent.png (100%) rename {h5ai => src/h5ai}/images/pdf.png (100%) rename {h5ai => src/h5ai}/images/php.png (100%) rename {h5ai => src/h5ai}/images/png.png (100%) rename {h5ai => src/h5ai}/images/py.png (100%) rename {h5ai => src/h5ai}/images/rar.png (100%) rename {h5ai => src/h5ai}/images/rb.png (100%) rename {h5ai => src/h5ai}/images/readme.png (100%) rename {h5ai => src/h5ai}/images/rpm.png (100%) rename {h5ai => src/h5ai}/images/rtf.png (100%) rename {h5ai => src/h5ai}/images/script.png (100%) rename {h5ai => src/h5ai}/images/tar.png (100%) rename {h5ai => src/h5ai}/images/tex.png (100%) rename {h5ai => src/h5ai}/images/text.png (100%) rename {h5ai => src/h5ai}/images/tiff.png (100%) rename {h5ai => src/h5ai}/images/unknown.png (100%) rename {h5ai => src/h5ai}/images/xml.png (100%) rename {h5ai => src/h5ai}/images/zip.png (100%) create mode 100644 src/h5ai/js/lib/jquery-1.6.1.min.js create mode 100644 src/h5ai/js/lib/modernizr-2.0.4.min.js rename {h5ai => src/h5ai/js}/main.js (92%) rename dot.htaccess => target/dot.htaccess (99%) create mode 100644 target/h5ai/css/main.css rename {h5ai => target/h5ai}/footer.html (77%) rename {h5ai => target/h5ai}/header.html (73%) create mode 100644 target/h5ai/icons/archive.png create mode 100644 target/h5ai/icons/ascending.png create mode 100644 target/h5ai/icons/audio.png create mode 100644 target/h5ai/icons/authors.png create mode 100644 target/h5ai/icons/bin.png create mode 100644 target/h5ai/icons/blank.png create mode 100644 target/h5ai/icons/bmp.png create mode 100644 target/h5ai/icons/c.png create mode 100644 target/h5ai/icons/calc.png create mode 100644 target/h5ai/icons/cd.png create mode 100644 target/h5ai/icons/copying.png create mode 100644 target/h5ai/icons/cpp.png create mode 100644 target/h5ai/icons/crumb.png create mode 100644 target/h5ai/icons/css.png create mode 100644 target/h5ai/icons/deb.png create mode 100644 target/h5ai/icons/default.png create mode 100644 target/h5ai/icons/descending.png create mode 100644 target/h5ai/icons/doc.png create mode 100644 target/h5ai/icons/draw.png create mode 100644 target/h5ai/icons/eps.png create mode 100644 target/h5ai/icons/exe.png create mode 100644 target/h5ai/icons/folder.png create mode 100644 target/h5ai/icons/gif.png create mode 100644 target/h5ai/icons/h.png create mode 100644 target/h5ai/icons/home.png create mode 100644 target/h5ai/icons/hpp.png create mode 100644 target/h5ai/icons/html.png create mode 100644 target/h5ai/icons/ico.png create mode 100644 target/h5ai/icons/image.png create mode 100644 target/h5ai/icons/install.png create mode 100644 target/h5ai/icons/java.png create mode 100644 target/h5ai/icons/jpg.png create mode 100644 target/h5ai/icons/js.png create mode 100644 target/h5ai/icons/log.png create mode 100644 target/h5ai/icons/makefile.png create mode 100644 target/h5ai/icons/package.png create mode 100644 target/h5ai/icons/parent.png create mode 100644 target/h5ai/icons/pdf.png create mode 100644 target/h5ai/icons/php.png create mode 100644 target/h5ai/icons/playlist.png create mode 100644 target/h5ai/icons/png.png create mode 100644 target/h5ai/icons/pres.png create mode 100644 target/h5ai/icons/psd.png create mode 100644 target/h5ai/icons/py.png create mode 100644 target/h5ai/icons/rar.png create mode 100644 target/h5ai/icons/rb.png create mode 100644 target/h5ai/icons/readme.png create mode 100644 target/h5ai/icons/reload.png create mode 100644 target/h5ai/icons/rpm.png create mode 100644 target/h5ai/icons/rss.png create mode 100644 target/h5ai/icons/rtf.png create mode 100644 target/h5ai/icons/script.png create mode 100644 target/h5ai/icons/source.png create mode 100644 target/h5ai/icons/sql.png create mode 100644 target/h5ai/icons/tar.png create mode 100644 target/h5ai/icons/tex.png create mode 100644 target/h5ai/icons/text.png create mode 100644 target/h5ai/icons/unknown.png create mode 100644 target/h5ai/icons/vcal.png create mode 100644 target/h5ai/icons/video.png create mode 100644 target/h5ai/icons/view-details.png create mode 100644 target/h5ai/icons/view-icons.png create mode 100644 target/h5ai/icons/xml.png create mode 100644 target/h5ai/icons/zip.png create mode 100644 target/h5ai/images/archive.png create mode 100644 target/h5ai/images/audio.png create mode 100644 target/h5ai/images/authors.png create mode 100644 target/h5ai/images/bin.png create mode 100644 target/h5ai/images/blank.png create mode 100644 target/h5ai/images/bmp.png create mode 100644 target/h5ai/images/c.png create mode 100644 target/h5ai/images/cd.png create mode 100644 target/h5ai/images/copying.png create mode 100644 target/h5ai/images/cpp.png create mode 100644 target/h5ai/images/css.png create mode 100644 target/h5ai/images/deb.png create mode 100644 target/h5ai/images/default.png create mode 100644 target/h5ai/images/exe.png create mode 100644 target/h5ai/images/folder.png create mode 100644 target/h5ai/images/gif.png create mode 100644 target/h5ai/images/gzip.png create mode 100644 target/h5ai/images/h.png create mode 100644 target/h5ai/images/hpp.png create mode 100644 target/h5ai/images/html.png create mode 100644 target/h5ai/images/html5-css3.png create mode 100644 target/h5ai/images/html5-semantics.png create mode 100644 target/h5ai/images/html5-storage.png create mode 100644 target/h5ai/images/html5.png create mode 100644 target/h5ai/images/ico.png create mode 100644 target/h5ai/images/image.png create mode 100644 target/h5ai/images/install.png create mode 100644 target/h5ai/images/java.png create mode 100644 target/h5ai/images/jpg.png create mode 100644 target/h5ai/images/js.png create mode 100644 target/h5ai/images/log.png create mode 100644 target/h5ai/images/makefile.png create mode 100644 target/h5ai/images/package.png create mode 100644 target/h5ai/images/parent.png create mode 100644 target/h5ai/images/pdf.png create mode 100644 target/h5ai/images/php.png create mode 100644 target/h5ai/images/png.png create mode 100644 target/h5ai/images/py.png create mode 100644 target/h5ai/images/rar.png create mode 100644 target/h5ai/images/rb.png create mode 100644 target/h5ai/images/readme.png create mode 100644 target/h5ai/images/rpm.png create mode 100644 target/h5ai/images/rtf.png create mode 100644 target/h5ai/images/script.png create mode 100644 target/h5ai/images/tar.png create mode 100644 target/h5ai/images/tex.png create mode 100644 target/h5ai/images/text.png create mode 100644 target/h5ai/images/tiff.png create mode 100644 target/h5ai/images/unknown.png create mode 100644 target/h5ai/images/xml.png create mode 100644 target/h5ai/images/zip.png create mode 100644 target/h5ai/js/lib/jquery-1.6.1.min.js create mode 100644 target/h5ai/js/lib/modernizr-2.0.4.min.js create mode 100644 target/h5ai/js/main.js create mode 100644 tools/scripp.jar diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..cef12683 --- /dev/null +++ b/.gitignore @@ -0,0 +1,47 @@ + +# Build folders to ignore +bin +build +#target + +# Eclipse +.classpath +.ant-targets-build.xml + +# Numerous always-ignore extensions +*.diff +*.err +*.orig +*.log +*.rej +*.swo +*.swp +*.vi +*~ +*.sass-cache + +# OS or Editor folders +.DS_Store +.cache +.project +.settings +.tmproj +nbproject +Thumbs.db + +# Dreamweaver added files +_notes +dwsync.xml + +# Komodo +*.komodoproject +.komodotools + +# Folders to ignore +.hg +.svn +.CVS +intermediate +publish +.idea + diff --git a/README.md b/README.md index a9833847..8013add8 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ -h5ai - a beautified Apache index -================================ +h5ai v0.3 - a beautified Apache index +===================================== + Screenshots ----------- @@ -23,9 +24,10 @@ View a [sample folder](http://repo.larsjung.de/h5ai-sample) Install ------- -* Copy the `h5ai` folder to the web-root directory of your server or alternativly set an alias `/h5ai/` to +* Everything you need is located in folder `target`. +* Copy folder `h5ai` to the web-root directory of your server or alternativly set an alias `/h5ai/` to this folder. -* Add the content of file `dot.htaccess` to the `.htaccess` file in the directory +* Add the content of file `dot.htaccess` to the `.htaccess` file inside the directory you want to be styled (you might have to create this file). This directory and any subdirectories will be styled by h5ai. * Optionally add `h5ai.header.html` and/or `h5ai.footer.html` files to any of the styled folders to [display @@ -36,6 +38,14 @@ Install Changelog --------- +### v0.3 +*2011-06-23* + +* included build stuff, files previously found in the base directory are now located in folder `target` +* styles and scripts are now minified +* added Modernizr 2.0.4 for future use +* updated jQuery to version 1.6.1 + ### v0.2.3 *2011-06-17* @@ -77,12 +87,13 @@ Author License ------- -Creative Commons License - -This project is licensed under the [CC BY-SA 3.0 License](http://creativecommons.org/licenses/by-sa/3.0/). - - -It is based on the awesome [HTML5 Boilerplate](http://html5boilerplate.com) and the beautiful -[Faenza icon set](http://tiheum.deviantart.com/art/Faenza-Icons-173323228), please respect their rights. +Creative Commons License +This project is licensed under the [CC BY-SA 3.0 License](http://creativecommons.org/licenses/by-sa/3.0/). +It is based on +[HTML5 Boilerplate](http://html5boilerplate.com), +[jQuery](http://jquery.com), +[Modernizr](http://www.modernizr.com) and +[Faenza icon set](http://tiheum.deviantart.com/art/Faenza-Icons-173323228), +please respect their rights. diff --git a/build.properties b/build.properties new file mode 100644 index 00000000..19905f99 --- /dev/null +++ b/build.properties @@ -0,0 +1,19 @@ +custom = true + + +# project +project.name = h5ai +project.version = 0.3 + + +# src +src.dir = src + + +# build +build.dir = target + + +# libs +lib.scripp.jar = tools/scripp.jar + diff --git a/build.xml b/build.xml new file mode 100644 index 00000000..a214d5c0 --- /dev/null +++ b/build.xml @@ -0,0 +1,58 @@ + + + + + + + + + Build: ${build.label} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/h5ai/lib/jquery-1.5.min.js b/h5ai/lib/jquery-1.5.min.js deleted file mode 100644 index 9144b8ae..00000000 --- a/h5ai/lib/jquery-1.5.min.js +++ /dev/null @@ -1,16 +0,0 @@ -/*! - * jQuery JavaScript Library v1.5 - * http://jquery.com/ - * - * Copyright 2011, John Resig - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * Includes Sizzle.js - * http://sizzlejs.com/ - * Copyright 2011, The Dojo Foundation - * Released under the MIT, BSD, and GPL Licenses. - * - * Date: Mon Jan 31 08:31:29 2011 -0500 - */ -(function(a,b){function b$(a){return d.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function bX(a){if(!bR[a]){var b=d("<"+a+">").appendTo("body"),c=b.css("display");b.remove();if(c==="none"||c==="")c="block";bR[a]=c}return bR[a]}function bW(a,b){var c={};d.each(bV.concat.apply([],bV.slice(0,b)),function(){c[this]=a});return c}function bJ(a,c){a.dataFilter&&(c=a.dataFilter(c,a.dataType));var e=a.dataTypes,f=a.converters,g,h=e.length,i,j=e[0],k,l,m,n,o;for(g=1;g=0===c})}function N(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function F(a,b){return(a&&a!=="*"?a+".":"")+b.replace(q,"`").replace(r,"&")}function E(a){var b,c,e,f,g,h,i,j,k,l,m,n,p,q=[],r=[],s=d._data(this,u);typeof s==="function"&&(s=s.events);if(a.liveFired!==this&&s&&s.live&&!a.target.disabled&&(!a.button||a.type!=="click")){a.namespace&&(n=new RegExp("(^|\\.)"+a.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)")),a.liveFired=this;var t=s.live.slice(0);for(i=0;ic)break;a.currentTarget=f.elem,a.data=f.handleObj.data,a.handleObj=f.handleObj,p=f.handleObj.origHandler.apply(f.elem,arguments);if(p===!1||a.isPropagationStopped()){c=f.level,p===!1&&(b=!1);if(a.isImmediatePropagationStopped())break}}return b}}function C(a,b,c){c[0].type=a;return d.event.handle.apply(b,c)}function w(){return!0}function v(){return!1}function f(a,c,f){if(f===b&&a.nodeType===1){f=a.getAttribute("data-"+c);if(typeof f==="string"){try{f=f==="true"?!0:f==="false"?!1:f==="null"?null:d.isNaN(f)?e.test(f)?d.parseJSON(f):f:parseFloat(f)}catch(g){}d.data(a,c,f)}else f=b}return f}var c=a.document,d=function(){function I(){if(!d.isReady){try{c.documentElement.doScroll("left")}catch(a){setTimeout(I,1);return}d.ready()}}var d=function(a,b){return new d.fn.init(a,b,g)},e=a.jQuery,f=a.$,g,h=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]+)$)/,i=/\S/,j=/^\s+/,k=/\s+$/,l=/\d/,m=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,n=/^[\],:{}\s]*$/,o=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,p=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,q=/(?:^|:|,)(?:\s*\[)+/g,r=/(webkit)[ \/]([\w.]+)/,s=/(opera)(?:.*version)?[ \/]([\w.]+)/,t=/(msie) ([\w.]+)/,u=/(mozilla)(?:.*? rv:([\w.]+))?/,v=navigator.userAgent,w,x=!1,y,z="then done fail isResolved isRejected promise".split(" "),A,B=Object.prototype.toString,C=Object.prototype.hasOwnProperty,D=Array.prototype.push,E=Array.prototype.slice,F=String.prototype.trim,G=Array.prototype.indexOf,H={};d.fn=d.prototype={constructor:d,init:function(a,e,f){var g,i,j,k;if(!a)return this;if(a.nodeType){this.context=this[0]=a,this.length=1;return this}if(a==="body"&&!e&&c.body){this.context=c,this[0]=c.body,this.selector="body",this.length=1;return this}if(typeof a==="string"){g=h.exec(a);if(!g||!g[1]&&e)return!e||e.jquery?(e||f).find(a):this.constructor(e).find(a);if(g[1]){e=e instanceof d?e[0]:e,k=e?e.ownerDocument||e:c,j=m.exec(a),j?d.isPlainObject(e)?(a=[c.createElement(j[1])],d.fn.attr.call(a,e,!0)):a=[k.createElement(j[1])]:(j=d.buildFragment([g[1]],[k]),a=(j.cacheable?d.clone(j.fragment):j.fragment).childNodes);return d.merge(this,a)}i=c.getElementById(g[2]);if(i&&i.parentNode){if(i.id!==g[2])return f.find(a);this.length=1,this[0]=i}this.context=c,this.selector=a;return this}if(d.isFunction(a))return f.ready(a);a.selector!==b&&(this.selector=a.selector,this.context=a.context);return d.makeArray(a,this)},selector:"",jquery:"1.5",length:0,size:function(){return this.length},toArray:function(){return E.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,b,c){var e=this.constructor();d.isArray(a)?D.apply(e,a):d.merge(e,a),e.prevObject=this,e.context=this.context,b==="find"?e.selector=this.selector+(this.selector?" ":"")+c:b&&(e.selector=this.selector+"."+b+"("+c+")");return e},each:function(a,b){return d.each(this,a,b)},ready:function(a){d.bindReady(),y.done(a);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(E.apply(this,arguments),"slice",E.call(arguments).join(","))},map:function(a){return this.pushStack(d.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:D,sort:[].sort,splice:[].splice},d.fn.init.prototype=d.fn,d.extend=d.fn.extend=function(){var a,c,e,f,g,h,i=arguments[0]||{},j=1,k=arguments.length,l=!1;typeof i==="boolean"&&(l=i,i=arguments[1]||{},j=2),typeof i!=="object"&&!d.isFunction(i)&&(i={}),k===j&&(i=this,--j);for(;j0)return;y.resolveWith(c,[d]),d.fn.trigger&&d(c).trigger("ready").unbind("ready")}},bindReady:function(){if(!x){x=!0;if(c.readyState==="complete")return setTimeout(d.ready,1);if(c.addEventListener)c.addEventListener("DOMContentLoaded",A,!1),a.addEventListener("load",d.ready,!1);else if(c.attachEvent){c.attachEvent("onreadystatechange",A),a.attachEvent("onload",d.ready);var b=!1;try{b=a.frameElement==null}catch(e){}c.documentElement.doScroll&&b&&I()}}},isFunction:function(a){return d.type(a)==="function"},isArray:Array.isArray||function(a){return d.type(a)==="array"},isWindow:function(a){return a&&typeof a==="object"&&"setInterval"in a},isNaN:function(a){return a==null||!l.test(a)||isNaN(a)},type:function(a){return a==null?String(a):H[B.call(a)]||"object"},isPlainObject:function(a){if(!a||d.type(a)!=="object"||a.nodeType||d.isWindow(a))return!1;if(a.constructor&&!C.call(a,"constructor")&&!C.call(a.constructor.prototype,"isPrototypeOf"))return!1;var c;for(c in a){}return c===b||C.call(a,c)},isEmptyObject:function(a){for(var b in a)return!1;return!0},error:function(a){throw a},parseJSON:function(b){if(typeof b!=="string"||!b)return null;b=d.trim(b);if(n.test(b.replace(o,"@").replace(p,"]").replace(q,"")))return a.JSON&&a.JSON.parse?a.JSON.parse(b):(new Function("return "+b))();d.error("Invalid JSON: "+b)},parseXML:function(b,c,e){a.DOMParser?(e=new DOMParser,c=e.parseFromString(b,"text/xml")):(c=new ActiveXObject("Microsoft.XMLDOM"),c.async="false",c.loadXML(b)),e=c.documentElement,(!e||!e.nodeName||e.nodeName==="parsererror")&&d.error("Invalid XML: "+b);return c},noop:function(){},globalEval:function(a){if(a&&i.test(a)){var b=c.getElementsByTagName("head")[0]||c.documentElement,e=c.createElement("script");e.type="text/javascript",d.support.scriptEval()?e.appendChild(c.createTextNode(a)):e.text=a,b.insertBefore(e,b.firstChild),b.removeChild(e)}},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,c,e){var f,g=0,h=a.length,i=h===b||d.isFunction(a);if(e){if(i){for(f in a)if(c.apply(a[f],e)===!1)break}else for(;g1?(g=Array(c),d.each(b,function(a,b){d.when(b).then(function(b){g[a]=arguments.length>1?E.call(arguments,0):b,--c||e.resolveWith(f,g)},e.reject)})):e!==a&&e.resolve(a);return f},uaMatch:function(a){a=a.toLowerCase();var b=r.exec(a)||s.exec(a)||t.exec(a)||a.indexOf("compatible")<0&&u.exec(a)||[];return{browser:b[1]||"",version:b[2]||"0"}},sub:function(){function a(b,c){return new a.fn.init(b,c)}d.extend(!0,a,this),a.superclass=this,a.fn=a.prototype=this(),a.fn.constructor=a,a.subclass=this.subclass,a.fn.init=function b(b,c){c&&c instanceof d&&!(c instanceof a)&&(c=a(c));return d.fn.init.call(this,b,c,e)},a.fn.init.prototype=a.fn;var e=a(c);return a},browser:{}}),y=d._Deferred(),d.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(a,b){H["[object "+b+"]"]=b.toLowerCase()}),w=d.uaMatch(v),w.browser&&(d.browser[w.browser]=!0,d.browser.version=w.version),d.browser.webkit&&(d.browser.safari=!0),G&&(d.inArray=function(a,b){return G.call(b,a)}),i.test(" ")&&(j=/^[\s\xA0]+/,k=/[\s\xA0]+$/),g=d(c),c.addEventListener?A=function(){c.removeEventListener("DOMContentLoaded",A,!1),d.ready()}:c.attachEvent&&(A=function(){c.readyState==="complete"&&(c.detachEvent("onreadystatechange",A),d.ready())});return a.jQuery=a.$=d}();(function(){d.support={};var b=c.createElement("div");b.style.display="none",b.innerHTML="
a";var e=b.getElementsByTagName("*"),f=b.getElementsByTagName("a")[0],g=c.createElement("select"),h=g.appendChild(c.createElement("option"));if(e&&e.length&&f){d.support={leadingWhitespace:b.firstChild.nodeType===3,tbody:!b.getElementsByTagName("tbody").length,htmlSerialize:!!b.getElementsByTagName("link").length,style:/red/.test(f.getAttribute("style")),hrefNormalized:f.getAttribute("href")==="/a",opacity:/^0.55$/.test(f.style.opacity),cssFloat:!!f.style.cssFloat,checkOn:b.getElementsByTagName("input")[0].value==="on",optSelected:h.selected,deleteExpando:!0,optDisabled:!1,checkClone:!1,_scriptEval:null,noCloneEvent:!0,boxModel:null,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableHiddenOffsets:!0},g.disabled=!0,d.support.optDisabled=!h.disabled,d.support.scriptEval=function(){if(d.support._scriptEval===null){var b=c.documentElement,e=c.createElement("script"),f="script"+d.now();e.type="text/javascript";try{e.appendChild(c.createTextNode("window."+f+"=1;"))}catch(g){}b.insertBefore(e,b.firstChild),a[f]?(d.support._scriptEval=!0,delete a[f]):d.support._scriptEval=!1,b.removeChild(e),b=e=f=null}return d.support._scriptEval};try{delete b.test}catch(i){d.support.deleteExpando=!1}b.attachEvent&&b.fireEvent&&(b.attachEvent("onclick",function j(){d.support.noCloneEvent=!1,b.detachEvent("onclick",j)}),b.cloneNode(!0).fireEvent("onclick")),b=c.createElement("div"),b.innerHTML="";var k=c.createDocumentFragment();k.appendChild(b.firstChild),d.support.checkClone=k.cloneNode(!0).cloneNode(!0).lastChild.checked,d(function(){var a=c.createElement("div"),b=c.getElementsByTagName("body")[0];if(b){a.style.width=a.style.paddingLeft="1px",b.appendChild(a),d.boxModel=d.support.boxModel=a.offsetWidth===2,"zoom"in a.style&&(a.style.display="inline",a.style.zoom=1,d.support.inlineBlockNeedsLayout=a.offsetWidth===2,a.style.display="",a.innerHTML="
",d.support.shrinkWrapBlocks=a.offsetWidth!==2),a.innerHTML="
t
";var e=a.getElementsByTagName("td");d.support.reliableHiddenOffsets=e[0].offsetHeight===0,e[0].style.display="",e[1].style.display="none",d.support.reliableHiddenOffsets=d.support.reliableHiddenOffsets&&e[0].offsetHeight===0,a.innerHTML="",b.removeChild(a).style.display="none",a=e=null}});var l=function(a){var b=c.createElement("div");a="on"+a;if(!b.attachEvent)return!0;var d=a in b;d||(b.setAttribute(a,"return;"),d=typeof b[a]==="function"),b=null;return d};d.support.submitBubbles=l("submit"),d.support.changeBubbles=l("change"),b=e=f=null}})();var e=/^(?:\{.*\}|\[.*\])$/;d.extend({cache:{},uuid:0,expando:"jQuery"+(d.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){a=a.nodeType?d.cache[a[d.expando]]:a[d.expando];return!!a&&!d.isEmptyObject(a)},data:function(a,c,e,f){if(d.acceptData(a)){var g=d.expando,h=typeof c==="string",i,j=a.nodeType,k=j?d.cache:a,l=j?a[d.expando]:a[d.expando]&&d.expando;if((!l||f&&l&&!k[l][g])&&h&&e===b)return;l||(j?a[d.expando]=l=++d.uuid:l=d.expando),k[l]||(k[l]={}),typeof c==="object"&&(f?k[l][g]=d.extend(k[l][g],c):k[l]=d.extend(k[l],c)),i=k[l],f&&(i[g]||(i[g]={}),i=i[g]),e!==b&&(i[c]=e);if(c==="events"&&!i[c])return i[g]&&i[g].events;return h?i[c]:i}},removeData:function(b,c,e){if(d.acceptData(b)){var f=d.expando,g=b.nodeType,h=g?d.cache:b,i=g?b[d.expando]:d.expando;if(!h[i])return;if(c){var j=e?h[i][f]:h[i];if(j){delete j[c];if(!d.isEmptyObject(j))return}}if(e){delete h[i][f];if(!d.isEmptyObject(h[i]))return}var k=h[i][f];d.support.deleteExpando||h!=a?delete h[i]:h[i]=null,k?(h[i]={},h[i][f]=k):g&&(d.support.deleteExpando?delete b[d.expando]:b.removeAttribute?b.removeAttribute(d.expando):b[d.expando]=null)}},_data:function(a,b,c){return d.data(a,b,c,!0)},acceptData:function(a){if(a.nodeName){var b=d.noData[a.nodeName.toLowerCase()];if(b)return b!==!0&&a.getAttribute("classid")===b}return!0}}),d.fn.extend({data:function(a,c){var e=null;if(typeof a==="undefined"){if(this.length){e=d.data(this[0]);if(this[0].nodeType===1){var g=this[0].attributes,h;for(var i=0,j=g.length;i-1)return!0;return!1},val:function(a){if(!arguments.length){var c=this[0];if(c){if(d.nodeName(c,"option")){var e=c.attributes.value;return!e||e.specified?c.value:c.text}if(d.nodeName(c,"select")){var f=c.selectedIndex,g=[],h=c.options,j=c.type==="select-one";if(f<0)return null;for(var k=j?f:0,l=j?f+1:h.length;k=0;else if(d.nodeName(this,"select")){var f=d.makeArray(e);d("option",this).each(function(){this.selected=d.inArray(d(this).val(),f)>=0}),f.length||(this.selectedIndex=-1)}else this.value=e}})}}),d.extend({attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(a,c,e,f){if(!a||a.nodeType===3||a.nodeType===8||a.nodeType===2)return b;if(f&&c in d.attrFn)return d(a)[c](e);var g=a.nodeType!==1||!d.isXMLDoc(a),h=e!==b;c=g&&d.props[c]||c;if(a.nodeType===1){var i=j.test(c);if(c==="selected"&&!d.support.optSelected){var n=a.parentNode;n&&(n.selectedIndex,n.parentNode&&n.parentNode.selectedIndex)}if((c in a||a[c]!==b)&&g&&!i){h&&(c==="type"&&k.test(a.nodeName)&&a.parentNode&&d.error("type property can't be changed"),e===null?a.nodeType===1&&a.removeAttribute(c):a[c]=e);if(d.nodeName(a,"form")&&a.getAttributeNode(c))return a.getAttributeNode(c).nodeValue;if(c==="tabIndex"){var o=a.getAttributeNode("tabIndex");return o&&o.specified?o.value:l.test(a.nodeName)||m.test(a.nodeName)&&a.href?0:b}return a[c]}if(!d.support.style&&g&&c==="style"){h&&(a.style.cssText=""+e);return a.style.cssText}h&&a.setAttribute(c,""+e);if(!a.attributes[c]&&(a.hasAttribute&&!a.hasAttribute(c)))return b;var p=!d.support.hrefNormalized&&g&&i?a.getAttribute(c,2):a.getAttribute(c);return p===null?b:p}h&&(a[c]=e);return a[c]}});var o=/\.(.*)$/,p=/^(?:textarea|input|select)$/i,q=/\./g,r=/ /g,s=/[^\w\s.|`]/g,t=function(a){return a.replace(s,"\\$&")},u="events";d.event={add:function(c,e,f,g){if(c.nodeType!==3&&c.nodeType!==8){d.isWindow(c)&&(c!==a&&!c.frameElement)&&(c=a);if(f===!1)f=v;else if(!f)return;var h,i;f.handler&&(h=f,f=h.handler),f.guid||(f.guid=d.guid++);var j=d._data(c);if(!j)return;var k=j[u],l=j.handle;typeof k==="function"?(l=k.handle,k=k.events):k||(c.nodeType||(j[u]=j=function(){}),j.events=k={}),l||(j.handle=l=function(){return typeof d!=="undefined"&&!d.event.triggered?d.event.handle.apply(l.elem,arguments):b}),l.elem=c,e=e.split(" ");var m,n=0,o;while(m=e[n++]){i=h?d.extend({},h):{handler:f,data:g},m.indexOf(".")>-1?(o=m.split("."),m=o.shift(),i.namespace=o.slice(0).sort().join(".")):(o=[],i.namespace=""),i.type=m,i.guid||(i.guid=f.guid);var p=k[m],q=d.event.special[m]||{};if(!p){p=k[m]=[];if(!q.setup||q.setup.call(c,g,o,l)===!1)c.addEventListener?c.addEventListener(m,l,!1):c.attachEvent&&c.attachEvent("on"+m,l)}q.add&&(q.add.call(c,i),i.handler.guid||(i.handler.guid=f.guid)),p.push(i),d.event.global[m]=!0}c=null}},global:{},remove:function(a,c,e,f){if(a.nodeType!==3&&a.nodeType!==8){e===!1&&(e=v);var g,h,i,j,k=0,l,m,n,o,p,q,r,s=d.hasData(a)&&d._data(a),w=s&&s[u];if(!s||!w)return;typeof w==="function"&&(s=w,w=w.events),c&&c.type&&(e=c.handler,c=c.type);if(!c||typeof c==="string"&&c.charAt(0)==="."){c=c||"";for(h in w)d.event.remove(a,h+c);return}c=c.split(" ");while(h=c[k++]){r=h,q=null,l=h.indexOf(".")<0,m=[],l||(m=h.split("."),h=m.shift(),n=new RegExp("(^|\\.)"+d.map(m.slice(0).sort(),t).join("\\.(?:.*\\.)?")+"(\\.|$)")),p=w[h];if(!p)continue;if(!e){for(j=0;j=0&&(a.type=f=f.slice(0,-1),a.exclusive=!0),e||(a.stopPropagation(),d.event.global[f]&&d.each(d.cache,function(){var b=d.expando,e=this[b];e&&e.events&&e.events[f]&&d.event.trigger(a,c,e.handle.elem)}));if(!e||e.nodeType===3||e.nodeType===8)return b;a.result=b,a.target=e,c=d.makeArray(c),c.unshift(a)}a.currentTarget=e;var h=e.nodeType?d._data(e,"handle"):(d._data(e,u)||{}).handle;h&&h.apply(e,c);var i=e.parentNode||e.ownerDocument;try{e&&e.nodeName&&d.noData[e.nodeName.toLowerCase()]||e["on"+f]&&e["on"+f].apply(e,c)===!1&&(a.result=!1,a.preventDefault())}catch(j){}if(!a.isPropagationStopped()&&i)d.event.trigger(a,c,i,!0);else if(!a.isDefaultPrevented()){var k,l=a.target,m=f.replace(o,""),n=d.nodeName(l,"a")&&m==="click",p=d.event.special[m]||{};if((!p._default||p._default.call(e,a)===!1)&&!n&&!(l&&l.nodeName&&d.noData[l.nodeName.toLowerCase()])){try{l[m]&&(k=l["on"+m],k&&(l["on"+m]=null),d.event.triggered=!0,l[m]())}catch(q){}k&&(l["on"+m]=k),d.event.triggered=!1}}},handle:function(c){var e,f,g,h,i,j=[],k=d.makeArray(arguments);c=k[0]=d.event.fix(c||a.event),c.currentTarget=this,e=c.type.indexOf(".")<0&&!c.exclusive,e||(g=c.type.split("."),c.type=g.shift(),j=g.slice(0).sort(),h=new RegExp("(^|\\.)"+j.join("\\.(?:.*\\.)?")+"(\\.|$)")),c.namespace=c.namespace||j.join("."),i=d._data(this,u),typeof i==="function"&&(i=i.events),f=(i||{})[c.type];if(i&&f){f=f.slice(0);for(var l=0,m=f.length;l-1?d.map(a.options,function(a){return a.selected}).join("-"):"":a.nodeName.toLowerCase()==="select"&&(c=a.selectedIndex);return c},B=function B(a){var c=a.target,e,f;if(p.test(c.nodeName)&&!c.readOnly){e=d._data(c,"_change_data"),f=A(c),(a.type!=="focusout"||c.type!=="radio")&&d._data(c,"_change_data",f);if(e===b||f===e)return;if(e!=null||f){a.type="change",a.liveFired=b;return d.event.trigger(a,arguments[1],c)}}};d.event.special.change={filters:{focusout:B,beforedeactivate:B,click:function(a){var b=a.target,c=b.type;if(c==="radio"||c==="checkbox"||b.nodeName.toLowerCase()==="select")return B.call(this,a)},keydown:function(a){var b=a.target,c=b.type;if(a.keyCode===13&&b.nodeName.toLowerCase()!=="textarea"||a.keyCode===32&&(c==="checkbox"||c==="radio")||c==="select-multiple")return B.call(this,a)},beforeactivate:function(a){var b=a.target;d._data(b,"_change_data",A(b))}},setup:function(a,b){if(this.type==="file")return!1;for(var c in z)d.event.add(this,c+".specialChange",z[c]);return p.test(this.nodeName)},teardown:function(a){d.event.remove(this,".specialChange");return p.test(this.nodeName)}},z=d.event.special.change.filters,z.focus=z.beforeactivate}c.addEventListener&&d.each({focus:"focusin",blur:"focusout"},function(a,b){function c(a){a=d.event.fix(a),a.type=b;return d.event.handle.call(this,a)}d.event.special[b]={setup:function(){this.addEventListener(a,c,!0)},teardown:function(){this.removeEventListener(a,c,!0)}}}),d.each(["bind","one"],function(a,c){d.fn[c]=function(a,e,f){if(typeof a==="object"){for(var g in a)this[c](g,e,a[g],f);return this}if(d.isFunction(e)||e===!1)f=e,e=b;var h=c==="one"?d.proxy(f,function(a){d(this).unbind(a,h);return f.apply(this,arguments)}):f;if(a==="unload"&&c!=="one")this.one(a,e,f);else for(var i=0,j=this.length;i0?this.bind(b,a,c):this.trigger(b)},d.attrFn&&(d.attrFn[b]=!0)}),function(){function s(a,b,c,d,e,f){for(var g=0,h=d.length;g0){k=j;break}}j=j[a]}d[g]=k}}}function r(a,b,c,d,e,f){for(var g=0,h=d.length;g+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,e=0,f=Object.prototype.toString,g=!1,h=!0;[0,0].sort(function(){h=!1;return 0});var i=function(b,d,e,g){e=e||[],d=d||c;var h=d;if(d.nodeType!==1&&d.nodeType!==9)return[];if(!b||typeof b!=="string")return e;var l,m,o,p,q,r,s,u,v=!0,w=i.isXML(d),x=[],y=b;do{a.exec(""),l=a.exec(y);if(l){y=l[3],x.push(l[1]);if(l[2]){p=l[3];break}}}while(l);if(x.length>1&&k.exec(b))if(x.length===2&&j.relative[x[0]])m=t(x[0]+x[1],d);else{m=j.relative[x[0]]?[d]:i(x.shift(),d);while(x.length)b=x.shift(),j.relative[b]&&(b+=x.shift()),m=t(b,m)}else{!g&&x.length>1&&d.nodeType===9&&!w&&j.match.ID.test(x[0])&&!j.match.ID.test(x[x.length-1])&&(q=i.find(x.shift(),d,w),d=q.expr?i.filter(q.expr,q.set)[0]:q.set[0]);if(d){q=g?{expr:x.pop(),set:n(g)}:i.find(x.pop(),x.length===1&&(x[0]==="~"||x[0]==="+")&&d.parentNode?d.parentNode:d,w),m=q.expr?i.filter(q.expr,q.set):q.set,x.length>0?o=n(m):v=!1;while(x.length)r=x.pop(),s=r,j.relative[r]?s=x.pop():r="",s==null&&(s=d),j.relative[r](o,s,w)}else o=x=[]}o||(o=m),o||i.error(r||b);if(f.call(o)==="[object Array]")if(v)if(d&&d.nodeType===1)for(u=0;o[u]!=null;u++)o[u]&&(o[u]===!0||o[u].nodeType===1&&i.contains(d,o[u]))&&e.push(m[u]);else for(u=0;o[u]!=null;u++)o[u]&&o[u].nodeType===1&&e.push(m[u]);else e.push.apply(e,o);else n(o,e);p&&(i(p,h,e,g),i.uniqueSort(e));return e};i.uniqueSort=function(a){if(p){g=h,a.sort(p);if(g)for(var b=1;b0},i.find=function(a,b,c){var d;if(!a)return[];for(var e=0,f=j.order.length;e":function(a,b){var c,d=typeof b==="string",e=0,f=a.length;if(d&&!/\W/.test(b)){b=b.toLowerCase();for(;e=0)?c||d.push(h):c&&(b[g]=!1));return!1},ID:function(a){return a[1].replace(/\\/g,"")},TAG:function(a,b){return a[1].toLowerCase()},CHILD:function(a){if(a[1]==="nth"){a[2]||i.error(a[0]),a[2]=a[2].replace(/^\+|\s*/g,"");var b=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0,a[3]=b[3]-0}else a[2]&&i.error(a[0]);a[0]=e++;return a},ATTR:function(a,b,c,d,e,f){var g=a[1]=a[1].replace(/\\/g,"");!f&&j.attrMap[g]&&(a[1]=j.attrMap[g]),a[4]=(a[4]||a[5]||"").replace(/\\/g,""),a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(b,c,d,e,f){if(b[1]==="not")if((a.exec(b[3])||"").length>1||/^\w/.test(b[3]))b[3]=i(b[3],null,null,c);else{var g=i.filter(b[3],c,d,!0^f);d||e.push.apply(e,g);return!1}else if(j.match.POS.test(b[0])||j.match.CHILD.test(b[0]))return!0;return b},POS:function(a){a.unshift(!0);return a}},filters:{enabled:function(a){return a.disabled===!1&&a.type!=="hidden"},disabled:function(a){return a.disabled===!0},checked:function(a){return a.checked===!0},selected:function(a){a.parentNode.selectedIndex;return a.selected===!0},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},has:function(a,b,c){return!!i(c[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){return"text"===a.type},radio:function(a){return"radio"===a.type},checkbox:function(a){return"checkbox"===a.type},file:function(a){return"file"===a.type},password:function(a){return"password"===a.type},submit:function(a){return"submit"===a.type},image:function(a){return"image"===a.type},reset:function(a){return"reset"===a.type},button:function(a){return"button"===a.type||a.nodeName.toLowerCase()==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)}},setFilters:{first:function(a,b){return b===0},last:function(a,b,c,d){return b===d.length-1},even:function(a,b){return b%2===0},odd:function(a,b){return b%2===1},lt:function(a,b,c){return bc[3]-0},nth:function(a,b,c){return c[3]-0===b},eq:function(a,b,c){return c[3]-0===b}},filter:{PSEUDO:function(a,b,c,d){var e=b[1],f=j.filters[e];if(f)return f(a,c,b,d);if(e==="contains")return(a.textContent||a.innerText||i.getText([a])||"").indexOf(b[3])>=0;if(e==="not"){var g=b[3];for(var h=0,k=g.length;h=0}},ID:function(a,b){return a.nodeType===1&&a.getAttribute("id")===b},TAG:function(a,b){return b==="*"&&a.nodeType===1||a.nodeName.toLowerCase()===b},CLASS:function(a,b){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(b)>-1},ATTR:function(a,b){var c=b[1],d=j.attrHandle[c]?j.attrHandle[c](a):a[c]!=null?a[c]:a.getAttribute(c),e=d+"",f=b[2],g=b[4];return d==null?f==="!=":f==="="?e===g:f==="*="?e.indexOf(g)>=0:f==="~="?(" "+e+" ").indexOf(g)>=0:g?f==="!="?e!==g:f==="^="?e.indexOf(g)===0:f==="$="?e.substr(e.length-g.length)===g:f==="|="?e===g||e.substr(0,g.length+1)===g+"-":!1:e&&d!==!1},POS:function(a,b,c,d){var e=b[2],f=j.setFilters[e];if(f)return f(a,c,b,d)}}},k=j.match.POS,l=function(a,b){return"\\"+(b-0+1)};for(var m in j.match)j.match[m]=new RegExp(j.match[m].source+/(?![^\[]*\])(?![^\(]*\))/.source),j.leftMatch[m]=new RegExp(/(^(?:.|\r|\n)*?)/.source+j.match[m].source.replace(/\\(\d+)/g,l));var n=function(a,b){a=Array.prototype.slice.call(a,0);if(b){b.push.apply(b,a);return b}return a};try{Array.prototype.slice.call(c.documentElement.childNodes,0)[0].nodeType}catch(o){n=function(a,b){var c=0,d=b||[];if(f.call(a)==="[object Array]")Array.prototype.push.apply(d,a);else if(typeof a.length==="number")for(var e=a.length;c",e.insertBefore(a,e.firstChild),c.getElementById(d)&&(j.find.ID=function(a,c,d){if(typeof c.getElementById!=="undefined"&&!d){var e=c.getElementById(a[1]);return e?e.id===a[1]||typeof e.getAttributeNode!=="undefined"&&e.getAttributeNode("id").nodeValue===a[1]?[e]:b:[]}},j.filter.ID=function(a,b){var c=typeof a.getAttributeNode!=="undefined"&&a.getAttributeNode("id");return a.nodeType===1&&c&&c.nodeValue===b}),e.removeChild(a),e=a=null}(),function(){var a=c.createElement("div");a.appendChild(c.createComment("")),a.getElementsByTagName("*").length>0&&(j.find.TAG=function(a,b){var c=b.getElementsByTagName(a[1]);if(a[1]==="*"){var d=[];for(var e=0;c[e];e++)c[e].nodeType===1&&d.push(c[e]);c=d}return c}),a.innerHTML="",a.firstChild&&typeof a.firstChild.getAttribute!=="undefined"&&a.firstChild.getAttribute("href")!=="#"&&(j.attrHandle.href=function(a){return a.getAttribute("href",2)}),a=null}(),c.querySelectorAll&&function(){var a=i,b=c.createElement("div"),d="__sizzle__";b.innerHTML="

";if(!b.querySelectorAll||b.querySelectorAll(".TEST").length!==0){i=function(b,e,f,g){e=e||c;if(!g&&!i.isXML(e)){var h=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b);if(h&&(e.nodeType===1||e.nodeType===9)){if(h[1])return n(e.getElementsByTagName(b),f);if(h[2]&&j.find.CLASS&&e.getElementsByClassName)return n(e.getElementsByClassName(h[2]),f)}if(e.nodeType===9){if(b==="body"&&e.body)return n([e.body],f);if(h&&h[3]){var k=e.getElementById(h[3]);if(!k||!k.parentNode)return n([],f);if(k.id===h[3])return n([k],f)}try{return n(e.querySelectorAll(b),f)}catch(l){}}else if(e.nodeType===1&&e.nodeName.toLowerCase()!=="object"){var m=e.getAttribute("id"),o=m||d,p=e.parentNode,q=/^\s*[+~]/.test(b);m?o=o.replace(/'/g,"\\$&"):e.setAttribute("id",o),q&&p&&(e=e.parentNode);try{if(!q||p)return n(e.querySelectorAll("[id='"+o+"'] "+b),f)}catch(r){}finally{m||e.removeAttribute("id")}}}return a(b,e,f,g)};for(var e in a)i[e]=a[e];b=null}}(),function(){var a=c.documentElement,b=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector,d=!1;try{b.call(c.documentElement,"[test!='']:sizzle")}catch(e){d=!0}b&&(i.matchesSelector=function(a,c){c=c.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!i.isXML(a))try{if(d||!j.match.PSEUDO.test(c)&&!/!=/.test(c))return b.call(a,c)}catch(e){}return i(c,null,null,[a]).length>0})}(),function(){var a=c.createElement("div");a.innerHTML="
";if(a.getElementsByClassName&&a.getElementsByClassName("e").length!==0){a.lastChild.className="e";if(a.getElementsByClassName("e").length===1)return;j.order.splice(1,0,"CLASS"),j.find.CLASS=function(a,b,c){if(typeof b.getElementsByClassName!=="undefined"&&!c)return b.getElementsByClassName(a[1])},a=null}}(),c.documentElement.contains?i.contains=function(a,b){return a!==b&&(a.contains?a.contains(b):!0)}:c.documentElement.compareDocumentPosition?i.contains=function(a,b){return!!(a.compareDocumentPosition(b)&16)}:i.contains=function(){return!1},i.isXML=function(a){var b=(a?a.ownerDocument||a:0).documentElement;return b?b.nodeName!=="HTML":!1};var t=function(a,b){var c,d=[],e="",f=b.nodeType?[b]:b;while(c=j.match.PSEUDO.exec(a))e+=c[0],a=a.replace(j.match.PSEUDO,"");a=j.relative[a]?a+"*":a;for(var g=0,h=f.length;g0)for(var g=c;g0},closest:function(a,b){var c=[],e,f,g=this[0];if(d.isArray(a)){var h,i,j={},k=1;if(g&&a.length){for(e=0,f=a.length;e-1:d(g).is(h))&&c.push({selector:i,elem:g,level:k});g=g.parentNode,k++}}return c}var l=L.test(a)?d(a,b||this.context):null;for(e=0,f=this.length;e-1:d.find.matchesSelector(g,a)){c.push(g);break}g=g.parentNode;if(!g||!g.ownerDocument||g===b)break}}c=c.length>1?d.unique(c):c;return this.pushStack(c,"closest",a)},index:function(a){if(!a||typeof a==="string")return d.inArray(this[0],a?d(a):this.parent().children());return d.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var c=typeof a==="string"?d(a,b):d.makeArray(a),e=d.merge(this.get(),c);return this.pushStack(N(c[0])||N(e[0])?e:d.unique(e))},andSelf:function(){return this.add(this.prevObject)}}),d.each({parent:function(a){var b=a.parentNode;return b&&b.nodeType!==11?b:null},parents:function(a){return d.dir(a,"parentNode")},parentsUntil:function(a,b,c){return d.dir(a,"parentNode",c)},next:function(a){return d.nth(a,2,"nextSibling")},prev:function(a){return d.nth(a,2,"previousSibling")},nextAll:function(a){return d.dir(a,"nextSibling")},prevAll:function(a){return d.dir(a,"previousSibling")},nextUntil:function(a,b,c){return d.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return d.dir(a,"previousSibling",c)},siblings:function(a){return d.sibling(a.parentNode.firstChild,a)},children:function(a){return d.sibling(a.firstChild)},contents:function(a){return d.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:d.makeArray(a.childNodes)}},function(a,b){d.fn[a]=function(c,e){var f=d.map(this,b,c),g=K.call(arguments);G.test(a)||(e=c),e&&typeof e==="string"&&(f=d.filter(e,f)),f=this.length>1&&!M[a]?d.unique(f):f,(this.length>1||I.test(e))&&H.test(a)&&(f=f.reverse());return this.pushStack(f,a,g.join(","))}}),d.extend({filter:function(a,b,c){c&&(a=":not("+a+")");return b.length===1?d.find.matchesSelector(b[0],a)?[b[0]]:[]:d.find.matches(a,b)},dir:function(a,c,e){var f=[],g=a[c];while(g&&g.nodeType!==9&&(e===b||g.nodeType!==1||!d(g).is(e)))g.nodeType===1&&f.push(g),g=g[c];return f},nth:function(a,b,c,d){b=b||1;var e=0;for(;a;a=a[c])if(a.nodeType===1&&++e===b)break;return a},sibling:function(a,b){var c=[];for(;a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var P=/ jQuery\d+="(?:\d+|null)"/g,Q=/^\s+/,R=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,S=/<([\w:]+)/,T=/",""],legend:[1,"
","
"],thead:[1,"","
"],tr:[2,"","
"],td:[3,"","
"],col:[2,"","
"],area:[1,"",""],_default:[0,"",""]};X.optgroup=X.option,X.tbody=X.tfoot=X.colgroup=X.caption=X.thead,X.th=X.td,d.support.htmlSerialize||(X._default=[1,"div
","
"]),d.fn.extend({text:function(a){if(d.isFunction(a))return this.each(function(b){var c=d(this);c.text(a.call(this,b,c.text()))});if(typeof a!=="object"&&a!==b)return this.empty().append((this[0]&&this[0].ownerDocument||c).createTextNode(a));return d.text(this)},wrapAll:function(a){if(d.isFunction(a))return this.each(function(b){d(this).wrapAll(a.call(this,b))});if(this[0]){var b=d(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&a.firstChild.nodeType===1)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){if(d.isFunction(a))return this.each(function(b){d(this).wrapInner(a.call(this,b))});return this.each(function(){var b=d(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){return this.each(function(){d(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){d.nodeName(this,"body")||d(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});if(arguments.length){var a=d(arguments[0]);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,d(arguments[0]).toArray());return a}},remove:function(a,b){for(var c=0,e;(e=this[c])!=null;c++)if(!a||d.filter(a,[e]).length)!b&&e.nodeType===1&&(d.cleanData(e.getElementsByTagName("*")),d.cleanData([e])),e.parentNode&&e.parentNode.removeChild(e);return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++){b.nodeType===1&&d.cleanData(b.getElementsByTagName("*"));while(b.firstChild)b.removeChild(b.firstChild)}return this},clone:function(a,b){a=a==null?!0:a,b=b==null?a:b;return this.map(function(){return d.clone(this,a,b)})},html:function(a){if(a===b)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(P,""):null;if(typeof a!=="string"||V.test(a)||!d.support.leadingWhitespace&&Q.test(a)||X[(S.exec(a)||["",""])[1].toLowerCase()])d.isFunction(a)?this.each(function(b){var c=d(this);c.html(a.call(this,b,c.html()))}):this.empty().append(a);else{a=a.replace(R,"<$1>");try{for(var c=0,e=this.length;c1&&l0?this.clone(!0):this).get();d(f[h])[b](j),e=e.concat(j)}return this.pushStack(e,a,f.selector)}}),d.extend({clone:function(a,b,c){var e=a.cloneNode(!0),f,g,h;if(!d.support.noCloneEvent&&(a.nodeType===1||a.nodeType===11)&&!d.isXMLDoc(a)){f=a.getElementsByTagName("*"),g=e.getElementsByTagName("*");for(h=0;f[h];++h)$(f[h],g[h]);$(a,e)}if(b){Z(a,e);if(c&&"getElementsByTagName"in a){f=a.getElementsByTagName("*"),g=e.getElementsByTagName("*");if(f.length)for(h=0;f[h];++h)Z(f[h],g[h])}}return e},clean:function(a,b,e,f){b=b||c,typeof b.createElement==="undefined"&&(b=b.ownerDocument||b[0]&&b[0].ownerDocument||c);var g=[];for(var h=0,i;(i=a[h])!=null;h++){typeof i==="number"&&(i+="");if(!i)continue;if(typeof i!=="string"||U.test(i)){if(typeof i==="string"){i=i.replace(R,"<$1>");var j=(S.exec(i)||["",""])[1].toLowerCase(),k=X[j]||X._default,l=k[0],m=b.createElement("div");m.innerHTML=k[1]+i+k[2];while(l--)m=m.lastChild;if(!d.support.tbody){var n=T.test(i),o=j==="table"&&!n?m.firstChild&&m.firstChild.childNodes:k[1]===""&&!n?m.childNodes:[];for(var p=o.length-1;p>=0;--p)d.nodeName(o[p],"tbody")&&!o[p].childNodes.length&&o[p].parentNode.removeChild(o[p])}!d.support.leadingWhitespace&&Q.test(i)&&m.insertBefore(b.createTextNode(Q.exec(i)[0]),m.firstChild),i=m.childNodes}}else i=b.createTextNode(i);i.nodeType?g.push(i):g=d.merge(g,i)}if(e)for(h=0;g[h];h++)!f||!d.nodeName(g[h],"script")||g[h].type&&g[h].type.toLowerCase()!=="text/javascript"?(g[h].nodeType===1&&g.splice.apply(g,[h+1,0].concat(d.makeArray(g[h].getElementsByTagName("script")))),e.appendChild(g[h])):f.push(g[h].parentNode?g[h].parentNode.removeChild(g[h]):g[h]);return g},cleanData:function(a){var b,c,e=d.cache,f=d.expando,g=d.event.special,h=d.support.deleteExpando;for(var i=0,j;(j=a[i])!=null;i++){if(j.nodeName&&d.noData[j.nodeName.toLowerCase()])continue;c=j[d.expando];if(c){b=e[c]&&e[c][f];if(b&&b.events){for(var k in b.events)g[k]?d.event.remove(j,k):d.removeEvent(j,k,b.handle);b.handle&&(b.handle.elem=null)}h?delete j[d.expando]:j.removeAttribute&&j.removeAttribute(d.expando),delete e[c]}}}});var ba=/alpha\([^)]*\)/i,bb=/opacity=([^)]*)/,bc=/-([a-z])/ig,bd=/([A-Z])/g,be=/^-?\d+(?:px)?$/i,bf=/^-?\d/,bg={position:"absolute",visibility:"hidden",display:"block"},bh=["Left","Right"],bi=["Top","Bottom"],bj,bk,bl,bm=function(a,b){return b.toUpperCase()};d.fn.css=function(a,c){if(arguments.length===2&&c===b)return this;return d.access(this,a,c,!0,function(a,c,e){return e!==b?d.style(a,c,e):d.css(a,c)})},d.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=bj(a,"opacity","opacity");return c===""?"1":c}return a.style.opacity}}},cssNumber:{zIndex:!0,fontWeight:!0,opacity:!0,zoom:!0,lineHeight:!0},cssProps:{"float":d.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,c,e,f){if(a&&a.nodeType!==3&&a.nodeType!==8&&a.style){var g,h=d.camelCase(c),i=a.style,j=d.cssHooks[h];c=d.cssProps[h]||h;if(e===b){if(j&&"get"in j&&(g=j.get(a,!1,f))!==b)return g;return i[c]}if(typeof e==="number"&&isNaN(e)||e==null)return;typeof e==="number"&&!d.cssNumber[h]&&(e+="px");if(!j||!("set"in j)||(e=j.set(a,e))!==b)try{i[c]=e}catch(k){}}},css:function(a,c,e){var f,g=d.camelCase(c),h=d.cssHooks[g];c=d.cssProps[g]||g;if(h&&"get"in h&&(f=h.get(a,!0,e))!==b)return f;if(bj)return bj(a,c,g)},swap:function(a,b,c){var d={};for(var e in b)d[e]=a.style[e],a.style[e]=b[e];c.call(a);for(e in b)a.style[e]=d[e]},camelCase:function(a){return a.replace(bc,bm)}}),d.curCSS=d.css,d.each(["height","width"],function(a,b){d.cssHooks[b]={get:function(a,c,e){var f;if(c){a.offsetWidth!==0?f=bn(a,b,e):d.swap(a,bg,function(){f=bn(a,b,e)});if(f<=0){f=bj(a,b,b),f==="0px"&&bl&&(f=bl(a,b,b));if(f!=null)return f===""||f==="auto"?"0px":f}if(f<0||f==null){f=a.style[b];return f===""||f==="auto"?"0px":f}return typeof f==="string"?f:f+"px"}},set:function(a,b){if(!be.test(b))return b;b=parseFloat(b);if(b>=0)return b+"px"}}}),d.support.opacity||(d.cssHooks.opacity={get:function(a,b){return bb.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var c=a.style;c.zoom=1;var e=d.isNaN(b)?"":"alpha(opacity="+b*100+")",f=c.filter||"";c.filter=ba.test(f)?f.replace(ba,e):c.filter+" "+e}}),c.defaultView&&c.defaultView.getComputedStyle&&(bk=function(a,c,e){var f,g,h;e=e.replace(bd,"-$1").toLowerCase();if(!(g=a.ownerDocument.defaultView))return b;if(h=g.getComputedStyle(a,null))f=h.getPropertyValue(e),f===""&&!d.contains(a.ownerDocument.documentElement,a)&&(f=d.style(a,e));return f}),c.documentElement.currentStyle&&(bl=function(a,b){var c,d=a.currentStyle&&a.currentStyle[b],e=a.runtimeStyle&&a.runtimeStyle[b],f=a.style;!be.test(d)&&bf.test(d)&&(c=f.left,e&&(a.runtimeStyle.left=a.currentStyle.left),f.left=b==="fontSize"?"1em":d||0,d=f.pixelLeft+"px",f.left=c,e&&(a.runtimeStyle.left=e));return d===""?"auto":d}),bj=bk||bl,d.expr&&d.expr.filters&&(d.expr.filters.hidden=function(a){var b=a.offsetWidth,c=a.offsetHeight;return b===0&&c===0||!d.support.reliableHiddenOffsets&&(a.style.display||d.css(a,"display"))==="none"},d.expr.filters.visible=function(a){return!d.expr.filters.hidden(a)});var bo=/%20/g,bp=/\[\]$/,bq=/\r?\n/g,br=/#.*$/,bs=/^(.*?):\s*(.*?)\r?$/mg,bt=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,bu=/^(?:GET|HEAD)$/,bv=/^\/\//,bw=/\?/,bx=/)<[^<]*)*<\/script>/gi,by=/^(?:select|textarea)/i,bz=/\s+/,bA=/([?&])_=[^&]*/,bB=/^(\w+:)\/\/([^\/?#:]+)(?::(\d+))?/,bC=d.fn.load,bD={},bE={};d.fn.extend({load:function(a,b,c){if(typeof a!=="string"&&bC)return bC.apply(this,arguments);if(!this.length)return this;var e=a.indexOf(" ");if(e>=0){var f=a.slice(e,a.length);a=a.slice(0,e)}var g="GET";b&&(d.isFunction(b)?(c=b,b=null):typeof b==="object"&&(b=d.param(b,d.ajaxSettings.traditional),g="POST"));var h=this;d.ajax({url:a,type:g,dataType:"html",data:b,complete:function(a,b,e){e=a.responseText,a.isResolved()&&(a.done(function(a){e=a}),h.html(f?d("
").append(e.replace(bx,"")).find(f):e)),c&&h.each(c,[e,b,a])}});return this},serialize:function(){return d.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?d.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||by.test(this.nodeName)||bt.test(this.type))}).map(function(a,b){var c=d(this).val();return c==null?null:d.isArray(c)?d.map(c,function(a,c){return{name:b.name,value:a.replace(bq,"\r\n")}}):{name:b.name,value:c.replace(bq,"\r\n")}}).get()}}),d.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){d.fn[b]=function(a){return this.bind(b,a)}}),d.each(["get","post"],function(a,b){d[b]=function(a,c,e,f){d.isFunction(c)&&(f=f||e,e=c,c=null);return d.ajax({type:b,url:a,data:c,success:e,dataType:f})}}),d.extend({getScript:function(a,b){return d.get(a,null,b,"script")},getJSON:function(a,b,c){return d.get(a,b,c,"json")},ajaxSetup:function(a){d.extend(!0,d.ajaxSettings,a),a.context&&(d.ajaxSettings.context=a.context)},ajaxSettings:{url:location.href,global:!0,type:"GET",contentType:"application/x-www-form-urlencoded",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":"*/*"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":a.String,"text html":!0,"text json":d.parseJSON,"text xml":d.parseXML}},ajaxPrefilter:bF(bD),ajaxTransport:bF(bE),ajax:function(a,e){function w(a,c,e,l){if(t!==2){t=2,p&&clearTimeout(p),o=b,m=l||"",v.readyState=a?4:0;var n,q,r,s=e?bI(f,v,e):b,u,w;if(a>=200&&a<300||a===304){if(f.ifModified){if(u=v.getResponseHeader("Last-Modified"))d.lastModified[f.url]=u;if(w=v.getResponseHeader("Etag"))d.etag[f.url]=w}if(a===304)c="notmodified",n=!0;else try{q=bJ(f,s),c="success",n=!0}catch(x){c="parsererror",r=x}}else r=c,a&&(c="error",a<0&&(a=0));v.status=a,v.statusText=c,n?i.resolveWith(g,[q,c,v]):i.rejectWith(g,[v,c,r]),v.statusCode(k),k=b,f.global&&h.trigger("ajax"+(n?"Success":"Error"),[v,f,n?q:r]),j.resolveWith(g,[v,c]),f.global&&(h.trigger("ajaxComplete",[v,f]),--d.active||d.event.trigger("ajaxStop"))}}typeof e!=="object"&&(e=a,a=b),e=e||{};var f=d.extend(!0,{},d.ajaxSettings,e),g=(f.context=("context"in e?e:d.ajaxSettings).context)||f,h=g===f?d.event:d(g),i=d.Deferred(),j=d._Deferred(),k=f.statusCode||{},l={},m,n,o,p,q=c.location,r=q.protocol||"http:",s,t=0,u,v={readyState:0,setRequestHeader:function(a,b){t===0&&(l[a.toLowerCase()]=b);return this},getAllResponseHeaders:function(){return t===2?m:null},getResponseHeader:function(a){var b;if(t===2){if(!n){n={};while(b=bs.exec(m))n[b[1].toLowerCase()]=b[2]}b=n[a.toLowerCase()]}return b||null},abort:function(a){a=a||"abort",o&&o.abort(a),w(0,a);return this}};i.promise(v),v.success=v.done,v.error=v.fail,v.complete=j.done,v.statusCode=function(a){if(a){var b;if(t<2)for(b in a)k[b]=[k[b],a[b]];else b=a[v.status],v.then(b,b)}return this},f.url=(""+(a||f.url)).replace(br,"").replace(bv,r+"//"),f.dataTypes=d.trim(f.dataType||"*").toLowerCase().split(bz),f.crossDomain||(s=bB.exec(f.url.toLowerCase()),f.crossDomain=s&&(s[1]!=r||s[2]!=q.hostname||(s[3]||(s[1]==="http:"?80:443))!=(q.port||(r==="http:"?80:443)))),f.data&&f.processData&&typeof f.data!=="string"&&(f.data=d.param(f.data,f.traditional)),bG(bD,f,e,v),f.type=f.type.toUpperCase(),f.hasContent=!bu.test(f.type),f.global&&d.active++===0&&d.event.trigger("ajaxStart");if(!f.hasContent){f.data&&(f.url+=(bw.test(f.url)?"&":"?")+f.data);if(f.cache===!1){var x=d.now(),y=f.url.replace(bA,"$1_="+x);f.url=y+(y===f.url?(bw.test(f.url)?"&":"?")+"_="+x:"")}}if(f.data&&f.hasContent&&f.contentType!==!1||e.contentType)l["content-type"]=f.contentType;f.ifModified&&(d.lastModified[f.url]&&(l["if-modified-since"]=d.lastModified[f.url]),d.etag[f.url]&&(l["if-none-match"]=d.etag[f.url])),l.accept=f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+(f.dataTypes[0]!=="*"?", */*; q=0.01":""):f.accepts["*"];for(u in f.headers)l[u.toLowerCase()]=f.headers[u];if(!f.beforeSend||f.beforeSend.call(g,v,f)!==!1&&t!==2){for(u in {success:1,error:1,complete:1})v[u](f[u]);o=bG(bE,f,e,v);if(o){t=v.readyState=1,f.global&&h.trigger("ajaxSend",[v,f]),f.async&&f.timeout>0&&(p=setTimeout(function(){v.abort("timeout")},f.timeout));try{o.send(l,w)}catch(z){status<2?w(-1,z):d.error(z)}}else w(-1,"No Transport")}else w(0,"abort"),v=!1;return v},param:function(a,c){var e=[],f=function(a,b){b=d.isFunction(b)?b():b,e[e.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};c===b&&(c=d.ajaxSettings.traditional);if(d.isArray(a)||a.jquery)d.each(a,function(){f(this.name,this.value)});else for(var g in a)bH(g,a[g],c,f);return e.join("&").replace(bo,"+")}}),d.extend({active:0,lastModified:{},etag:{}});var bK=d.now(),bL=/(\=)\?(&|$)|()\?\?()/i;d.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return d.expando+"_"+bK++}}),d.ajaxPrefilter("json jsonp",function(b,c,e){e=typeof b.data==="string";if(b.dataTypes[0]==="jsonp"||c.jsonpCallback||c.jsonp!=null||b.jsonp!==!1&&(bL.test(b.url)||e&&bL.test(b.data))){var f,g=b.jsonpCallback=d.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,h=a[g],i=b.url,j=b.data,k="$1"+g+"$2";b.jsonp!==!1&&(i=i.replace(bL,k),b.url===i&&(e&&(j=j.replace(bL,k)),b.data===j&&(i+=(/\?/.test(i)?"&":"?")+b.jsonp+"="+g))),b.url=i,b.data=j,a[g]=function(a){f=[a]},b.complete=[function(){a[g]=h;if(h)f&&d.isFunction(h)&&a[g](f[0]);else try{delete a[g]}catch(b){}},b.complete],b.converters["script json"]=function(){f||d.error(g+" was not called");return f[0]},b.dataTypes[0]="json";return"script"}}),d.ajaxSetup({accepts:{script:"text/javascript, application/javascript"},contents:{script:/javascript/},converters:{"text script":function(a){d.globalEval(a);return a}}}),d.ajaxPrefilter("script",function(a){a.cache===b&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),d.ajaxTransport("script",function(a){if(a.crossDomain){var d,e=c.getElementsByTagName("head")[0]||c.documentElement;return{send:function(f,g){d=c.createElement("script"),d.async="async",a.scriptCharset&&(d.charset=a.scriptCharset),d.src=a.url,d.onload=d.onreadystatechange=function(a,c){if(!d.readyState||/loaded|complete/.test(d.readyState))d.onload=d.onreadystatechange=null,e&&d.parentNode&&e.removeChild(d),d=b,c||g(200,"success")},e.insertBefore(d,e.firstChild)},abort:function(){d&&d.onload(0,1)}}}});var bM=d.now(),bN={},bO,bP;d.ajaxSettings.xhr=a.ActiveXObject?function(){if(a.location.protocol!=="file:")try{return new a.XMLHttpRequest}catch(b){}try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(c){}}:function(){return new a.XMLHttpRequest};try{bP=d.ajaxSettings.xhr()}catch(bQ){}d.support.ajax=!!bP,d.support.cors=bP&&"withCredentials"in bP,bP=b,d.support.ajax&&d.ajaxTransport(function(b){if(!b.crossDomain||d.support.cors){var c;return{send:function(e,f){bO||(bO=1,d(a).bind("unload",function(){d.each(bN,function(a,b){b.onreadystatechange&&b.onreadystatechange(1)})}));var g=b.xhr(),h;b.username?g.open(b.type,b.url,b.async,b.username,b.password):g.open(b.type,b.url,b.async),(!b.crossDomain||b.hasContent)&&!e["x-requested-with"]&&(e["x-requested-with"]="XMLHttpRequest");try{d.each(e,function(a,b){g.setRequestHeader(a,b)})}catch(i){}g.send(b.hasContent&&b.data||null),c=function(a,e){if(c&&(e||g.readyState===4)){c=0,h&&(g.onreadystatechange=d.noop,delete bN[h]);if(e)g.readyState!==4&&g.abort();else{var i=g.status,j,k=g.getAllResponseHeaders(),l={},m=g.responseXML;m&&m.documentElement&&(l.xml=m),l.text=g.responseText;try{j=g.statusText}catch(n){j=""}i=i===0?!b.crossDomain||j?k?304:0:302:i==1223?204:i,f(i,j,l,k)}}},b.async&&g.readyState!==4?(h=bM++,bN[h]=g,g.onreadystatechange=c):c()},abort:function(){c&&c(0,1)}}}});var bR={},bS=/^(?:toggle|show|hide)$/,bT=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,bU,bV=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]];d.fn.extend({show:function(a,b,c){var e,f;if(a||a===0)return this.animate(bW("show",3),a,b,c);for(var g=0,h=this.length;g=0;a--)c[a].elem===this&&(b&&c[a](!0),c.splice(a,1))}),b||this.dequeue();return this}}),d.each({slideDown:bW("show",1),slideUp:bW("hide",1),slideToggle:bW("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){d.fn[a]=function(a,c,d){return this.animate(b,a,c,d)}}),d.extend({speed:function(a,b,c){var e=a&&typeof a==="object"?d.extend({},a):{complete:c||!c&&b||d.isFunction(a)&&a,duration:a,easing:c&&b||b&&!d.isFunction(b)&&b};e.duration=d.fx.off?0:typeof e.duration==="number"?e.duration:e.duration in d.fx.speeds?d.fx.speeds[e.duration]:d.fx.speeds._default,e.old=e.complete,e.complete=function(){e.queue!==!1&&d(this).dequeue(),d.isFunction(e.old)&&e.old.call(this)};return e},easing:{linear:function(a,b,c,d){return c+d*a},swing:function(a,b,c,d){return(-Math.cos(a*Math.PI)/2+.5)*d+c}},timers:[],fx:function(a,b,c){this.options=b,this.elem=a,this.prop=c,b.orig||(b.orig={})}}),d.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this),(d.fx.step[this.prop]||d.fx.step._default)(this)},cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];var a=parseFloat(d.css(this.elem,this.prop));return a||0},custom:function(a,b,c){function g(a){return e.step(a)}var e=this,f=d.fx;this.startTime=d.now(),this.start=a,this.end=b,this.unit=c||this.unit||"px",this.now=this.start,this.pos=this.state=0,g.elem=this.elem,g()&&d.timers.push(g)&&!bU&&(bU=setInterval(f.tick,f.interval))},show:function(){this.options.orig[this.prop]=d.style(this.elem,this.prop),this.options.show=!0,this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur()),d(this.elem).show()},hide:function(){this.options.orig[this.prop]=d.style(this.elem,this.prop),this.options.hide=!0,this.custom(this.cur(),0)},step:function(a){var b=d.now(),c=!0;if(a||b>=this.options.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),this.options.curAnim[this.prop]=!0;for(var e in this.options.curAnim)this.options.curAnim[e]!==!0&&(c=!1);if(c){if(this.options.overflow!=null&&!d.support.shrinkWrapBlocks){var f=this.elem,g=this.options;d.each(["","X","Y"],function(a,b){f.style["overflow"+b]=g.overflow[a]})}this.options.hide&&d(this.elem).hide();if(this.options.hide||this.options.show)for(var h in this.options.curAnim)d.style(this.elem,h,this.options.orig[h]);this.options.complete.call(this.elem)}return!1}var i=b-this.startTime;this.state=i/this.options.duration;var j=this.options.specialEasing&&this.options.specialEasing[this.prop],k=this.options.easing||(d.easing.swing?"swing":"linear");this.pos=d.easing[j||k](this.state,i,0,1,this.options.duration),this.now=this.start+(this.end-this.start)*this.pos,this.update();return!0}},d.extend(d.fx,{tick:function(){var a=d.timers;for(var b=0;b
";d.extend(b.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"}),b.innerHTML=j,a.insertBefore(b,a.firstChild),e=b.firstChild,f=e.firstChild,h=e.nextSibling.firstChild.firstChild,this.doesNotAddBorder=f.offsetTop!==5,this.doesAddBorderForTableAndCells=h.offsetTop===5,f.style.position="fixed",f.style.top="20px",this.supportsFixedPosition=f.offsetTop===20||f.offsetTop===15,f.style.position=f.style.top="",e.style.overflow="hidden",e.style.position="relative",this.subtractsBorderForOverflowNotVisible=f.offsetTop===-5,this.doesNotIncludeMarginInBodyOffset=a.offsetTop!==i,a.removeChild(b),a=b=e=f=g=h=null,d.offset.initialize=d.noop},bodyOffset:function(a){var b=a.offsetTop,c=a.offsetLeft;d.offset.initialize(),d.offset.doesNotIncludeMarginInBodyOffset&&(b+=parseFloat(d.css(a,"marginTop"))||0,c+=parseFloat(d.css(a,"marginLeft"))||0);return{top:b,left:c}},setOffset:function(a,b,c){var e=d.css(a,"position");e==="static"&&(a.style.position="relative");var f=d(a),g=f.offset(),h=d.css(a,"top"),i=d.css(a,"left"),j=e==="absolute"&&d.inArray("auto",[h,i])>-1,k={},l={},m,n;j&&(l=f.position()),m=j?l.top:parseInt(h,10)||0,n=j?l.left:parseInt(i,10)||0,d.isFunction(b)&&(b=b.call(a,c,g)),b.top!=null&&(k.top=b.top-g.top+m),b.left!=null&&(k.left=b.left-g.left+n),"using"in b?b.using.call(a,k):f.css(k)}},d.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),c=this.offset(),e=bZ.test(b[0].nodeName)?{top:0,left:0}:b.offset();c.top-=parseFloat(d.css(a,"marginTop"))||0,c.left-=parseFloat(d.css(a,"marginLeft"))||0,e.top+=parseFloat(d.css(b[0],"borderTopWidth"))||0,e.left+=parseFloat(d.css(b[0],"borderLeftWidth"))||0;return{top:c.top-e.top,left:c.left-e.left}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||c.body;while(a&&(!bZ.test(a.nodeName)&&d.css(a,"position")==="static"))a=a.offsetParent;return a})}}),d.each(["Left","Top"],function(a,c){var e="scroll"+c;d.fn[e]=function(c){var f=this[0],g;if(!f)return null;if(c!==b)return this.each(function(){g=b$(this),g?g.scrollTo(a?d(g).scrollLeft():c,a?c:d(g).scrollTop()):this[e]=c});g=b$(f);return g?"pageXOffset"in g?g[a?"pageYOffset":"pageXOffset"]:d.support.boxModel&&g.document.documentElement[e]||g.document.body[e]:f[e]}}),d.each(["Height","Width"],function(a,c){var e=c.toLowerCase();d.fn["inner"+c]=function(){return this[0]?parseFloat(d.css(this[0],e,"padding")):null},d.fn["outer"+c]=function(a){return this[0]?parseFloat(d.css(this[0],e,a?"margin":"border")):null},d.fn[e]=function(a){var f=this[0];if(!f)return a==null?null:this;if(d.isFunction(a))return this.each(function(b){var c=d(this);c[e](a.call(this,b,c[e]()))});if(d.isWindow(f)){var g=f.document.documentElement["client"+c];return f.document.compatMode==="CSS1Compat"&&g||f.document.body["client"+c]||g}if(f.nodeType===9)return Math.max(f.documentElement["client"+c],f.body["scroll"+c],f.documentElement["scroll"+c],f.body["offset"+c],f.documentElement["offset"+c]);if(a===b){var h=d.css(f,e),i=parseFloat(h);return d.isNaN(i)?h:i}return this.css(e,typeof a==="string"?a:a+"px")}})})(window); diff --git a/h5ai/main.css b/h5ai/main.css deleted file mode 100644 index f370fab9..00000000 --- a/h5ai/main.css +++ /dev/null @@ -1,248 +0,0 @@ - -@import "lib/html5reset.css"; - - -body { - font-family: Ubuntu, sans-serif; - font-size: 16px; - color: #555; - margin: 80px 30px; -} - - -a, a:visited { - color: #555; - text-decoration: none; -} -a:hover { - color: #e80; -} - - -body > nav { - position: fixed; - z-index: 1; - width: 100%; - left: 0; - top: 0; - font-size: 0.85em; - background-color: rgb(240,240,240); - border-bottom: 1px solid rgb(225,225,225); - -webkit-box-shadow: 0 0 30px #555; - -moz-box-shadow: 0 0 30px #555; - box-shadow: 0 0 30px #555; -} -body > nav li { - cursor: pointer; - opacity: 0.7; - -webkit-transition: all 0.2s ease-in-out; - -moz-transition: all 0.2s ease-in-out; - -o-transition: all 0.2s ease-in-out; - transition: all 0.2s ease-in-out; -} -body > nav li:hover, body > nav li:hover a { - color: #e80; - background-color: rgba(255,255,255,0.5); - opacity: 1.0; -} -body > nav a { - display: block; - height: 30px; - line-height: 30px; - padding: 0 10px; -} -body > nav img { - width: 16px; - height: 16px; - vertical-align: bottom; - padding: 0 6px 6px 0; -} -body > nav li.crumb { - float: left; - border-right: 1px dotted rgb(225,225,225); -} -body > nav li.view { - float: right; - border-left: 1px dotted rgb(225,225,225); -} - - -#content { - max-width: 980px; - margin: 0 auto; -} -#content > header { - display: none; - padding-bottom: 10px; - margin-bottom: 80px; - border-bottom: 2px dashed #ddd; -} -#content > footer { - display: none; - padding-top: 10px; - margin-top: 80px; - border-top: 2px dashed #ddd; -} - - -#details { - display: none; -} -#details table { - display: block; - width: 100%; - border-collapse: collapse; -} -#details tr.entry:hover, #details tr.entry:hover a { - background-color: rgb(235,245,250); - background-color: #f0f0f0; - color: #e80; - cursor: pointer; -} -#details th, #details td { - padding: 3px 6px; - text-align: left; - border: none; -} -#details th { - padding-bottom: 18px; - opacity: 0.4; - -webkit-transition: all 0.2s ease-in-out; - -moz-transition: all 0.2s ease-in-out; - -o-transition: all 0.2s ease-in-out; - transition: all 0.2s ease-in-out; -} -#details th.header:hover, #details th.header:hover a { - color: #555; - cursor: pointer; - opacity: 0.9; -} -#details th a, #details th a:visited { - color: #555; - font-weight: normal; -} -#details th a img { - width: 12px; - height: 12px; - padding: 0 8px; -} -#details td { - border: 1px solid #ddd; - border-left: none; - border-right: none; -} -#details .icon { - text-align: center; - width: 16px; -} -#details .icon img { - width: 16px; - height: 16px; - padding-top: 2px; -} -#details .name { - width: 682px; - max-width: 682px; - overflow: hidden; - white-space: nowrap; -} -#details .date { - text-align: right; - width: 160px; - min-width: 160px; - white-space: nowrap; -} -#details .size { - text-align: right; - width: 70px; - min-width: 70px; - white-space: nowrap; -} -#details .empty { - text-align: center; - margin: 50px 0; - color: #ddd; - font-size: 5em; - font-weight: bold; -} - - -#icons { - display: none; - padding: 10px; - border: 1px solid #eee; - border-radius: 15px; -} -#icons .entry { - margin: 8px; - padding: 8px; - width: 100px; - height: 120px; - float: left; - text-align: center; - overflow: hidden; - border-radius: 5px; - cursor: pointer; - border: 1px solid rgba(0,0,0,0); -} -#icons .entry:hover { - color: #e80; - border-color: #eee; - -webkit-box-shadow: 0 0 20px #555; - -moz-box-shadow: 0 0 20px #555; - box-shadow: 0 0 20px #999; -} -#icons .entry img { - width: 48px; - height: 48px; - margin-bottom: 8px; -} - - -body > footer { - position: fixed; - z-index: 1; - width: 100%; - left: 0; - bottom: 0; - padding: 10px 0; - border-top: 1px solid rgb(225,225,225); - background-color: rgb(240,240,240); - color: #999; - font-size: 0.85em; - text-align: center; - -webkit-box-shadow: 0 0 30px #555; - -moz-box-shadow: 0 0 30px #555; - box-shadow: 0 0 30px #555; -} -body > footer a, body > footer a:visited { - color: #555; - -webkit-transition: all 0.2s ease-in-out; - -moz-transition: all 0.2s ease-in-out; - -o-transition: all 0.2s ease-in-out; - transition: all 0.2s ease-in-out; -} -body > footer a:hover { - color: #e80; -} - - -#html5 { - position: absolute; - left: 6px; - bottom: 6px; - float: left; -} -#html5 img { - width: 20px; - height: 20px; - opacity: 0.4; - -webkit-transition: all 0.2s ease-in-out; - -moz-transition: all 0.2s ease-in-out; - -o-transition: all 0.2s ease-in-out; - transition: all 0.2s ease-in-out; -} -#html5:hover img { - opacity: 0.8; -} - diff --git a/src/dot.htaccess b/src/dot.htaccess new file mode 100644 index 00000000..1048cdc4 --- /dev/null +++ b/src/dot.htaccess @@ -0,0 +1,137 @@ +################################ +# %BUILD_NAME% %BUILD_VERSION% +# customized .htaccess +################################ + + +# Options +Indexes +# Options +FollowSymLinks + + +################################ +# cache images for 52 weeks +################################ + + + + Header set Cache-Control "max-age=31449600, public" + + + + +################################ +# style auto index +################################ + + + + ################################ + # uncomment the following line to force directory listing + # even for directories with valid index files + ################################ + + # DirectoryIndex IGNORE-DEFAULT-INDEX-FILES + + + ################################ + # h5ai header and footer + ################################ + + HeaderName /h5ai/header.html + ReadmeName /h5ai/footer.html + + + ################################ + # hide h5ai folder and config files from index + ################################ + + IndexIgnore h5ai h5ai.header.html h5ai.footer.html + + + ################################ + # table options + ################################ + + IndexOrderDefault Ascending Name + + IndexOptions Charset=UTF-8 + IndexOptions FancyIndexing + IndexOptions HTMLTable + IndexOptions XHTML + IndexOptions SuppressHTMLPreamble + IndexOptions SuppressRules + IndexOptions SuppressDescription + IndexOptions FoldersFirst + IndexOptions IgnoreCase + IndexOptions IconsAreLinks + IndexOptions VersionSort + IndexOptions NameWidth=* + + + ################################ + # icon mapping + ################################ + + AddIcon /h5ai/icons/parent.png .. + AddIcon /h5ai/icons/folder.png ^^DIRECTORY^^ + AddIcon /h5ai/icons/blank.png ^^BLANKICON^^ + + AddIcon /h5ai/icons/readme.png README + AddIcon /h5ai/icons/copying.png COPYING LICENSE + AddIcon /h5ai/icons/install.png INSTALL + AddIcon /h5ai/icons/authors.png AUTHORS + AddIcon /h5ai/icons/log.png LOG Log log + + AddIcon /h5ai/icons/css.png .less + AddIcon /h5ai/icons/script.png .conf .ini .sh .shar .csh .ksh .tcl + AddIcon /h5ai/icons/makefile.png .pom pom.xml build.xml + AddIcon /h5ai/icons/bin.png .so .o + + AddIcon /h5ai/icons/zip.png .zip .Z .z .jar .war + AddIcon /h5ai/icons/tar.png .tar + AddIcon /h5ai/icons/archive.png .tar.gz .tgz .tar.bz2 + AddIcon /h5ai/icons/pdf.png .pdf + AddIcon /h5ai/icons/deb.png .deb + AddIcon /h5ai/icons/rpm.png .rpm + AddIcon /h5ai/icons/cd.png .iso .cue + + AddIconByType /h5ai/icons/png.png image/png + AddIconByType /h5ai/icons/jpg.png image/jpeg + AddIconByType /h5ai/icons/gif.png image/gif + AddIconByType /h5ai/icons/ico.png image/x-icon + AddIconByType /h5ai/icons/bmp.png image/x-ms-bmp + + AddIconByType /h5ai/icons/html.png text/html + AddIconByType /h5ai/icons/css.png text/css + AddIconByType /h5ai/icons/xml.png application/xml + AddIconByType /h5ai/icons/js.png application/javascript application/json + AddIconByType /h5ai/icons/php.png application/x-httpd-php + + AddIconByType /h5ai/icons/py.png text/x-python + AddIconByType /h5ai/icons/rb.png application/x-ruby + AddIconByType /h5ai/icons/java.png text/x-java + AddIconByType /h5ai/icons/cpp.png text/x-c++src + AddIconByType /h5ai/icons/hpp.png text/x-c++hdr + AddIconByType /h5ai/icons/c.png text/x-csrc + AddIconByType /h5ai/icons/h.png text/x-chdr + + AddIconByType /h5ai/icons/pdf.png application/pdf + + AddIconByType /h5ai/icons/rtf.png text/rtf application/rtf + AddIconByType /h5ai/icons/tex.png text/x-tex + AddIconByType /h5ai/icons/makefile.png text/x-makefile + + AddIconByType /h5ai/icons/bin.png application/java-vm + AddIconByType /h5ai/icons/exe.png application/x-executable application/x-msdos-program + + AddIconByType /h5ai/icons/text.png text/* + AddIconByType /h5ai/icons/image.png image/* + AddIconByType /h5ai/icons/audio.png audio/* + AddIconByType /h5ai/icons/video.png video/* + + AddIconByEncoding /h5ai/icons/zip.png x-compress x-gzip x-bzip2 + + DefaultIcon /h5ai/icons/unknown.png + + + diff --git a/h5ai/lib/html5reset.css b/src/h5ai/css/inc/html5reset.less similarity index 100% rename from h5ai/lib/html5reset.css rename to src/h5ai/css/inc/html5reset.less diff --git a/src/h5ai/css/inc/mixins.less b/src/h5ai/css/inc/mixins.less new file mode 100644 index 00000000..3bca649e --- /dev/null +++ b/src/h5ai/css/inc/mixins.less @@ -0,0 +1,87 @@ + +.border-radius ( @radius: 5px ) { + -webkit-border-radius: @radius; + -moz-border-radius: @radius; + border-radius: @radius; +} + + +.border-top-right-radius ( @radius: 5px ) { + -webkit-border-top-right-radius: @radius; + -moz-border-radius-topright: @radius; + border-top-right-radius: @radius; +} + + +.border-bottom-right-radius ( @radius: 5px ) { + -webkit-border-bottom-right-radius: @radius; + -moz-border-radius-bottomright: @radius; + border-bottom-right-radius: @radius; +} + + +.box-shadow ( @x: 10px, @y: 10px, @blur: 5px, @color: #ccc ) { + -webkit-box-shadow: @x @y @blur @color; + -moz-box-shadow: @x @y @blur @color; + box-shadow: @x @y @blur @color; +} + + +.transition ( @transitions ) { + -webkit-transition: @transitions; + -moz-transition: @transitions; + -o-transition: @transitions; + transition: @transitions; +} + + +.transform ( @transforms ) { + -webkit-transform: @transforms; + -moz-transform: @transforms; + -o-transform: @transforms; + transform: @transforms; +} + + +.rhythm ( @height, @size ) { + + @base: @size / 16; + font-size: 1% * @base * 100; + @factor: @height / @size; + @rhythm: 1em * @factor; + + p { + font-size: 1em; + line-height: @rhythm; + margin-top: @rhythm; + margin-bottom: @rhythm; + } + + h1 { + font-size: @rhythm; + line-height: 1em; + margin-bottom: 1em; + margin-top: 1em; + } + + h2 { + font-size: @rhythm / 1.1; + line-height: 1.1em; + margin-bottom: 1.1em; + margin-top: 1.1em; + } + + h3 { + font-size: @rhythm / 1.2; + line-height: 1.2em; + margin-bottom: 1.2em; + margin-top: 1.2em; + } + + h4 { + font-size: @rhythm / 1.3; + line-height: 1.3em; + margin-bottom: 1.3em; + margin-top: 1.3em; + } +} diff --git a/src/h5ai/css/main.less b/src/h5ai/css/main.less new file mode 100644 index 00000000..36192ff2 --- /dev/null +++ b/src/h5ai/css/main.less @@ -0,0 +1,244 @@ + +@import "inc/html5reset"; +@import "inc/mixins"; + + +body { + font-family: Ubuntu, sans-serif; + font-size: 16px; + color: #555; + margin: 80px 30px; +} + + +a, a:visited { + color: #555; + text-decoration: none; + + &:hover { + color: #e80; + } +} + + +body > nav { + position: fixed; + z-index: 1; + width: 100%; + left: 0; + top: 0; + font-size: 0.85em; + background-color: rgb(240,240,240); + border-bottom: 1px solid rgb(225,225,225); + .box-shadow( 0, 0, 30px, #555 ); + + li { + cursor: pointer; + opacity: 0.7; + .transition( all 0.2s ease-in-out ); + + &.crumb { + float: left; + border-right: 1px dotted rgb(225,225,225); + } + &.view { + float: right; + border-left: 1px dotted rgb(225,225,225); + } + &:hover, &:hover a { + color: #e80; + background-color: rgba(255,255,255,0.5); + opacity: 1.0; + } + } + a { + display: block; + height: 30px; + line-height: 30px; + padding: 0 10px; + } + img { + width: 16px; + height: 16px; + vertical-align: bottom; + padding: 0 6px 6px 0; + } +} + + +#content { + max-width: 980px; + margin: 0 auto; + + > header { + display: none; + padding-bottom: 10px; + margin-bottom: 80px; + border-bottom: 2px dashed #ddd; + } + > footer { + display: none; + padding-top: 10px; + margin-top: 80px; + border-top: 2px dashed #ddd; + } +} + + +#details { + display: none; + + table { + display: block; + width: 100%; + border-collapse: collapse; + + tr.entry:hover, tr.entry:hover a { + background-color: #f0f0f0; + color: #e80; + cursor: pointer; + } + th, td { + padding: 3px 6px; + text-align: left; + border: none; + } + th { + padding-bottom: 18px; + opacity: 0.4; + .transition( all 0.2s ease-in-out ); + + &.header:hover, &.header:hover a { + color: #555; + cursor: pointer; + opacity: 0.9; + } + a, a:visited { + color: #555; + font-weight: normal; + + img { + width: 12px; + height: 12px; + padding: 0 8px; + } + } + } + td { + border: 1px solid #ddd; + border-left: none; + border-right: none; + } + .icon { + text-align: center; + width: 16px; + + img { + width: 16px; + height: 16px; + padding-top: 2px; + } + } + .name { + width: 682px; + max-width: 682px; + overflow: hidden; + white-space: nowrap; + } + .date { + text-align: right; + width: 160px; + min-width: 160px; + white-space: nowrap; + } + .size { + text-align: right; + width: 70px; + min-width: 70px; + white-space: nowrap; + } + .empty { + text-align: center; + margin: 50px 0; + color: #ddd; + font-size: 5em; + font-weight: bold; + } + } +} + + +#icons { + display: none; + padding: 10px; + border: 1px solid #eee; + border-radius: 15px; + + .entry { + margin: 8px; + padding: 8px; + width: 100px; + height: 120px; + float: left; + text-align: center; + overflow: hidden; + border-radius: 5px; + cursor: pointer; + border: 1px solid rgba(0,0,0,0); + + &:hover { + color: #e80; + border-color: #eee; + .box-shadow( 0, 0, 20px, #999 ); + } + img { + width: 48px; + height: 48px; + margin-bottom: 8px; + } + } +} + + +body > footer { + position: fixed; + z-index: 1; + width: 100%; + left: 0; + bottom: 0; + padding: 10px 0; + border-top: 1px solid rgb(225,225,225); + background-color: rgb(240,240,240); + color: #999; + font-size: 0.85em; + text-align: center; + .box-shadow( 0, 0, 30px, #555 ); + + a, a:visited { + color: #555; + .transition( all 0.2s ease-in-out ); + + &:hover { + color: #e80; + } + } +} + + +#html5 { + position: absolute; + left: 6px; + bottom: 6px; + float: left; + + img { + width: 20px; + height: 20px; + opacity: 0.4; + .transition( all 0.2s ease-in-out ); + } + &:hover img { + opacity: 0.8; + } +} + diff --git a/src/h5ai/footer.html b/src/h5ai/footer.html new file mode 100644 index 00000000..b5d9dec3 --- /dev/null +++ b/src/h5ai/footer.html @@ -0,0 +1,23 @@ + + +
+
+ + + + + + + \ No newline at end of file diff --git a/src/h5ai/header.html b/src/h5ai/header.html new file mode 100644 index 00000000..9aed9e00 --- /dev/null +++ b/src/h5ai/header.html @@ -0,0 +1,32 @@ + + + + + Directory index · styled with h5ai + + + + + + + + + + + +
+
+
+ diff --git a/h5ai/icons/archive.png b/src/h5ai/icons/archive.png similarity index 100% rename from h5ai/icons/archive.png rename to src/h5ai/icons/archive.png diff --git a/h5ai/icons/ascending.png b/src/h5ai/icons/ascending.png similarity index 100% rename from h5ai/icons/ascending.png rename to src/h5ai/icons/ascending.png diff --git a/h5ai/icons/audio.png b/src/h5ai/icons/audio.png similarity index 100% rename from h5ai/icons/audio.png rename to src/h5ai/icons/audio.png diff --git a/h5ai/icons/authors.png b/src/h5ai/icons/authors.png similarity index 100% rename from h5ai/icons/authors.png rename to src/h5ai/icons/authors.png diff --git a/h5ai/icons/bin.png b/src/h5ai/icons/bin.png similarity index 100% rename from h5ai/icons/bin.png rename to src/h5ai/icons/bin.png diff --git a/h5ai/icons/blank.png b/src/h5ai/icons/blank.png similarity index 100% rename from h5ai/icons/blank.png rename to src/h5ai/icons/blank.png diff --git a/h5ai/icons/bmp.png b/src/h5ai/icons/bmp.png similarity index 100% rename from h5ai/icons/bmp.png rename to src/h5ai/icons/bmp.png diff --git a/h5ai/icons/c.png b/src/h5ai/icons/c.png similarity index 100% rename from h5ai/icons/c.png rename to src/h5ai/icons/c.png diff --git a/h5ai/icons/calc.png b/src/h5ai/icons/calc.png similarity index 100% rename from h5ai/icons/calc.png rename to src/h5ai/icons/calc.png diff --git a/h5ai/icons/cd.png b/src/h5ai/icons/cd.png similarity index 100% rename from h5ai/icons/cd.png rename to src/h5ai/icons/cd.png diff --git a/h5ai/icons/copying.png b/src/h5ai/icons/copying.png similarity index 100% rename from h5ai/icons/copying.png rename to src/h5ai/icons/copying.png diff --git a/h5ai/icons/cpp.png b/src/h5ai/icons/cpp.png similarity index 100% rename from h5ai/icons/cpp.png rename to src/h5ai/icons/cpp.png diff --git a/h5ai/icons/crumb.png b/src/h5ai/icons/crumb.png similarity index 100% rename from h5ai/icons/crumb.png rename to src/h5ai/icons/crumb.png diff --git a/h5ai/icons/css.png b/src/h5ai/icons/css.png similarity index 100% rename from h5ai/icons/css.png rename to src/h5ai/icons/css.png diff --git a/h5ai/icons/deb.png b/src/h5ai/icons/deb.png similarity index 100% rename from h5ai/icons/deb.png rename to src/h5ai/icons/deb.png diff --git a/h5ai/icons/default.png b/src/h5ai/icons/default.png similarity index 100% rename from h5ai/icons/default.png rename to src/h5ai/icons/default.png diff --git a/h5ai/icons/descending.png b/src/h5ai/icons/descending.png similarity index 100% rename from h5ai/icons/descending.png rename to src/h5ai/icons/descending.png diff --git a/h5ai/icons/doc.png b/src/h5ai/icons/doc.png similarity index 100% rename from h5ai/icons/doc.png rename to src/h5ai/icons/doc.png diff --git a/h5ai/icons/draw.png b/src/h5ai/icons/draw.png similarity index 100% rename from h5ai/icons/draw.png rename to src/h5ai/icons/draw.png diff --git a/h5ai/icons/eps.png b/src/h5ai/icons/eps.png similarity index 100% rename from h5ai/icons/eps.png rename to src/h5ai/icons/eps.png diff --git a/h5ai/icons/exe.png b/src/h5ai/icons/exe.png similarity index 100% rename from h5ai/icons/exe.png rename to src/h5ai/icons/exe.png diff --git a/h5ai/icons/folder.png b/src/h5ai/icons/folder.png similarity index 100% rename from h5ai/icons/folder.png rename to src/h5ai/icons/folder.png diff --git a/h5ai/icons/gif.png b/src/h5ai/icons/gif.png similarity index 100% rename from h5ai/icons/gif.png rename to src/h5ai/icons/gif.png diff --git a/h5ai/icons/h.png b/src/h5ai/icons/h.png similarity index 100% rename from h5ai/icons/h.png rename to src/h5ai/icons/h.png diff --git a/h5ai/icons/home.png b/src/h5ai/icons/home.png similarity index 100% rename from h5ai/icons/home.png rename to src/h5ai/icons/home.png diff --git a/h5ai/icons/hpp.png b/src/h5ai/icons/hpp.png similarity index 100% rename from h5ai/icons/hpp.png rename to src/h5ai/icons/hpp.png diff --git a/h5ai/icons/html.png b/src/h5ai/icons/html.png similarity index 100% rename from h5ai/icons/html.png rename to src/h5ai/icons/html.png diff --git a/h5ai/icons/ico.png b/src/h5ai/icons/ico.png similarity index 100% rename from h5ai/icons/ico.png rename to src/h5ai/icons/ico.png diff --git a/h5ai/icons/image.png b/src/h5ai/icons/image.png similarity index 100% rename from h5ai/icons/image.png rename to src/h5ai/icons/image.png diff --git a/h5ai/icons/install.png b/src/h5ai/icons/install.png similarity index 100% rename from h5ai/icons/install.png rename to src/h5ai/icons/install.png diff --git a/h5ai/icons/java.png b/src/h5ai/icons/java.png similarity index 100% rename from h5ai/icons/java.png rename to src/h5ai/icons/java.png diff --git a/h5ai/icons/jpg.png b/src/h5ai/icons/jpg.png similarity index 100% rename from h5ai/icons/jpg.png rename to src/h5ai/icons/jpg.png diff --git a/h5ai/icons/js.png b/src/h5ai/icons/js.png similarity index 100% rename from h5ai/icons/js.png rename to src/h5ai/icons/js.png diff --git a/h5ai/icons/log.png b/src/h5ai/icons/log.png similarity index 100% rename from h5ai/icons/log.png rename to src/h5ai/icons/log.png diff --git a/h5ai/icons/makefile.png b/src/h5ai/icons/makefile.png similarity index 100% rename from h5ai/icons/makefile.png rename to src/h5ai/icons/makefile.png diff --git a/h5ai/icons/package.png b/src/h5ai/icons/package.png similarity index 100% rename from h5ai/icons/package.png rename to src/h5ai/icons/package.png diff --git a/h5ai/icons/parent.png b/src/h5ai/icons/parent.png similarity index 100% rename from h5ai/icons/parent.png rename to src/h5ai/icons/parent.png diff --git a/h5ai/icons/pdf.png b/src/h5ai/icons/pdf.png similarity index 100% rename from h5ai/icons/pdf.png rename to src/h5ai/icons/pdf.png diff --git a/h5ai/icons/php.png b/src/h5ai/icons/php.png similarity index 100% rename from h5ai/icons/php.png rename to src/h5ai/icons/php.png diff --git a/h5ai/icons/playlist.png b/src/h5ai/icons/playlist.png similarity index 100% rename from h5ai/icons/playlist.png rename to src/h5ai/icons/playlist.png diff --git a/h5ai/icons/png.png b/src/h5ai/icons/png.png similarity index 100% rename from h5ai/icons/png.png rename to src/h5ai/icons/png.png diff --git a/h5ai/icons/pres.png b/src/h5ai/icons/pres.png similarity index 100% rename from h5ai/icons/pres.png rename to src/h5ai/icons/pres.png diff --git a/h5ai/icons/psd.png b/src/h5ai/icons/psd.png similarity index 100% rename from h5ai/icons/psd.png rename to src/h5ai/icons/psd.png diff --git a/h5ai/icons/py.png b/src/h5ai/icons/py.png similarity index 100% rename from h5ai/icons/py.png rename to src/h5ai/icons/py.png diff --git a/h5ai/icons/rar.png b/src/h5ai/icons/rar.png similarity index 100% rename from h5ai/icons/rar.png rename to src/h5ai/icons/rar.png diff --git a/h5ai/icons/rb.png b/src/h5ai/icons/rb.png similarity index 100% rename from h5ai/icons/rb.png rename to src/h5ai/icons/rb.png diff --git a/h5ai/icons/readme.png b/src/h5ai/icons/readme.png similarity index 100% rename from h5ai/icons/readme.png rename to src/h5ai/icons/readme.png diff --git a/h5ai/icons/reload.png b/src/h5ai/icons/reload.png similarity index 100% rename from h5ai/icons/reload.png rename to src/h5ai/icons/reload.png diff --git a/h5ai/icons/rpm.png b/src/h5ai/icons/rpm.png similarity index 100% rename from h5ai/icons/rpm.png rename to src/h5ai/icons/rpm.png diff --git a/h5ai/icons/rss.png b/src/h5ai/icons/rss.png similarity index 100% rename from h5ai/icons/rss.png rename to src/h5ai/icons/rss.png diff --git a/h5ai/icons/rtf.png b/src/h5ai/icons/rtf.png similarity index 100% rename from h5ai/icons/rtf.png rename to src/h5ai/icons/rtf.png diff --git a/h5ai/icons/script.png b/src/h5ai/icons/script.png similarity index 100% rename from h5ai/icons/script.png rename to src/h5ai/icons/script.png diff --git a/h5ai/icons/source.png b/src/h5ai/icons/source.png similarity index 100% rename from h5ai/icons/source.png rename to src/h5ai/icons/source.png diff --git a/h5ai/icons/sql.png b/src/h5ai/icons/sql.png similarity index 100% rename from h5ai/icons/sql.png rename to src/h5ai/icons/sql.png diff --git a/h5ai/icons/tar.png b/src/h5ai/icons/tar.png similarity index 100% rename from h5ai/icons/tar.png rename to src/h5ai/icons/tar.png diff --git a/h5ai/icons/tex.png b/src/h5ai/icons/tex.png similarity index 100% rename from h5ai/icons/tex.png rename to src/h5ai/icons/tex.png diff --git a/h5ai/icons/text.png b/src/h5ai/icons/text.png similarity index 100% rename from h5ai/icons/text.png rename to src/h5ai/icons/text.png diff --git a/h5ai/icons/unknown.png b/src/h5ai/icons/unknown.png similarity index 100% rename from h5ai/icons/unknown.png rename to src/h5ai/icons/unknown.png diff --git a/h5ai/icons/vcal.png b/src/h5ai/icons/vcal.png similarity index 100% rename from h5ai/icons/vcal.png rename to src/h5ai/icons/vcal.png diff --git a/h5ai/icons/video.png b/src/h5ai/icons/video.png similarity index 100% rename from h5ai/icons/video.png rename to src/h5ai/icons/video.png diff --git a/h5ai/icons/view-details.png b/src/h5ai/icons/view-details.png similarity index 100% rename from h5ai/icons/view-details.png rename to src/h5ai/icons/view-details.png diff --git a/h5ai/icons/view-icons.png b/src/h5ai/icons/view-icons.png similarity index 100% rename from h5ai/icons/view-icons.png rename to src/h5ai/icons/view-icons.png diff --git a/h5ai/icons/xml.png b/src/h5ai/icons/xml.png similarity index 100% rename from h5ai/icons/xml.png rename to src/h5ai/icons/xml.png diff --git a/h5ai/icons/zip.png b/src/h5ai/icons/zip.png similarity index 100% rename from h5ai/icons/zip.png rename to src/h5ai/icons/zip.png diff --git a/h5ai/images/archive.png b/src/h5ai/images/archive.png similarity index 100% rename from h5ai/images/archive.png rename to src/h5ai/images/archive.png diff --git a/h5ai/images/audio.png b/src/h5ai/images/audio.png similarity index 100% rename from h5ai/images/audio.png rename to src/h5ai/images/audio.png diff --git a/h5ai/images/authors.png b/src/h5ai/images/authors.png similarity index 100% rename from h5ai/images/authors.png rename to src/h5ai/images/authors.png diff --git a/h5ai/images/bin.png b/src/h5ai/images/bin.png similarity index 100% rename from h5ai/images/bin.png rename to src/h5ai/images/bin.png diff --git a/h5ai/images/blank.png b/src/h5ai/images/blank.png similarity index 100% rename from h5ai/images/blank.png rename to src/h5ai/images/blank.png diff --git a/h5ai/images/bmp.png b/src/h5ai/images/bmp.png similarity index 100% rename from h5ai/images/bmp.png rename to src/h5ai/images/bmp.png diff --git a/h5ai/images/c.png b/src/h5ai/images/c.png similarity index 100% rename from h5ai/images/c.png rename to src/h5ai/images/c.png diff --git a/h5ai/images/cd.png b/src/h5ai/images/cd.png similarity index 100% rename from h5ai/images/cd.png rename to src/h5ai/images/cd.png diff --git a/h5ai/images/copying.png b/src/h5ai/images/copying.png similarity index 100% rename from h5ai/images/copying.png rename to src/h5ai/images/copying.png diff --git a/h5ai/images/cpp.png b/src/h5ai/images/cpp.png similarity index 100% rename from h5ai/images/cpp.png rename to src/h5ai/images/cpp.png diff --git a/h5ai/images/css.png b/src/h5ai/images/css.png similarity index 100% rename from h5ai/images/css.png rename to src/h5ai/images/css.png diff --git a/h5ai/images/deb.png b/src/h5ai/images/deb.png similarity index 100% rename from h5ai/images/deb.png rename to src/h5ai/images/deb.png diff --git a/h5ai/images/default.png b/src/h5ai/images/default.png similarity index 100% rename from h5ai/images/default.png rename to src/h5ai/images/default.png diff --git a/h5ai/images/exe.png b/src/h5ai/images/exe.png similarity index 100% rename from h5ai/images/exe.png rename to src/h5ai/images/exe.png diff --git a/h5ai/images/folder.png b/src/h5ai/images/folder.png similarity index 100% rename from h5ai/images/folder.png rename to src/h5ai/images/folder.png diff --git a/h5ai/images/gif.png b/src/h5ai/images/gif.png similarity index 100% rename from h5ai/images/gif.png rename to src/h5ai/images/gif.png diff --git a/h5ai/images/gzip.png b/src/h5ai/images/gzip.png similarity index 100% rename from h5ai/images/gzip.png rename to src/h5ai/images/gzip.png diff --git a/h5ai/images/h.png b/src/h5ai/images/h.png similarity index 100% rename from h5ai/images/h.png rename to src/h5ai/images/h.png diff --git a/h5ai/images/hpp.png b/src/h5ai/images/hpp.png similarity index 100% rename from h5ai/images/hpp.png rename to src/h5ai/images/hpp.png diff --git a/h5ai/images/html.png b/src/h5ai/images/html.png similarity index 100% rename from h5ai/images/html.png rename to src/h5ai/images/html.png diff --git a/h5ai/images/html5-css3.png b/src/h5ai/images/html5-css3.png similarity index 100% rename from h5ai/images/html5-css3.png rename to src/h5ai/images/html5-css3.png diff --git a/h5ai/images/html5-semantics.png b/src/h5ai/images/html5-semantics.png similarity index 100% rename from h5ai/images/html5-semantics.png rename to src/h5ai/images/html5-semantics.png diff --git a/h5ai/images/html5-storage.png b/src/h5ai/images/html5-storage.png old mode 100755 new mode 100644 similarity index 100% rename from h5ai/images/html5-storage.png rename to src/h5ai/images/html5-storage.png diff --git a/h5ai/images/html5.png b/src/h5ai/images/html5.png similarity index 100% rename from h5ai/images/html5.png rename to src/h5ai/images/html5.png diff --git a/h5ai/images/ico.png b/src/h5ai/images/ico.png similarity index 100% rename from h5ai/images/ico.png rename to src/h5ai/images/ico.png diff --git a/h5ai/images/image.png b/src/h5ai/images/image.png similarity index 100% rename from h5ai/images/image.png rename to src/h5ai/images/image.png diff --git a/h5ai/images/install.png b/src/h5ai/images/install.png similarity index 100% rename from h5ai/images/install.png rename to src/h5ai/images/install.png diff --git a/h5ai/images/java.png b/src/h5ai/images/java.png similarity index 100% rename from h5ai/images/java.png rename to src/h5ai/images/java.png diff --git a/h5ai/images/jpg.png b/src/h5ai/images/jpg.png similarity index 100% rename from h5ai/images/jpg.png rename to src/h5ai/images/jpg.png diff --git a/h5ai/images/js.png b/src/h5ai/images/js.png similarity index 100% rename from h5ai/images/js.png rename to src/h5ai/images/js.png diff --git a/h5ai/images/log.png b/src/h5ai/images/log.png similarity index 100% rename from h5ai/images/log.png rename to src/h5ai/images/log.png diff --git a/h5ai/images/makefile.png b/src/h5ai/images/makefile.png similarity index 100% rename from h5ai/images/makefile.png rename to src/h5ai/images/makefile.png diff --git a/h5ai/images/package.png b/src/h5ai/images/package.png similarity index 100% rename from h5ai/images/package.png rename to src/h5ai/images/package.png diff --git a/h5ai/images/parent.png b/src/h5ai/images/parent.png similarity index 100% rename from h5ai/images/parent.png rename to src/h5ai/images/parent.png diff --git a/h5ai/images/pdf.png b/src/h5ai/images/pdf.png similarity index 100% rename from h5ai/images/pdf.png rename to src/h5ai/images/pdf.png diff --git a/h5ai/images/php.png b/src/h5ai/images/php.png similarity index 100% rename from h5ai/images/php.png rename to src/h5ai/images/php.png diff --git a/h5ai/images/png.png b/src/h5ai/images/png.png similarity index 100% rename from h5ai/images/png.png rename to src/h5ai/images/png.png diff --git a/h5ai/images/py.png b/src/h5ai/images/py.png similarity index 100% rename from h5ai/images/py.png rename to src/h5ai/images/py.png diff --git a/h5ai/images/rar.png b/src/h5ai/images/rar.png similarity index 100% rename from h5ai/images/rar.png rename to src/h5ai/images/rar.png diff --git a/h5ai/images/rb.png b/src/h5ai/images/rb.png similarity index 100% rename from h5ai/images/rb.png rename to src/h5ai/images/rb.png diff --git a/h5ai/images/readme.png b/src/h5ai/images/readme.png similarity index 100% rename from h5ai/images/readme.png rename to src/h5ai/images/readme.png diff --git a/h5ai/images/rpm.png b/src/h5ai/images/rpm.png similarity index 100% rename from h5ai/images/rpm.png rename to src/h5ai/images/rpm.png diff --git a/h5ai/images/rtf.png b/src/h5ai/images/rtf.png similarity index 100% rename from h5ai/images/rtf.png rename to src/h5ai/images/rtf.png diff --git a/h5ai/images/script.png b/src/h5ai/images/script.png similarity index 100% rename from h5ai/images/script.png rename to src/h5ai/images/script.png diff --git a/h5ai/images/tar.png b/src/h5ai/images/tar.png similarity index 100% rename from h5ai/images/tar.png rename to src/h5ai/images/tar.png diff --git a/h5ai/images/tex.png b/src/h5ai/images/tex.png similarity index 100% rename from h5ai/images/tex.png rename to src/h5ai/images/tex.png diff --git a/h5ai/images/text.png b/src/h5ai/images/text.png similarity index 100% rename from h5ai/images/text.png rename to src/h5ai/images/text.png diff --git a/h5ai/images/tiff.png b/src/h5ai/images/tiff.png similarity index 100% rename from h5ai/images/tiff.png rename to src/h5ai/images/tiff.png diff --git a/h5ai/images/unknown.png b/src/h5ai/images/unknown.png similarity index 100% rename from h5ai/images/unknown.png rename to src/h5ai/images/unknown.png diff --git a/h5ai/images/xml.png b/src/h5ai/images/xml.png similarity index 100% rename from h5ai/images/xml.png rename to src/h5ai/images/xml.png diff --git a/h5ai/images/zip.png b/src/h5ai/images/zip.png similarity index 100% rename from h5ai/images/zip.png rename to src/h5ai/images/zip.png diff --git a/src/h5ai/js/lib/jquery-1.6.1.min.js b/src/h5ai/js/lib/jquery-1.6.1.min.js new file mode 100644 index 00000000..b2ac1747 --- /dev/null +++ b/src/h5ai/js/lib/jquery-1.6.1.min.js @@ -0,0 +1,18 @@ +/*! + * jQuery JavaScript Library v1.6.1 + * http://jquery.com/ + * + * Copyright 2011, John Resig + * Dual licensed under the MIT or GPL Version 2 licenses. + * http://jquery.org/license + * + * Includes Sizzle.js + * http://sizzlejs.com/ + * Copyright 2011, The Dojo Foundation + * Released under the MIT, BSD, and GPL Licenses. + * + * Date: Thu May 12 15:04:36 2011 -0400 + */ +(function(a,b){function cy(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cv(a){if(!cj[a]){var b=f("<"+a+">").appendTo("body"),d=b.css("display");b.remove();if(d==="none"||d===""){ck||(ck=c.createElement("iframe"),ck.frameBorder=ck.width=ck.height=0),c.body.appendChild(ck);if(!cl||!ck.createElement)cl=(ck.contentWindow||ck.contentDocument).document,cl.write("");b=cl.createElement(a),cl.body.appendChild(b),d=f.css(b,"display"),c.body.removeChild(ck)}cj[a]=d}return cj[a]}function cu(a,b){var c={};f.each(cp.concat.apply([],cp.slice(0,b)),function(){c[this]=a});return c}function ct(){cq=b}function cs(){setTimeout(ct,0);return cq=f.now()}function ci(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}function ch(){try{return new a.XMLHttpRequest}catch(b){}}function cb(a,c){a.dataFilter&&(c=a.dataFilter(c,a.dataType));var d=a.dataTypes,e={},g,h,i=d.length,j,k=d[0],l,m,n,o,p;for(g=1;g=0===c})}function W(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function O(a,b){return(a&&a!=="*"?a+".":"")+b.replace(A,"`").replace(B,"&")}function N(a){var b,c,d,e,g,h,i,j,k,l,m,n,o,p=[],q=[],r=f._data(this,"events");if(!(a.liveFired===this||!r||!r.live||a.target.disabled||a.button&&a.type==="click")){a.namespace&&(n=new RegExp("(^|\\.)"+a.namespace.split(".").join("\\.(?:.*\\.)?")+"(\\.|$)")),a.liveFired=this;var s=r.live.slice(0);for(i=0;ic)break;a.currentTarget=e.elem,a.data=e.handleObj.data,a.handleObj=e.handleObj,o=e.handleObj.origHandler.apply(e.elem,arguments);if(o===!1||a.isPropagationStopped()){c=e.level,o===!1&&(b=!1);if(a.isImmediatePropagationStopped())break}}return b}}function L(a,c,d){var e=f.extend({},d[0]);e.type=a,e.originalEvent={},e.liveFired=b,f.event.handle.call(c,e),e.isDefaultPrevented()&&d[0].preventDefault()}function F(){return!0}function E(){return!1}function m(a,c,d){var e=c+"defer",g=c+"queue",h=c+"mark",i=f.data(a,e,b,!0);i&&(d==="queue"||!f.data(a,g,b,!0))&&(d==="mark"||!f.data(a,h,b,!0))&&setTimeout(function(){!f.data(a,g,b,!0)&&!f.data(a,h,b,!0)&&(f.removeData(a,e,!0),i.resolve())},0)}function l(a){for(var b in a)if(b!=="toJSON")return!1;return!0}function k(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(j,"$1-$2").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d==="null"?null:f.isNaN(d)?i.test(d)?f.parseJSON(d):d:parseFloat(d)}catch(g){}f.data(a,c,d)}else d=b}return d}var c=a.document,d=a.navigator,e=a.location,f=function(){function H(){if(!e.isReady){try{c.documentElement.doScroll("left")}catch(a){setTimeout(H,1);return}e.ready()}}var e=function(a,b){return new e.fn.init(a,b,h)},f=a.jQuery,g=a.$,h,i=/^(?:[^<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,j=/\S/,k=/^\s+/,l=/\s+$/,m=/\d/,n=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,o=/^[\],:{}\s]*$/,p=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,q=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,r=/(?:^|:|,)(?:\s*\[)+/g,s=/(webkit)[ \/]([\w.]+)/,t=/(opera)(?:.*version)?[ \/]([\w.]+)/,u=/(msie) ([\w.]+)/,v=/(mozilla)(?:.*? rv:([\w.]+))?/,w=d.userAgent,x,y,z,A=Object.prototype.toString,B=Object.prototype.hasOwnProperty,C=Array.prototype.push,D=Array.prototype.slice,E=String.prototype.trim,F=Array.prototype.indexOf,G={};e.fn=e.prototype={constructor:e,init:function(a,d,f){var g,h,j,k;if(!a)return this;if(a.nodeType){this.context=this[0]=a,this.length=1;return this}if(a==="body"&&!d&&c.body){this.context=c,this[0]=c.body,this.selector=a,this.length=1;return this}if(typeof a=="string"){a.charAt(0)!=="<"||a.charAt(a.length-1)!==">"||a.length<3?g=i.exec(a):g=[null,a,null];if(g&&(g[1]||!d)){if(g[1]){d=d instanceof e?d[0]:d,k=d?d.ownerDocument||d:c,j=n.exec(a),j?e.isPlainObject(d)?(a=[c.createElement(j[1])],e.fn.attr.call(a,d,!0)):a=[k.createElement(j[1])]:(j=e.buildFragment([g[1]],[k]),a=(j.cacheable?e.clone(j.fragment):j.fragment).childNodes);return e.merge(this,a)}h=c.getElementById(g[2]);if(h&&h.parentNode){if(h.id!==g[2])return f.find(a);this.length=1,this[0]=h}this.context=c,this.selector=a;return this}return!d||d.jquery?(d||f).find(a):this.constructor(d).find(a)}if(e.isFunction(a))return f.ready(a);a.selector!==b&&(this.selector=a.selector,this.context=a.context);return e.makeArray(a,this)},selector:"",jquery:"1.6.1",length:0,size:function(){return this.length},toArray:function(){return D.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,b,c){var d=this.constructor();e.isArray(a)?C.apply(d,a):e.merge(d,a),d.prevObject=this,d.context=this.context,b==="find"?d.selector=this.selector+(this.selector?" ":"")+c:b&&(d.selector=this.selector+"."+b+"("+c+")");return d},each:function(a,b){return e.each(this,a,b)},ready:function(a){e.bindReady(),y.done(a);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(D.apply(this,arguments),"slice",D.call(arguments).join(","))},map:function(a){return this.pushStack(e.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:C,sort:[].sort,splice:[].splice},e.fn.init.prototype=e.fn,e.extend=e.fn.extend=function(){var a,c,d,f,g,h,i=arguments[0]||{},j=1,k=arguments.length,l=!1;typeof i=="boolean"&&(l=i,i=arguments[1]||{},j=2),typeof i!="object"&&!e.isFunction(i)&&(i={}),k===j&&(i=this,--j);for(;j0)return;y.resolveWith(c,[e]),e.fn.trigger&&e(c).trigger("ready").unbind("ready")}},bindReady:function(){if(!y){y=e._Deferred();if(c.readyState==="complete")return setTimeout(e.ready,1);if(c.addEventListener)c.addEventListener("DOMContentLoaded",z,!1),a.addEventListener("load",e.ready,!1);else if(c.attachEvent){c.attachEvent("onreadystatechange",z),a.attachEvent("onload",e.ready);var b=!1;try{b=a.frameElement==null}catch(d){}c.documentElement.doScroll&&b&&H()}}},isFunction:function(a){return e.type(a)==="function"},isArray:Array.isArray||function(a){return e.type(a)==="array"},isWindow:function(a){return a&&typeof a=="object"&&"setInterval"in a},isNaN:function(a){return a==null||!m.test(a)||isNaN(a)},type:function(a){return a==null?String(a):G[A.call(a)]||"object"},isPlainObject:function(a){if(!a||e.type(a)!=="object"||a.nodeType||e.isWindow(a))return!1;if(a.constructor&&!B.call(a,"constructor")&&!B.call(a.constructor.prototype,"isPrototypeOf"))return!1;var c;for(c in a);return c===b||B.call(a,c)},isEmptyObject:function(a){for(var b in a)return!1;return!0},error:function(a){throw a},parseJSON:function(b){if(typeof b!="string"||!b)return null;b=e.trim(b);if(a.JSON&&a.JSON.parse)return a.JSON.parse(b);if(o.test(b.replace(p,"@").replace(q,"]").replace(r,"")))return(new Function("return "+b))();e.error("Invalid JSON: "+b)},parseXML:function(b,c,d){a.DOMParser?(d=new DOMParser,c=d.parseFromString(b,"text/xml")):(c=new ActiveXObject("Microsoft.XMLDOM"),c.async="false",c.loadXML(b)),d=c.documentElement,(!d||!d.nodeName||d.nodeName==="parsererror")&&e.error("Invalid XML: "+b);return c},noop:function(){},globalEval:function(b){b&&j.test(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,c,d){var f,g=0,h=a.length,i=h===b||e.isFunction(a);if(d){if(i){for(f in a)if(c.apply(a[f],d)===!1)break}else for(;g0&&a[0]&&a[j-1]||j===0||e.isArray(a));if(k)for(;i1?h.call(arguments,0):c,--e||g.resolveWith(g,h.call(b,0))}}var b=arguments,c=0,d=b.length,e=d,g=d<=1&&a&&f.isFunction(a.promise)?a:f.Deferred();if(d>1){for(;c
a",d=a.getElementsByTagName("*"),e=a.getElementsByTagName("a")[0];if(!d||!d.length||!e)return{};f=c.createElement("select"),g=f.appendChild(c.createElement("option")),h=a.getElementsByTagName("input")[0],j={leadingWhitespace:a.firstChild.nodeType===3,tbody:!a.getElementsByTagName("tbody").length,htmlSerialize:!!a.getElementsByTagName("link").length,style:/top/.test(e.getAttribute("style")),hrefNormalized:e.getAttribute("href")==="/a",opacity:/^0.55$/.test(e.style.opacity),cssFloat:!!e.style.cssFloat,checkOn:h.value==="on",optSelected:g.selected,getSetAttribute:a.className!=="t",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0},h.checked=!0,j.noCloneChecked=h.cloneNode(!0).checked,f.disabled=!0,j.optDisabled=!g.disabled;try{delete a.test}catch(s){j.deleteExpando=!1}!a.addEventListener&&a.attachEvent&&a.fireEvent&&(a.attachEvent("onclick",function b(){j.noCloneEvent=!1,a.detachEvent("onclick",b)}),a.cloneNode(!0).fireEvent("onclick")),h=c.createElement("input"),h.value="t",h.setAttribute("type","radio"),j.radioValue=h.value==="t",h.setAttribute("checked","checked"),a.appendChild(h),k=c.createDocumentFragment(),k.appendChild(a.firstChild),j.checkClone=k.cloneNode(!0).cloneNode(!0).lastChild.checked,a.innerHTML="",a.style.width=a.style.paddingLeft="1px",l=c.createElement("body"),m={visibility:"hidden",width:0,height:0,border:0,margin:0,background:"none"};for(q in m)l.style[q]=m[q];l.appendChild(a),b.insertBefore(l,b.firstChild),j.appendChecked=h.checked,j.boxModel=a.offsetWidth===2,"zoom"in a.style&&(a.style.display="inline",a.style.zoom=1,j.inlineBlockNeedsLayout=a.offsetWidth===2,a.style.display="",a.innerHTML="
",j.shrinkWrapBlocks=a.offsetWidth!==2),a.innerHTML="
t
",n=a.getElementsByTagName("td"),r=n[0].offsetHeight===0,n[0].style.display="",n[1].style.display="none",j.reliableHiddenOffsets=r&&n[0].offsetHeight===0,a.innerHTML="",c.defaultView&&c.defaultView.getComputedStyle&&(i=c.createElement("div"),i.style.width="0",i.style.marginRight="0",a.appendChild(i),j.reliableMarginRight=(parseInt((c.defaultView.getComputedStyle(i,null)||{marginRight:0}).marginRight,10)||0)===0),l.innerHTML="",b.removeChild(l);if(a.attachEvent)for(q in{submit:1,change:1,focusin:1})p="on"+q,r=p in a,r||(a.setAttribute(p,"return;"),r=typeof a[p]=="function"),j[q+"Bubbles"]=r;return j}(),f.boxModel=f.support.boxModel;var i=/^(?:\{.*\}|\[.*\])$/,j=/([a-z])([A-Z])/g;f.extend({cache:{},uuid:0,expando:"jQuery"+(f.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){a=a.nodeType?f.cache[a[f.expando]]:a[f.expando];return!!a&&!l(a)},data:function(a,c,d,e){if(!!f.acceptData(a)){var g=f.expando,h=typeof c=="string",i,j=a.nodeType,k=j?f.cache:a,l=j?a[f.expando]:a[f.expando]&&f.expando;if((!l||e&&l&&!k[l][g])&&h&&d===b)return;l||(j?a[f.expando]=l=++f.uuid:l=f.expando),k[l]||(k[l]={},j||(k[l].toJSON=f.noop));if(typeof c=="object"||typeof c=="function")e?k[l][g]=f.extend(k[l][g],c):k[l]=f.extend(k[l],c);i=k[l],e&&(i[g]||(i[g]={}),i=i[g]),d!==b&&(i[f.camelCase(c)]=d);if(c==="events"&&!i[c])return i[g]&&i[g].events;return h?i[f.camelCase(c)]:i}},removeData:function(b,c,d){if(!!f.acceptData(b)){var e=f.expando,g=b.nodeType,h=g?f.cache:b,i=g?b[f.expando]:f.expando;if(!h[i])return;if(c){var j=d?h[i][e]:h[i];if(j){delete j[c];if(!l(j))return}}if(d){delete h[i][e];if(!l(h[i]))return}var k=h[i][e];f.support.deleteExpando||h!=a?delete h[i]:h[i]=null,k?(h[i]={},g||(h[i].toJSON=f.noop),h[i][e]=k):g&&(f.support.deleteExpando?delete b[f.expando]:b.removeAttribute?b.removeAttribute(f.expando):b[f.expando]=null)}},_data:function(a,b,c){return f.data(a,b,c,!0)},acceptData:function(a){if(a.nodeName){var b=f.noData[a.nodeName.toLowerCase()];if(b)return b!==!0&&a.getAttribute("classid")===b}return!0}}),f.fn.extend({data:function(a,c){var d=null;if(typeof a=="undefined"){if(this.length){d=f.data(this[0]);if(this[0].nodeType===1){var e=this[0].attributes,g;for(var h=0,i=e.length;h-1)return!0;return!1},val:function(a){var c,d,e=this[0];if(!arguments.length){if(e){c=f.valHooks[e.nodeName.toLowerCase()]||f.valHooks[e.type];if(c&&"get"in c&&(d=c.get(e,"value"))!==b)return d;return(e.value||"").replace(p,"")}return b}var g=f.isFunction(a);return this.each(function(d){var e=f(this),h;if(this.nodeType===1){g?h=a.call(this,d,e.val()):h=a,h==null?h="":typeof h=="number"?h+="":f.isArray(h)&&(h=f.map(h,function(a){return a==null?"":a+""})),c=f.valHooks[this.nodeName.toLowerCase()]||f.valHooks[this.type];if(!c||!("set"in c)||c.set(this,h,"value")===b)this.value=h}})}}),f.extend({valHooks:{option:{get:function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}},select:{get:function(a){var b,c=a.selectedIndex,d=[],e=a.options,g=a.type==="select-one";if(c<0)return null;for(var h=g?c:0,i=g?c+1:e.length;h=0}),c.length||(a.selectedIndex=-1);return c}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attrFix:{tabindex:"tabIndex"},attr:function(a,c,d,e){var g=a.nodeType;if(!a||g===3||g===8||g===2)return b;if(e&&c in f.attrFn)return f(a)[c](d);if(!("getAttribute"in a))return f.prop(a,c,d);var h,i,j=g!==1||!f.isXMLDoc(a);c=j&&f.attrFix[c]||c,i=f.attrHooks[c],i||(!t.test(c)||typeof d!="boolean"&&d!==b&&d.toLowerCase()!==c.toLowerCase()?v&&(f.nodeName(a,"form")||u.test(c))&&(i=v):i=w);if(d!==b){if(d===null){f.removeAttr(a,c);return b}if(i&&"set"in i&&j&&(h=i.set(a,d,c))!==b)return h;a.setAttribute(c,""+d);return d}if(i&&"get"in i&&j)return i.get(a,c);h=a.getAttribute(c);return h===null?b:h},removeAttr:function(a,b){var c;a.nodeType===1&&(b=f.attrFix[b]||b,f.support.getSetAttribute?a.removeAttribute(b):(f.attr(a,b,""),a.removeAttributeNode(a.getAttributeNode(b))),t.test(b)&&(c=f.propFix[b]||b)in a&&(a[c]=!1))},attrHooks:{type:{set:function(a,b){if(q.test(a.nodeName)&&a.parentNode)f.error("type property can't be changed");else if(!f.support.radioValue&&b==="radio"&&f.nodeName(a,"input")){var c=a.value;a.setAttribute("type",b),c&&(a.value=c);return b}}},tabIndex:{get:function(a){var c=a.getAttributeNode("tabIndex");return c&&c.specified?parseInt(c.value,10):r.test(a.nodeName)||s.test(a.nodeName)&&a.href?0:b}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(a,c,d){var e=a.nodeType;if(!a||e===3||e===8||e===2)return b;var g,h,i=e!==1||!f.isXMLDoc(a);c=i&&f.propFix[c]||c,h=f.propHooks[c];return d!==b?h&&"set"in h&&(g=h.set(a,d,c))!==b?g:a[c]=d:h&&"get"in h&&(g=h.get(a,c))!==b?g:a[c]},propHooks:{}}),w={get:function(a,c){return a[f.propFix[c]||c]?c.toLowerCase():b},set:function(a,b,c){var d;b===!1?f.removeAttr(a,c):(d=f.propFix[c]||c,d in a&&(a[d]=b),a.setAttribute(c,c.toLowerCase()));return c}},f.attrHooks.value={get:function(a,b){if(v&&f.nodeName(a,"button"))return v.get(a,b);return a.value},set:function(a,b,c){if(v&&f.nodeName(a,"button"))return v.set(a,b,c);a.value=b}},f.support.getSetAttribute||(f.attrFix=f.propFix,v=f.attrHooks.name=f.valHooks.button={get:function(a,c){var d;d=a.getAttributeNode(c);return d&&d.nodeValue!==""?d.nodeValue:b},set:function(a,b,c){var d=a.getAttributeNode(c);if(d){d.nodeValue=b;return b}}},f.each(["width","height"],function(a,b){f.attrHooks[b]=f.extend(f.attrHooks[b],{set:function(a,c){if(c===""){a.setAttribute(b,"auto");return c}}})})),f.support.hrefNormalized||f.each(["href","src","width","height"],function(a,c){f.attrHooks[c]=f.extend(f.attrHooks[c],{get:function(a){var d=a.getAttribute(c,2);return d===null?b:d}})}),f.support.style||(f.attrHooks.style={get:function(a){return a.style.cssText.toLowerCase()||b},set:function(a,b){return a.style.cssText=""+b}}),f.support.optSelected||(f.propHooks.selected=f.extend(f.propHooks.selected,{get:function(a){var b=a.parentNode;b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex)}})),f.support.checkOn||f.each(["radio","checkbox"],function(){f.valHooks[this]={get:function(a){return a.getAttribute("value")===null?"on":a.value}}}),f.each(["radio","checkbox"],function(){f.valHooks[this]=f.extend(f.valHooks[this],{set:function(a,b){if(f.isArray(b))return a.checked=f.inArray(f(a).val(),b)>=0}})});var x=Object.prototype.hasOwnProperty,y=/\.(.*)$/,z=/^(?:textarea|input|select)$/i,A=/\./g,B=/ /g,C=/[^\w\s.|`]/g,D=function(a){return a.replace(C,"\\$&")};f.event={add:function(a,c,d,e){if(a.nodeType!==3&&a.nodeType!==8){if(d===!1)d=E;else if(!d)return;var g,h;d.handler&&(g=d,d=g.handler),d.guid||(d.guid=f.guid++);var i=f._data(a);if(!i)return;var j=i.events,k=i.handle;j||(i.events=j={}),k||(i.handle=k=function(a){return typeof f!="undefined"&&(!a||f.event.triggered!==a.type)?f.event.handle.apply(k.elem,arguments):b}),k.elem=a,c=c.split(" ");var l,m=0,n;while(l=c[m++]){h=g?f.extend({},g):{handler:d,data:e},l.indexOf(".")>-1?(n=l.split("."),l=n.shift(),h.namespace=n.slice(0).sort().join(".")):(n=[],h.namespace=""),h.type=l,h.guid||(h.guid=d.guid);var o=j[l],p=f.event.special[l]||{};if(!o){o=j[l]=[];if(!p.setup||p.setup.call(a,e,n,k)===!1)a.addEventListener?a.addEventListener(l,k,!1):a.attachEvent&&a.attachEvent("on"+l,k)}p.add&&(p.add.call(a,h),h.handler.guid||(h.handler.guid=d.guid)),o.push(h),f.event.global[l]=!0}a=null}},global:{},remove:function(a,c,d,e){if(a.nodeType!==3&&a.nodeType!==8){d===!1&&(d=E);var g,h,i,j,k=0,l,m,n,o,p,q,r,s=f.hasData(a)&&f._data(a),t=s&&s.events;if(!s||!t)return;c&&c.type&&(d=c.handler,c=c.type);if(!c||typeof c=="string"&&c.charAt(0)==="."){c=c||"";for(h in t)f.event.remove(a,h+c);return}c=c.split(" ");while(h=c[k++]){r=h,q=null,l=h.indexOf(".")<0,m=[],l||(m=h.split("."),h=m.shift(),n=new RegExp("(^|\\.)"+f.map(m.slice(0).sort(),D).join("\\.(?:.*\\.)?")+"(\\.|$)")),p=t[h];if(!p)continue;if(!d){for(j=0;j=0&&(h=h.slice(0,-1),j=!0),h.indexOf(".")>=0&&(i=h.split("."),h=i.shift(),i.sort());if(!!e&&!f.event.customEvent[h]||!!f.event.global[h]){c=typeof c=="object"?c[f.expando]?c:new f.Event(h,c):new f.Event(h),c.type=h,c.exclusive=j,c.namespace=i.join("."),c.namespace_re=new RegExp("(^|\\.)"+i.join("\\.(?:.*\\.)?")+"(\\.|$)");if(g||!e)c.preventDefault(),c.stopPropagation();if(!e){f.each(f.cache,function(){var a=f.expando,b=this[a];b&&b.events&&b.events[h]&&f.event.trigger(c,d,b.handle.elem +)});return}if(e.nodeType===3||e.nodeType===8)return;c.result=b,c.target=e,d=d?f.makeArray(d):[],d.unshift(c);var k=e,l=h.indexOf(":")<0?"on"+h:"";do{var m=f._data(k,"handle");c.currentTarget=k,m&&m.apply(k,d),l&&f.acceptData(k)&&k[l]&&k[l].apply(k,d)===!1&&(c.result=!1,c.preventDefault()),k=k.parentNode||k.ownerDocument||k===c.target.ownerDocument&&a}while(k&&!c.isPropagationStopped());if(!c.isDefaultPrevented()){var n,o=f.event.special[h]||{};if((!o._default||o._default.call(e.ownerDocument,c)===!1)&&(h!=="click"||!f.nodeName(e,"a"))&&f.acceptData(e)){try{l&&e[h]&&(n=e[l],n&&(e[l]=null),f.event.triggered=h,e[h]())}catch(p){}n&&(e[l]=n),f.event.triggered=b}}return c.result}},handle:function(c){c=f.event.fix(c||a.event);var d=((f._data(this,"events")||{})[c.type]||[]).slice(0),e=!c.exclusive&&!c.namespace,g=Array.prototype.slice.call(arguments,0);g[0]=c,c.currentTarget=this;for(var h=0,i=d.length;h-1?f.map(a.options,function(a){return a.selected}).join("-"):"":f.nodeName(a,"select")&&(c=a.selectedIndex);return c},K=function(c){var d=c.target,e,g;if(!!z.test(d.nodeName)&&!d.readOnly){e=f._data(d,"_change_data"),g=J(d),(c.type!=="focusout"||d.type!=="radio")&&f._data(d,"_change_data",g);if(e===b||g===e)return;if(e!=null||g)c.type="change",c.liveFired=b,f.event.trigger(c,arguments[1],d)}};f.event.special.change={filters:{focusout:K,beforedeactivate:K,click:function(a){var b=a.target,c=f.nodeName(b,"input")?b.type:"";(c==="radio"||c==="checkbox"||f.nodeName(b,"select"))&&K.call(this,a)},keydown:function(a){var b=a.target,c=f.nodeName(b,"input")?b.type:"";(a.keyCode===13&&!f.nodeName(b,"textarea")||a.keyCode===32&&(c==="checkbox"||c==="radio")||c==="select-multiple")&&K.call(this,a)},beforeactivate:function(a){var b=a.target;f._data(b,"_change_data",J(b))}},setup:function(a,b){if(this.type==="file")return!1;for(var c in I)f.event.add(this,c+".specialChange",I[c]);return z.test(this.nodeName)},teardown:function(a){f.event.remove(this,".specialChange");return z.test(this.nodeName)}},I=f.event.special.change.filters,I.focus=I.beforeactivate}f.support.focusinBubbles||f.each({focus:"focusin",blur:"focusout"},function(a,b){function e(a){var c=f.event.fix(a);c.type=b,c.originalEvent={},f.event.trigger(c,null,c.target),c.isDefaultPrevented()&&a.preventDefault()}var d=0;f.event.special[b]={setup:function(){d++===0&&c.addEventListener(a,e,!0)},teardown:function(){--d===0&&c.removeEventListener(a,e,!0)}}}),f.each(["bind","one"],function(a,c){f.fn[c]=function(a,d,e){var g;if(typeof a=="object"){for(var h in a)this[c](h,d,a[h],e);return this}if(arguments.length===2||d===!1)e=d,d=b;c==="one"?(g=function(a){f(this).unbind(a,g);return e.apply(this,arguments)},g.guid=e.guid||f.guid++):g=e;if(a==="unload"&&c!=="one")this.one(a,d,e);else for(var i=0,j=this.length;i0?this.bind(b,a,c):this.trigger(b)},f.attrFn&&(f.attrFn[b]=!0)}),function(){function u(a,b,c,d,e,f){for(var g=0,h=d.length;g0){j=i;break}}i=i[a]}d[g]=j}}}function t(a,b,c,d,e,f){for(var g=0,h=d.length;g+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,d=0,e=Object.prototype.toString,g=!1,h=!0,i=/\\/g,j=/\W/;[0,0].sort(function(){h=!1;return 0});var k=function(b,d,f,g){f=f||[],d=d||c;var h=d;if(d.nodeType!==1&&d.nodeType!==9)return[];if(!b||typeof b!="string")return f;var i,j,n,o,q,r,s,t,u=!0,w=k.isXML(d),x=[],y=b;do{a.exec(""),i=a.exec(y);if(i){y=i[3],x.push(i[1]);if(i[2]){o=i[3];break}}}while(i);if(x.length>1&&m.exec(b))if(x.length===2&&l.relative[x[0]])j=v(x[0]+x[1],d);else{j=l.relative[x[0]]?[d]:k(x.shift(),d);while(x.length)b=x.shift(),l.relative[b]&&(b+=x.shift()),j=v(b,j)}else{!g&&x.length>1&&d.nodeType===9&&!w&&l.match.ID.test(x[0])&&!l.match.ID.test(x[x.length-1])&&(q=k.find(x.shift(),d,w),d=q.expr?k.filter(q.expr,q.set)[0]:q.set[0]);if(d){q=g?{expr:x.pop(),set:p(g)}:k.find(x.pop(),x.length===1&&(x[0]==="~"||x[0]==="+")&&d.parentNode?d.parentNode:d,w),j=q.expr?k.filter(q.expr,q.set):q.set,x.length>0?n=p(j):u=!1;while(x.length)r=x.pop(),s=r,l.relative[r]?s=x.pop():r="",s==null&&(s=d),l.relative[r](n,s,w)}else n=x=[]}n||(n=j),n||k.error(r||b);if(e.call(n)==="[object Array]")if(!u)f.push.apply(f,n);else if(d&&d.nodeType===1)for(t=0;n[t]!=null;t++)n[t]&&(n[t]===!0||n[t].nodeType===1&&k.contains(d,n[t]))&&f.push(j[t]);else for(t=0;n[t]!=null;t++)n[t]&&n[t].nodeType===1&&f.push(j[t]);else p(n,f);o&&(k(o,h,f,g),k.uniqueSort(f));return f};k.uniqueSort=function(a){if(r){g=h,a.sort(r);if(g)for(var b=1;b0},k.find=function(a,b,c){var d;if(!a)return[];for(var e=0,f=l.order.length;e":function(a,b){var c,d=typeof b=="string",e=0,f=a.length;if(d&&!j.test(b)){b=b.toLowerCase();for(;e=0)?c||d.push(h):c&&(b[g]=!1));return!1},ID:function(a){return a[1].replace(i,"")},TAG:function(a,b){return a[1].replace(i,"").toLowerCase()},CHILD:function(a){if(a[1]==="nth"){a[2]||k.error(a[0]),a[2]=a[2].replace(/^\+|\s*/g,"");var b=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0,a[3]=b[3]-0}else a[2]&&k.error(a[0]);a[0]=d++;return a},ATTR:function(a,b,c,d,e,f){var g=a[1]=a[1].replace(i,"");!f&&l.attrMap[g]&&(a[1]=l.attrMap[g]),a[4]=(a[4]||a[5]||"").replace(i,""),a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(b,c,d,e,f){if(b[1]==="not")if((a.exec(b[3])||"").length>1||/^\w/.test(b[3]))b[3]=k(b[3],null,null,c);else{var g=k.filter(b[3],c,d,!0^f);d||e.push.apply(e,g);return!1}else if(l.match.POS.test(b[0])||l.match.CHILD.test(b[0]))return!0;return b},POS:function(a){a.unshift(!0);return a}},filters:{enabled:function(a){return a.disabled===!1&&a.type!=="hidden"},disabled:function(a){return a.disabled===!0},checked:function(a){return a.checked===!0},selected:function(a){a.parentNode&&a.parentNode.selectedIndex;return a.selected===!0},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},has:function(a,b,c){return!!k(c[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){var b=a.getAttribute("type"),c=a.type;return a.nodeName.toLowerCase()==="input"&&"text"===c&&(b===c||b===null)},radio:function(a){return a.nodeName.toLowerCase()==="input"&&"radio"===a.type},checkbox:function(a){return a.nodeName.toLowerCase()==="input"&&"checkbox"===a.type},file:function(a){return a.nodeName.toLowerCase()==="input"&&"file"===a.type},password:function(a){return a.nodeName.toLowerCase()==="input"&&"password"===a.type},submit:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"submit"===a.type},image:function(a){return a.nodeName.toLowerCase()==="input"&&"image"===a.type},reset:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"reset"===a.type},button:function(a){var b=a.nodeName.toLowerCase();return b==="input"&&"button"===a.type||b==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)},focus:function(a){return a===a.ownerDocument.activeElement}},setFilters:{first:function(a,b){return b===0},last:function(a,b,c,d){return b===d.length-1},even:function(a,b){return b%2===0},odd:function(a,b){return b%2===1},lt:function(a,b,c){return bc[3]-0},nth:function(a,b,c){return c[3]-0===b},eq:function(a,b,c){return c[3]-0===b}},filter:{PSEUDO:function(a,b,c,d){var e=b[1],f=l.filters[e];if(f)return f(a,c,b,d);if(e==="contains")return(a.textContent||a.innerText||k.getText([a])||"").indexOf(b[3])>=0;if(e==="not"){var g=b[3];for(var h=0,i=g.length;h=0}},ID:function(a,b){return a.nodeType===1&&a.getAttribute("id")===b},TAG:function(a,b){return b==="*"&&a.nodeType===1||a.nodeName.toLowerCase()===b},CLASS:function(a,b){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(b)>-1},ATTR:function(a,b){var c=b[1],d=l.attrHandle[c]?l.attrHandle[c](a):a[c]!=null?a[c]:a.getAttribute(c),e=d+"",f=b[2],g=b[4];return d==null?f==="!=":f==="="?e===g:f==="*="?e.indexOf(g)>=0:f==="~="?(" "+e+" ").indexOf(g)>=0:g?f==="!="?e!==g:f==="^="?e.indexOf(g)===0:f==="$="?e.substr(e.length-g.length)===g:f==="|="?e===g||e.substr(0,g.length+1)===g+"-":!1:e&&d!==!1},POS:function(a,b,c,d){var e=b[2],f=l.setFilters[e];if(f)return f(a,c,b,d)}}},m=l.match.POS,n=function(a,b){return"\\"+(b-0+1)};for(var o in l.match)l.match[o]=new RegExp(l.match[o].source+/(?![^\[]*\])(?![^\(]*\))/.source),l.leftMatch[o]=new RegExp(/(^(?:.|\r|\n)*?)/.source+l.match[o].source.replace(/\\(\d+)/g,n));var p=function(a,b){a=Array.prototype.slice.call(a,0);if(b){b.push.apply(b,a);return b}return a};try{Array.prototype.slice.call(c.documentElement.childNodes,0)[0].nodeType}catch(q){p=function(a,b){var c=0,d=b||[];if(e.call(a)==="[object Array]")Array.prototype.push.apply(d,a);else if(typeof a.length=="number")for(var f=a.length;c",e.insertBefore(a,e.firstChild),c.getElementById(d)&&(l.find.ID=function(a,c,d){if(typeof c.getElementById!="undefined"&&!d){var e=c.getElementById(a[1]);return e?e.id===a[1]||typeof e.getAttributeNode!="undefined"&&e.getAttributeNode("id").nodeValue===a[1]?[e]:b:[]}},l.filter.ID=function(a,b){var c=typeof a.getAttributeNode!="undefined"&&a.getAttributeNode("id");return a.nodeType===1&&c&&c.nodeValue===b}),e.removeChild(a),e=a=null}(),function(){var a=c.createElement("div");a.appendChild(c.createComment("")),a.getElementsByTagName("*").length>0&&(l.find.TAG=function(a,b){var c=b.getElementsByTagName(a[1]);if(a[1]==="*"){var d=[];for(var e=0;c[e];e++)c[e].nodeType===1&&d.push(c[e]);c=d}return c}),a.innerHTML="",a.firstChild&&typeof a.firstChild.getAttribute!="undefined"&&a.firstChild.getAttribute("href")!=="#"&&(l.attrHandle.href=function(a){return a.getAttribute("href",2)}),a=null}(),c.querySelectorAll&&function(){var a=k,b=c.createElement("div"),d="__sizzle__";b.innerHTML="

";if(!b.querySelectorAll||b.querySelectorAll(".TEST").length!==0){k=function(b,e,f,g){e=e||c;if(!g&&!k.isXML(e)){var h=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b);if(h&&(e.nodeType===1||e.nodeType===9)){if(h[1])return p(e.getElementsByTagName(b),f);if(h[2]&&l.find.CLASS&&e.getElementsByClassName)return p(e.getElementsByClassName(h[2]),f)}if(e.nodeType===9){if(b==="body"&&e.body)return p([e.body],f);if(h&&h[3]){var i=e.getElementById(h[3]);if(!i||!i.parentNode)return p([],f);if(i.id===h[3])return p([i],f)}try{return p(e.querySelectorAll(b),f)}catch(j){}}else if(e.nodeType===1&&e.nodeName.toLowerCase()!=="object"){var m=e,n=e.getAttribute("id"),o=n||d,q=e.parentNode,r=/^\s*[+~]/.test(b);n?o=o.replace(/'/g,"\\$&"):e.setAttribute("id",o),r&&q&&(e=e.parentNode);try{if(!r||q)return p(e.querySelectorAll("[id='"+o+"'] "+b),f)}catch(s){}finally{n||m.removeAttribute("id")}}}return a(b,e,f,g)};for(var e in a)k[e]=a[e];b=null}}(),function(){var a=c.documentElement,b=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector;if(b){var d=!b.call(c.createElement("div"),"div"),e=!1;try{b.call(c.documentElement,"[test!='']:sizzle")}catch(f){e=!0}k.matchesSelector=function(a,c){c=c.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!k.isXML(a))try{if(e||!l.match.PSEUDO.test(c)&&!/!=/.test(c)){var f=b.call(a,c);if(f||!d||a.document&&a.document.nodeType!==11)return f}}catch(g){}return k(c,null,null,[a]).length>0}}}(),function(){var a=c.createElement("div");a.innerHTML="
";if(!!a.getElementsByClassName&&a.getElementsByClassName("e").length!==0){a.lastChild.className="e";if(a.getElementsByClassName("e").length===1)return;l.order.splice(1,0,"CLASS"),l.find.CLASS=function(a,b,c){if(typeof b.getElementsByClassName!="undefined"&&!c)return b.getElementsByClassName(a[1])},a=null}}(),c.documentElement.contains?k.contains=function(a,b){return a!==b&&(a.contains?a.contains(b):!0)}:c.documentElement.compareDocumentPosition?k.contains=function(a,b){return!!(a.compareDocumentPosition(b)&16)}:k.contains=function(){return!1},k.isXML=function(a){var b=(a?a.ownerDocument||a:0).documentElement;return b?b.nodeName!=="HTML":!1};var v=function(a,b){var c,d=[],e="",f=b.nodeType?[b]:b;while(c=l.match.PSEUDO.exec(a))e+=c[0],a=a.replace(l.match.PSEUDO,"");a=l.relative[a]?a+"*":a;for(var g=0,h=f.length;g0)for(h=g;h0:this.filter(a).length>0)},closest:function(a,b){var c=[],d,e,g=this[0];if(f.isArray(a)){var h,i,j={},k=1;if(g&&a.length){for(d=0,e=a.length;d-1:f(g).is(h))&&c.push({selector:i,elem:g,level:k});g=g.parentNode,k++}}return c}var l=U.test(a)||typeof a!="string"?f(a,b||this.context):0;for(d=0,e=this.length;d-1:f.find.matchesSelector(g,a)){c.push(g);break}g=g.parentNode;if(!g||!g.ownerDocument||g===b||g.nodeType===11)break}}c=c.length>1?f.unique(c):c;return this.pushStack(c,"closest",a)},index:function(a){if(!a||typeof a=="string")return f.inArray(this[0],a?f(a):this.parent().children());return f.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var c=typeof a=="string"?f(a,b):f.makeArray(a&&a.nodeType?[a]:a),d=f.merge(this.get(),c);return this.pushStack(W(c[0])||W(d[0])?d:f.unique(d))},andSelf:function(){return this.add(this.prevObject)}}),f.each({parent:function(a){var b=a.parentNode;return b&&b.nodeType!==11?b:null},parents:function(a){return f.dir(a,"parentNode")},parentsUntil:function(a,b,c){return f.dir(a,"parentNode",c)},next:function(a){return f.nth(a,2,"nextSibling")},prev:function(a){return f.nth(a,2,"previousSibling")},nextAll:function(a){return f.dir(a,"nextSibling")},prevAll:function(a){return f.dir(a,"previousSibling")},nextUntil:function(a,b,c){return f.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return f.dir(a,"previousSibling",c)},siblings:function(a){return f.sibling(a.parentNode.firstChild,a)},children:function(a){return f.sibling(a.firstChild)},contents:function(a){return f.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:f.makeArray(a.childNodes)}},function(a,b){f.fn[a]=function(c,d){var e=f.map(this,b,c),g=T.call(arguments);P.test(a)||(d=c),d&&typeof d=="string"&&(e=f.filter(d,e)),e=this.length>1&&!V[a]?f.unique(e):e,(this.length>1||R.test(d))&&Q.test(a)&&(e=e.reverse());return this.pushStack(e,a,g.join(","))}}),f.extend({filter:function(a,b,c){c&&(a=":not("+a+")");return b.length===1?f.find.matchesSelector(b[0],a)?[b[0]]:[]:f.find.matches(a,b)},dir:function(a,c,d){var e=[],g=a[c];while(g&&g.nodeType!==9&&(d===b||g.nodeType!==1||!f(g).is(d)))g.nodeType===1&&e.push(g),g=g[c];return e},nth:function(a,b,c,d){b=b||1;var e=0;for(;a;a=a[c])if(a.nodeType===1&&++e===b)break;return a},sibling:function(a,b){var c=[];for(;a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var Y=/ jQuery\d+="(?:\d+|null)"/g,Z=/^\s+/,$=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,_=/<([\w:]+)/,ba=/",""],legend:[1,"
","
"],thead:[1,"","
"],tr:[2,"","
"],td:[3,"","
"],col:[2,"","
"],area:[1,"",""],_default:[0,"",""]};bg.optgroup=bg.option,bg.tbody=bg.tfoot=bg.colgroup=bg.caption=bg.thead,bg.th=bg.td,f.support.htmlSerialize||(bg._default=[1,"div
","
"]),f.fn.extend({text:function(a){if(f.isFunction(a))return this.each(function(b){var c=f(this);c.text(a.call(this,b,c.text()))});if(typeof a!="object"&&a!==b)return this.empty().append((this[0]&&this[0].ownerDocument||c).createTextNode(a));return f.text(this)},wrapAll:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapAll(a.call(this,b))});if(this[0]){var b=f(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&a.firstChild.nodeType===1)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapInner(a.call(this,b))});return this.each(function(){var b=f(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){return this.each(function(){f(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){f.nodeName(this,"body")||f(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});if(arguments.length){var a=f(arguments[0]);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,f(arguments[0]).toArray());return a}},remove:function(a,b){for(var c=0,d;(d=this[c])!=null;c++)if(!a||f.filter(a,[d]).length)!b&&d.nodeType===1&&(f.cleanData(d.getElementsByTagName("*")),f.cleanData([d])),d.parentNode&&d.parentNode.removeChild(d);return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++){b.nodeType===1&&f.cleanData(b.getElementsByTagName("*"));while(b.firstChild)b.removeChild(b.firstChild)}return this},clone:function(a,b){a=a==null?!1:a,b=b==null?a:b;return this.map(function(){return f.clone(this,a,b)})},html:function(a){if(a===b)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(Y,""):null;if(typeof a=="string"&&!bc.test(a)&&(f.support.leadingWhitespace||!Z.test(a))&&!bg[(_.exec(a)||["",""])[1].toLowerCase()]){a=a.replace($,"<$1>");try{for(var c=0,d=this.length;c1&&l0?this.clone(!0):this).get();f(e[h])[b](j),d=d.concat(j)}return this.pushStack(d,a,e.selector)}}),f.extend({clone:function(a,b,c){var d=a.cloneNode(!0),e,g,h;if((!f.support.noCloneEvent||!f.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!f.isXMLDoc(a)){bj(a,d),e=bk(a),g=bk(d);for(h=0;e[h];++h)bj(e[h],g[h])}if(b){bi(a,d);if(c){e=bk(a),g=bk(d);for(h=0;e[h];++h)bi(e[h],g[h])}}return d},clean:function(a,b,d,e){var g;b=b||c,typeof b.createElement=="undefined"&&(b=b.ownerDocument|| +b[0]&&b[0].ownerDocument||c);var h=[],i;for(var j=0,k;(k=a[j])!=null;j++){typeof k=="number"&&(k+="");if(!k)continue;if(typeof k=="string")if(!bb.test(k))k=b.createTextNode(k);else{k=k.replace($,"<$1>");var l=(_.exec(k)||["",""])[1].toLowerCase(),m=bg[l]||bg._default,n=m[0],o=b.createElement("div");o.innerHTML=m[1]+k+m[2];while(n--)o=o.lastChild;if(!f.support.tbody){var p=ba.test(k),q=l==="table"&&!p?o.firstChild&&o.firstChild.childNodes:m[1]===""&&!p?o.childNodes:[];for(i=q.length-1;i>=0;--i)f.nodeName(q[i],"tbody")&&!q[i].childNodes.length&&q[i].parentNode.removeChild(q[i])}!f.support.leadingWhitespace&&Z.test(k)&&o.insertBefore(b.createTextNode(Z.exec(k)[0]),o.firstChild),k=o.childNodes}var r;if(!f.support.appendChecked)if(k[0]&&typeof (r=k.length)=="number")for(i=0;i=0)return b+"px"}}}),f.support.opacity||(f.cssHooks.opacity={get:function(a,b){return bp.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentStyle;c.zoom=1;var e=f.isNaN(b)?"":"alpha(opacity="+b*100+")",g=d&&d.filter||c.filter||"";c.filter=bo.test(g)?g.replace(bo,e):g+" "+e}}),f(function(){f.support.reliableMarginRight||(f.cssHooks.marginRight={get:function(a,b){var c;f.swap(a,{display:"inline-block"},function(){b?c=bz(a,"margin-right","marginRight"):c=a.style.marginRight});return c}})}),c.defaultView&&c.defaultView.getComputedStyle&&(bA=function(a,c){var d,e,g;c=c.replace(br,"-$1").toLowerCase();if(!(e=a.ownerDocument.defaultView))return b;if(g=e.getComputedStyle(a,null))d=g.getPropertyValue(c),d===""&&!f.contains(a.ownerDocument.documentElement,a)&&(d=f.style(a,c));return d}),c.documentElement.currentStyle&&(bB=function(a,b){var c,d=a.currentStyle&&a.currentStyle[b],e=a.runtimeStyle&&a.runtimeStyle[b],f=a.style;!bs.test(d)&&bt.test(d)&&(c=f.left,e&&(a.runtimeStyle.left=a.currentStyle.left),f.left=b==="fontSize"?"1em":d||0,d=f.pixelLeft+"px",f.left=c,e&&(a.runtimeStyle.left=e));return d===""?"auto":d}),bz=bA||bB,f.expr&&f.expr.filters&&(f.expr.filters.hidden=function(a){var b=a.offsetWidth,c=a.offsetHeight;return b===0&&c===0||!f.support.reliableHiddenOffsets&&(a.style.display||f.css(a,"display"))==="none"},f.expr.filters.visible=function(a){return!f.expr.filters.hidden(a)});var bE=/%20/g,bF=/\[\]$/,bG=/\r?\n/g,bH=/#.*$/,bI=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,bJ=/^(?:color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,bK=/^(?:about|app|app\-storage|.+\-extension|file|widget):$/,bL=/^(?:GET|HEAD)$/,bM=/^\/\//,bN=/\?/,bO=/)<[^<]*)*<\/script>/gi,bP=/^(?:select|textarea)/i,bQ=/\s+/,bR=/([?&])_=[^&]*/,bS=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,bT=f.fn.load,bU={},bV={},bW,bX;try{bW=e.href}catch(bY){bW=c.createElement("a"),bW.href="",bW=bW.href}bX=bS.exec(bW.toLowerCase())||[],f.fn.extend({load:function(a,c,d){if(typeof a!="string"&&bT)return bT.apply(this,arguments);if(!this.length)return this;var e=a.indexOf(" ");if(e>=0){var g=a.slice(e,a.length);a=a.slice(0,e)}var h="GET";c&&(f.isFunction(c)?(d=c,c=b):typeof c=="object"&&(c=f.param(c,f.ajaxSettings.traditional),h="POST"));var i=this;f.ajax({url:a,type:h,dataType:"html",data:c,complete:function(a,b,c){c=a.responseText,a.isResolved()&&(a.done(function(a){c=a}),i.html(g?f("
").append(c.replace(bO,"")).find(g):c)),d&&i.each(d,[c,b,a])}});return this},serialize:function(){return f.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?f.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||bP.test(this.nodeName)||bJ.test(this.type))}).map(function(a,b){var c=f(this).val();return c==null?null:f.isArray(c)?f.map(c,function(a,c){return{name:b.name,value:a.replace(bG,"\r\n")}}):{name:b.name,value:c.replace(bG,"\r\n")}}).get()}}),f.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){f.fn[b]=function(a){return this.bind(b,a)}}),f.each(["get","post"],function(a,c){f[c]=function(a,d,e,g){f.isFunction(d)&&(g=g||e,e=d,d=b);return f.ajax({type:c,url:a,data:d,success:e,dataType:g})}}),f.extend({getScript:function(a,c){return f.get(a,b,c,"script")},getJSON:function(a,b,c){return f.get(a,b,c,"json")},ajaxSetup:function(a,b){b?f.extend(!0,a,f.ajaxSettings,b):(b=a,a=f.extend(!0,f.ajaxSettings,b));for(var c in{context:1,url:1})c in b?a[c]=b[c]:c in f.ajaxSettings&&(a[c]=f.ajaxSettings[c]);return a},ajaxSettings:{url:bW,isLocal:bK.test(bX[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":"*/*"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":a.String,"text html":!0,"text json":f.parseJSON,"text xml":f.parseXML}},ajaxPrefilter:bZ(bU),ajaxTransport:bZ(bV),ajax:function(a,c){function w(a,c,l,m){if(s!==2){s=2,q&&clearTimeout(q),p=b,n=m||"",v.readyState=a?4:0;var o,r,u,w=l?ca(d,v,l):b,x,y;if(a>=200&&a<300||a===304){if(d.ifModified){if(x=v.getResponseHeader("Last-Modified"))f.lastModified[k]=x;if(y=v.getResponseHeader("Etag"))f.etag[k]=y}if(a===304)c="notmodified",o=!0;else try{r=cb(d,w),c="success",o=!0}catch(z){c="parsererror",u=z}}else{u=c;if(!c||a)c="error",a<0&&(a=0)}v.status=a,v.statusText=c,o?h.resolveWith(e,[r,c,v]):h.rejectWith(e,[v,c,u]),v.statusCode(j),j=b,t&&g.trigger("ajax"+(o?"Success":"Error"),[v,d,o?r:u]),i.resolveWith(e,[v,c]),t&&(g.trigger("ajaxComplete",[v,d]),--f.active||f.event.trigger("ajaxStop"))}}typeof a=="object"&&(c=a,a=b),c=c||{};var d=f.ajaxSetup({},c),e=d.context||d,g=e!==d&&(e.nodeType||e instanceof f)?f(e):f.event,h=f.Deferred(),i=f._Deferred(),j=d.statusCode||{},k,l={},m={},n,o,p,q,r,s=0,t,u,v={readyState:0,setRequestHeader:function(a,b){if(!s){var c=a.toLowerCase();a=m[c]=m[c]||a,l[a]=b}return this},getAllResponseHeaders:function(){return s===2?n:null},getResponseHeader:function(a){var c;if(s===2){if(!o){o={};while(c=bI.exec(n))o[c[1].toLowerCase()]=c[2]}c=o[a.toLowerCase()]}return c===b?null:c},overrideMimeType:function(a){s||(d.mimeType=a);return this},abort:function(a){a=a||"abort",p&&p.abort(a),w(0,a);return this}};h.promise(v),v.success=v.done,v.error=v.fail,v.complete=i.done,v.statusCode=function(a){if(a){var b;if(s<2)for(b in a)j[b]=[j[b],a[b]];else b=a[v.status],v.then(b,b)}return this},d.url=((a||d.url)+"").replace(bH,"").replace(bM,bX[1]+"//"),d.dataTypes=f.trim(d.dataType||"*").toLowerCase().split(bQ),d.crossDomain==null&&(r=bS.exec(d.url.toLowerCase()),d.crossDomain=!(!r||r[1]==bX[1]&&r[2]==bX[2]&&(r[3]||(r[1]==="http:"?80:443))==(bX[3]||(bX[1]==="http:"?80:443)))),d.data&&d.processData&&typeof d.data!="string"&&(d.data=f.param(d.data,d.traditional)),b$(bU,d,c,v);if(s===2)return!1;t=d.global,d.type=d.type.toUpperCase(),d.hasContent=!bL.test(d.type),t&&f.active++===0&&f.event.trigger("ajaxStart");if(!d.hasContent){d.data&&(d.url+=(bN.test(d.url)?"&":"?")+d.data),k=d.url;if(d.cache===!1){var x=f.now(),y=d.url.replace(bR,"$1_="+x);d.url=y+(y===d.url?(bN.test(d.url)?"&":"?")+"_="+x:"")}}(d.data&&d.hasContent&&d.contentType!==!1||c.contentType)&&v.setRequestHeader("Content-Type",d.contentType),d.ifModified&&(k=k||d.url,f.lastModified[k]&&v.setRequestHeader("If-Modified-Since",f.lastModified[k]),f.etag[k]&&v.setRequestHeader("If-None-Match",f.etag[k])),v.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+(d.dataTypes[0]!=="*"?", */*; q=0.01":""):d.accepts["*"]);for(u in d.headers)v.setRequestHeader(u,d.headers[u]);if(d.beforeSend&&(d.beforeSend.call(e,v,d)===!1||s===2)){v.abort();return!1}for(u in{success:1,error:1,complete:1})v[u](d[u]);p=b$(bV,d,c,v);if(!p)w(-1,"No Transport");else{v.readyState=1,t&&g.trigger("ajaxSend",[v,d]),d.async&&d.timeout>0&&(q=setTimeout(function(){v.abort("timeout")},d.timeout));try{s=1,p.send(l,w)}catch(z){status<2?w(-1,z):f.error(z)}}return v},param:function(a,c){var d=[],e=function(a,b){b=f.isFunction(b)?b():b,d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};c===b&&(c=f.ajaxSettings.traditional);if(f.isArray(a)||a.jquery&&!f.isPlainObject(a))f.each(a,function(){e(this.name,this.value)});else for(var g in a)b_(g,a[g],c,e);return d.join("&").replace(bE,"+")}}),f.extend({active:0,lastModified:{},etag:{}});var cc=f.now(),cd=/(\=)\?(&|$)|\?\?/i;f.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return f.expando+"_"+cc++}}),f.ajaxPrefilter("json jsonp",function(b,c,d){var e=b.contentType==="application/x-www-form-urlencoded"&&typeof b.data=="string";if(b.dataTypes[0]==="jsonp"||b.jsonp!==!1&&(cd.test(b.url)||e&&cd.test(b.data))){var g,h=b.jsonpCallback=f.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,i=a[h],j=b.url,k=b.data,l="$1"+h+"$2";b.jsonp!==!1&&(j=j.replace(cd,l),b.url===j&&(e&&(k=k.replace(cd,l)),b.data===k&&(j+=(/\?/.test(j)?"&":"?")+b.jsonp+"="+h))),b.url=j,b.data=k,a[h]=function(a){g=[a]},d.always(function(){a[h]=i,g&&f.isFunction(i)&&a[h](g[0])}),b.converters["script json"]=function(){g||f.error(h+" was not called");return g[0]},b.dataTypes[0]="json";return"script"}}),f.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){f.globalEval(a);return a}}}),f.ajaxPrefilter("script",function(a){a.cache===b&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),f.ajaxTransport("script",function(a){if(a.crossDomain){var d,e=c.head||c.getElementsByTagName("head")[0]||c.documentElement;return{send:function(f,g){d=c.createElement("script"),d.async="async",a.scriptCharset&&(d.charset=a.scriptCharset),d.src=a.url,d.onload=d.onreadystatechange=function(a,c){if(c||!d.readyState||/loaded|complete/.test(d.readyState))d.onload=d.onreadystatechange=null,e&&d.parentNode&&e.removeChild(d),d=b,c||g(200,"success")},e.insertBefore(d,e.firstChild)},abort:function(){d&&d.onload(0,1)}}}});var ce=a.ActiveXObject?function(){for(var a in cg)cg[a](0,1)}:!1,cf=0,cg;f.ajaxSettings.xhr=a.ActiveXObject?function(){return!this.isLocal&&ch()||ci()}:ch,function(a){f.extend(f.support,{ajax:!!a,cors:!!a&&"withCredentials"in a})}(f.ajaxSettings.xhr()),f.support.ajax&&f.ajaxTransport(function(c){if(!c.crossDomain||f.support.cors){var d;return{send:function(e,g){var h=c.xhr(),i,j;c.username?h.open(c.type,c.url,c.async,c.username,c.password):h.open(c.type,c.url,c.async);if(c.xhrFields)for(j in c.xhrFields)h[j]=c.xhrFields[j];c.mimeType&&h.overrideMimeType&&h.overrideMimeType(c.mimeType),!c.crossDomain&&!e["X-Requested-With"]&&(e["X-Requested-With"]="XMLHttpRequest");try{for(j in e)h.setRequestHeader(j,e[j])}catch(k){}h.send(c.hasContent&&c.data||null),d=function(a,e){var j,k,l,m,n;try{if(d&&(e||h.readyState===4)){d=b,i&&(h.onreadystatechange=f.noop,ce&&delete cg[i]);if(e)h.readyState!==4&&h.abort();else{j=h.status,l=h.getAllResponseHeaders(),m={},n=h.responseXML,n&&n.documentElement&&(m.xml=n),m.text=h.responseText;try{k=h.statusText}catch(o){k=""}!j&&c.isLocal&&!c.crossDomain?j=m.text?200:404:j===1223&&(j=204)}}}catch(p){e||g(-1,p)}m&&g(j,k,m,l)},!c.async||h.readyState===4?d():(i=++cf,ce&&(cg||(cg={},f(a).unload(ce)),cg[i]=d),h.onreadystatechange=d)},abort:function(){d&&d(0,1)}}}});var cj={},ck,cl,cm=/^(?:toggle|show|hide)$/,cn=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,co,cp=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],cq,cr=a.webkitRequestAnimationFrame||a.mozRequestAnimationFrame||a.oRequestAnimationFrame;f.fn.extend({show:function(a,b,c){var d,e;if(a||a===0)return this.animate(cu("show",3),a,b,c);for(var g=0,h=this.length;g=e.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),e.animatedProperties[this.prop]=!0;for(g in e.animatedProperties)e.animatedProperties[g]!==!0&&(c=!1);if(c){e.overflow!=null&&!f.support.shrinkWrapBlocks&&f.each(["","X","Y"],function(a,b){d.style["overflow"+b]=e.overflow[a]}),e.hide&&f(d).hide();if(e.hide||e.show)for(var i in e.animatedProperties)f.style(d,i,e.orig[i]);e.complete.call(d)}return!1}e.duration==Infinity?this.now=b:(h=b-this.startTime,this.state=h/e.duration,this.pos=f.easing[e.animatedProperties[this.prop]](this.state,h,0,1,e.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update();return!0}},f.extend(f.fx,{tick:function(){for(var a=f.timers,b=0;b
";f.extend(b.style,{position:"absolute",top:0,left:0,margin:0,border:0,width:"1px",height:"1px",visibility:"hidden"}),b.innerHTML=j,a.insertBefore(b,a.firstChild),d=b.firstChild,e=d.firstChild,h=d.nextSibling.firstChild.firstChild,this.doesNotAddBorder=e.offsetTop!==5,this.doesAddBorderForTableAndCells=h.offsetTop===5,e.style.position="fixed",e.style.top="20px",this.supportsFixedPosition=e.offsetTop===20||e.offsetTop===15,e.style.position=e.style.top="",d.style.overflow="hidden",d.style.position="relative",this.subtractsBorderForOverflowNotVisible=e.offsetTop===-5,this.doesNotIncludeMarginInBodyOffset=a.offsetTop!==i,a.removeChild(b),f.offset.initialize=f.noop},bodyOffset:function(a){var b=a.offsetTop,c=a.offsetLeft;f.offset.initialize(),f.offset.doesNotIncludeMarginInBodyOffset&&(b+=parseFloat(f.css(a,"marginTop"))||0,c+=parseFloat(f.css(a,"marginLeft"))||0);return{top:b,left:c}},setOffset:function(a,b,c){var d=f.css(a,"position");d==="static"&&(a.style.position="relative");var e=f(a),g=e.offset(),h=f.css(a,"top"),i=f.css(a,"left"),j=(d==="absolute"||d==="fixed")&&f.inArray("auto",[h,i])>-1,k={},l={},m,n;j?(l=e.position(),m=l.top,n=l.left):(m=parseFloat(h)||0,n=parseFloat(i)||0),f.isFunction(b)&&(b=b.call(a,c,g)),b.top!=null&&(k.top=b.top-g.top+m),b.left!=null&&(k.left=b.left-g.left+n),"using"in b?b.using.call(a,k):e.css(k)}},f.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),c=this.offset(),d=cx.test(b[0].nodeName)?{top:0,left:0}:b.offset();c.top-=parseFloat(f.css(a,"marginTop"))||0,c.left-=parseFloat(f.css(a,"marginLeft"))||0,d.top+=parseFloat(f.css(b[0],"borderTopWidth"))||0,d.left+=parseFloat(f.css(b[0],"borderLeftWidth"))||0;return{top:c.top-d.top,left:c.left-d.left}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||c.body;while(a&&!cx.test(a.nodeName)&&f.css(a,"position")==="static")a=a.offsetParent;return a})}}),f.each(["Left","Top"],function(a,c){var d="scroll"+c;f.fn[d]=function(c){var e,g;if(c===b){e=this[0];if(!e)return null;g=cy(e);return g?"pageXOffset"in g?g[a?"pageYOffset":"pageXOffset"]:f.support.boxModel&&g.document.documentElement[d]||g.document.body[d]:e[d]}return this.each(function(){g=cy(this),g?g.scrollTo(a?f(g).scrollLeft():c,a?c:f(g).scrollTop()):this[d]=c})}}),f.each(["Height","Width"],function(a,c){var d=c.toLowerCase();f.fn["inner"+c]=function(){return this[0]?parseFloat(f.css(this[0],d,"padding")):null},f.fn["outer"+c]=function(a){return this[0]?parseFloat(f.css(this[0],d,a?"margin":"border")):null},f.fn[d]=function(a){var e=this[0];if(!e)return a==null?null:this;if(f.isFunction(a))return this.each(function(b){var c=f(this);c[d](a.call(this,b,c[d]()))});if(f.isWindow(e)){var g=e.document.documentElement["client"+c];return e.document.compatMode==="CSS1Compat"&&g||e.document.body["client"+c]||g}if(e.nodeType===9)return Math.max(e.documentElement["client"+c],e.body["scroll"+c],e.documentElement["scroll"+c],e.body["offset"+c],e.documentElement["offset"+c]);if(a===b){var h=f.css(e,d),i=parseFloat(h);return f.isNaN(i)?h:i}return this.css(d,typeof a=="string"?a:a+"px")}}),a.jQuery=a.$=f})(window); \ No newline at end of file diff --git a/src/h5ai/js/lib/modernizr-2.0.4.min.js b/src/h5ai/js/lib/modernizr-2.0.4.min.js new file mode 100644 index 00000000..0c17cfdd --- /dev/null +++ b/src/h5ai/js/lib/modernizr-2.0.4.min.js @@ -0,0 +1,4 @@ +/* Modernizr 2.0.4 (Custom Build) | MIT & BSD + * Contains: fontface | backgroundsize | borderimage | borderradius | boxshadow | flexbox | hsla | multiplebgs | opacity | rgba | textshadow | cssanimations | csscolumns | generatedcontent | cssgradients | cssreflections | csstransforms | csstransforms3d | csstransitions | applicationcache | canvas | canvastext | draganddrop | hashchange | history | audio | video | indexeddb | input | inputtypes | localstorage | postmessage | sessionstorage | websockets | websqldatabase | webworkers | geolocation | inlinesvg | smil | svg | svgclippaths | touch | webgl | iepp | respond | mq | cssclasses | addtest | prefixed | teststyles | testprop | testallprops | hasevent | prefixes | domprefixes | load + */ +;window.Modernizr=function(a,b,c){function I(){e.input=function(a){for(var b=0,c=a.length;b",a,""].join(""),k.id=i,k.innerHTML+=f,g.appendChild(k),h=c(k,a),k.parentNode.removeChild(k);return!!h},w=function(b){if(a.matchMedia)return matchMedia(b).matches;var c;v("@media "+b+" { #"+i+" { position: absolute; } }",function(b){c=(a.getComputedStyle?getComputedStyle(b,null):b.currentStyle).position=="absolute"});return c},x=function(){function d(d,e){e=e||b.createElement(a[d]||"div"),d="on"+d;var f=d in e;f||(e.setAttribute||(e=b.createElement("div")),e.setAttribute&&e.removeAttribute&&(e.setAttribute(d,""),f=D(e[d],"function"),D(e[d],c)||(e[d]=c),e.removeAttribute(d))),e=null;return f}var a={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};return d}(),y,z={}.hasOwnProperty,A;!D(z,c)&&!D(z.call,c)?A=function(a,b){return z.call(a,b)}:A=function(a,b){return b in a&&D(a.constructor.prototype[b],c)};var H=function(c,d){var f=c.join(""),g=d.length;v(f,function(c,d){var f=b.styleSheets[b.styleSheets.length-1],h=f.cssRules&&f.cssRules[0]?f.cssRules[0].cssText:f.cssText||"",i=c.childNodes,j={};while(g--)j[i[g].id]=i[g];e.touch="ontouchstart"in a||j.touch.offsetTop===9,e.csstransforms3d=j.csstransforms3d.offsetLeft===9,e.generatedcontent=j.generatedcontent.offsetHeight>=1,e.fontface=/src/i.test(h)&&h.indexOf(d.split(" ")[0])===0},g,d)}(['@font-face {font-family:"font";src:url("https://")}',["@media (",o.join("touch-enabled),("),i,")","{#touch{top:9px;position:absolute}}"].join(""),["@media (",o.join("transform-3d),("),i,")","{#csstransforms3d{left:9px;position:absolute}}"].join(""),['#generatedcontent:after{content:"',m,'"}'].join("")],["fontface","touch","csstransforms3d","generatedcontent"]);r.flexbox=function(){function c(a,b,c,d){a.style.cssText=o.join(b+":"+c+";")+(d||"")}function a(a,b,c,d){b+=":",a.style.cssText=(b+o.join(c+";"+b)).slice(0,-b.length)+(d||"")}var d=b.createElement("div"),e=b.createElement("div");a(d,"display","box","width:42px;padding:0;"),c(e,"box-flex","1","width:10px;"),d.appendChild(e),g.appendChild(d);var f=e.offsetWidth===42;d.removeChild(e),g.removeChild(d);return f},r.canvas=function(){var a=b.createElement("canvas");return!!a.getContext&&!!a.getContext("2d")},r.canvastext=function(){return!!e.canvas&&!!D(b.createElement("canvas").getContext("2d").fillText,"function")},r.webgl=function(){return!!a.WebGLRenderingContext},r.touch=function(){return e.touch},r.geolocation=function(){return!!navigator.geolocation},r.postmessage=function(){return!!a.postMessage},r.websqldatabase=function(){var b=!!a.openDatabase;return b},r.indexedDB=function(){for(var b=-1,c=p.length;++b7)},r.history=function(){return!!a.history&&!!history.pushState},r.draganddrop=function(){return x("dragstart")&&x("drop")},r.websockets=function(){for(var b=-1,c=p.length;++b";return(a.firstChild&&a.firstChild.namespaceURI)==q.svg},r.smil=function(){return!!b.createElementNS&&/SVG/.test(n.call(b.createElementNS(q.svg,"animate")))},r.svgclippaths=function(){return!!b.createElementNS&&/SVG/.test(n.call(b.createElementNS(q.svg,"clipPath")))};for(var J in r)A(r,J)&&(y=J.toLowerCase(),e[y]=r[J](),u.push((e[y]?"":"no-")+y));e.input||I(),e.addTest=function(a,b){if(typeof a=="object")for(var d in a)A(a,d)&&e.addTest(d,a[d]);else{a=a.toLowerCase();if(e[a]!==c)return;b=typeof b=="boolean"?b:!!b(),g.className+=" "+(b?"":"no-")+a,e[a]=b}return e},B(""),j=l=null,a.attachEvent&&function(){var a=b.createElement("div");a.innerHTML="";return a.childNodes.length!==1}()&&function(a,b){function s(a){var b=-1;while(++b=u.minw)&&(!u.maxw||u.maxw&&l<=u.maxw))m[u.media]||(m[u.media]=[]),m[u.media].push(f[u.rules])}for(var t in g)g[t]&&g[t].parentNode===j&&j.removeChild(g[t]);for(var t in m){var v=c.createElement("style"),w=m[t].join("\n");v.type="text/css",v.media=t,v.styleSheet?v.styleSheet.cssText=w:v.appendChild(c.createTextNode(w)),n.appendChild(v),g.push(v)}j.insertBefore(n,o.nextSibling)}},s=function(a,b){var c=t();if(!!c){c.open("GET",a,!0),c.onreadystatechange=function(){c.readyState==4&&(c.status==200||c.status==304)&&b(c.responseText)};if(c.readyState==4)return;c.send()}},t=function(){var a=!1,b=[function(){return new ActiveXObject("Microsoft.XMLHTTP")},function(){return new XMLHttpRequest}],c=b.length;while(c--){try{a=b[c]()}catch(d){continue}break}return function(){return a}}();m(),respond.update=m,a.addEventListener?a.addEventListener("resize",u,!1):a.attachEvent&&a.attachEvent("onresize",u)}}(this,Modernizr.mq("only all")),function(a,b,c){function k(a){return!a||a=="loaded"||a=="complete"}function j(){var a=1,b=-1;while(p.length- ++b)if(p[b].s&&!(a=p[b].r))break;a&&g()}function i(a){var c=b.createElement("script"),d;c.src=a.s,c.onreadystatechange=c.onload=function(){!d&&k(c.readyState)&&(d=1,j(),c.onload=c.onreadystatechange=null)},m(function(){d||(d=1,j())},H.errorTimeout),a.e?c.onload():n.parentNode.insertBefore(c,n)}function h(a){var c=b.createElement("link"),d;c.href=a.s,c.rel="stylesheet",c.type="text/css",!a.e&&(w||r)?function a(b){m(function(){if(!d)try{b.sheet.cssRules.length?(d=1,j()):a(b)}catch(c){c.code==1e3||c.message=="security"||c.message=="denied"?(d=1,m(function(){j()},0)):a(b)}},0)}(c):(c.onload=function(){d||(d=1,m(function(){j()},0))},a.e&&c.onload()),m(function(){d||(d=1,j())},H.errorTimeout),!a.e&&n.parentNode.insertBefore(c,n)}function g(){var a=p.shift();q=1,a?a.t?m(function(){a.t=="c"?h(a):i(a)},0):(a(),j()):q=0}function f(a,c,d,e,f,h){function i(){!o&&k(l.readyState)&&(r.r=o=1,!q&&j(),l.onload=l.onreadystatechange=null,m(function(){u.removeChild(l)},0))}var l=b.createElement(a),o=0,r={t:d,s:c,e:h};l.src=l.data=c,!s&&(l.style.display="none"),l.width=l.height="0",a!="object"&&(l.type=d),l.onload=l.onreadystatechange=i,a=="img"?l.onerror=i:a=="script"&&(l.onerror=function(){r.e=r.r=1,g()}),p.splice(e,0,r),u.insertBefore(l,s?null:n),m(function(){o||(u.removeChild(l),r.r=r.e=o=1,j())},H.errorTimeout)}function e(a,b,c){var d=b=="c"?z:y;q=0,b=b||"j",C(a)?f(d,a,b,this.i++,l,c):(p.splice(this.i++,0,a),p.length==1&&g());return this}function d(){var a=H;a.loader={load:e,i:0};return a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in l.style,s=r&&!!b.createRange().compareNode,t=r&&!s,u=s?l:n.parentNode,v=a.opera&&o.call(a.opera)=="[object Opera]",w="webkitAppearance"in l.style,x=w&&"async"in b.createElement("script"),y=r?"object":v||x?"img":"script",z=w?"img":y,A=Array.isArray||function(a){return o.call(a)=="[object Array]"},B=function(a){return typeof a=="object"},C=function(a){return typeof a=="string"},D=function(a){return o.call(a)=="[object Function]"},E=[],F={},G,H;H=function(a){function f(a){var b=a.split("!"),c=E.length,d=b.pop(),e=b.length,f={url:d,origUrl:d,prefixes:b},g,h;for(h=0;h header" ).append( $( data ) ).show(); - } - } ); - $.ajax( { - url: config.customFooter, - dataType: "html", - success: function ( data ) { - $( "#content > footer" ).prepend( $( data ) ).show(); - } - } ); + try { + $.ajax( { + url: config.customHeader, + dataType: "html", + success: function ( data ) { + $( "#content > header" ).append( $( data ) ).show(); + } + } ); + } catch( err ) {}; + try { + $.ajax( { + url: config.customFooter, + dataType: "html", + success: function ( data ) { + $( "#content > footer" ).prepend( $( data ) ).show(); + } + } ); + } catch( err ) {}; }; diff --git a/dot.htaccess b/target/dot.htaccess similarity index 99% rename from dot.htaccess rename to target/dot.htaccess index 77754c6b..ca7f59c2 100644 --- a/dot.htaccess +++ b/target/dot.htaccess @@ -1,5 +1,6 @@ ################################ -# customized .htaccess for h5ai +# h5ai 0.3 +# customized .htaccess ################################ diff --git a/target/h5ai/css/main.css b/target/h5ai/css/main.css new file mode 100644 index 00000000..df3c99b9 --- /dev/null +++ b/target/h5ai/css/main.css @@ -0,0 +1 @@ +html,body,div,span,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:"";content:none}ins{background-color:#ff9;color:#000;text-decoration:none}mark{background-color:#ff9;color:#000;font-style:italic;font-weight:bold}del{text-decoration:line-through}abbr[title],dfn[title]{border-bottom:1px dotted;cursor:help}table{border-collapse:collapse;border-spacing:0}hr{display:block;height:1px;border:0;border-top:1px solid #ccc;margin:1em 0;padding:0}input,select{vertical-align:middle}body{font:13px/1.231 sans-serif;*font-size:small}select,input,textarea,button{font:99% sans-serif}pre,code,kbd,samp{font-family:monospace,sans-serif}a:hover,a:active{outline:0}ul,ol{margin-left:2em}ol{list-style-type:decimal}nav ul,nav li{margin:0;list-style:none;list-style-image:none}small{font-size:85%}strong,th{font-weight:bold}td{vertical-align:top}sub,sup{font-size:75%;line-height:0;position:relative}sup{top:-0.5em}sub{bottom:-0.25em}pre{white-space:pre;white-space:pre-wrap;word-wrap:break-word;padding:15px}textarea{overflow:auto}.ie6 legend,.ie7 legend{margin-left:-7px}input[type="radio"]{vertical-align:text-bottom}input[type="checkbox"]{vertical-align:bottom}.ie7 input[type="checkbox"]{vertical-align:baseline}.ie6 input{vertical-align:text-bottom}label,input[type="button"],input[type="submit"],input[type="image"],button{cursor:pointer}button,input,select,textarea{margin:0}input:invalid,textarea:invalid{border-radius:1px;-moz-box-shadow:0 0 5px red;-webkit-box-shadow:0 0 5px red;box-shadow:0 0 5px red}.no-boxshadow input:invalid,.no-boxshadow textarea:invalid{background-color:#f0dddd}::-moz-selection{background:#ff5e99;color:#fff;text-shadow:none}::selection{background:#ff5e99;color:#fff;text-shadow:none}a:link{-webkit-tap-highlight-color:#ff5e99}button{width:auto;overflow:visible}.ie7 img{-ms-interpolation-mode:bicubic}body,select,input,textarea{color:#444}h1,h2,h3,h4,h5,h6{font-weight:bold}a,a:active,a:visited{color:#607890}a:hover{color:#036}.ir{display:block;text-indent:-999em;overflow:hidden;background-repeat:no-repeat;text-align:left;direction:ltr}.hidden{display:none;visibility:hidden}.visuallyhidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.visuallyhidden.focusable:active,.visuallyhidden.focusable:focus{clip:auto;height:auto;margin:0;overflow:visible;position:static;width:auto}.invisible{visibility:hidden}.clearfix:before,.clearfix:after{content:"\0020";display:block;height:0;overflow:hidden}.clearfix:after{clear:both}.clearfix{zoom:1}@media print{*{background:transparent!important;color:black!important;text-shadow:none!important;filter:none!important;-ms-filter:none!important}a,a:visited{color:#444!important;text-decoration:underline}a[href]:after{content:" (" attr(href) ")"}abbr[title]:after{content:" (" attr(title) ")"}.ir a:after,a[href^="javascript:"]:after,a[href^="#"]:after{content:""}pre,blockquote{border:1px solid #999;page-break-inside:avoid}thead{display:table-header-group}tr,img{page-break-inside:avoid}@page{margin:.5cm}p,h2,h3{orphans:3;widows:3}h2,h3{page-break-after:avoid}}body{font-family:Ubuntu,sans-serif;font-size:16px;color:#555;margin:80px 30px}a,a:visited{color:#555;text-decoration:none}a:hover,a:visited:hover{color:#e80}body>nav{position:fixed;z-index:1;width:100%;left:0;top:0;font-size:.85em;background-color:#f0f0f0;border-bottom:1px solid #e1e1e1;-webkit-box-shadow:0 0 30px #555;-moz-box-shadow:0 0 30px #555;box-shadow:0 0 30px #555}body>nav li{cursor:pointer;opacity:.7;-webkit-transition:all .2s ease-in-out;-moz-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out}body>nav li.crumb{float:left;border-right:1px dotted #e1e1e1}body>nav li.view{float:right;border-left:1px dotted #e1e1e1}body>nav li:hover,body>nav li:hover a{color:#e80;background-color:rgba(255,255,255,0.5);opacity:1.0}body>nav a{display:block;height:30px;line-height:30px;padding:0 10px}body>nav img{width:16px;height:16px;vertical-align:bottom;padding:0 6px 6px 0}#content{max-width:980px;margin:0 auto}#content>header{display:none;padding-bottom:10px;margin-bottom:80px;border-bottom:2px dashed #ddd}#content>footer{display:none;padding-top:10px;margin-top:80px;border-top:2px dashed #ddd}#details{display:none}#details table{display:block;width:100%;border-collapse:collapse}#details table tr.entry:hover,#details table tr.entry:hover a{background-color:#f0f0f0;color:#e80;cursor:pointer}#details table th,#details table td{padding:3px 6px;text-align:left;border:0}#details table th{padding-bottom:18px;opacity:.4;-webkit-transition:all .2s ease-in-out;-moz-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out}#details table th.header:hover,#details table th.header:hover a{color:#555;cursor:pointer;opacity:.9}#details table th a,#details table th a:visited{color:#555;font-weight:normal}#details table th a img,#details table th a:visited img{width:12px;height:12px;padding:0 8px}#details table td{border:1px solid #ddd;border-left:none;border-right:0}#details table .icon{text-align:center;width:16px}#details table .icon img{width:16px;height:16px;padding-top:2px}#details table .name{width:682px;max-width:682px;overflow:hidden;white-space:nowrap}#details table .date{text-align:right;width:160px;min-width:160px;white-space:nowrap}#details table .size{text-align:right;width:70px;min-width:70px;white-space:nowrap}#details table .empty{text-align:center;margin:50px 0;color:#ddd;font-size:5em;font-weight:bold}#icons{display:none;padding:10px;border:1px solid #eee;border-radius:15px}#icons .entry{margin:8px;padding:8px;width:100px;height:120px;float:left;text-align:center;overflow:hidden;border-radius:5px;cursor:pointer;border:1px solid rgba(0,0,0,0)}#icons .entry:hover{color:#e80;border-color:#eee;-webkit-box-shadow:0 0 20px #999;-moz-box-shadow:0 0 20px #999;box-shadow:0 0 20px #999}#icons .entry img{width:48px;height:48px;margin-bottom:8px}body>footer{position:fixed;z-index:1;width:100%;left:0;bottom:0;padding:10px 0;border-top:1px solid #e1e1e1;background-color:#f0f0f0;color:#999;font-size:.85em;text-align:center;-webkit-box-shadow:0 0 30px #555;-moz-box-shadow:0 0 30px #555;box-shadow:0 0 30px #555}body>footer a,body>footer a:visited{color:#555;-webkit-transition:all .2s ease-in-out;-moz-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out}body>footer a:hover,body>footer a:visited:hover{color:#e80}#html5{position:absolute;left:6px;bottom:6px;float:left}#html5 img{width:20px;height:20px;opacity:.4;-webkit-transition:all .2s ease-in-out;-moz-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out}#html5:hover img{opacity:.8} \ No newline at end of file diff --git a/h5ai/footer.html b/target/h5ai/footer.html similarity index 77% rename from h5ai/footer.html rename to target/h5ai/footer.html index a76f15f8..15065574 100644 --- a/h5ai/footer.html +++ b/target/h5ai/footer.html @@ -10,14 +10,14 @@ html5-storage html5-css3 - h5ai + h5ai using HTML5 Boilerplate and Faenza icons - - - + + + - + \ No newline at end of file diff --git a/h5ai/header.html b/target/h5ai/header.html similarity index 73% rename from h5ai/header.html rename to target/h5ai/header.html index 2f4a5057..ff543cbe 100644 --- a/h5ai/header.html +++ b/target/h5ai/header.html @@ -1,12 +1,16 @@ - + - Index - styled with h5ai + Directory index · styled with h5ai + + + - + +