Changed slides from deck.js to reveal.js
authorJorge Gorbe <j.gorbe@stcsl.es>
Wed, 7 Nov 2012 14:04:23 +0000 (15:04 +0100)
committerJorge Gorbe <j.gorbe@stcsl.es>
Wed, 7 Nov 2012 14:04:23 +0000 (15:04 +0100)
114 files changed:
deck.js/.gitignore [deleted file]
deck.js/GPL-license.txt [deleted file]
deck.js/README.md [deleted file]
deck.js/boilerplate.html [deleted file]
deck.js/core/deck.core.css [deleted file]
deck.js/core/deck.core.js [deleted file]
deck.js/core/deck.core.scss [deleted file]
deck.js/extensions/goto/deck.goto.css [deleted file]
deck.js/extensions/goto/deck.goto.html [deleted file]
deck.js/extensions/goto/deck.goto.js [deleted file]
deck.js/extensions/goto/deck.goto.scss [deleted file]
deck.js/extensions/hash/deck.hash.css [deleted file]
deck.js/extensions/hash/deck.hash.html [deleted file]
deck.js/extensions/hash/deck.hash.js [deleted file]
deck.js/extensions/hash/deck.hash.scss [deleted file]
deck.js/extensions/menu/deck.menu.css [deleted file]
deck.js/extensions/menu/deck.menu.js [deleted file]
deck.js/extensions/menu/deck.menu.scss [deleted file]
deck.js/extensions/navigation/deck.navigation.css [deleted file]
deck.js/extensions/navigation/deck.navigation.html [deleted file]
deck.js/extensions/navigation/deck.navigation.js [deleted file]
deck.js/extensions/navigation/deck.navigation.scss [deleted file]
deck.js/extensions/scale/deck.scale.css [deleted file]
deck.js/extensions/scale/deck.scale.js [deleted file]
deck.js/extensions/scale/deck.scale.scss [deleted file]
deck.js/extensions/status/deck.status.css [deleted file]
deck.js/extensions/status/deck.status.html [deleted file]
deck.js/extensions/status/deck.status.js [deleted file]
deck.js/extensions/status/deck.status.scss [deleted file]
deck.js/introduction/index.html [deleted file]
deck.js/jquery-1.7.2.min.js [deleted file]
deck.js/modernizr.custom.js [deleted file]
deck.js/test/fixtures/complex.html [deleted file]
deck.js/test/fixtures/empty.html [deleted file]
deck.js/test/fixtures/iframe_simple.html [deleted file]
deck.js/test/fixtures/iframes.html [deleted file]
deck.js/test/fixtures/nesteds.html [deleted file]
deck.js/test/fixtures/standard.html [deleted file]
deck.js/test/index.html [deleted file]
deck.js/test/lib/jasmine-html.js [deleted file]
deck.js/test/lib/jasmine-jquery.js [deleted file]
deck.js/test/lib/jasmine.css [deleted file]
deck.js/test/lib/jasmine.js [deleted file]
deck.js/test/settings.js [deleted file]
deck.js/test/spec.core.js [deleted file]
deck.js/test/spec.goto.js [deleted file]
deck.js/test/spec.hash.js [deleted file]
deck.js/test/spec.menu.js [deleted file]
deck.js/test/spec.navigation.js [deleted file]
deck.js/test/spec.scale.js [deleted file]
deck.js/test/spec.status.js [deleted file]
deck.js/themes/style/neon.css [deleted file]
deck.js/themes/style/neon.scss [deleted file]
deck.js/themes/style/swiss.css [deleted file]
deck.js/themes/style/swiss.scss [deleted file]
deck.js/themes/style/web-2.0.css [deleted file]
deck.js/themes/style/web-2.0.scss [deleted file]
deck.js/themes/transition/fade.css [deleted file]
deck.js/themes/transition/fade.scss [deleted file]
deck.js/themes/transition/horizontal-slide.css [deleted file]
deck.js/themes/transition/horizontal-slide.scss [deleted file]
deck.js/themes/transition/vertical-slide.css [deleted file]
deck.js/themes/transition/vertical-slide.scss [deleted file]
resacon.css [deleted file]
slides/cool_story_bro.jpg [moved from cool_story_bro.jpg with 100% similarity]
slides/cool_story_bro2.jpg [moved from cool_story_bro2.jpg with 100% similarity]
slides/index.html [new file with mode: 0644]
slides/index.html.old [moved from index.html with 100% similarity]
slides/oh_god_why.png [moved from oh_god_why.png with 100% similarity]
slides/reveal.js/LICENSE [moved from deck.js/MIT-license.txt with 92% similarity]
slides/reveal.js/README.md [new file with mode: 0644]
slides/reveal.js/css/print/paper.css [new file with mode: 0644]
slides/reveal.js/css/print/pdf.css [new file with mode: 0644]
slides/reveal.js/css/reveal.css [new file with mode: 0644]
slides/reveal.js/css/shaders/tile-flip.fs [new file with mode: 0644]
slides/reveal.js/css/shaders/tile-flip.vs [new file with mode: 0644]
slides/reveal.js/css/theme/README.md [new file with mode: 0644]
slides/reveal.js/css/theme/beige.css [new file with mode: 0644]
slides/reveal.js/css/theme/default.css [new file with mode: 0644]
slides/reveal.js/css/theme/serif.css [new file with mode: 0644]
slides/reveal.js/css/theme/simple.css [new file with mode: 0644]
slides/reveal.js/css/theme/sky.css [new file with mode: 0644]
slides/reveal.js/css/theme/source/beige.scss [new file with mode: 0644]
slides/reveal.js/css/theme/source/default.scss [new file with mode: 0644]
slides/reveal.js/css/theme/source/serif.scss [new file with mode: 0644]
slides/reveal.js/css/theme/source/simple.scss [new file with mode: 0644]
slides/reveal.js/css/theme/source/sky.scss [new file with mode: 0644]
slides/reveal.js/css/theme/template/mixins.scss [new file with mode: 0644]
slides/reveal.js/css/theme/template/settings.scss [new file with mode: 0644]
slides/reveal.js/css/theme/template/theme.scss [new file with mode: 0644]
slides/reveal.js/index.html [new file with mode: 0644]
slides/reveal.js/js/reveal.js [new file with mode: 0644]
slides/reveal.js/js/reveal.min.js [new file with mode: 0644]
slides/reveal.js/lib/css/zenburn.css [new file with mode: 0644]
slides/reveal.js/lib/font/league_gothic-webfont.eot [new file with mode: 0755]
slides/reveal.js/lib/font/league_gothic-webfont.svg [new file with mode: 0644]
slides/reveal.js/lib/font/league_gothic-webfont.ttf [new file with mode: 0644]
slides/reveal.js/lib/font/league_gothic-webfont.woff [new file with mode: 0644]
slides/reveal.js/lib/font/league_gothic_license [new file with mode: 0644]
slides/reveal.js/lib/js/classList.js [new file with mode: 0644]
slides/reveal.js/lib/js/head.min.js [new file with mode: 0644]
slides/reveal.js/lib/js/html5shiv.js [new file with mode: 0644]
slides/reveal.js/package.json [new file with mode: 0644]
slides/reveal.js/plugin/highlight/highlight.js [new file with mode: 0644]
slides/reveal.js/plugin/markdown/markdown.js [new file with mode: 0644]
slides/reveal.js/plugin/markdown/showdown.js [new file with mode: 0644]
slides/reveal.js/plugin/notes-server/client.js [new file with mode: 0644]
slides/reveal.js/plugin/notes-server/index.js [new file with mode: 0644]
slides/reveal.js/plugin/notes-server/notes.html [new file with mode: 0644]
slides/reveal.js/plugin/notes/notes.html [new file with mode: 0644]
slides/reveal.js/plugin/notes/notes.js [new file with mode: 0644]
slides/reveal.js/plugin/zoom-js/zoom.js [new file with mode: 0644]
slides/stallman.jpg [moved from stallman.jpg with 100% similarity]
slides/visual_studio.jpg [moved from visual_studio.jpg with 100% similarity]

diff --git a/deck.js/.gitignore b/deck.js/.gitignore
deleted file mode 100644 (file)
index cedd4ec..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-.DS_Store
-.sass-cache/
-progress/
\ No newline at end of file
diff --git a/deck.js/GPL-license.txt b/deck.js/GPL-license.txt
deleted file mode 100644 (file)
index 336e7be..0000000
+++ /dev/null
@@ -1,278 +0,0 @@
-GNU GENERAL PUBLIC LICENSE
-           Version 2, June 1991
-
- Copyright (C) 1989, 1991 Free Software Foundation, Inc.
- 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
- Everyone is permitted to copy and distribute verbatim copies
- of this license document, but changing it is not allowed.
-
-          Preamble
-
-  The licenses for most software are designed to take away your
-freedom to share and change it.  By contrast, the GNU General Public
-License is intended to guarantee your freedom to share and change free
-software--to make sure the software is free for all its users.  This
-General Public License applies to most of the Free Software
-Foundation's software and to any other program whose authors commit to
-using it.  (Some other Free Software Foundation software is covered by
-the GNU Lesser General Public License instead.)  You can apply it to
-your programs, too.
-
-  When we speak of free software, we are referring to freedom, not
-price.  Our General Public Licenses are designed to make sure that you
-have the freedom to distribute copies of free software (and charge for
-this service if you wish), that you receive source code or can get it
-if you want it, that you can change the software or use pieces of it
-in new free programs; and that you know you can do these things.
-
-  To protect your rights, we need to make restrictions that forbid
-anyone to deny you these rights or to ask you to surrender the rights.
-These restrictions translate to certain responsibilities for you if you
-distribute copies of the software, or if you modify it.
-
-  For example, if you distribute copies of such a program, whether
-gratis or for a fee, you must give the recipients all the rights that
-you have.  You must make sure that they, too, receive or can get the
-source code.  And you must show them these terms so they know their
-rights.
-
-  We protect your rights with two steps: (1) copyright the software, and
-(2) offer you this license which gives you legal permission to copy,
-distribute and/or modify the software.
-
-  Also, for each author's protection and ours, we want to make certain
-that everyone understands that there is no warranty for this free
-software.  If the software is modified by someone else and passed on, we
-want its recipients to know that what they have is not the original, so
-that any problems introduced by others will not reflect on the original
-authors' reputations.
-
-  Finally, any free program is threatened constantly by software
-patents.  We wish to avoid the danger that redistributors of a free
-program will individually obtain patent licenses, in effect making the
-program proprietary.  To prevent this, we have made it clear that any
-patent must be licensed for everyone's free use or not licensed at all.
-
-  The precise terms and conditions for copying, distribution and
-modification follow.
-
-        GNU GENERAL PUBLIC LICENSE
-   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
-
-  0. This License applies to any program or other work which contains
-a notice placed by the copyright holder saying it may be distributed
-under the terms of this General Public License.  The "Program", below,
-refers to any such program or work, and a "work based on the Program"
-means either the Program or any derivative work under copyright law:
-that is to say, a work containing the Program or a portion of it,
-either verbatim or with modifications and/or translated into another
-language.  (Hereinafter, translation is included without limitation in
-the term "modification".)  Each licensee is addressed as "you".
-
-Activities other than copying, distribution and modification are not
-covered by this License; they are outside its scope.  The act of
-running the Program is not restricted, and the output from the Program
-is covered only if its contents constitute a work based on the
-Program (independent of having been made by running the Program).
-Whether that is true depends on what the Program does.
-
-  1. You may copy and distribute verbatim copies of the Program's
-source code as you receive it, in any medium, provided that you
-conspicuously and appropriately publish on each copy an appropriate
-copyright notice and disclaimer of warranty; keep intact all the
-notices that refer to this License and to the absence of any warranty;
-and give any other recipients of the Program a copy of this License
-along with the Program.
-
-You may charge a fee for the physical act of transferring a copy, and
-you may at your option offer warranty protection in exchange for a fee.
-
-  2. You may modify your copy or copies of the Program or any portion
-of it, thus forming a work based on the Program, and copy and
-distribute such modifications or work under the terms of Section 1
-above, provided that you also meet all of these conditions:
-
-    a) You must cause the modified files to carry prominent notices
-    stating that you changed the files and the date of any change.
-
-    b) You must cause any work that you distribute or publish, that in
-    whole or in part contains or is derived from the Program or any
-    part thereof, to be licensed as a whole at no charge to all third
-    parties under the terms of this License.
-
-    c) If the modified program normally reads commands interactively
-    when run, you must cause it, when started running for such
-    interactive use in the most ordinary way, to print or display an
-    announcement including an appropriate copyright notice and a
-    notice that there is no warranty (or else, saying that you provide
-    a warranty) and that users may redistribute the program under
-    these conditions, and telling the user how to view a copy of this
-    License.  (Exception: if the Program itself is interactive but
-    does not normally print such an announcement, your work based on
-    the Program is not required to print an announcement.)
-
-These requirements apply to the modified work as a whole.  If
-identifiable sections of that work are not derived from the Program,
-and can be reasonably considered independent and separate works in
-themselves, then this License, and its terms, do not apply to those
-sections when you distribute them as separate works.  But when you
-distribute the same sections as part of a whole which is a work based
-on the Program, the distribution of the whole must be on the terms of
-this License, whose permissions for other licensees extend to the
-entire whole, and thus to each and every part regardless of who wrote it.
-
-Thus, it is not the intent of this section to claim rights or contest
-your rights to work written entirely by you; rather, the intent is to
-exercise the right to control the distribution of derivative or
-collective works based on the Program.
-
-In addition, mere aggregation of another work not based on the Program
-with the Program (or with a work based on the Program) on a volume of
-a storage or distribution medium does not bring the other work under
-the scope of this License.
-
-  3. You may copy and distribute the Program (or a work based on it,
-under Section 2) in object code or executable form under the terms of
-Sections 1 and 2 above provided that you also do one of the following:
-
-    a) Accompany it with the complete corresponding machine-readable
-    source code, which must be distributed under the terms of Sections
-    1 and 2 above on a medium customarily used for software interchange; or,
-
-    b) Accompany it with a written offer, valid for at least three
-    years, to give any third party, for a charge no more than your
-    cost of physically performing source distribution, a complete
-    machine-readable copy of the corresponding source code, to be
-    distributed under the terms of Sections 1 and 2 above on a medium
-    customarily used for software interchange; or,
-
-    c) Accompany it with the information you received as to the offer
-    to distribute corresponding source code.  (This alternative is
-    allowed only for noncommercial distribution and only if you
-    received the program in object code or executable form with such
-    an offer, in accord with Subsection b above.)
-
-The source code for a work means the preferred form of the work for
-making modifications to it.  For an executable work, complete source
-code means all the source code for all modules it contains, plus any
-associated interface definition files, plus the scripts used to
-control compilation and installation of the executable.  However, as a
-special exception, the source code distributed need not include
-anything that is normally distributed (in either source or binary
-form) with the major components (compiler, kernel, and so on) of the
-operating system on which the executable runs, unless that component
-itself accompanies the executable.
-
-If distribution of executable or object code is made by offering
-access to copy from a designated place, then offering equivalent
-access to copy the source code from the same place counts as
-distribution of the source code, even though third parties are not
-compelled to copy the source along with the object code.
-
-  4. You may not copy, modify, sublicense, or distribute the Program
-except as expressly provided under this License.  Any attempt
-otherwise to copy, modify, sublicense or distribute the Program is
-void, and will automatically terminate your rights under this License.
-However, parties who have received copies, or rights, from you under
-this License will not have their licenses terminated so long as such
-parties remain in full compliance.
-
-  5. You are not required to accept this License, since you have not
-signed it.  However, nothing else grants you permission to modify or
-distribute the Program or its derivative works.  These actions are
-prohibited by law if you do not accept this License.  Therefore, by
-modifying or distributing the Program (or any work based on the
-Program), you indicate your acceptance of this License to do so, and
-all its terms and conditions for copying, distributing or modifying
-the Program or works based on it.
-
-  6. Each time you redistribute the Program (or any work based on the
-Program), the recipient automatically receives a license from the
-original licensor to copy, distribute or modify the Program subject to
-these terms and conditions.  You may not impose any further
-restrictions on the recipients' exercise of the rights granted herein.
-You are not responsible for enforcing compliance by third parties to
-this License.
-
-  7. If, as a consequence of a court judgment or allegation of patent
-infringement or for any other reason (not limited to patent issues),
-conditions are imposed on you (whether by court order, agreement or
-otherwise) that contradict the conditions of this License, they do not
-excuse you from the conditions of this License.  If you cannot
-distribute so as to satisfy simultaneously your obligations under this
-License and any other pertinent obligations, then as a consequence you
-may not distribute the Program at all.  For example, if a patent
-license would not permit royalty-free redistribution of the Program by
-all those who receive copies directly or indirectly through you, then
-the only way you could satisfy both it and this License would be to
-refrain entirely from distribution of the Program.
-
-If any portion of this section is held invalid or unenforceable under
-any particular circumstance, the balance of the section is intended to
-apply and the section as a whole is intended to apply in other
-circumstances.
-
-It is not the purpose of this section to induce you to infringe any
-patents or other property right claims or to contest validity of any
-such claims; this section has the sole purpose of protecting the
-integrity of the free software distribution system, which is
-implemented by public license practices.  Many people have made
-generous contributions to the wide range of software distributed
-through that system in reliance on consistent application of that
-system; it is up to the author/donor to decide if he or she is willing
-to distribute software through any other system and a licensee cannot
-impose that choice.
-
-This section is intended to make thoroughly clear what is believed to
-be a consequence of the rest of this License.
-
-  8. If the distribution and/or use of the Program is restricted in
-certain countries either by patents or by copyrighted interfaces, the
-original copyright holder who places the Program under this License
-may add an explicit geographical distribution limitation excluding
-those countries, so that distribution is permitted only in or among
-countries not thus excluded.  In such case, this License incorporates
-the limitation as if written in the body of this License.
-
-  9. The Free Software Foundation may publish revised and/or new versions
-of the General Public License from time to time.  Such new versions will
-be similar in spirit to the present version, but may differ in detail to
-address new problems or concerns.
-
-Each version is given a distinguishing version number.  If the Program
-specifies a version number of this License which applies to it and "any
-later version", you have the option of following the terms and conditions
-either of that version or of any later version published by the Free
-Software Foundation.  If the Program does not specify a version number of
-this License, you may choose any version ever published by the Free Software
-Foundation.
-
-  10. If you wish to incorporate parts of the Program into other free
-programs whose distribution conditions are different, write to the author
-to ask for permission.  For software which is copyrighted by the Free
-Software Foundation, write to the Free Software Foundation; we sometimes
-make exceptions for this.  Our decision will be guided by the two goals
-of preserving the free status of all derivatives of our free software and
-of promoting the sharing and reuse of software generally.
-
-          NO WARRANTY
-
-  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
-FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
-OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
-PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
-OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
-MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
-TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
-PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
-REPAIR OR CORRECTION.
-
-  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
-WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
-REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
-INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
-OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
-TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
-YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
-PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
-POSSIBILITY OF SUCH DAMAGES.
\ No newline at end of file
diff --git a/deck.js/README.md b/deck.js/README.md
deleted file mode 100644 (file)
index 0f6a96e..0000000
+++ /dev/null
@@ -1,64 +0,0 @@
-#deck.js
-
-A JavaScript library for building modern HTML presentations. deck.js is flexible enough to let advanced CSS and JavaScript authors craft highly customized decks, but also provides templates and themes for the HTML novice to build a standard slideshow.
-
-## Quick Start
-
-This repository includes a `boilerplate.html` as a starting point, with all the extensions included. Just [download it](https://github.com/imakewebthings/deck.js/zipball/stable), open `boilerplate.html`, and start editing your slides.
-
-## Documentation
-
-Check out the [documentation page](http://imakewebthings.github.com/deck.js/docs) for more information on the methods, events, and options available in core and all the included extensions.  A sample standard slide deck is included in the package under the `introduction` folder.  You can also [view that sample deck](http://imakewebthings.github.com/deck.js/introduction) online to play with the available style and transition themes.
-
-## Extensions, Themes, and Related Projects
-
-Take a look at [the wiki](https://github.com/imakewebthings/deck.js/wiki) for lists of extensions, themes, and other related goodies.  If you have a publicly available project of your own, feel free to add to the list.
-
-## Dependencies (included in this repository)
-
-- [jQuery](http://jquery.com)
-- [Modernizr](http://modernizr.com)
-
-## Tests & Support
-
-Unit tests are written with [Jasmine](http://pivotal.github.com/jasmine/) and [jasmine-jquery](https://github.com/velesin/jasmine-jquery). You can [run them here](http://imakewebthings.github.com/deck.js/test).
-
-deck.js has been tested with jQuery 1.6+ and works in IE7+, Chrome, FF, Safari, and Opera. The more capable browsers receive greater enhancements, but a basic cutaway slideshow will work for all browsers listed above. Please don't give your presentations in IE6.
-
-For any questions or general discussion about deck.js please direct your attention to the [mailing list](http://groups.google.com/group/deckjs) (uses Google groups.)  If you would like to report a bug, please see the [issues page](https://github.com/imakewebthings/deck.js/issues).
-
-## Known Bug(s)
-
-There is an issue with certain builds of Chrome that result in a solid blue background and generally broken decks.  This is a bug in Chrome ([Issue 91518](http://code.google.com/p/chromium/issues/detail?id=91518)) that stems from hardware acceleration of 3d transforms.  Current workarounds:
-
-- Use a different browser. This problem doesn't exist in Safari, FF, Opera.
-- Disable hardware compositing by setting `--disable-accelerated-compositing` in the Chrome loading options
-- Replace instances of `translate3d` with `translate` in the CSS of your decks (though this will slow down performance on iOS devices and Safari.)
-
-Firefox contains a bug that allows users to scroll horizontally using the trackpad despite `overflow-x:hidden`. ([Bug 664275](https://bugzilla.mozilla.org/show_bug.cgi?id=664275) and [Bug 325942](https://bugzilla.mozilla.org/show_bug.cgi?id=325942).) If anyone knows of any workarounds to this issue please contact me.
-
-## Printing
-
-Core includes stripped down black and white print styles for the standard slide template that is suitable for handouts.
-
-## Awesome Contributors
-
-- [jbuck](https://github.com/jbuck)
-- [cykod](https://github.com/cykod)
-- [dougireton](https://github.com/dougireton)
-- [awirick](https://github.com/awirick)
-- Daniel Knittl-Frank
-- [alexch](https://github.com/alexch)
-
-If you would like to contribute a patch to deck.js please do as much as you can of the following:
-
-- Add or amend Jasmine tests.
-- Add inline documentation.
-- If the standard snippet of an extension changes, please change it in both the introduction deck and the snippet html in the extension folder.
-- If the API changes, it would be awesome to receive a parallel pull request to the gh-pages branch which updates the public-facing documentation.
-
-## License
-
-Copyright (c) 2011-2012 Caleb Troughton
-
-Dual licensed under the [MIT license](https://github.com/imakewebthings/deck.js/blob/master/MIT-license.txt) and [GPL license](https://github.com/imakewebthings/deck.js/blob/master/GPL-license.txt).
diff --git a/deck.js/boilerplate.html b/deck.js/boilerplate.html
deleted file mode 100644 (file)
index 9b76d94..0000000
+++ /dev/null
@@ -1,96 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-       <meta charset="utf-8">
-       <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
-       <meta name="viewport" content="width=1024, user-scalable=no">
-
-       <title>Your deck.js Presentation</title>
-       
-       <!-- Required stylesheet -->
-       <link rel="stylesheet" href="core/deck.core.css">
-       
-       <!-- Extension CSS files go here. Remove or add as needed. -->
-       <link rel="stylesheet" href="extensions/goto/deck.goto.css">
-       <link rel="stylesheet" href="extensions/menu/deck.menu.css">
-       <link rel="stylesheet" href="extensions/navigation/deck.navigation.css">
-       <link rel="stylesheet" href="extensions/status/deck.status.css">
-       <link rel="stylesheet" href="extensions/hash/deck.hash.css">
-       <link rel="stylesheet" href="extensions/scale/deck.scale.css">
-
-       <!-- Style theme. More available in /themes/style/ or create your own. -->
-       <link rel="stylesheet" href="themes/style/web-2.0.css">
-       
-       <!-- Transition theme. More available in /themes/transition/ or create your own. -->
-       <link rel="stylesheet" href="themes/transition/horizontal-slide.css">
-       
-       <!-- Required Modernizr file -->
-       <script src="modernizr.custom.js"></script>
-</head>
-<body class="deck-container">
-
-<!-- Begin slides. Just make elements with a class of slide. -->
-
-<section class="slide">
-       <h1>Slide</h1>
-</section>
-
-<section class="slide">
-       <h1>Content</h1>
-</section>
-
-<section class="slide">
-       <h1>Here</h1>
-</section>
-
-<!-- End slides. -->
-
-
-<!-- Begin extension snippets. Add or remove as needed. -->
-
-<!-- deck.navigation snippet -->
-<a href="#" class="deck-prev-link" title="Previous">&#8592;</a>
-<a href="#" class="deck-next-link" title="Next">&#8594;</a>
-
-<!-- deck.status snippet -->
-<p class="deck-status">
-       <span class="deck-status-current"></span>
-       /
-       <span class="deck-status-total"></span>
-</p>
-
-<!-- deck.goto snippet -->
-<form action="." method="get" class="goto-form">
-       <label for="goto-slide">Go to slide:</label>
-       <input type="text" name="slidenum" id="goto-slide" list="goto-datalist">
-       <datalist id="goto-datalist"></datalist>
-       <input type="submit" value="Go">
-</form>
-
-<!-- deck.hash snippet -->
-<a href="." title="Permalink to this slide" class="deck-permalink">#</a>
-
-<!-- End extension snippets. -->
-
-
-<!-- Required JS files. -->
-<script src="jquery-1.7.2.min.js"></script>
-<script src="core/deck.core.js"></script>
-
-<!-- Extension JS files. Add or remove as needed. -->
-<script src="../core/deck.core.js"></script>
-<script src="../extensions/hash/deck.hash.js"></script>
-<script src="../extensions/menu/deck.menu.js"></script>
-<script src="../extensions/goto/deck.goto.js"></script>
-<script src="../extensions/status/deck.status.js"></script>
-<script src="../extensions/navigation/deck.navigation.js"></script>
-<script src="../extensions/scale/deck.scale.js"></script>
-
-<!-- Initialize the deck. You can put this in an external file if desired. -->
-<script>
-       $(function() {
-               $.deck('.slide');
-       });
-</script>
-</body>
-</html>
diff --git a/deck.js/core/deck.core.css b/deck.js/core/deck.core.css
deleted file mode 100644 (file)
index 823af0f..0000000
+++ /dev/null
@@ -1,407 +0,0 @@
-html, body {
-  height: 100%;
-  padding: 0;
-  margin: 0;
-}
-
-body.deck-container {
-  overflow-y: auto;
-  position: static;
-}
-
-.deck-container {
-  position: relative;
-  min-height: 100%;
-  margin: 0 auto;
-  padding: 0 48px;
-  font-size: 16px;
-  line-height: 1.25;
-  overflow: hidden;
-  /* Resets and base styles from HTML5 Boilerplate */
-  /* End HTML5 Boilerplate adaptations */
-}
-.js .deck-container {
-  visibility: hidden;
-}
-.ready .deck-container {
-  visibility: visible;
-}
-.touch .deck-container {
-  -webkit-text-size-adjust: none;
-  -moz-text-size-adjust: none;
-}
-.deck-container div, .deck-container span, .deck-container object, .deck-container iframe,
-.deck-container h1, .deck-container h2, .deck-container h3, .deck-container h4, .deck-container h5, .deck-container h6, .deck-container p, .deck-container blockquote, .deck-container pre,
-.deck-container abbr, .deck-container address, .deck-container cite, .deck-container code, .deck-container del, .deck-container dfn, .deck-container em, .deck-container img, .deck-container ins, .deck-container kbd, .deck-container q, .deck-container samp,
-.deck-container small, .deck-container strong, .deck-container sub, .deck-container sup, .deck-container var, .deck-container b, .deck-container i, .deck-container dl, .deck-container dt, .deck-container dd, .deck-container ol, .deck-container ul, .deck-container li,
-.deck-container fieldset, .deck-container form, .deck-container label, .deck-container legend,
-.deck-container table, .deck-container caption, .deck-container tbody, .deck-container tfoot, .deck-container thead, .deck-container tr, .deck-container th, .deck-container td,
-.deck-container article, .deck-container aside, .deck-container canvas, .deck-container details, .deck-container figcaption, .deck-container figure,
-.deck-container footer, .deck-container header, .deck-container hgroup, .deck-container menu, .deck-container nav, .deck-container section, .deck-container summary,
-.deck-container time, .deck-container mark, .deck-container audio, .deck-container video {
-  margin: 0;
-  padding: 0;
-  border: 0;
-  font-size: 100%;
-  font: inherit;
-  vertical-align: baseline;
-}
-.deck-container article, .deck-container aside, .deck-container details, .deck-container figcaption, .deck-container figure,
-.deck-container footer, .deck-container header, .deck-container hgroup, .deck-container menu, .deck-container nav, .deck-container section {
-  display: block;
-}
-.deck-container blockquote, .deck-container q {
-  quotes: none;
-}
-.deck-container blockquote:before, .deck-container blockquote:after, .deck-container q:before, .deck-container q:after {
-  content: "";
-  content: none;
-}
-.deck-container ins {
-  background-color: #ff9;
-  color: #000;
-  text-decoration: none;
-}
-.deck-container mark {
-  background-color: #ff9;
-  color: #000;
-  font-style: italic;
-  font-weight: bold;
-}
-.deck-container del {
-  text-decoration: line-through;
-}
-.deck-container abbr[title], .deck-container dfn[title] {
-  border-bottom: 1px dotted;
-  cursor: help;
-}
-.deck-container table {
-  border-collapse: collapse;
-  border-spacing: 0;
-}
-.deck-container hr {
-  display: block;
-  height: 1px;
-  border: 0;
-  border-top: 1px solid #ccc;
-  margin: 1em 0;
-  padding: 0;
-}
-.deck-container input, .deck-container select {
-  vertical-align: middle;
-}
-.deck-container select, .deck-container input, .deck-container textarea, .deck-container button {
-  font: 99% sans-serif;
-}
-.deck-container pre, .deck-container code, .deck-container kbd, .deck-container samp {
-  font-family: monospace, sans-serif;
-}
-.deck-container a {
-  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
-}
-.deck-container a:hover, .deck-container a:active {
-  outline: none;
-}
-.deck-container ul, .deck-container ol {
-  margin-left: 2em;
-  vertical-align: top;
-}
-.deck-container ol {
-  list-style-type: decimal;
-}
-.deck-container nav ul, .deck-container nav li {
-  margin: 0;
-  list-style: none;
-  list-style-image: none;
-}
-.deck-container small {
-  font-size: 85%;
-}
-.deck-container strong, .deck-container th {
-  font-weight: bold;
-}
-.deck-container td {
-  vertical-align: top;
-}
-.deck-container sub, .deck-container sup {
-  font-size: 75%;
-  line-height: 0;
-  position: relative;
-}
-.deck-container sup {
-  top: -0.5em;
-}
-.deck-container sub {
-  bottom: -0.25em;
-}
-.deck-container textarea {
-  overflow: auto;
-}
-.ie6 .deck-container legend, .ie7 .deck-container legend {
-  margin-left: -7px;
-}
-.deck-container input[type="radio"] {
-  vertical-align: text-bottom;
-}
-.deck-container input[type="checkbox"] {
-  vertical-align: bottom;
-}
-.ie7 .deck-container input[type="checkbox"] {
-  vertical-align: baseline;
-}
-.ie6 .deck-container input {
-  vertical-align: text-bottom;
-}
-.deck-container label, .deck-container input[type="button"], .deck-container input[type="submit"], .deck-container input[type="image"], .deck-container button {
-  cursor: pointer;
-}
-.deck-container button, .deck-container input, .deck-container select, .deck-container textarea {
-  margin: 0;
-}
-.deck-container input:invalid, .deck-container textarea:invalid {
-  border-radius: 1px;
-  -moz-box-shadow: 0px 0px 5px red;
-  -webkit-box-shadow: 0px 0px 5px red;
-  box-shadow: 0px 0px 5px red;
-}
-.deck-container input:invalid .no-boxshadow, .deck-container textarea:invalid .no-boxshadow {
-  background-color: #f0dddd;
-}
-.deck-container button {
-  width: auto;
-  overflow: visible;
-}
-.ie7 .deck-container img {
-  -ms-interpolation-mode: bicubic;
-}
-.deck-container, .deck-container select, .deck-container input, .deck-container textarea {
-  color: #444;
-}
-.deck-container a {
-  color: #607890;
-}
-.deck-container a:hover, .deck-container a:focus {
-  color: #036;
-}
-.deck-container a:link {
-  -webkit-tap-highlight-color: #fff;
-}
-.deck-container.deck-loading {
-  display: none;
-}
-
-.slide {
-  width: auto;
-  min-height: 100%;
-  position: relative;
-}
-.slide h1 {
-  font-size: 4.5em;
-}
-.slide h1, .slide .vcenter {
-  font-weight: bold;
-  text-align: center;
-  padding-top: 1em;
-  max-height: 100%;
-}
-.csstransforms .slide h1, .csstransforms .slide .vcenter {
-  padding: 0 48px;
-  position: absolute;
-  left: 0;
-  right: 0;
-  top: 50%;
-  -webkit-transform: translate(0, -50%);
-  -moz-transform: translate(0, -50%);
-  -ms-transform: translate(0, -50%);
-  -o-transform: translate(0, -50%);
-  transform: translate(0, -50%);
-}
-.slide .vcenter h1 {
-  position: relative;
-  top: auto;
-  padding: 0;
-  -webkit-transform: none;
-  -moz-transform: none;
-  -ms-transform: none;
-  -o-transform: none;
-  transform: none;
-}
-.slide h2 {
-  font-size: 2.25em;
-  font-weight: bold;
-  padding-top: .5em;
-  margin: 0 0 .66666em 0;
-  border-bottom: 3px solid #888;
-}
-.slide h3 {
-  font-size: 1.4375em;
-  font-weight: bold;
-  margin-bottom: .30435em;
-}
-.slide h4 {
-  font-size: 1.25em;
-  font-weight: bold;
-  margin-bottom: .25em;
-}
-.slide h5 {
-  font-size: 1.125em;
-  font-weight: bold;
-  margin-bottom: .2222em;
-}
-.slide h6 {
-  font-size: 1em;
-  font-weight: bold;
-}
-.slide img, .slide iframe, .slide video {
-  display: block;
-  max-width: 100%;
-}
-.slide video, .slide iframe, .slide img {
-  display: block;
-  margin: 0 auto;
-}
-.slide p, .slide blockquote, .slide iframe, .slide img, .slide ul, .slide ol, .slide pre, .slide video {
-  margin-bottom: 1em;
-}
-.slide pre {
-  white-space: pre;
-  white-space: pre-wrap;
-  word-wrap: break-word;
-  padding: 1em;
-  border: 1px solid #888;
-}
-.slide em {
-  font-style: italic;
-}
-.slide li {
-  padding: .25em 0;
-  vertical-align: middle;
-}
-
-.deck-before, .deck-previous, .deck-next, .deck-after {
-  position: absolute;
-  left: -999em;
-  top: -999em;
-}
-
-.deck-current {
-  z-index: 2;
-}
-
-.slide .slide {
-  visibility: hidden;
-  position: static;
-  min-height: 0;
-}
-
-.deck-child-current {
-  position: static;
-  z-index: 2;
-}
-.deck-child-current .slide {
-  visibility: hidden;
-}
-.deck-child-current .deck-previous, .deck-child-current .deck-before, .deck-child-current .deck-current {
-  visibility: visible;
-}
-
-@media screen and (max-device-width: 480px) {
-  /* html { -webkit-text-size-adjust:none; -ms-text-size-adjust:none; } */
-}
-@media print {
-  * {
-    background: transparent !important;
-    color: black !important;
-    text-shadow: none !important;
-    filter: none !important;
-    -ms-filter: none !important;
-    -webkit-box-reflect: none !important;
-    -moz-box-reflect: none !important;
-    -webkit-box-shadow: none !important;
-    -moz-box-shadow: none !important;
-    box-shadow: none !important;
-  }
-  * :before, * :after {
-    display: 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: 0.5cm;
-}
-
-  p, h2, h3 {
-    orphans: 3;
-    widows: 3;
-  }
-
-  h2, h3 {
-    page-break-after: avoid;
-  }
-
-  .slide {
-    position: static !important;
-    visibility: visible !important;
-    display: block !important;
-    -webkit-transform: none !important;
-    -moz-transform: none !important;
-    -o-transform: none !important;
-    -ms-transform: none !important;
-    transform: none !important;
-    opacity: 1 !important;
-  }
-
-  h1, .vcenter {
-    -webkit-transform: none !important;
-    -moz-transform: none !important;
-    -o-transform: none !important;
-    -ms-transform: none !important;
-    transform: none !important;
-    padding: 0 !important;
-    position: static !important;
-  }
-
-  .deck-container > .slide {
-    page-break-after: always;
-  }
-
-  .deck-container {
-    width: 100% !important;
-    height: auto !important;
-    padding: 0 !important;
-    display: block !important;
-  }
-
-  script {
-    display: none;
-  }
-}
diff --git a/deck.js/core/deck.core.js b/deck.js/core/deck.core.js
deleted file mode 100644 (file)
index 997942c..0000000
+++ /dev/null
@@ -1,498 +0,0 @@
-/*!
-Deck JS - deck.core
-Copyright (c) 2011 Caleb Troughton
-Dual licensed under the MIT license and GPL license.
-https://github.com/imakewebthings/deck.js/blob/master/MIT-license.txt
-https://github.com/imakewebthings/deck.js/blob/master/GPL-license.txt
-*/
-
-/*
-The deck.core module provides all the basic functionality for creating and
-moving through a deck.  It does so by applying classes to indicate the state of
-the deck and its slides, allowing CSS to take care of the visual representation
-of each state.  It also provides methods for navigating the deck and inspecting
-its state, as well as basic key bindings for going to the next and previous
-slides.  More functionality is provided by wholly separate extension modules
-that use the API provided by core.
-*/
-(function($, deck, document, undefined) {
-       var slides, // Array of all the uh, slides...
-       current, // Array index of the current slide
-       $container, // Keeping this cached
-       
-       events = {
-               /*
-               This event fires whenever the current slide changes, whether by way of
-               next, prev, or go. The callback function is passed two parameters, from
-               and to, equal to the indices of the old slide and the new slide
-               respectively. If preventDefault is called on the event within this handler
-               the slide change does not occur.
-               
-               $(document).bind('deck.change', function(event, from, to) {
-                  alert('Moving from slide ' + from + ' to ' + to);
-               });
-               */
-               change: 'deck.change',
-               
-               /*
-               This event fires at the beginning of deck initialization, after the options
-               are set but before the slides array is created.  This event makes a good hook
-               for preprocessing extensions looking to modify the deck.
-               */
-               beforeInitialize: 'deck.beforeInit',
-               
-               /*
-               This event fires at the end of deck initialization. Extensions should
-               implement any code that relies on user extensible options (key bindings,
-               element selectors, classes) within a handler for this event. Native
-               events associated with Deck JS should be scoped under a .deck event
-               namespace, as with the example below:
-               
-               var $d = $(document);
-               $.deck.defaults.keys.myExtensionKeycode = 70; // 'h'
-               $d.bind('deck.init', function() {
-                  $d.bind('keydown.deck', function(event) {
-                     if (event.which === $.deck.getOptions().keys.myExtensionKeycode) {
-                        // Rock out
-                     }
-                  });
-               });
-               */
-               initialize: 'deck.init' 
-       },
-       
-       options = {},
-       $d = $(document),
-       
-       /*
-       Internal function. Updates slide and container classes based on which
-       slide is the current slide.
-       */
-       updateStates = function() {
-               var oc = options.classes,
-               osc = options.selectors.container,
-               old = $container.data('onSlide'),
-               $all = $();
-               
-               // Container state
-               $container.removeClass(oc.onPrefix + old)
-                       .addClass(oc.onPrefix + current)
-                       .data('onSlide', current);
-               
-               // Remove and re-add child-current classes for nesting
-               $('.' + oc.current).parentsUntil(osc).removeClass(oc.childCurrent);
-               slides[current].parentsUntil(osc).addClass(oc.childCurrent);
-               
-               // Remove previous states
-               $.each(slides, function(i, el) {
-                       $all = $all.add(el);
-               });
-               $all.removeClass([
-                       oc.before,
-                       oc.previous,
-                       oc.current,
-                       oc.next,
-                       oc.after
-               ].join(" "));
-               
-               // Add new states back in
-               slides[current].addClass(oc.current);
-               if (current > 0) {
-                       slides[current-1].addClass(oc.previous);
-               }
-               if (current + 1 < slides.length) {
-                       slides[current+1].addClass(oc.next);
-               }
-               if (current > 1) {
-                       $.each(slides.slice(0, current - 1), function(i, el) {
-                               el.addClass(oc.before);
-                       });
-               }
-               if (current + 2 < slides.length) {
-                       $.each(slides.slice(current+2), function(i, el) {
-                               el.addClass(oc.after);
-                       });
-               }
-       },
-       
-       /* Methods exposed in the jQuery.deck namespace */
-       methods = {
-               
-               /*
-               jQuery.deck(selector, options)
-               
-               selector: string | jQuery | array
-               options: object, optional
-                               
-               Initializes the deck, using each element matched by selector as a slide.
-               May also be passed an array of string selectors or jQuery objects, in
-               which case each selector in the array is considered a slide. The second
-               parameter is an optional options object which will extend the default
-               values.
-               
-               $.deck('.slide');
-               
-               or
-               
-               $.deck([
-                  '#first-slide',
-                  '#second-slide',
-                  '#etc'
-               ]);
-               */      
-               init: function(elements, opts) {
-                       var startTouch,
-                       tolerance,
-                       esp = function(e) {
-                               e.stopPropagation();
-                       };
-                       
-                       options = $.extend(true, {}, $[deck].defaults, opts);
-                       slides = [];
-                       current = 0;
-                       $container = $(options.selectors.container);
-                       tolerance = options.touch.swipeTolerance;
-                       
-                       // Pre init event for preprocessing hooks
-                       $d.trigger(events.beforeInitialize);
-                       
-                       // Hide the deck while states are being applied to kill transitions
-                       $container.addClass(options.classes.loading);
-                       
-                       // Fill slides array depending on parameter type
-                       if ($.isArray(elements)) {
-                               $.each(elements, function(i, e) {
-                                       slides.push($(e));
-                               });
-                       }
-                       else {
-                               $(elements).each(function(i, e) {
-                                       slides.push($(e));
-                               });
-                       }
-                       
-                       /* Remove any previous bindings, and rebind key events */
-                       $d.unbind('keydown.deck').bind('keydown.deck', function(e) {
-                               if (e.which === options.keys.next || $.inArray(e.which, options.keys.next) > -1) {
-                                       methods.next();
-                                       e.preventDefault();
-                               }
-                               else if (e.which === options.keys.previous || $.inArray(e.which, options.keys.previous) > -1) {
-                                       methods.prev();
-                                       e.preventDefault();
-                               }
-                       })
-                       /* Stop propagation of key events within editable elements */
-                       .undelegate('input, textarea, select, button, meter, progress, [contentEditable]', 'keydown', esp)
-                       .delegate('input, textarea, select, button, meter, progress, [contentEditable]', 'keydown', esp);
-                       
-                       /* Bind touch events for swiping between slides on touch devices */
-                       $container.unbind('touchstart.deck').bind('touchstart.deck', function(e) {
-                               if (!startTouch) {
-                                       startTouch = $.extend({}, e.originalEvent.targetTouches[0]);
-                               }
-                       })
-                       .unbind('touchmove.deck').bind('touchmove.deck', function(e) {
-                               $.each(e.originalEvent.changedTouches, function(i, t) {
-                                       if (startTouch && t.identifier === startTouch.identifier) {
-                                               if (t.screenX - startTouch.screenX > tolerance || t.screenY - startTouch.screenY > tolerance) {
-                                                       $[deck]('prev');
-                                                       startTouch = undefined;
-                                               }
-                                               else if (t.screenX - startTouch.screenX < -1 * tolerance || t.screenY - startTouch.screenY < -1 * tolerance) {
-                                                       $[deck]('next');
-                                                       startTouch = undefined;
-                                               }
-                                               return false;
-                                       }
-                               });
-                               e.preventDefault();
-                       })
-                       .unbind('touchend.deck').bind('touchend.deck', function(t) {
-                               $.each(t.originalEvent.changedTouches, function(i, t) {
-                                       if (startTouch && t.identifier === startTouch.identifier) {
-                                               startTouch = undefined;
-                                       }
-                               });
-                       })
-                       .scrollLeft(0).scrollTop(0);
-                       
-                       /*
-                       Kick iframe videos, which dont like to redraw w/ transforms.
-                       Remove this if Webkit ever fixes it.
-                        */
-                       $.each(slides, function(i, $el) {
-                               $el.unbind('webkitTransitionEnd.deck').bind('webkitTransitionEnd.deck',
-                               function(event) {
-                                       if ($el.hasClass($[deck]('getOptions').classes.current)) {
-                                               var embeds = $(this).find('iframe').css('opacity', 0);
-                                               window.setTimeout(function() {
-                                                       embeds.css('opacity', 1);
-                                               }, 100);
-                                       }
-                               });
-                       });
-                       
-                       if (slides.length) {
-                               updateStates();
-                       }
-                       
-                       // Show deck again now that slides are in place
-                       $container.removeClass(options.classes.loading);
-                       $d.trigger(events.initialize);
-               },
-               
-               /*
-               jQuery.deck('go', index)
-               
-               index: integer | string
-               
-               Moves to the slide at the specified index if index is a number. Index is
-               0-based, so $.deck('go', 0); will move to the first slide. If index is a
-               string this will move to the slide with the specified id. If index is out
-               of bounds or doesn't match a slide id the call is ignored.
-               */
-               go: function(index) {
-                       var e = $.Event(events.change),
-                       ndx;
-                       
-                       /* Number index, easy. */
-                       if (typeof index === 'number' && index >= 0 && index < slides.length) {
-                               ndx = index;
-                       }
-                       /* Id string index, search for it and set integer index */
-                       else if (typeof index === 'string') {
-                               $.each(slides, function(i, $slide) {
-                                       if ($slide.attr('id') === index) {
-                                               ndx = i;
-                                               return false;
-                                       }
-                               });
-                       };
-                       
-                       /* Out of bounds, id doesn't exist, illegal input, eject */
-                       if (typeof ndx === 'undefined') return;
-                       
-                       $d.trigger(e, [current, ndx]);
-                       if (e.isDefaultPrevented()) {
-                               /* Trigger the event again and undo the damage done by extensions. */
-                               $d.trigger(events.change, [ndx, current]);
-                       }
-                       else {
-                               current = ndx;
-                               updateStates();
-                       }
-               },
-               
-               /*
-               jQuery.deck('next')
-               
-               Moves to the next slide. If the last slide is already active, the call
-               is ignored.
-               */
-               next: function() {
-                       methods.go(current+1);
-               },
-               
-               /*
-               jQuery.deck('prev')
-               
-               Moves to the previous slide. If the first slide is already active, the
-               call is ignored.
-               */
-               prev: function() {
-                       methods.go(current-1);
-               },
-               
-               /*
-               jQuery.deck('getSlide', index)
-               
-               index: integer, optional
-               
-               Returns a jQuery object containing the slide at index. If index is not
-               specified, the current slide is returned.
-               */
-               getSlide: function(index) {
-                       var i = typeof index !== 'undefined' ? index : current;
-                       if (typeof i != 'number' || i < 0 || i >= slides.length) return null;
-                       return slides[i];
-               },
-               
-               /*
-               jQuery.deck('getSlides')
-               
-               Returns all slides as an array of jQuery objects.
-               */
-               getSlides: function() {
-                       return slides;
-               },
-               
-               /*
-               jQuery.deck('getContainer')
-               
-               Returns a jQuery object containing the deck container as defined by the
-               container option.
-               */
-               getContainer: function() {
-                       return $container;
-               },
-               
-               /*
-               jQuery.deck('getOptions')
-               
-               Returns the options object for the deck, including any overrides that
-               were defined at initialization.
-               */
-               getOptions: function() {
-                       return options;
-               },
-               
-               /*
-               jQuery.deck('extend', name, method)
-               
-               name: string
-               method: function
-               
-               Adds method to the deck namespace with the key of name. This doesn’t
-               give access to any private member data â€” public methods must still be
-               used within method â€” but lets extension authors piggyback on the deck
-               namespace rather than pollute jQuery.
-               
-               $.deck('extend', 'alert', function(msg) {
-                  alert(msg);
-               });
-
-               // Alerts 'boom'
-               $.deck('alert', 'boom');
-               */
-               extend: function(name, method) {
-                       methods[name] = method;
-               }
-       };
-       
-       /* jQuery extension */
-       $[deck] = function(method, arg) {
-               if (methods[method]) {
-                       return methods[method].apply(this, Array.prototype.slice.call(arguments, 1));
-               }
-               else {
-                       return methods.init(method, arg);
-               }
-       };
-       
-       /*
-       The default settings object for a deck. All deck extensions should extend
-       this object to add defaults for any of their options.
-       
-       options.classes.after
-               This class is added to all slides that appear after the 'next' slide.
-       
-       options.classes.before
-               This class is added to all slides that appear before the 'previous'
-               slide.
-               
-       options.classes.childCurrent
-               This class is added to all elements in the DOM tree between the
-               'current' slide and the deck container. For standard slides, this is
-               mostly seen and used for nested slides.
-               
-       options.classes.current
-               This class is added to the current slide.
-               
-       options.classes.loading
-               This class is applied to the deck container during loading phases and is
-               primarily used as a way to short circuit transitions between states
-               where such transitions are distracting or unwanted.  For example, this
-               class is applied during deck initialization and then removed to prevent
-               all the slides from appearing stacked and transitioning into place
-               on load.
-               
-       options.classes.next
-               This class is added to the slide immediately following the 'current'
-               slide.
-               
-       options.classes.onPrefix
-               This prefix, concatenated with the current slide index, is added to the
-               deck container as you change slides.
-               
-       options.classes.previous
-               This class is added to the slide immediately preceding the 'current'
-               slide.
-               
-       options.selectors.container
-               Elements matched by this CSS selector will be considered the deck
-               container. The deck container is used to scope certain states of the
-               deck, as with the onPrefix option, or with extensions such as deck.goto
-               and deck.menu.
-               
-       options.keys.next
-               The numeric keycode used to go to the next slide.
-               
-       options.keys.previous
-               The numeric keycode used to go to the previous slide.
-               
-       options.touch.swipeTolerance
-               The number of pixels the users finger must travel to produce a swipe
-               gesture.
-       */
-       $[deck].defaults = {
-               classes: {
-                       after: 'deck-after',
-                       before: 'deck-before',
-                       childCurrent: 'deck-child-current',
-                       current: 'deck-current',
-                       loading: 'deck-loading',
-                       next: 'deck-next',
-                       onPrefix: 'on-slide-',
-                       previous: 'deck-previous'
-               },
-               
-               selectors: {
-                       container: '.deck-container'
-               },
-               
-               keys: {
-                       // enter, space, page down, right arrow, down arrow,
-                       next: [13, 32, 34, 39, 40],
-                       // backspace, page up, left arrow, up arrow
-                       previous: [8, 33, 37, 38]
-               },
-               
-               touch: {
-                       swipeTolerance: 60
-               }
-       };
-       
-       $d.ready(function() {
-               $('html').addClass('ready');
-       });
-       
-       /*
-       FF + Transforms + Flash video don't get along...
-       Firefox will reload and start playing certain videos after a
-       transform.  Blanking the src when a previously shown slide goes out
-       of view prevents this.
-       */
-       $d.bind('deck.change', function(e, from, to) {
-               var oldFrames = $[deck]('getSlide', from).find('iframe'),
-               newFrames = $[deck]('getSlide', to).find('iframe');
-               
-               oldFrames.each(function() {
-               var $this = $(this),
-               curSrc = $this.attr('src');
-            
-            if(curSrc) {
-               $this.data('deck-src', curSrc).attr('src', '');
-            }
-               });
-               
-               newFrames.each(function() {
-                       var $this = $(this),
-                       originalSrc = $this.data('deck-src');
-                       
-                       if (originalSrc) {
-                               $this.attr('src', originalSrc);
-                       }
-               });
-       });
-})(jQuery, 'deck', document);
diff --git a/deck.js/core/deck.core.scss b/deck.js/core/deck.core.scss
deleted file mode 100755 (executable)
index 6721050..0000000
+++ /dev/null
@@ -1,450 +0,0 @@
-html, body {
-       height:100%;
-       padding:0;
-       margin:0;
-}
-
-body.deck-container {
-       overflow-y:auto;
-       position:static;
-}
-
-.deck-container {
-       position:relative;
-       min-height:100%;
-       margin:0 auto;
-       padding:0 48px;
-       font-size:16px;
-       line-height:1.25;
-       overflow:hidden;
-       
-       .js & {
-               visibility:hidden;
-       }
-       
-       .ready & {
-               visibility:visible;
-       }
-       
-       .touch & {
-               -webkit-text-size-adjust:none;
-               -moz-text-size-adjust:none;
-       }
-       
-       /* Resets and base styles from HTML5 Boilerplate */
-       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;
-               
-               &:before, &: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;
-       }
-       
-       select, input, textarea, button {
-               font:99% sans-serif;
-       }
-       
-       pre, code, kbd, samp {
-               font-family:monospace, sans-serif;
-       }
-       
-       a {
-               -webkit-tap-highlight-color:rgba(0,0,0,0);
-               
-               &:hover, &:active {
-                       outline:none;
-               }
-       }
-       
-       ul, ol {
-               margin-left:2em;
-               vertical-align:top;
-       }
-       
-       ol {
-               list-style-type:decimal;
-       }
-       
-       nav {
-               ul, 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; }
-       
-       textarea {
-               overflow:auto;
-       }
-       
-       legend {
-               .ie6 &, .ie7 & {
-                       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, textarea {
-               &:invalid {
-                       border-radius:1px;
-                       -moz-box-shadow:0px 0px 5px red;
-                       -webkit-box-shadow:0px 0px 5px red;
-                       box-shadow: 0px 0px 5px red;
-                       
-                       .no-boxshadow {
-                               background-color: #f0dddd;
-                       }
-               }
-       }
-       
-       button {
-               width:auto;
-               overflow:visible;
-       }
-       
-       .ie7 & img {
-               -ms-interpolation-mode: bicubic; }
-       
-       &, select, input, textarea {
-               color:#444;
-       }
-       
-       a {
-               color:#607890;
-               
-               &:hover, &:focus {
-                       color:#036;
-               }
-               
-               &:link {
-                       -webkit-tap-highlight-color: #fff;
-               }
-       }
-       /* End HTML5 Boilerplate adaptations */
-       
-       &.deck-loading {
-               display:none;
-       }
-}
-
-.slide {
-       width:auto;
-       min-height:100%;
-       position:relative;
-       
-       h1 {
-               font-size:4.5em;
-       }
-
-       h1, .vcenter {
-               font-weight:bold;
-               text-align:center;
-               padding-top:1em;
-               max-height:100%;
-               
-               .csstransforms & {
-                       padding:0 48px;
-                       position:absolute;
-                       left:0;
-                       right:0;
-                       top:50%;
-                       -webkit-transform:translate(0, -50%);
-                       -moz-transform:translate(0, -50%);
-                       -ms-transform:translate(0, -50%);
-                       -o-transform:translate(0, -50%);
-                       transform:translate(0, -50%);
-               }
-       }
-
-       .vcenter h1 {
-               position:relative;
-               top:auto;
-               padding:0;
-               -webkit-transform:none;
-               -moz-transform:none;
-               -ms-transform:none;
-               -o-transform:none;
-               transform:none;
-       }
-
-       h2 {
-               font-size:2.25em;
-               font-weight:bold;
-               padding-top:.5em;
-               margin:0 0 .66666em 0;
-               border-bottom:3px solid #888;
-       }
-
-       h3 {
-               font-size:1.4375em;
-               font-weight:bold;
-               margin-bottom:.30435em;
-       }
-
-       h4 {
-               font-size:1.25em;
-               font-weight:bold;
-               margin-bottom:.25em;
-       }
-
-       h5 {
-               font-size:1.125em;
-               font-weight:bold;
-               margin-bottom:.2222em;
-       }
-
-       h6 {
-               font-size:1em;
-               font-weight:bold;
-       }
-
-       img, iframe, video {
-               display:block;
-               max-width:100%;
-       }
-
-       video, iframe, img {
-               display:block;
-               margin:0 auto;
-       }
-
-       p, blockquote, iframe, img, ul, ol, pre, video {
-               margin-bottom:1em;
-       }
-
-       pre {
-               white-space:pre;
-               white-space:pre-wrap;
-               word-wrap:break-word;
-               padding: 1em;
-               border:1px solid #888;
-       }
-
-       em {
-               font-style:italic;
-       }
-       
-       li {
-               padding:.25em 0;
-               vertical-align:middle;
-       }
-}
-
-.deck-before, .deck-previous, .deck-next, .deck-after {
-       position:absolute;
-       left:-999em;
-       top:-999em;
-}
-
-.deck-current {
-       z-index:2;
-}
-
-.slide .slide {
-       visibility:hidden;
-       position:static;
-       min-height:0;
-}
-
-.deck-child-current {
-       position:static;
-       z-index:2;
-       
-       .slide {
-               visibility:hidden;
-       }
-       
-       .deck-previous, .deck-before, .deck-current {
-               visibility:visible;
-       }
-}
-
-@media all and (orientation:portrait) {
-
-}
-
-@media all and (orientation:landscape) {
-
-}
-
-@media screen and (max-device-width: 480px) {
-  
-  /* html { -webkit-text-size-adjust:none; -ms-text-size-adjust:none; } */
-}
-
-
-@media print {
-  * {
-       background: transparent !important;
-       color: black !important;
-       text-shadow: none !important;
-       filter:none !important;
-       -ms-filter: none !important;
-       -webkit-box-reflect:none !important;
-       -moz-box-reflect:none !important;
-       -webkit-box-shadow:none !important;
-       -moz-box-shadow:none !important;
-       box-shadow:none !important;
-       
-       :before, :after {
-               display: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: 0.5cm; }
-  p, h2, h3 { orphans: 3; widows: 3; }
-  h2, h3{ page-break-after: avoid; }
-
-       .slide {
-               position:static !important;
-               visibility:visible !important;
-               display:block !important;
-               -webkit-transform:none !important;
-               -moz-transform:none !important;
-               -o-transform:none !important;
-               -ms-transform:none !important;
-               transform:none !important;
-               opacity:1 !important;
-       }
-       
-       h1, .vcenter {
-               -webkit-transform:none !important;
-               -moz-transform:none !important;
-               -o-transform:none !important;
-               -ms-transform:none !important;
-               transform:none !important;
-               padding:0 !important;
-               position:static !important;
-       }
-       
-       .deck-container > .slide {
-               page-break-after: always;
-       }
-       
-       .deck-container {
-               width:100% !important;
-               height:auto !important;
-               padding:0 !important;
-               display:block !important;
-       }
-       
-       script {
-               display:none;
-       }
-}
diff --git a/deck.js/extensions/goto/deck.goto.css b/deck.js/extensions/goto/deck.goto.css
deleted file mode 100644 (file)
index 108e4f9..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-.deck-container .goto-form {
-  position: absolute;
-  z-index: 3;
-  bottom: 10px;
-  left: 50%;
-  height: 1.75em;
-  margin: 0 0 0 -9.125em;
-  line-height: 1.75em;
-  padding: 0.625em;
-  display: none;
-  background: #ccc;
-  overflow: hidden;
-}
-.borderradius .deck-container .goto-form {
-  -webkit-border-radius: 10px;
-  -moz-border-radius: 10px;
-  border-radius: 10px;
-}
-.deck-container .goto-form label {
-  font-weight: bold;
-}
-.deck-container .goto-form label, .deck-container .goto-form input {
-  display: inline-block;
-  font-family: inherit;
-}
-
-.deck-goto .goto-form {
-  display: block;
-}
-
-#goto-slide {
-  width: 8.375em;
-  margin: 0 0.625em;
-  height: 1.4375em;
-}
-
-@media print {
-  .goto-form, #goto-slide {
-    display: none !important;
-  }
-}
diff --git a/deck.js/extensions/goto/deck.goto.html b/deck.js/extensions/goto/deck.goto.html
deleted file mode 100644 (file)
index e3b6a18..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<!-- Place the following snippet at the bottom of the deck container. -->
-<form action="." method="get" class="goto-form">
-       <label for="goto-slide">Go to slide:</label>
-       <input type="text" name="slidenum" id="goto-slide" list="goto-datalist">
-       <datalist id="goto-datalist"></datalist>
-       <input type="submit" value="Go">
-</form>
\ No newline at end of file
diff --git a/deck.js/extensions/goto/deck.goto.js b/deck.js/extensions/goto/deck.goto.js
deleted file mode 100644 (file)
index eedba10..0000000
+++ /dev/null
@@ -1,170 +0,0 @@
-/*!
-Deck JS - deck.goto
-Copyright (c) 2011 Caleb Troughton
-Dual licensed under the MIT license and GPL license.
-https://github.com/imakewebthings/deck.js/blob/master/MIT-license.txt
-https://github.com/imakewebthings/deck.js/blob/master/GPL-license.txt
-*/
-
-/*
-This module adds the necessary methods and key bindings to show and hide a form
-for jumping to any slide number/id in the deck (and processes that form
-accordingly). The form-showing state is indicated by the presence of a class on
-the deck container.
-*/
-(function($, deck, undefined) {
-       var $d = $(document);
-       
-       /*
-       Extends defaults/options.
-       
-       options.classes.goto
-               This class is added to the deck container when showing the Go To Slide
-               form.
-               
-       options.selectors.gotoDatalist
-               The element that matches this selector is the datalist element that will
-               be populated with options for each of the slide ids.  In browsers that
-               support the datalist element, this provides a drop list of slide ids to
-               aid the user in selecting a slide.
-               
-       options.selectors.gotoForm
-               The element that matches this selector is the form that is submitted
-               when a user hits enter after typing a slide number/id in the gotoInput
-               element.
-       
-       options.selectors.gotoInput
-               The element that matches this selector is the text input field for
-               entering a slide number/id in the Go To Slide form.
-               
-       options.keys.goto
-               The numeric keycode used to show the Go To Slide form.
-               
-       options.countNested
-               If false, only top level slides will be counted when entering a
-               slide number.
-       */
-       $.extend(true, $[deck].defaults, {
-               classes: {
-                       goto: 'deck-goto'
-               },
-               
-               selectors: {
-                       gotoDatalist: '#goto-datalist',
-                       gotoForm: '.goto-form',
-                       gotoInput: '#goto-slide'
-               },
-               
-               keys: {
-                       goto: 71 // g
-               },
-               
-               countNested: true
-       });
-
-       /*
-       jQuery.deck('showGoTo')
-       
-       Shows the Go To Slide form by adding the class specified by the goto class
-       option to the deck container.
-       */
-       $[deck]('extend', 'showGoTo', function() {
-               $[deck]('getContainer').addClass($[deck]('getOptions').classes.goto);
-               $($[deck]('getOptions').selectors.gotoInput).focus();
-       });
-
-       /*
-       jQuery.deck('hideGoTo')
-       
-       Hides the Go To Slide form by removing the class specified by the goto class
-       option from the deck container.
-       */
-       $[deck]('extend', 'hideGoTo', function() {
-               $($[deck]('getOptions').selectors.gotoInput).blur();
-               $[deck]('getContainer').removeClass($[deck]('getOptions').classes.goto);
-       });
-
-       /*
-       jQuery.deck('toggleGoTo')
-       
-       Toggles between showing and hiding the Go To Slide form.
-       */
-       $[deck]('extend', 'toggleGoTo', function() {
-               $[deck]($[deck]('getContainer').hasClass($[deck]('getOptions').classes.goto) ? 'hideGoTo' : 'showGoTo');
-       });
-       
-       $d.bind('deck.init', function() {
-               var opts = $[deck]('getOptions'),
-               $datalist = $(opts.selectors.gotoDatalist),
-               slideTest = $.map([
-                       opts.classes.before,
-                       opts.classes.previous,
-                       opts.classes.current,
-                       opts.classes.next,
-                       opts.classes.after
-               ], function(el, i) {
-                       return '.' + el;
-               }).join(', '),
-               rootCounter = 1;
-               
-               // Bind key events
-               $d.unbind('keydown.deckgoto').bind('keydown.deckgoto', function(e) {
-                       var key = $[deck]('getOptions').keys.goto;
-                       
-                       if (e.which === key || $.inArray(e.which, key) > -1) {
-                               e.preventDefault();
-                               $[deck]('toggleGoTo');
-                       }
-               });
-               
-               /* Populate datalist and work out countNested*/
-               $.each($[deck]('getSlides'), function(i, $slide) {
-                       var id = $slide.attr('id'),
-                       $parentSlides = $slide.parentsUntil(opts.selectors.container, slideTest);
-                       
-                       if (id) {
-                               $datalist.append('<option value="' + id + '">');
-                       }
-                       
-                       if ($parentSlides.length) {
-                               $slide.removeData('rootIndex');
-                       }
-                       else if (!opts.countNested) {
-                               $slide.data('rootIndex', rootCounter);
-                               ++rootCounter;
-                       }
-               });
-               
-               // Process form submittal, go to the slide entered
-               $(opts.selectors.gotoForm)
-               .unbind('submit.deckgoto')
-               .bind('submit.deckgoto', function(e) {
-                       var $field = $($[deck]('getOptions').selectors.gotoInput),
-                       ndx = parseInt($field.val(), 10);
-                       
-                       if (!$[deck]('getOptions').countNested) {
-                         if (ndx >= rootCounter) return false;
-                               $.each($[deck]('getSlides'), function(i, $slide) {
-                                       if ($slide.data('rootIndex') === ndx) {
-                                               ndx = i + 1;
-                                               return false;
-                                       }
-                               });
-                       }
-                       
-                       $[deck]('go', isNaN(ndx) ? $field.val() : ndx - 1);
-                       $[deck]('hideGoTo');
-                       $field.val('');
-                       
-                       e.preventDefault();
-               });
-               
-               // Dont let keys in the input trigger deck actions
-               $(opts.selectors.gotoInput)
-               .unbind('keydown.deckgoto')
-               .bind('keydown.deckgoto', function(e) {
-                       e.stopPropagation();
-               });
-       });
-})(jQuery, 'deck');
-
diff --git a/deck.js/extensions/goto/deck.goto.scss b/deck.js/extensions/goto/deck.goto.scss
deleted file mode 100755 (executable)
index 9170d5d..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-.deck-container {      
-       .goto-form {
-               position:absolute;
-               z-index:3;
-               bottom:10px;
-               left:50%;
-               height:1.75em;
-               margin:0 0 0 -9.125em;
-               line-height:1.75em;
-               padding:0.625em;
-               display:none;
-               background:#ccc;
-               overflow:hidden;
-       
-               .borderradius & {
-                       -webkit-border-radius:10px;
-                       -moz-border-radius:10px;
-                       border-radius:10px;
-               }
-       
-               label {
-                       font-weight:bold;
-               }
-       
-               label, input {
-                       display:inline-block;
-                       font-family:inherit;
-               }
-       }
-}
-
-.deck-goto .goto-form {
-       display:block;
-}
-
-#goto-slide {
-       width:8.375em;
-       margin:0 0.625em;
-       height:1.4375em;
-}
-
-@media print {
-       .goto-form, #goto-slide {
-               display:none !important;
-       }
-}
\ No newline at end of file
diff --git a/deck.js/extensions/hash/deck.hash.css b/deck.js/extensions/hash/deck.hash.css
deleted file mode 100644 (file)
index 28f0732..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-.deck-container .deck-permalink {
-  display: none;
-  position: absolute;
-  z-index: 4;
-  bottom: 30px;
-  right: 0;
-  width: 48px;
-  text-align: center;
-}
-
-.no-history .deck-container:hover .deck-permalink {
-  display: block;
-}
diff --git a/deck.js/extensions/hash/deck.hash.html b/deck.js/extensions/hash/deck.hash.html
deleted file mode 100644 (file)
index 102579c..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-<!-- Place the following snippet at the bottom of the deck container. -->
-<a href="." title="Permalink to this slide" class="deck-permalink">#</a>
\ No newline at end of file
diff --git a/deck.js/extensions/hash/deck.hash.js b/deck.js/extensions/hash/deck.hash.js
deleted file mode 100644 (file)
index 048b647..0000000
+++ /dev/null
@@ -1,142 +0,0 @@
-/*!
-Deck JS - deck.hash
-Copyright (c) 2011 Caleb Troughton
-Dual licensed under the MIT license and GPL license.
-https://github.com/imakewebthings/deck.js/blob/master/MIT-license.txt
-https://github.com/imakewebthings/deck.js/blob/master/GPL-license.txt
-*/
-
-/*
-This module adds deep linking to individual slides, enables internal links
-to slides within decks, and updates the address bar with the hash as the user
-moves through the deck. A permalink anchor is also updated. Standard themes
-hide this link in browsers that support the History API, and show it for
-those that do not. Slides that do not have an id are assigned one according to
-the hashPrefix option. In addition to the on-slide container state class
-kept by core, this module adds an on-slide state class that uses the id of each
-slide.
-*/
-(function ($, deck, window, undefined) {
-       var $d = $(document),
-       $window = $(window),
-       
-       /* Collection of internal fragment links in the deck */
-       $internals,
-       
-       /*
-       Internal only function.  Given a string, extracts the id from the hash,
-       matches it to the appropriate slide, and navigates there.
-       */
-       goByHash = function(str) {
-               var id = str.substr(str.indexOf("#") + 1),
-               slides = $[deck]('getSlides');
-               
-               $.each(slides, function(i, $el) {
-                       if ($el.attr('id') === id) {
-                               $[deck]('go', i);
-                               return false;
-                       }
-               });
-               
-               // If we don't set these to 0 the container scrolls due to hashchange
-               $[deck]('getContainer').scrollLeft(0).scrollTop(0);
-       };
-       
-       /*
-       Extends defaults/options.
-       
-       options.selectors.hashLink
-               The element matching this selector has its href attribute updated to
-               the hash of the current slide as the user navigates through the deck.
-               
-       options.hashPrefix
-               Every slide that does not have an id is assigned one at initialization.
-               Assigned ids take the form of hashPrefix + slideIndex, e.g., slide-0,
-               slide-12, etc.
-
-       options.preventFragmentScroll
-               When deep linking to a hash of a nested slide, this scrolls the deck
-               container to the top, undoing the natural browser behavior of scrolling
-               to the document fragment on load.
-       */
-       $.extend(true, $[deck].defaults, {
-               selectors: {
-                       hashLink: '.deck-permalink'
-               },
-               
-               hashPrefix: 'slide-',
-               preventFragmentScroll: true
-       });
-       
-       
-       $d.bind('deck.init', function() {
-          var opts = $[deck]('getOptions');
-               $internals = $(),
-               slides = $[deck]('getSlides');
-               
-               $.each(slides, function(i, $el) {
-                       var hash;
-                       
-                       /* Hand out ids to the unfortunate slides born without them */
-                       if (!$el.attr('id') || $el.data('deckAssignedId') === $el.attr('id')) {
-                               $el.attr('id', opts.hashPrefix + i);
-                               $el.data('deckAssignedId', opts.hashPrefix + i);
-                       }
-                       
-                       hash ='#' + $el.attr('id');
-                       
-                       /* Deep link to slides on init */
-                       if (hash === window.location.hash) {
-                               $[deck]('go', i);
-                       }
-                       
-                       /* Add internal links to this slide */
-                       $internals = $internals.add('a[href="' + hash + '"]');
-               });
-               
-               if (!Modernizr.hashchange) {
-                       /* Set up internal links using click for the poor browsers
-                       without a hashchange event. */
-                       $internals.unbind('click.deckhash').bind('click.deckhash', function(e) {
-                               goByHash($(this).attr('href'));
-                       });
-               }
-               
-               /* Set up first id container state class */
-               if (slides.length) {
-                       $[deck]('getContainer').addClass(opts.classes.onPrefix + $[deck]('getSlide').attr('id'));
-               };
-       })
-       /* Update permalink, address bar, and state class on a slide change */
-       .bind('deck.change', function(e, from, to) {
-               var hash = '#' + $[deck]('getSlide', to).attr('id'),
-               hashPath = window.location.href.replace(/#.*/, '') + hash,
-               opts = $[deck]('getOptions'),
-               osp = opts.classes.onPrefix,
-               $c = $[deck]('getContainer');
-               
-               $c.removeClass(osp + $[deck]('getSlide', from).attr('id'));
-               $c.addClass(osp + $[deck]('getSlide', to).attr('id'));
-               
-               $(opts.selectors.hashLink).attr('href', hashPath);
-               if (Modernizr.history) {
-                       window.history.replaceState({}, "", hashPath);
-               }
-       });
-       
-       /* Deals with internal links in modern browsers */
-       $window.bind('hashchange.deckhash', function(e) {
-               if (e.originalEvent && e.originalEvent.newURL) {
-                       goByHash(e.originalEvent.newURL);
-               }
-               else {
-                       goByHash(window.location.hash);
-               }
-       })
-       /* Prevent scrolling on deep links */
-       .bind('load', function() {
-               if ($[deck]('getOptions').preventFragmentScroll) {
-                       $[deck]('getContainer').scrollLeft(0).scrollTop(0);
-               }
-       });
-})(jQuery, 'deck', this);
\ No newline at end of file
diff --git a/deck.js/extensions/hash/deck.hash.scss b/deck.js/extensions/hash/deck.hash.scss
deleted file mode 100644 (file)
index 03b412d..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-.deck-container {
-       .deck-permalink {
-               display:none;
-               position:absolute;
-               z-index:4;
-               bottom:30px;
-               right:0;
-               width:48px;
-               text-align:center;
-       }
-}
-
-.no-history .deck-container:hover .deck-permalink {
-       display:block;
-}
\ No newline at end of file
diff --git a/deck.js/extensions/menu/deck.menu.css b/deck.js/extensions/menu/deck.menu.css
deleted file mode 100644 (file)
index c664a3f..0000000
+++ /dev/null
@@ -1,47 +0,0 @@
-.deck-menu .slide {
-  background: #eee;
-  position: relative;
-  left: 0;
-  top: 0;
-  visibility: visible;
-  cursor: pointer;
-}
-.no-csstransforms .deck-menu > .slide {
-  float: left;
-  width: 22%;
-  height: 22%;
-  min-height: 0;
-  margin: 1%;
-  font-size: 0.22em;
-  overflow: hidden;
-  padding: 0 0.5%;
-}
-.csstransforms .deck-menu > .slide {
-  -webkit-transform: scale(0.22) !important;
-  -moz-transform: scale(0.22) !important;
-  -o-transform: scale(0.22) !important;
-  -ms-transform: scale(0.22) !important;
-  transform: scale(0.22) !important;
-  -webkit-transform-origin: 0 0;
-  -moz-transform-origin: 0 0;
-  -o-transform-origin: 0 0;
-  -ms-transform-origin: 0 0;
-  transform-origin: 0 0;
-  -webkit-box-sizing: border-box;
-  -moz-box-sizing: border-box;
-  box-sizing: border-box;
-  width: 100%;
-  height: 100%;
-  overflow: hidden;
-  padding: 0 48px;
-  margin: 12px;
-}
-.deck-menu iframe, .deck-menu img, .deck-menu video {
-  max-width: 100%;
-}
-.deck-menu .deck-current, .no-touch .deck-menu .slide:hover {
-  background: #ddf;
-}
-.deck-menu.deck-container:hover .deck-prev-link, .deck-menu.deck-container:hover .deck-next-link {
-  display: none;
-}
diff --git a/deck.js/extensions/menu/deck.menu.js b/deck.js/extensions/menu/deck.menu.js
deleted file mode 100644 (file)
index 743cf77..0000000
+++ /dev/null
@@ -1,187 +0,0 @@
-/*!
-Deck JS - deck.menu
-Copyright (c) 2011 Caleb Troughton
-Dual licensed under the MIT license and GPL license.
-https://github.com/imakewebthings/deck.js/blob/master/MIT-license.txt
-https://github.com/imakewebthings/deck.js/blob/master/GPL-license.txt
-*/
-
-/*
-This module adds the methods and key binding to show and hide a menu of all
-slides in the deck. The deck menu state is indicated by the presence of a class
-on the deck container.
-*/
-(function($, deck, undefined) {
-       var $d = $(document),
-       rootSlides; // Array of top level slides
-       
-       /*
-       Extends defaults/options.
-       
-       options.classes.menu
-               This class is added to the deck container when showing the slide menu.
-       
-       options.keys.menu
-               The numeric keycode used to toggle between showing and hiding the slide
-               menu.
-               
-       options.touch.doubletapWindow
-               Two consecutive touch events within this number of milliseconds will
-               be considered a double tap, and will toggle the menu on touch devices.
-       */
-       $.extend(true, $[deck].defaults, {
-               classes: {
-                       menu: 'deck-menu'
-               },
-               
-               keys: {
-                       menu: 77 // m
-               },
-               
-               touch: {
-                       doubletapWindow: 400
-               }
-       });
-
-       /*
-       jQuery.deck('showMenu')
-       
-       Shows the slide menu by adding the class specified by the menu class option
-       to the deck container.
-       */
-       $[deck]('extend', 'showMenu', function() {
-               var $c = $[deck]('getContainer'),
-               opts = $[deck]('getOptions');
-               
-               if ($c.hasClass(opts.classes.menu)) return;
-               
-               // Hide through loading class to short-circuit transitions (perf)
-               $c.addClass([opts.classes.loading, opts.classes.menu].join(' '));
-               
-               /* Forced to do this in JS until CSS learns second-grade math. Save old
-               style value for restoration when menu is hidden. */
-               if (Modernizr.csstransforms) {
-                       $.each(rootSlides, function(i, $slide) {
-                               $slide.data('oldStyle', $slide.attr('style'));
-                               $slide.css({
-                                       'position': 'absolute',
-                                       'left': ((i % 4) * 25) + '%',
-                                       'top': (Math.floor(i / 4) * 25) + '%'
-                               });
-                       });
-               }
-               
-               // Need to ensure the loading class renders first, then remove
-               window.setTimeout(function() {
-                       $c.removeClass(opts.classes.loading)
-                               .scrollTop($[deck]('getSlide').offset().top);
-               }, 0);
-       });
-
-       /*
-       jQuery.deck('hideMenu')
-       
-       Hides the slide menu by removing the class specified by the menu class
-       option from the deck container.
-       */
-       $[deck]('extend', 'hideMenu', function() {
-               var $c = $[deck]('getContainer'),
-               opts = $[deck]('getOptions');
-               
-               if (!$c.hasClass(opts.classes.menu)) return;
-               
-               $c.removeClass(opts.classes.menu);
-               $c.addClass(opts.classes.loading);
-               
-               /* Restore old style value */
-               if (Modernizr.csstransforms) {
-                       $.each(rootSlides, function(i, $slide) {
-                               var oldStyle = $slide.data('oldStyle');
-
-                               $slide.attr('style', oldStyle ? oldStyle : '');
-                       });
-               }
-               
-               window.setTimeout(function() {
-                       $c.removeClass(opts.classes.loading).scrollTop(0);
-               }, 0);
-       });
-
-       /*
-       jQuery.deck('toggleMenu')
-       
-       Toggles between showing and hiding the slide menu.
-       */
-       $[deck]('extend', 'toggleMenu', function() {
-               $[deck]('getContainer').hasClass($[deck]('getOptions').classes.menu) ?
-               $[deck]('hideMenu') : $[deck]('showMenu');
-       });
-
-       $d.bind('deck.init', function() {
-               var opts = $[deck]('getOptions'),
-               touchEndTime = 0,
-               currentSlide,
-               slideTest = $.map([
-                       opts.classes.before,
-                       opts.classes.previous,
-                       opts.classes.current,
-                       opts.classes.next,
-                       opts.classes.after
-               ], function(el, i) {
-                       return '.' + el;
-               }).join(', ');
-               
-               // Build top level slides array
-               rootSlides = [];
-               $.each($[deck]('getSlides'), function(i, $el) {
-                       if (!$el.parentsUntil(opts.selectors.container, slideTest).length) {
-                               rootSlides.push($el);
-                       }
-               });
-               
-               // Bind key events
-               $d.unbind('keydown.deckmenu').bind('keydown.deckmenu', function(e) {
-                       if (e.which === opts.keys.menu || $.inArray(e.which, opts.keys.menu) > -1) {
-                               $[deck]('toggleMenu');
-                               e.preventDefault();
-                       }
-               });
-               
-               // Double tap to toggle slide menu for touch devices
-               $[deck]('getContainer').unbind('touchstart.deckmenu').bind('touchstart.deckmenu', function(e) {
-                       currentSlide = $[deck]('getSlide');
-               })
-               .unbind('touchend.deckmenu').bind('touchend.deckmenu', function(e) {
-                       var now = Date.now();
-                       
-                       // Ignore this touch event if it caused a nav change (swipe)
-                       if (currentSlide !== $[deck]('getSlide')) return;
-                       
-                       if (now - touchEndTime < opts.touch.doubletapWindow) {
-                               $[deck]('toggleMenu');
-                               e.preventDefault();
-                       }
-                       touchEndTime = now;
-               });
-               
-               // Selecting slides from the menu
-               $.each($[deck]('getSlides'), function(i, $s) {
-                       $s.unbind('click.deckmenu').bind('click.deckmenu', function(e) {
-                               if (!$[deck]('getContainer').hasClass(opts.classes.menu)) return;
-
-                               $[deck]('go', i);
-                               $[deck]('hideMenu');
-                               e.stopPropagation();
-                               e.preventDefault();
-                       });
-               });
-       })
-       .bind('deck.change', function(e, from, to) {
-               var container = $[deck]('getContainer');
-               
-               if (container.hasClass($[deck]('getOptions').classes.menu)) {
-                       container.scrollTop($[deck]('getSlide', to).offset().top);
-               }
-       });
-})(jQuery, 'deck');
-
diff --git a/deck.js/extensions/menu/deck.menu.scss b/deck.js/extensions/menu/deck.menu.scss
deleted file mode 100755 (executable)
index 0bd576d..0000000
+++ /dev/null
@@ -1,58 +0,0 @@
-.deck-menu {
-       .slide {
-               background:#eee;
-               position:relative;
-               left:0;
-               top:0;
-               visibility:visible;
-               cursor:pointer;
-       }
-       
-       > .slide {
-               .no-csstransforms & {
-                       float:left;
-                       width:22%;
-                       height:22%;
-                       min-height:0;
-                       margin:1%;
-                       font-size:0.22em;
-                       overflow:hidden;
-                       padding:0 0.5%;
-               }
-               
-               .csstransforms & {
-                       -webkit-transform:scale(.22) !important;
-                       -moz-transform:scale(.22) !important;
-                       -o-transform:scale(.22) !important;
-                       -ms-transform:scale(.22) !important;
-                       transform:scale(.22) !important;
-                       -webkit-transform-origin:0 0;
-                       -moz-transform-origin:0 0;
-                       -o-transform-origin:0 0;
-                       -ms-transform-origin:0 0;
-                       transform-origin:0 0;
-                       -webkit-box-sizing: border-box;
-                       -moz-box-sizing: border-box;
-                       box-sizing: border-box;
-                       width:100%;
-                       height:100%;
-                       overflow:hidden;
-                       padding:0 48px;
-                       margin:12px;
-               }
-       }
-       
-       iframe, img, video {
-               max-width:100%;
-       }
-       
-       .deck-current, .no-touch & .slide:hover {
-               background:#ddf;
-       }
-       
-       &.deck-container:hover {
-               .deck-prev-link, .deck-next-link {
-                       display:none;
-               }
-       }
-}
\ No newline at end of file
diff --git a/deck.js/extensions/navigation/deck.navigation.css b/deck.js/extensions/navigation/deck.navigation.css
deleted file mode 100644 (file)
index e1ebad8..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-.deck-container .deck-prev-link, .deck-container .deck-next-link {
-  display: none;
-  position: absolute;
-  z-index: 3;
-  top: 50%;
-  width: 32px;
-  height: 32px;
-  margin-top: -16px;
-  font-size: 20px;
-  font-weight: bold;
-  line-height: 32px;
-  vertical-align: middle;
-  text-align: center;
-  text-decoration: none;
-  color: #fff;
-  background: #888;
-}
-.borderradius .deck-container .deck-prev-link, .borderradius .deck-container .deck-next-link {
-  -webkit-border-radius: 16px;
-  -moz-border-radius: 16px;
-  border-radius: 16px;
-}
-.deck-container .deck-prev-link:hover, .deck-container .deck-prev-link:focus, .deck-container .deck-prev-link:active, .deck-container .deck-prev-link:visited, .deck-container .deck-next-link:hover, .deck-container .deck-next-link:focus, .deck-container .deck-next-link:active, .deck-container .deck-next-link:visited {
-  color: #fff;
-}
-.deck-container .deck-prev-link {
-  left: 8px;
-}
-.deck-container .deck-next-link {
-  right: 8px;
-}
-.deck-container:hover .deck-prev-link, .deck-container:hover .deck-next-link {
-  display: block;
-}
-.deck-container:hover .deck-prev-link.deck-nav-disabled, .touch .deck-container:hover .deck-prev-link, .deck-container:hover .deck-next-link.deck-nav-disabled, .touch .deck-container:hover .deck-next-link {
-  display: none;
-}
-
-@media print {
-  .deck-prev-link, .deck-next-link {
-    display: none !important;
-  }
-}
diff --git a/deck.js/extensions/navigation/deck.navigation.html b/deck.js/extensions/navigation/deck.navigation.html
deleted file mode 100644 (file)
index c756624..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-<!-- Place the following snippet at the bottom of the deck container. -->
-<a href="#" class="deck-prev-link" title="Previous">&#8592;</a>
-<a href="#" class="deck-next-link" title="Next">&#8594;</a>
\ No newline at end of file
diff --git a/deck.js/extensions/navigation/deck.navigation.js b/deck.js/extensions/navigation/deck.navigation.js
deleted file mode 100644 (file)
index a07f7ea..0000000
+++ /dev/null
@@ -1,92 +0,0 @@
-/*!
-Deck JS - deck.navigation
-Copyright (c) 2011 Caleb Troughton
-Dual licensed under the MIT license and GPL license.
-https://github.com/imakewebthings/deck.js/blob/master/MIT-license.txt
-https://github.com/imakewebthings/deck.js/blob/master/GPL-license.txt
-*/
-
-/*
-This module adds clickable previous and next links to the deck.
-*/
-(function($, deck, undefined) {
-       var $d = $(document),
-       
-       /* Updates link hrefs, and disabled states if last/first slide */
-       updateButtons = function(e, from, to) {
-               var opts = $[deck]('getOptions'),
-               last = $[deck]('getSlides').length - 1,
-               prevSlide = $[deck]('getSlide', to - 1),
-               nextSlide = $[deck]('getSlide', to + 1),
-               hrefBase = window.location.href.replace(/#.*/, ''),
-               prevId = prevSlide ? prevSlide.attr('id') : undefined,
-               nextId = nextSlide ? nextSlide.attr('id') : undefined;
-               
-               $(opts.selectors.previousLink)
-                       .toggleClass(opts.classes.navDisabled, !to)
-                       .attr('href', hrefBase + '#' + (prevId ? prevId : ''));
-               $(opts.selectors.nextLink)
-                       .toggleClass(opts.classes.navDisabled, to === last)
-                       .attr('href', hrefBase + '#' + (nextId ? nextId : ''));
-       };
-       
-       /*
-       Extends defaults/options.
-       
-       options.classes.navDisabled
-               This class is added to a navigation link when that action is disabled.
-               It is added to the previous link when on the first slide, and to the
-               next link when on the last slide.
-               
-       options.selectors.nextLink
-               The elements that match this selector will move the deck to the next
-               slide when clicked.
-               
-       options.selectors.previousLink
-               The elements that match this selector will move to deck to the previous
-               slide when clicked.
-       */
-       $.extend(true, $[deck].defaults, {
-               classes: {
-                       navDisabled: 'deck-nav-disabled'
-               },
-               
-               selectors: {
-                       nextLink: '.deck-next-link',
-                       previousLink: '.deck-prev-link'
-               }
-       });
-
-       $d.bind('deck.init', function() {
-               var opts = $[deck]('getOptions'),
-               slides = $[deck]('getSlides'),
-               $current = $[deck]('getSlide'),
-               ndx;
-               
-               // Setup prev/next link events
-               $(opts.selectors.previousLink)
-               .unbind('click.decknavigation')
-               .bind('click.decknavigation', function(e) {
-                       $[deck]('prev');
-                       e.preventDefault();
-               });
-               
-               $(opts.selectors.nextLink)
-               .unbind('click.decknavigation')
-               .bind('click.decknavigation', function(e) {
-                       $[deck]('next');
-                       e.preventDefault();
-               });
-               
-               // Find where we started in the deck and set initial states
-               $.each(slides, function(i, $slide) {
-                       if ($slide === $current) {
-                               ndx = i;
-                               return false;
-                       }
-               });
-               updateButtons(null, ndx, ndx);
-       })
-       .bind('deck.change', updateButtons);
-})(jQuery, 'deck');
-
diff --git a/deck.js/extensions/navigation/deck.navigation.scss b/deck.js/extensions/navigation/deck.navigation.scss
deleted file mode 100755 (executable)
index 815602f..0000000
+++ /dev/null
@@ -1,56 +0,0 @@
-@mixin border-radius($r) {
-       -webkit-border-radius:$r;
-       -moz-border-radius:$r;
-       border-radius:$r;
-}
-
-.deck-container {
-       .deck-prev-link, .deck-next-link {
-               display:none;
-               position:absolute;
-               z-index:3;
-               top:50%;
-               width:32px;
-               height:32px;
-               margin-top:-16px;
-               font-size:20px;
-               font-weight:bold;
-               line-height:32px;
-               vertical-align:middle;
-               text-align:center;
-               text-decoration:none;
-               color:#fff;
-               background:#888;
-
-               .borderradius & {
-                       @include border-radius(16px);
-               }
-
-               &:hover, &:focus, &:active, &:visited {
-                       color:#fff;
-               }
-       }
-
-       .deck-prev-link {
-               left:8px;
-       }
-
-       .deck-next-link {
-               right:8px;
-       }
-       
-       &:hover .deck-prev-link, &:hover .deck-next-link {
-               display:block;
-
-               &.deck-nav-disabled, .touch & {
-                       display:none;
-               }
-       }
-}
-
-
-@media print {
-       .deck-prev-link, .deck-next-link {
-               display:none !important;
-       }
-}
diff --git a/deck.js/extensions/scale/deck.scale.css b/deck.js/extensions/scale/deck.scale.css
deleted file mode 100644 (file)
index d6a4eb0..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-/* Remove this line if you are embedding deck.js in a page and
-using the scale extension. */
-.csstransforms {
-  overflow: hidden;
-}
-
-.csstransforms .deck-container.deck-scale:not(.deck-menu) > .slide {
-  -webkit-box-sizing: padding-box;
-  -moz-box-sizing: padding-box;
-  box-sizing: padding-box;
-  width: 100%;
-  padding-bottom: 20px;
-}
-.csstransforms .deck-container.deck-scale:not(.deck-menu) > .slide > .deck-slide-scaler {
-  -webkit-transform-origin: 50% 0;
-  -moz-transform-origin: 50% 0;
-  -o-transform-origin: 50% 0;
-  -ms-transform-origin: 50% 0;
-  transform-origin: 50% 0;
-}
-
-.csstransforms .deck-container.deck-menu .deck-slide-scaler {
-  -webkit-transform: none !important;
-  -moz-transform: none !important;
-  -o-transform: none !important;
-  -ms-transform: none !important;
-  transform: none !important;
-}
diff --git a/deck.js/extensions/scale/deck.scale.js b/deck.js/extensions/scale/deck.scale.js
deleted file mode 100644 (file)
index 14feb1a..0000000
+++ /dev/null
@@ -1,170 +0,0 @@
-/*!
-Deck JS - deck.scale
-Copyright (c) 2011-2012 Caleb Troughton
-Dual licensed under the MIT license and GPL license.
-https://github.com/imakewebthings/deck.js/blob/master/MIT-license.txt
-https://github.com/imakewebthings/deck.js/blob/master/GPL-license.txt
-*/
-
-/*
-This module adds automatic scaling to the deck.  Slides are scaled down
-using CSS transforms to fit within the deck container. If the container is
-big enough to hold the slides without scaling, no scaling occurs. The user
-can disable and enable scaling with a keyboard shortcut.
-
-Note: CSS transforms may make Flash videos render incorrectly.  Presenters
-that need to use video may want to disable scaling to play them.  HTML5 video
-works fine.
-*/
-(function($, deck, window, undefined) {
-       var $d = $(document),
-       $w = $(window),
-       baseHeight, // Value to scale against
-       timer, // Timeout id for debouncing
-       rootSlides,
-
-       /*
-       Internal function to do all the dirty work of scaling the slides.
-       */
-       scaleDeck = function() {
-               var opts = $[deck]('getOptions'),
-               obh = opts.baseHeight,
-               $container = $[deck]('getContainer'),
-               baseHeight = obh ? obh : $container.height();
-
-               // Scale each slide down if necessary (but don't scale up)
-               $.each(rootSlides, function(i, $slide) {
-                       var slideHeight = $slide.innerHeight(),
-                       $scaler = $slide.find('.' + opts.classes.scaleSlideWrapper),
-                       scale = $container.hasClass(opts.classes.scale) ?
-                               baseHeight / slideHeight :
-                               1;
-                       
-                       $.each('Webkit Moz O ms Khtml'.split(' '), function(i, prefix) {
-                               if (scale === 1) {
-                                       $scaler.css(prefix + 'Transform', '');
-                               }
-                               else {
-                                       $scaler.css(prefix + 'Transform', 'scale(' + scale + ')');
-                               }
-                       });
-               });
-       }
-
-       /*
-       Extends defaults/options.
-
-       options.classes.scale
-               This class is added to the deck container when scaling is enabled.
-               It is enabled by default when the module is included.
-       
-       options.classes.scaleSlideWrapper
-               Scaling is done using a wrapper around the contents of each slide. This
-               class is applied to that wrapper.
-
-       options.keys.scale
-               The numeric keycode used to toggle enabling and disabling scaling.
-
-       options.baseHeight
-               When baseHeight is falsy, as it is by default, the deck is scaled in
-               proportion to the height of the deck container. You may instead specify
-               a height as a number of px, and slides will be scaled against this
-               height regardless of the container size.
-
-       options.scaleDebounce
-               Scaling on the browser resize event is debounced. This number is the
-               threshold in milliseconds. You can learn more about debouncing here:
-               http://unscriptable.com/index.php/2009/03/20/debouncing-javascript-methods/
-
-       */
-       $.extend(true, $[deck].defaults, {
-               classes: {
-                       scale: 'deck-scale',
-                       scaleSlideWrapper: 'deck-slide-scaler'
-               },
-
-               keys: {
-                       scale: 83 // s
-               },
-
-               baseHeight: null,
-               scaleDebounce: 200
-       });
-
-       /*
-       jQuery.deck('disableScale')
-
-       Disables scaling and removes the scale class from the deck container.
-       */
-       $[deck]('extend', 'disableScale', function() {
-               $[deck]('getContainer').removeClass($[deck]('getOptions').classes.scale);
-               scaleDeck();
-       });
-
-       /*
-       jQuery.deck('enableScale')
-
-       Enables scaling and adds the scale class to the deck container.
-       */
-       $[deck]('extend', 'enableScale', function() {
-               $[deck]('getContainer').addClass($[deck]('getOptions').classes.scale);
-               scaleDeck();
-       });
-
-       /*
-       jQuery.deck('toggleScale')
-
-       Toggles between enabling and disabling scaling.
-       */
-       $[deck]('extend', 'toggleScale', function() {
-               var $c = $[deck]('getContainer');
-               $[deck]($c.hasClass($[deck]('getOptions').classes.scale) ?
-                       'disableScale' : 'enableScale');
-       });
-
-       $d.bind('deck.init', function() {
-               var opts = $[deck]('getOptions'),
-               slideTest = $.map([
-                       opts.classes.before,
-                       opts.classes.previous,
-                       opts.classes.current,
-                       opts.classes.next,
-                       opts.classes.after
-               ], function(el, i) {
-                       return '.' + el;
-               }).join(', ');
-               
-               // Build top level slides array
-               rootSlides = [];
-               $.each($[deck]('getSlides'), function(i, $el) {
-                       if (!$el.parentsUntil(opts.selectors.container, slideTest).length) {
-                               rootSlides.push($el);
-                       }
-               });
-               
-               // Use a wrapper on each slide to handle content scaling
-               $.each(rootSlides, function(i, $slide) {
-                       $slide.children().wrapAll('<div class="' + opts.classes.scaleSlideWrapper + '"/>');
-               });
-
-               // Debounce the resize scaling
-               $w.unbind('resize.deckscale').bind('resize.deckscale', function() {
-                       window.clearTimeout(timer);
-                       timer = window.setTimeout(scaleDeck, opts.scaleDebounce);
-               })
-               // Scale once on load, in case images or something change layout
-               .unbind('load.deckscale').bind('load.deckscale', scaleDeck);
-
-               // Bind key events
-               $d.unbind('keydown.deckscale').bind('keydown.deckscale', function(e) {
-                       if (e.which === opts.keys.scale || $.inArray(e.which, opts.keys.scale) > -1) {
-                               $[deck]('toggleScale');
-                               e.preventDefault();
-                       }
-               });
-
-               // Enable scale on init
-               $[deck]('enableScale');
-       });
-})(jQuery, 'deck', this);
-
diff --git a/deck.js/extensions/scale/deck.scale.scss b/deck.js/extensions/scale/deck.scale.scss
deleted file mode 100644 (file)
index 2fa0851..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-/* Remove this line if you are embedding deck.js in a page and
-using the scale extension. */
-.csstransforms {
-       overflow:hidden;
-}
-
-.csstransforms .deck-container.deck-scale:not(.deck-menu) {
-       > .slide {
-               -webkit-box-sizing: padding-box;
-               -moz-box-sizing: padding-box;
-               box-sizing: padding-box;
-               width:100%;
-               padding-bottom:20px;
-               
-               > .deck-slide-scaler {
-                       -webkit-transform-origin: 50% 0;
-                       -moz-transform-origin: 50% 0;
-                       -o-transform-origin: 50% 0;
-                       -ms-transform-origin: 50% 0;
-                       transform-origin: 50% 0;
-               }
-       }
-}
-
-.csstransforms .deck-container.deck-menu .deck-slide-scaler {
-       -webkit-transform:none !important;
-       -moz-transform:none !important;
-       -o-transform:none !important;
-       -ms-transform:none !important;
-       transform:none !important;
-}
\ No newline at end of file
diff --git a/deck.js/extensions/status/deck.status.css b/deck.js/extensions/status/deck.status.css
deleted file mode 100644 (file)
index 17d55ad..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-.deck-container .deck-status {
-  position: absolute;
-  bottom: 10px;
-  right: 5px;
-  color: #888;
-  z-index: 3;
-  margin: 0;
-}
-
-body.deck-container .deck-status {
-  position: fixed;
-}
-
-@media print {
-  .deck-status {
-    display: none;
-  }
-}
diff --git a/deck.js/extensions/status/deck.status.html b/deck.js/extensions/status/deck.status.html
deleted file mode 100644 (file)
index 310a025..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-<!-- Place the following snippet at the bottom of the deck container. -->
-<p class="deck-status">
-       <span class="deck-status-current"></span>
-       /
-       <span class="deck-status-total"></span>
-</p>
\ No newline at end of file
diff --git a/deck.js/extensions/status/deck.status.js b/deck.js/extensions/status/deck.status.js
deleted file mode 100644 (file)
index b876554..0000000
+++ /dev/null
@@ -1,95 +0,0 @@
-/*!
-Deck JS - deck.status
-Copyright (c) 2011 Caleb Troughton
-Dual licensed under the MIT license and GPL license.
-https://github.com/imakewebthings/deck.js/blob/master/MIT-license.txt
-https://github.com/imakewebthings/deck.js/blob/master/GPL-license.txt
-*/
-
-/*
-This module adds a (current)/(total) style status indicator to the deck.
-*/
-(function($, deck, undefined) {
-       var $d = $(document),
-       
-       updateCurrent = function(e, from, to) {
-               var opts = $[deck]('getOptions');
-               
-               $(opts.selectors.statusCurrent).text(opts.countNested ?
-                       to + 1 :
-                       $[deck]('getSlide', to).data('rootSlide')
-               );
-       };
-       
-       /*
-       Extends defaults/options.
-       
-       options.selectors.statusCurrent
-               The element matching this selector displays the current slide number.
-               
-       options.selectors.statusTotal
-               The element matching this selector displays the total number of slides.
-               
-       options.countNested
-               If false, only top level slides will be counted in the current and
-               total numbers.
-       */
-       $.extend(true, $[deck].defaults, {
-               selectors: {
-                       statusCurrent: '.deck-status-current',
-                       statusTotal: '.deck-status-total'
-               },
-               
-               countNested: true
-       });
-       
-       $d.bind('deck.init', function() {
-               var opts = $[deck]('getOptions'),
-               slides = $[deck]('getSlides'),
-               $current = $[deck]('getSlide'),
-               ndx;
-               
-               // Set total slides once
-               if (opts.countNested) {
-                       $(opts.selectors.statusTotal).text(slides.length);
-               }
-               else {
-                       /* Determine root slides by checking each slide's ancestor tree for
-                       any of the slide classes. */
-                       var rootIndex = 1,
-                       slideTest = $.map([
-                               opts.classes.before,
-                               opts.classes.previous,
-                               opts.classes.current,
-                               opts.classes.next,
-                               opts.classes.after
-                       ], function(el, i) {
-                               return '.' + el;
-                       }).join(', ');
-                       
-                       /* Store the 'real' root slide number for use during slide changes. */
-                       $.each(slides, function(i, $el) {
-                               var $parentSlides = $el.parentsUntil(opts.selectors.container, slideTest);
-
-                               $el.data('rootSlide', $parentSlides.length ?
-                                       $parentSlides.last().data('rootSlide') :
-                                       rootIndex++
-                               );
-                       });
-                       
-                       $(opts.selectors.statusTotal).text(rootIndex - 1);
-               }
-               
-               // Find where we started in the deck and set initial state
-               $.each(slides, function(i, $el) {
-                       if ($el === $current) {
-                               ndx = i;
-                               return false;
-                       }
-               });
-               updateCurrent(null, ndx, ndx);
-       })
-       /* Update current slide number with each change event */
-       .bind('deck.change', updateCurrent);
-})(jQuery, 'deck');
-
diff --git a/deck.js/extensions/status/deck.status.scss b/deck.js/extensions/status/deck.status.scss
deleted file mode 100755 (executable)
index d57af24..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-.deck-container {
-       .deck-status {
-               position:absolute;
-               bottom:10px;
-               right:5px;
-               color:#888;
-               z-index:3;
-               margin:0;
-       }
-}
-
-body.deck-container {
-       .deck-status {
-               position:fixed;
-       }
-}
-
-@media print {
-       .deck-status {
-               display:none;
-       }
-}
diff --git a/deck.js/introduction/index.html b/deck.js/introduction/index.html
deleted file mode 100644 (file)
index 71d7c04..0000000
+++ /dev/null
@@ -1,215 +0,0 @@
-<!DOCTYPE html>
-<!--[if lt IE 7]> <html class="no-js ie6" lang="en"> <![endif]-->
-<!--[if IE 7]>    <html class="no-js ie7" lang="en"> <![endif]-->
-<!--[if IE 8]>    <html class="no-js ie8" lang="en"> <![endif]-->
-<!--[if gt IE 8]><!-->  <html class="no-js" lang="en"> <!--<![endif]-->
-<head>
-       <meta charset="utf-8">
-       <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
-       
-       <title>Getting Started with deck.js</title>
-       
-       <meta name="description" content="A jQuery library for modern HTML presentations">
-       <meta name="author" content="Caleb Troughton">
-       <meta name="viewport" content="width=1024, user-scalable=no">
-       
-       <!-- Core and extension CSS files -->
-       <link rel="stylesheet" href="../core/deck.core.css">
-       <link rel="stylesheet" href="../extensions/goto/deck.goto.css">
-       <link rel="stylesheet" href="../extensions/menu/deck.menu.css">
-       <link rel="stylesheet" href="../extensions/navigation/deck.navigation.css">
-       <link rel="stylesheet" href="../extensions/status/deck.status.css">
-       <link rel="stylesheet" href="../extensions/hash/deck.hash.css">
-       <link rel="stylesheet" href="../extensions/scale/deck.scale.css">
-       
-       <!-- Style theme. More available in /themes/style/ or create your own. -->
-       <link rel="stylesheet" href="../themes/style/web-2.0.css">
-       
-       <!-- Transition theme. More available in /themes/transition/ or create your own. -->
-       <link rel="stylesheet" href="../themes/transition/horizontal-slide.css">
-       
-       <script src="../modernizr.custom.js"></script>
-</head>
-
-<body class="deck-container">
-
-<!-- Begin slides -->
-<section class="slide" id="title-slide">
-       <h1>Getting Started with deck.js</h1>
-</section>
-
-<section class="slide" id="how-to-overview">
-       <h2>How to Make a Deck</h2>
-       <ol>
-               <li>
-                       <h3>Write Slides</h3>
-                       <p>Slide content is simple&nbsp;HTML.</p>
-               </li>
-               <li>
-                       <h3>Choose Themes</h3>
-                       <p>One for slide styles and one for deck&nbsp;transitions.</p>
-               </li>
-               <li>
-                       <h3>Include Extensions</h3>
-                       <p>Add extra functionality to your deck, or leave it stripped&nbsp;down.</p>
-               </li>
-       </ol>
-</section>
-
-<section class="slide" id="markup">
-       <h2>The Markup</h2>
-       <p>Slides are just HTML elements with a class of <code>slide</code>.</p>
-       <pre><code>&lt;section class=&quot;slide&quot;&gt;
-   &lt;h2&gt;How to Make a Deck&lt;/h2&gt;
-   &lt;ol&gt;
-      &lt;li&gt;
-         &lt;h3&gt;Write Slides&lt;/h3&gt;
-         &lt;p&gt;Slide content is simple HTML.&lt;/p&gt;
-      &lt;/li&gt;
-      &lt;li&gt;
-         &lt;h3&gt;Choose Themes&lt;/h3&gt;
-         &lt;p&gt;One for slide styles and one for deck transitions.&lt;/p&gt;
-      &lt;/li&gt;
-      &hellip;
-   &lt;/ol&gt;
-&lt;/section&gt;</code></pre>
-</section>
-
-<section class="slide" id="themes">
-       <h2>Style Themes</h2>
-       <p>Customizes the colors, typography, and layout of slide&nbsp;content.</p>
-       <pre><code>&lt;link rel=&quot;stylesheet&quot; href=&quot;/path/to/css/style-theme.css&quot;&gt;</code></pre>
-       <h2>Transition Themes</h2>
-       <p>Defines transitions between slides using CSS3 transitions.  Less capable browsers fall back to cutaways. But <strong>you</strong> aren&rsquo;t using <em>those</em> browsers to give your presentations, are&nbsp;you&hellip;</p>
-       <pre><code>&lt;link rel=&quot;stylesheet&quot; href=&quot;/path/to/css/transition-theme.css&quot;&gt;</code></pre>
-</section>
-
-<section class="slide" id="extensions">
-       <h2>Extensions</h2>
-       <p>Core gives you basic slide functionality with left and right arrow navigation, but you may want more. Here are the ones included in this&nbsp;deck:</p>
-       
-       <ul>
-               <li class="slide" id="extensions-goto">
-                       <strong>deck.goto</strong>: Adds a shortcut key to jump to any slide number.  Hit g, type in the slide number, and hit&nbsp;enter.
-               </li>
-               
-               <li class="slide" id="extensions-hash">
-                       <strong>deck.hash</strong>: Enables internal linking within slides, deep linking to individual slides, and updates the address bar &amp; a permalink anchor with each slide&nbsp;change.
-               </li>
-
-               <li class="slide" id="extensions-menu">
-                       <strong>deck.menu</strong>: Adds a menu view, letting you see all slides in a grid. Hit m to toggle to menu view, continue navigating your deck, and hit m to return to normal view. Touch devices can double-tap the deck to switch between&nbsp;views.
-               </li>
-
-               <li class="slide" id="extensions-navigation">
-                       <strong>deck.navigation</strong>: Adds clickable left and right buttons for the less keyboard&nbsp;inclined.
-               </li>
-
-               <li class="slide" id="extensions-status">
-                       <strong>deck.status</strong>: Adds a page number indicator. (current/total)
-               </li>
-
-               <li class="slide" id="extensions-scale">
-                       <strong>deck.scale</strong>: Scales each slide to fit within the deck container using CSS Transforms for those browsers that support them.
-               </li>
-       </ul>
-       
-       <p class="slide" id="extension-folders">Each extension folder in the download package contains the necessary JavaScript, CSS, and HTML&nbsp;files. For a complete list of extension modules included in deck.js, check out the&nbsp;<a href="http://imakewebthings.github.com/deck.js/docs">documentation</a>.</p>
-</section>
-
-<section class="slide" id="nested">
-       <h2>Nested Slides</h2>
-       <p>That last slide had a few steps.  To create substeps in slides, just nest them:</p>
-       <pre><code>&lt;section class=&quot;slide&quot;&gt;
-  &lt;h2&gt;Extensions&lt;/h2&gt;
-  &lt;p&gt;Core gives you basic slide functionality...&lt;/p&gt;               
-  &lt;ul&gt;
-     &lt;li class=&quot;slide&quot;&gt;
-        &lt;h3&gt;deck.goto&lt;/h3&gt;
-        &lt;p&gt;Adds a shortcut key to jump to any slide number...&lt;/p&gt;
-     &lt;/li&gt;
-     &lt;li class=&quot;slide&quot;&gt;...&lt;/li&gt;  
-     &lt;li class=&quot;slide&quot;&gt;...&lt;/li&gt;
-     &lt;li class=&quot;slide&quot;&gt;...&lt;/li&gt;
-  &lt;/ul&gt;
-&lt;/section&gt;</code></pre>
-</section>
-
-<section class="slide" id="elements-images">
-       <h2>Other Elements: Images</h2>
-       <img src="http://placekitten.com/600/375" alt="Kitties">
-       <pre><code>&lt;img src=&quot;http://placekitten.com/600/375&quot; alt=&quot;Kitties&quot;&gt;</code></pre>
-</section>
-
-<section class="slide" id="elements-blockquotes">
-       <h2>Other Elements: Blockquotes</h2>
-       <blockquote cite="http://example.org">
-               <p>Food is an important part of a balanced diet.</p>
-               <p><cite>Fran Lebowitz</cite></p>
-       </blockquote>
-       <pre><code>&lt;blockquote cite=&quot;http://example.org&quot;&gt;
-  &lt;p&gt;Food is an important part of a balanced diet.&lt;/p&gt;
-  &lt;p&gt;&lt;cite&gt;Fran Lebowitz&lt;/cite&gt;&lt;/p&gt;
-&lt;/blockquote&gt;</code></pre>
-</section>
-
-
-<section class="slide" id="elements-videos">
-       <h2>Other Elements: Video Embeds</h2>
-       <p>Embed videos from your favorite online video service or with an HTML5 video&nbsp;element.</p>
-       
-       <iframe src="http://player.vimeo.com/video/1063136?title=0&amp;byline=0&amp;portrait=0" width="400" height="225" frameborder="0"></iframe>
-       
-       <pre><code>&lt;iframe src=&quot;http://player.vimeo.com/video/1063136?title=0&amp;amp;byline=0&amp;amp;portrait=0&quot; width=&quot;400&quot; height=&quot;225&quot; frameborder=&quot;0&quot;&gt;&lt;/iframe&gt;</code></pre>
-</section>
-
-<section class="slide" id="digging-deeper">
-       <h2>Digging Deeper</h2>
-       <p>If you want to learn about making your own themes, extending deck.js, and more, check out the&nbsp;<a href="../docs/">documentation</a>.</p>
-</section>
-
-<!-- deck.navigation snippet -->
-<a href="#" class="deck-prev-link" title="Previous">&#8592;</a>
-<a href="#" class="deck-next-link" title="Next">&#8594;</a>
-
-<!-- deck.status snippet -->
-<p class="deck-status">
-       <span class="deck-status-current"></span>
-       /
-       <span class="deck-status-total"></span>
-</p>
-
-<!-- deck.goto snippet -->
-<form action="." method="get" class="goto-form">
-       <label for="goto-slide">Go to slide:</label>
-       <input type="text" name="slidenum" id="goto-slide" list="goto-datalist">
-       <datalist id="goto-datalist"></datalist>
-       <input type="submit" value="Go">
-</form>
-
-<!-- deck.hash snippet -->
-<a href="." title="Permalink to this slide" class="deck-permalink">#</a>
-
-
-<!-- Grab CDN jQuery, with a protocol relative URL; fall back to local if offline -->
-<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
-<script>window.jQuery || document.write('<script src="../jquery-1.7.2.min.js"><\/script>')</script>
-
-<!-- Deck Core and extensions -->
-<script src="../core/deck.core.js"></script>
-<script src="../extensions/hash/deck.hash.js"></script>
-<script src="../extensions/menu/deck.menu.js"></script>
-<script src="../extensions/goto/deck.goto.js"></script>
-<script src="../extensions/status/deck.status.js"></script>
-<script src="../extensions/navigation/deck.navigation.js"></script>
-<script src="../extensions/scale/deck.scale.js"></script>
-
-<!-- Initialize the deck -->
-<script>
-$(function() {
-       $.deck('.slide');
-});
-</script>
-
-</body>
-</html>
diff --git a/deck.js/jquery-1.7.2.min.js b/deck.js/jquery-1.7.2.min.js
deleted file mode 100644 (file)
index 93adea1..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-/*! jQuery v1.7.2 jquery.com | jquery.org/license */
-(function(a,b){function cy(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cu(a){if(!cj[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){ck||(ck=c.createElement("iframe"),ck.frameBorder=ck.width=ck.height=0),b.appendChild(ck);if(!cl||!ck.createElement)cl=(ck.contentWindow||ck.contentDocument).document,cl.write((f.support.boxModel?"<!doctype html>":"")+"<html><body>"),cl.close();d=cl.createElement(a),cl.body.appendChild(d),e=f.css(d,"display"),b.removeChild(ck)}cj[a]=e}return cj[a]}function ct(a,b){var c={};f.each(cp.concat.apply([],cp.slice(0,b)),function(){c[this]=a});return c}function cs(){cq=b}function cr(){setTimeout(cs,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<i;g++){if(g===1)for(h in a.converters)typeof h=="string"&&(e[h.toLowerCase()]=a.converters[h]);l=k,k=d[g];if(k==="*")k=l;else if(l!=="*"&&l!==k){m=l+" "+k,n=e[m]||e["* "+k];if(!n){p=b;for(o in e){j=o.split(" ");if(j[0]===l||j[0]==="*"){p=e[j[1]+" "+k];if(p){o=e[o],o===!0?n=p:p===!0&&(n=o);break}}}}!n&&!p&&f.error("No conversion from "+m.replace(" "," to ")),n!==!0&&(c=n?n(c):p(o(c)))}}return c}function ca(a,c,d){var e=a.contents,f=a.dataTypes,g=a.responseFields,h,i,j,k;for(i in g)i in d&&(c[g[i]]=d[i]);while(f[0]==="*")f.shift(),h===b&&(h=a.mimeType||c.getResponseHeader("content-type"));if(h)for(i in e)if(e[i]&&e[i].test(h)){f.unshift(i);break}if(f[0]in d)j=f[0];else{for(i in d){if(!f[0]||a.converters[i+" "+f[0]]){j=i;break}k||(k=i)}j=j||k}if(j){j!==f[0]&&f.unshift(j);return d[j]}}function b_(a,b,c,d){if(f.isArray(b))f.each(b,function(b,e){c||bD.test(a)?d(a,e):b_(a+"["+(typeof e=="object"?b:"")+"]",e,c,d)});else if(!c&&f.type(b)==="object")for(var e in b)b_(a+"["+e+"]",b[e],c,d);else d(a,b)}function b$(a,c){var d,e,g=f.ajaxSettings.flatOptions||{};for(d in c)c[d]!==b&&((g[d]?a:e||(e={}))[d]=c[d]);e&&f.extend(!0,a,e)}function bZ(a,c,d,e,f,g){f=f||c.dataTypes[0],g=g||{},g[f]=!0;var h=a[f],i=0,j=h?h.length:0,k=a===bS,l;for(;i<j&&(k||!l);i++)l=h[i](c,d,e),typeof l=="string"&&(!k||g[l]?l=b:(c.dataTypes.unshift(l),l=bZ(a,c,d,e,l,g)));(k||!l)&&!g["*"]&&(l=bZ(a,c,d,e,"*",g));return l}function bY(a){return function(b,c){typeof b!="string"&&(c=b,b="*");if(f.isFunction(c)){var d=b.toLowerCase().split(bO),e=0,g=d.length,h,i,j;for(;e<g;e++)h=d[e],j=/^\+/.test(h),j&&(h=h.substr(1)||"*"),i=a[h]=a[h]||[],i[j?"unshift":"push"](c)}}}function bB(a,b,c){var d=b==="width"?a.offsetWidth:a.offsetHeight,e=b==="width"?1:0,g=4;if(d>0){if(c!=="border")for(;e<g;e+=2)c||(d-=parseFloat(f.css(a,"padding"+bx[e]))||0),c==="margin"?d+=parseFloat(f.css(a,c+bx[e]))||0:d-=parseFloat(f.css(a,"border"+bx[e]+"Width"))||0;return d+"px"}d=by(a,b);if(d<0||d==null)d=a.style[b];if(bt.test(d))return d;d=parseFloat(d)||0;if(c)for(;e<g;e+=2)d+=parseFloat(f.css(a,"padding"+bx[e]))||0,c!=="padding"&&(d+=parseFloat(f.css(a,"border"+bx[e]+"Width"))||0),c==="margin"&&(d+=parseFloat(f.css(a,c+bx[e]))||0);return d+"px"}function bo(a){var b=c.createElement("div");bh.appendChild(b),b.innerHTML=a.outerHTML;return b.firstChild}function bn(a){var b=(a.nodeName||"").toLowerCase();b==="input"?bm(a):b!=="script"&&typeof a.getElementsByTagName!="undefined"&&f.grep(a.getElementsByTagName("input"),bm)}function bm(a){if(a.type==="checkbox"||a.type==="radio")a.defaultChecked=a.checked}function bl(a){return typeof a.getElementsByTagName!="undefined"?a.getElementsByTagName("*"):typeof a.querySelectorAll!="undefined"?a.querySelectorAll("*"):[]}function bk(a,b){var c;b.nodeType===1&&(b.clearAttributes&&b.clearAttributes(),b.mergeAttributes&&b.mergeAttributes(a),c=b.nodeName.toLowerCase(),c==="object"?b.outerHTML=a.outerHTML:c!=="input"||a.type!=="checkbox"&&a.type!=="radio"?c==="option"?b.selected=a.defaultSelected:c==="input"||c==="textarea"?b.defaultValue=a.defaultValue:c==="script"&&b.text!==a.text&&(b.text=a.text):(a.checked&&(b.defaultChecked=b.checked=a.checked),b.value!==a.value&&(b.value=a.value)),b.removeAttribute(f.expando),b.removeAttribute("_submit_attached"),b.removeAttribute("_change_attached"))}function bj(a,b){if(b.nodeType===1&&!!f.hasData(a)){var c,d,e,g=f._data(a),h=f._data(b,g),i=g.events;if(i){delete h.handle,h.events={};for(c in i)for(d=0,e=i[c].length;d<e;d++)f.event.add(b,c,i[c][d])}h.data&&(h.data=f.extend({},h.data))}}function bi(a,b){return f.nodeName(a,"table")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function U(a){var b=V.split("|"),c=a.createDocumentFragment();if(c.createElement)while(b.length)c.createElement(b.pop());return c}function T(a,b,c){b=b||0;if(f.isFunction(b))return f.grep(a,function(a,d){var e=!!b.call(a,d,a);return e===c});if(b.nodeType)return f.grep(a,function(a,d){return a===b===c});if(typeof b=="string"){var d=f.grep(a,function(a){return a.nodeType===1});if(O.test(b))return f.filter(b,d,!c);b=f.filter(b,d)}return f.grep(a,function(a,d){return f.inArray(a,b)>=0===c})}function S(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function K(){return!0}function J(){return!1}function n(a,b,c){var d=b+"defer",e=b+"queue",g=b+"mark",h=f._data(a,d);h&&(c==="queue"||!f._data(a,e))&&(c==="mark"||!f._data(a,g))&&setTimeout(function(){!f._data(a,e)&&!f._data(a,g)&&(f.removeData(a,d,!0),h.fire())},0)}function m(a){for(var b in a){if(b==="data"&&f.isEmptyObject(a[b]))continue;if(b!=="toJSON")return!1}return!0}function l(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(k,"-$1").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d==="null"?null:f.isNumeric(d)?+d:j.test(d)?f.parseJSON(d):d}catch(g){}f.data(a,c,d)}else d=b}return d}function h(a){var b=g[a]={},c,d;a=a.split(/\s+/);for(c=0,d=a.length;c<d;c++)b[a[c]]=!0;return b}var c=a.document,d=a.navigator,e=a.location,f=function(){function J(){if(!e.isReady){try{c.documentElement.doScroll("left")}catch(a){setTimeout(J,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=/^<(\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=/-([a-z]|[0-9])/ig,w=/^-ms-/,x=function(a,b){return(b+"").toUpperCase()},y=d.userAgent,z,A,B,C=Object.prototype.toString,D=Object.prototype.hasOwnProperty,E=Array.prototype.push,F=Array.prototype.slice,G=String.prototype.trim,H=Array.prototype.indexOf,I={};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=m.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.7.2",length:0,size:function(){return this.length},toArray:function(){return F.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)?E.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(),A.add(a);return this},eq:function(a){a=+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(F.apply(this,arguments),"slice",F.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:E,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(;j<k;j++)if((a=arguments[j])!=null)for(c in a){d=i[c],f=a[c];if(i===f)continue;l&&f&&(e.isPlainObject(f)||(g=e.isArray(f)))?(g?(g=!1,h=d&&e.isArray(d)?d:[]):h=d&&e.isPlainObject(d)?d:{},i[c]=e.extend(l,h,f)):f!==b&&(i[c]=f)}return i},e.extend({noConflict:function(b){a.$===e&&(a.$=g),b&&a.jQuery===e&&(a.jQuery=f);return e},isReady:!1,readyWait:1,holdReady:function(a){a?e.readyWait++:e.ready(!0)},ready:function(a){if(a===!0&&!--e.readyWait||a!==!0&&!e.isReady){if(!c.body)return setTimeout(e.ready,1);e.isReady=!0;if(a!==!0&&--e.readyWait>0)return;A.fireWith(c,[e]),e.fn.trigger&&e(c).trigger("ready").off("ready")}},bindReady:function(){if(!A){A=e.Callbacks("once memory");if(c.readyState==="complete")return setTimeout(e.ready,1);if(c.addEventListener)c.addEventListener("DOMContentLoaded",B,!1),a.addEventListener("load",e.ready,!1);else if(c.attachEvent){c.attachEvent("onreadystatechange",B),a.attachEvent("onload",e.ready);var b=!1;try{b=a.frameElement==null}catch(d){}c.documentElement.doScroll&&b&&J()}}},isFunction:function(a){return e.type(a)==="function"},isArray:Array.isArray||function(a){return e.type(a)==="array"},isWindow:function(a){return a!=null&&a==a.window},isNumeric:function(a){return!isNaN(parseFloat(a))&&isFinite(a)},type:function(a){return a==null?String(a):I[C.call(a)]||"object"},isPlainObject:function(a){if(!a||e.type(a)!=="object"||a.nodeType||e.isWindow(a))return!1;try{if(a.constructor&&!D.call(a,"constructor")&&!D.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}var d;for(d in a);return d===b||D.call(a,d)},isEmptyObject:function(a){for(var b in a)return!1;return!0},error:function(a){throw new Error(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(n.test(b.replace(o,"@").replace(p,"]").replace(q,"")))return(new Function("return "+b))();e.error("Invalid JSON: "+b)},parseXML:function(c){if(typeof c!="string"||!c)return null;var d,f;try{a.DOMParser?(f=new DOMParser,d=f.parseFromString(c,"text/xml")):(d=new ActiveXObject("Microsoft.XMLDOM"),d.async="false",d.loadXML(c))}catch(g){d=b}(!d||!d.documentElement||d.getElementsByTagName("parsererror").length)&&e.error("Invalid XML: "+c);return d},noop:function(){},globalEval:function(b){b&&j.test(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(w,"ms-").replace(v,x)},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(;g<h;)if(c.apply(a[g++],d)===!1)break}else if(i){for(f in a)if(c.call(a[f],f,a[f])===!1)break}else for(;g<h;)if(c.call(a[g],g,a[g++])===!1)break;return a},trim:G?function(a){return a==null?"":G.call(a)}:function(a){return a==null?"":(a+"").replace(k,"").replace(l,"")},makeArray:function(a,b){var c=b||[];if(a!=null){var d=e.type(a);a.length==null||d==="string"||d==="function"||d==="regexp"||e.isWindow(a)?E.call(c,a):e.merge(c,a)}return c},inArray:function(a,b,c){var d;if(b){if(H)return H.call(b,a,c);d=b.length,c=c?c<0?Math.max(0,d+c):c:0;for(;c<d;c++)if(c in b&&b[c]===a)return c}return-1},merge:function(a,c){var d=a.length,e=0;if(typeof c.length=="number")for(var f=c.length;e<f;e++)a[d++]=c[e];else while(c[e]!==b)a[d++]=c[e++];a.length=d;return a},grep:function(a,b,c){var d=[],e;c=!!c;for(var f=0,g=a.length;f<g;f++)e=!!b(a[f],f),c!==e&&d.push(a[f]);return d},map:function(a,c,d){var f,g,h=[],i=0,j=a.length,k=a instanceof e||j!==b&&typeof j=="number"&&(j>0&&a[0]&&a[j-1]||j===0||e.isArray(a));if(k)for(;i<j;i++)f=c(a[i],i,d),f!=null&&(h[h.length]=f);else for(g in a)f=c(a[g],g,d),f!=null&&(h[h.length]=f);return h.concat.apply([],h)},guid:1,proxy:function(a,c){if(typeof c=="string"){var d=a[c];c=a,a=d}if(!e.isFunction(a))return b;var f=F.call(arguments,2),g=function(){return a.apply(c,f.concat(F.call(arguments)))};g.guid=a.guid=a.guid||g.guid||e.guid++;return g},access:function(a,c,d,f,g,h,i){var j,k=d==null,l=0,m=a.length;if(d&&typeof d=="object"){for(l in d)e.access(a,c,l,d[l],1,h,f);g=1}else if(f!==b){j=i===b&&e.isFunction(f),k&&(j?(j=c,c=function(a,b,c){return j.call(e(a),c)}):(c.call(a,f),c=null));if(c)for(;l<m;l++)c(a[l],d,j?f.call(a[l],l,c(a[l],d)):f,i);g=1}return g?a:k?c.call(a):m?c(a[0],d):h},now:function(){return(new Date).getTime()},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)}e.extend(!0,a,this),a.superclass=this,a.fn=a.prototype=this(),a.fn.constructor=a,a.sub=this.sub,a.fn.init=function(d,f){f&&f instanceof e&&!(f instanceof a)&&(f=a(f));return e.fn.init.call(this,d,f,b)},a.fn.init.prototype=a.fn;var b=a(c);return a},browser:{}}),e.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(a,b){I["[object "+b+"]"]=b.toLowerCase()}),z=e.uaMatch(y),z.browser&&(e.browser[z.browser]=!0,e.browser.version=z.version),e.browser.webkit&&(e.browser.safari=!0),j.test(" ")&&(k=/^[\s\xA0]+/,l=/[\s\xA0]+$/),h=e(c),c.addEventListener?B=function(){c.removeEventListener("DOMContentLoaded",B,!1),e.ready()}:c.attachEvent&&(B=function(){c.readyState==="complete"&&(c.detachEvent("onreadystatechange",B),e.ready())});return e}(),g={};f.Callbacks=function(a){a=a?g[a]||h(a):{};var c=[],d=[],e,i,j,k,l,m,n=function(b){var d,e,g,h,i;for(d=0,e=b.length;d<e;d++)g=b[d],h=f.type(g),h==="array"?n(g):h==="function"&&(!a.unique||!p.has(g))&&c.push(g)},o=function(b,f){f=f||[],e=!a.memory||[b,f],i=!0,j=!0,m=k||0,k=0,l=c.length;for(;c&&m<l;m++)if(c[m].apply(b,f)===!1&&a.stopOnFalse){e=!0;break}j=!1,c&&(a.once?e===!0?p.disable():c=[]:d&&d.length&&(e=d.shift(),p.fireWith(e[0],e[1])))},p={add:function(){if(c){var a=c.length;n(arguments),j?l=c.length:e&&e!==!0&&(k=a,o(e[0],e[1]))}return this},remove:function(){if(c){var b=arguments,d=0,e=b.length;for(;d<e;d++)for(var f=0;f<c.length;f++)if(b[d]===c[f]){j&&f<=l&&(l--,f<=m&&m--),c.splice(f--,1);if(a.unique)break}}return this},has:function(a){if(c){var b=0,d=c.length;for(;b<d;b++)if(a===c[b])return!0}return!1},empty:function(){c=[];return this},disable:function(){c=d=e=b;return this},disabled:function(){return!c},lock:function(){d=b,(!e||e===!0)&&p.disable();return this},locked:function(){return!d},fireWith:function(b,c){d&&(j?a.once||d.push([b,c]):(!a.once||!e)&&o(b,c));return this},fire:function(){p.fireWith(this,arguments);return this},fired:function(){return!!i}};return p};var i=[].slice;f.extend({Deferred:function(a){var b=f.Callbacks("once memory"),c=f.Callbacks("once memory"),d=f.Callbacks("memory"),e="pending",g={resolve:b,reject:c,notify:d},h={done:b.add,fail:c.add,progress:d.add,state:function(){return e},isResolved:b.fired,isRejected:c.fired,then:function(a,b,c){i.done(a).fail(b).progress(c);return this},always:function(){i.done.apply(i,arguments).fail.apply(i,arguments);return this},pipe:function(a,b,c){return f.Deferred(function(d){f.each({done:[a,"resolve"],fail:[b,"reject"],progress:[c,"notify"]},function(a,b){var c=b[0],e=b[1],g;f.isFunction(c)?i[a](function(){g=c.apply(this,arguments),g&&f.isFunction(g.promise)?g.promise().then(d.resolve,d.reject,d.notify):d[e+"With"](this===i?d:this,[g])}):i[a](d[e])})}).promise()},promise:function(a){if(a==null)a=h;else for(var b in h)a[b]=h[b];return a}},i=h.promise({}),j;for(j in g)i[j]=g[j].fire,i[j+"With"]=g[j].fireWith;i.done(function(){e="resolved"},c.disable,d.lock).fail(function(){e="rejected"},b.disable,d.lock),a&&a.call(i,i);return i},when:function(a){function m(a){return function(b){e[a]=arguments.length>1?i.call(arguments,0):b,j.notifyWith(k,e)}}function l(a){return function(c){b[a]=arguments.length>1?i.call(arguments,0):c,--g||j.resolveWith(j,b)}}var b=i.call(arguments,0),c=0,d=b.length,e=Array(d),g=d,h=d,j=d<=1&&a&&f.isFunction(a.promise)?a:f.Deferred(),k=j.promise();if(d>1){for(;c<d;c++)b[c]&&b[c].promise&&f.isFunction(b[c].promise)?b[c].promise().then(l(c),j.reject,m(c)):--g;g||j.resolveWith(j,b)}else j!==a&&j.resolveWith(j,d?[a]:[]);return k}}),f.support=function(){var b,d,e,g,h,i,j,k,l,m,n,o,p=c.createElement("div"),q=c.documentElement;p.setAttribute("className","t"),p.innerHTML="   <link/><table></table><a href='/a' style='top:1px;float:left;opacity:.55;'>a</a><input type='checkbox'/>",d=p.getElementsByTagName("*"),e=p.getElementsByTagName("a")[0];if(!d||!d.length||!e)return{};g=c.createElement("select"),h=g.appendChild(c.createElement("option")),i=p.getElementsByTagName("input")[0],b={leadingWhitespace:p.firstChild.nodeType===3,tbody:!p.getElementsByTagName("tbody").length,htmlSerialize:!!p.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:i.value==="on",optSelected:h.selected,getSetAttribute:p.className!=="t",enctype:!!c.createElement("form").enctype,html5Clone:c.createElement("nav").cloneNode(!0).outerHTML!=="<:nav></:nav>",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,pixelMargin:!0},f.boxModel=b.boxModel=c.compatMode==="CSS1Compat",i.checked=!0,b.noCloneChecked=i.cloneNode(!0).checked,g.disabled=!0,b.optDisabled=!h.disabled;try{delete p.test}catch(r){b.deleteExpando=!1}!p.addEventListener&&p.attachEvent&&p.fireEvent&&(p.attachEvent("onclick",function(){b.noCloneEvent=!1}),p.cloneNode(!0).fireEvent("onclick")),i=c.createElement("input"),i.value="t",i.setAttribute("type","radio"),b.radioValue=i.value==="t",i.setAttribute("checked","checked"),i.setAttribute("name","t"),p.appendChild(i),j=c.createDocumentFragment(),j.appendChild(p.lastChild),b.checkClone=j.cloneNode(!0).cloneNode(!0).lastChild.checked,b.appendChecked=i.checked,j.removeChild(i),j.appendChild(p);if(p.attachEvent)for(n in{submit:1,change:1,focusin:1})m="on"+n,o=m in p,o||(p.setAttribute(m,"return;"),o=typeof p[m]=="function"),b[n+"Bubbles"]=o;j.removeChild(p),j=g=h=p=i=null,f(function(){var d,e,g,h,i,j,l,m,n,q,r,s,t,u=c.getElementsByTagName("body")[0];!u||(m=1,t="padding:0;margin:0;border:",r="position:absolute;top:0;left:0;width:1px;height:1px;",s=t+"0;visibility:hidden;",n="style='"+r+t+"5px solid #000;",q="<div "+n+"display:block;'><div style='"+t+"0;display:block;overflow:hidden;'></div></div>"+"<table "+n+"' cellpadding='0' cellspacing='0'>"+"<tr><td></td></tr></table>",d=c.createElement("div"),d.style.cssText=s+"width:0;height:0;position:static;top:0;margin-top:"+m+"px",u.insertBefore(d,u.firstChild),p=c.createElement("div"),d.appendChild(p),p.innerHTML="<table><tr><td style='"+t+"0;display:none'></td><td>t</td></tr></table>",k=p.getElementsByTagName("td"),o=k[0].offsetHeight===0,k[0].style.display="",k[1].style.display="none",b.reliableHiddenOffsets=o&&k[0].offsetHeight===0,a.getComputedStyle&&(p.innerHTML="",l=c.createElement("div"),l.style.width="0",l.style.marginRight="0",p.style.width="2px",p.appendChild(l),b.reliableMarginRight=(parseInt((a.getComputedStyle(l,null)||{marginRight:0}).marginRight,10)||0)===0),typeof p.style.zoom!="undefined"&&(p.innerHTML="",p.style.width=p.style.padding="1px",p.style.border=0,p.style.overflow="hidden",p.style.display="inline",p.style.zoom=1,b.inlineBlockNeedsLayout=p.offsetWidth===3,p.style.display="block",p.style.overflow="visible",p.innerHTML="<div style='width:5px;'></div>",b.shrinkWrapBlocks=p.offsetWidth!==3),p.style.cssText=r+s,p.innerHTML=q,e=p.firstChild,g=e.firstChild,i=e.nextSibling.firstChild.firstChild,j={doesNotAddBorder:g.offsetTop!==5,doesAddBorderForTableAndCells:i.offsetTop===5},g.style.position="fixed",g.style.top="20px",j.fixedPosition=g.offsetTop===20||g.offsetTop===15,g.style.position=g.style.top="",e.style.overflow="hidden",e.style.position="relative",j.subtractsBorderForOverflowNotVisible=g.offsetTop===-5,j.doesNotIncludeMarginInBodyOffset=u.offsetTop!==m,a.getComputedStyle&&(p.style.marginTop="1%",b.pixelMargin=(a.getComputedStyle(p,null)||{marginTop:0}).marginTop!=="1%"),typeof d.style.zoom!="undefined"&&(d.style.zoom=1),u.removeChild(d),l=p=d=null,f.extend(b,j))});return b}();var j=/^(?:\{.*\}|\[.*\])$/,k=/([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&&!m(a)},data:function(a,c,d,e){if(!!f.acceptData(a)){var g,h,i,j=f.expando,k=typeof c=="string",l=a.nodeType,m=l?f.cache:a,n=l?a[j]:a[j]&&j,o=c==="events";if((!n||!m[n]||!o&&!e&&!m[n].data)&&k&&d===b)return;n||(l?a[j]=n=++f.uuid:n=j),m[n]||(m[n]={},l||(m[n].toJSON=f.noop));if(typeof c=="object"||typeof c=="function")e?m[n]=f.extend(m[n],c):m[n].data=f.extend(m[n].data,c);g=h=m[n],e||(h.data||(h.data={}),h=h.data),d!==b&&(h[f.camelCase(c)]=d);if(o&&!h[c])return g.events;k?(i=h[c],i==null&&(i=h[f.camelCase(c)])):i=h;return i}},removeData:function(a,b,c){if(!!f.acceptData(a)){var d,e,g,h=f.expando,i=a.nodeType,j=i?f.cache:a,k=i?a[h]:h;if(!j[k])return;if(b){d=c?j[k]:j[k].data;if(d){f.isArray(b)||(b in d?b=[b]:(b=f.camelCase(b),b in d?b=[b]:b=b.split(" ")));for(e=0,g=b.length;e<g;e++)delete d[b[e]];if(!(c?m:f.isEmptyObject)(d))return}}if(!c){delete j[k].data;if(!m(j[k]))return}f.support.deleteExpando||!j.setInterval?delete j[k]:j[k]=null,i&&(f.support.deleteExpando?delete a[h]:a.removeAttribute?a.removeAttribute(h):a[h]=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,e,g,h,i,j=this[0],k=0,m=null;if(a===b){if(this.length){m=f.data(j);if(j.nodeType===1&&!f._data(j,"parsedAttrs")){g=j.attributes;for(i=g.length;k<i;k++)h=g[k].name,h.indexOf("data-")===0&&(h=f.camelCase(h.substring(5)),l(j,h,m[h]));f._data(j,"parsedAttrs",!0)}}return m}if(typeof a=="object")return this.each(function(){f.data(this,a)});d=a.split(".",2),d[1]=d[1]?"."+d[1]:"",e=d[1]+"!";return f.access(this,function(c){if(c===b){m=this.triggerHandler("getData"+e,[d[0]]),m===b&&j&&(m=f.data(j,a),m=l(j,a,m));return m===b&&d[1]?this.data(d[0]):m}d[1]=c,this.each(function(){var b=f(this);b.triggerHandler("setData"+e,d),f.data(this,a,c),b.triggerHandler("changeData"+e,d)})},null,c,arguments.length>1,null,!1)},removeData:function(a){return this.each(function(){f.removeData(this,a)})}}),f.extend({_mark:function(a,b){a&&(b=(b||"fx")+"mark",f._data(a,b,(f._data(a,b)||0)+1))},_unmark:function(a,b,c){a!==!0&&(c=b,b=a,a=!1);if(b){c=c||"fx";var d=c+"mark",e=a?0:(f._data(b,d)||1)-1;e?f._data(b,d,e):(f.removeData(b,d,!0),n(b,c,"mark"))}},queue:function(a,b,c){var d;if(a){b=(b||"fx")+"queue",d=f._data(a,b),c&&(!d||f.isArray(c)?d=f._data(a,b,f.makeArray(c)):d.push(c));return d||[]}},dequeue:function(a,b){b=b||"fx";var c=f.queue(a,b),d=c.shift(),e={};d==="inprogress"&&(d=c.shift()),d&&(b==="fx"&&c.unshift("inprogress"),f._data(a,b+".run",e),d.call(a,function(){f.dequeue(a,b)},e)),c.length||(f.removeData(a,b+"queue "+b+".run",!0),n(a,b,"queue"))}}),f.fn.extend({queue:function(a,c){var d=2;typeof a!="string"&&(c=a,a="fx",d--);if(arguments.length<d)return f.queue(this[0],a);return c===b?this:this.each(function(){var b=f.queue(this,a,c);a==="fx"&&b[0]!=="inprogress"&&f.dequeue(this,a)})},dequeue:function(a){return this.each(function(){f.dequeue(this,a)})},delay:function(a,b){a=f.fx?f.fx.speeds[a]||a:a,b=b||"fx";return this.queue(b,function(b,c){var d=setTimeout(b,a);c.stop=function(){clearTimeout(d)}})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a,c){function m(){--h||d.resolveWith(e,[e])}typeof a!="string"&&(c=a,a=b),a=a||"fx";var d=f.Deferred(),e=this,g=e.length,h=1,i=a+"defer",j=a+"queue",k=a+"mark",l;while(g--)if(l=f.data(e[g],i,b,!0)||(f.data(e[g],j,b,!0)||f.data(e[g],k,b,!0))&&f.data(e[g],i,f.Callbacks("once memory"),!0))h++,l.add(m);m();return d.promise(c)}});var o=/[\n\t\r]/g,p=/\s+/,q=/\r/g,r=/^(?:button|input)$/i,s=/^(?:button|input|object|select|textarea)$/i,t=/^a(?:rea)?$/i,u=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,v=f.support.getSetAttribute,w,x,y;f.fn.extend({attr:function(a,b){return f.access(this,f.attr,a,b,arguments.length>1)},removeAttr:function(a){return this.each(function(){f.removeAttr(this,a)})},prop:function(a,b){return f.access(this,f.prop,a,b,arguments.length>1)},removeProp:function(a){a=f.propFix[a]||a;return this.each(function(){try{this[a]=b,delete this[a]}catch(c){}})},addClass:function(a){var b,c,d,e,g,h,i;if(f.isFunction(a))return this.each(function(b){f(this).addClass(a.call(this,b,this.className))});if(a&&typeof a=="string"){b=a.split(p);for(c=0,d=this.length;c<d;c++){e=this[c];if(e.nodeType===1)if(!e.className&&b.length===1)e.className=a;else{g=" "+e.className+" ";for(h=0,i=b.length;h<i;h++)~g.indexOf(" "+b[h]+" ")||(g+=b[h]+" ");e.className=f.trim(g)}}}return this},removeClass:function(a){var c,d,e,g,h,i,j;if(f.isFunction(a))return this.each(function(b){f(this).removeClass(a.call(this,b,this.className))});if(a&&typeof a=="string"||a===b){c=(a||"").split(p);for(d=0,e=this.length;d<e;d++){g=this[d];if(g.nodeType===1&&g.className)if(a){h=(" "+g.className+" ").replace(o," ");for(i=0,j=c.length;i<j;i++)h=h.replace(" "+c[i]+" "," ");g.className=f.trim(h)}else g.className=""}}return this},toggleClass:function(a,b){var c=typeof a,d=typeof b=="boolean";if(f.isFunction(a))return this.each(function(c){f(this).toggleClass(a.call(this,c,this.className,b),b)});return this.each(function(){if(c==="string"){var e,g=0,h=f(this),i=b,j=a.split(p);while(e=j[g++])i=d?i:!h.hasClass(e),h[i?"addClass":"removeClass"](e)}else if(c==="undefined"||c==="boolean")this.className&&f._data(this,"__className__",this.className),this.className=this.className||a===!1?"":f._data(this,"__className__")||""})},hasClass:function(a){var b=" "+a+" ",c=0,d=this.length;for(;c<d;c++)if(this[c].nodeType===1&&(" "+this[c].className+" ").replace(o," ").indexOf(b)>-1)return!0;return!1},val:function(a){var c,d,e,g=this[0];{if(!!arguments.length){e=f.isFunction(a);return this.each(function(d){var g=f(this),h;if(this.nodeType===1){e?h=a.call(this,d,g.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.type]||f.valHooks[this.nodeName.toLowerCase()];if(!c||!("set"in c)||c.set(this,h,"value")===b)this.value=h}})}if(g){c=f.valHooks[g.type]||f.valHooks[g.nodeName.toLowerCase()];if(c&&"get"in c&&(d=c.get(g,"value"))!==b)return d;d=g.value;return typeof d=="string"?d.replace(q,""):d==null?"":d}}}}),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,d,e,g=a.selectedIndex,h=[],i=a.options,j=a.type==="select-one";if(g<0)return null;c=j?g:0,d=j?g+1:i.length;for(;c<d;c++){e=i[c];if(e.selected&&(f.support.optDisabled?!e.disabled:e.getAttribute("disabled")===null)&&(!e.parentNode.disabled||!f.nodeName(e.parentNode,"optgroup"))){b=f(e).val();if(j)return b;h.push(b)}}if(j&&!h.length&&i.length)return f(i[g]).val();return h},set:function(a,b){var c=f.makeArray(b);f(a).find("option").each(function(){this.selected=f.inArray(f(this).val(),c)>=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},attr:function(a,c,d,e){var g,h,i,j=a.nodeType;if(!!a&&j!==3&&j!==8&&j!==2){if(e&&c in f.attrFn)return f(a)[c](d);if(typeof a.getAttribute=="undefined")return f.prop(a,c,d);i=j!==1||!f.isXMLDoc(a),i&&(c=c.toLowerCase(),h=f.attrHooks[c]||(u.test(c)?x:w));if(d!==b){if(d===null){f.removeAttr(a,c);return}if(h&&"set"in h&&i&&(g=h.set(a,d,c))!==b)return g;a.setAttribute(c,""+d);return d}if(h&&"get"in h&&i&&(g=h.get(a,c))!==null)return g;g=a.getAttribute(c);return g===null?b:g}},removeAttr:function(a,b){var c,d,e,g,h,i=0;if(b&&a.nodeType===1){d=b.toLowerCase().split(p),g=d.length;for(;i<g;i++)e=d[i],e&&(c=f.propFix[e]||e,h=u.test(e),h||f.attr(a,e,""),a.removeAttribute(v?e:c),h&&c in a&&(a[c]=!1))}},attrHooks:{type:{set:function(a,b){if(r.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}}},value:{get:function(a,b){if(w&&f.nodeName(a,"button"))return w.get(a,b);return b in a?a.value:null},set:function(a,b,c){if(w&&f.nodeName(a,"button"))return w.set(a,b,c);a.value=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,g,h,i=a.nodeType;if(!!a&&i!==3&&i!==8&&i!==2){h=i!==1||!f.isXMLDoc(a),h&&(c=f.propFix[c]||c,g=f.propHooks[c]);return d!==b?g&&"set"in g&&(e=g.set(a,d,c))!==b?e:a[c]=d:g&&"get"in g&&(e=g.get(a,c))!==null?e:a[c]}},propHooks:{tabIndex:{get:function(a){var c=a.getAttributeNode("tabindex");return c&&c.specified?parseInt(c.value,10):s.test(a.nodeName)||t.test(a.nodeName)&&a.href?0:b}}}}),f.attrHooks.tabindex=f.propHooks.tabIndex,x={get:function(a,c){var d,e=f.prop(a,c);return e===!0||typeof e!="boolean"&&(d=a.getAttributeNode(c))&&d.nodeValue!==!1?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]=!0),a.setAttribute(c,c.toLowerCase()));return c}},v||(y={name:!0,id:!0,coords:!0},w=f.valHooks.button={get:function(a,c){var d;d=a.getAttributeNode(c);return d&&(y[c]?d.nodeValue!=="":d.specified)?d.nodeValue:b},set:function(a,b,d){var e=a.getAttributeNode(d);e||(e=c.createAttribute(d),a.setAttributeNode(e));return e.nodeValue=b+""}},f.attrHooks.tabindex.set=w.set,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.attrHooks.contenteditable={get:w.get,set:function(a,b,c){b===""&&(b="false"),w.set(a,b,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);return null}})),f.support.enctype||(f.propFix.enctype="encoding"),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 z=/^(?:textarea|input|select)$/i,A=/^([^\.]*)?(?:\.(.+))?$/,B=/(?:^|\s)hover(\.\S+)?\b/,C=/^key/,D=/^(?:mouse|contextmenu)|click/,E=/^(?:focusinfocus|focusoutblur)$/,F=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,G=function(
-a){var b=F.exec(a);b&&(b[1]=(b[1]||"").toLowerCase(),b[3]=b[3]&&new RegExp("(?:^|\\s)"+b[3]+"(?:\\s|$)"));return b},H=function(a,b){var c=a.attributes||{};return(!b[1]||a.nodeName.toLowerCase()===b[1])&&(!b[2]||(c.id||{}).value===b[2])&&(!b[3]||b[3].test((c["class"]||{}).value))},I=function(a){return f.event.special.hover?a:a.replace(B,"mouseenter$1 mouseleave$1")};f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3||a.nodeType===8||!c||!d||!(h=f._data(a)))){d.handler&&(p=d,d=p.handler,g=p.selector),d.guid||(d.guid=f.guid++),j=h.events,j||(h.events=j={}),i=h.handle,i||(h.handle=i=function(a){return typeof f!="undefined"&&(!a||f.event.triggered!==a.type)?f.event.dispatch.apply(i.elem,arguments):b},i.elem=a),c=f.trim(I(c)).split(" ");for(k=0;k<c.length;k++){l=A.exec(c[k])||[],m=l[1],n=(l[2]||"").split(".").sort(),s=f.event.special[m]||{},m=(g?s.delegateType:s.bindType)||m,s=f.event.special[m]||{},o=f.extend({type:m,origType:l[1],data:e,handler:d,guid:d.guid,selector:g,quick:g&&G(g),namespace:n.join(".")},p),r=j[m];if(!r){r=j[m]=[],r.delegateCount=0;if(!s.setup||s.setup.call(a,e,n,i)===!1)a.addEventListener?a.addEventListener(m,i,!1):a.attachEvent&&a.attachEvent("on"+m,i)}s.add&&(s.add.call(a,o),o.handler.guid||(o.handler.guid=d.guid)),g?r.splice(r.delegateCount++,0,o):r.push(o),f.event.global[m]=!0}a=null}},global:{},remove:function(a,b,c,d,e){var g=f.hasData(a)&&f._data(a),h,i,j,k,l,m,n,o,p,q,r,s;if(!!g&&!!(o=g.events)){b=f.trim(I(b||"")).split(" ");for(h=0;h<b.length;h++){i=A.exec(b[h])||[],j=k=i[1],l=i[2];if(!j){for(j in o)f.event.remove(a,j+b[h],c,d,!0);continue}p=f.event.special[j]||{},j=(d?p.delegateType:p.bindType)||j,r=o[j]||[],m=r.length,l=l?new RegExp("(^|\\.)"+l.split(".").sort().join("\\.(?:.*\\.)?")+"(\\.|$)"):null;for(n=0;n<r.length;n++)s=r[n],(e||k===s.origType)&&(!c||c.guid===s.guid)&&(!l||l.test(s.namespace))&&(!d||d===s.selector||d==="**"&&s.selector)&&(r.splice(n--,1),s.selector&&r.delegateCount--,p.remove&&p.remove.call(a,s));r.length===0&&m!==r.length&&((!p.teardown||p.teardown.call(a,l)===!1)&&f.removeEvent(a,j,g.handle),delete o[j])}f.isEmptyObject(o)&&(q=g.handle,q&&(q.elem=null),f.removeData(a,["events","handle"],!0))}},customEvent:{getData:!0,setData:!0,changeData:!0},trigger:function(c,d,e,g){if(!e||e.nodeType!==3&&e.nodeType!==8){var h=c.type||c,i=[],j,k,l,m,n,o,p,q,r,s;if(E.test(h+f.event.triggered))return;h.indexOf("!")>=0&&(h=h.slice(0,-1),k=!0),h.indexOf(".")>=0&&(i=h.split("."),h=i.shift(),i.sort());if((!e||f.event.customEvent[h])&&!f.event.global[h])return;c=typeof c=="object"?c[f.expando]?c:new f.Event(h,c):new f.Event(h),c.type=h,c.isTrigger=!0,c.exclusive=k,c.namespace=i.join("."),c.namespace_re=c.namespace?new RegExp("(^|\\.)"+i.join("\\.(?:.*\\.)?")+"(\\.|$)"):null,o=h.indexOf(":")<0?"on"+h:"";if(!e){j=f.cache;for(l in j)j[l].events&&j[l].events[h]&&f.event.trigger(c,d,j[l].handle.elem,!0);return}c.result=b,c.target||(c.target=e),d=d!=null?f.makeArray(d):[],d.unshift(c),p=f.event.special[h]||{};if(p.trigger&&p.trigger.apply(e,d)===!1)return;r=[[e,p.bindType||h]];if(!g&&!p.noBubble&&!f.isWindow(e)){s=p.delegateType||h,m=E.test(s+h)?e:e.parentNode,n=null;for(;m;m=m.parentNode)r.push([m,s]),n=m;n&&n===e.ownerDocument&&r.push([n.defaultView||n.parentWindow||a,s])}for(l=0;l<r.length&&!c.isPropagationStopped();l++)m=r[l][0],c.type=r[l][1],q=(f._data(m,"events")||{})[c.type]&&f._data(m,"handle"),q&&q.apply(m,d),q=o&&m[o],q&&f.acceptData(m)&&q.apply(m,d)===!1&&c.preventDefault();c.type=h,!g&&!c.isDefaultPrevented()&&(!p._default||p._default.apply(e.ownerDocument,d)===!1)&&(h!=="click"||!f.nodeName(e,"a"))&&f.acceptData(e)&&o&&e[h]&&(h!=="focus"&&h!=="blur"||c.target.offsetWidth!==0)&&!f.isWindow(e)&&(n=e[o],n&&(e[o]=null),f.event.triggered=h,e[h](),f.event.triggered=b,n&&(e[o]=n));return c.result}},dispatch:function(c){c=f.event.fix(c||a.event);var d=(f._data(this,"events")||{})[c.type]||[],e=d.delegateCount,g=[].slice.call(arguments,0),h=!c.exclusive&&!c.namespace,i=f.event.special[c.type]||{},j=[],k,l,m,n,o,p,q,r,s,t,u;g[0]=c,c.delegateTarget=this;if(!i.preDispatch||i.preDispatch.call(this,c)!==!1){if(e&&(!c.button||c.type!=="click")){n=f(this),n.context=this.ownerDocument||this;for(m=c.target;m!=this;m=m.parentNode||this)if(m.disabled!==!0){p={},r=[],n[0]=m;for(k=0;k<e;k++)s=d[k],t=s.selector,p[t]===b&&(p[t]=s.quick?H(m,s.quick):n.is(t)),p[t]&&r.push(s);r.length&&j.push({elem:m,matches:r})}}d.length>e&&j.push({elem:this,matches:d.slice(e)});for(k=0;k<j.length&&!c.isPropagationStopped();k++){q=j[k],c.currentTarget=q.elem;for(l=0;l<q.matches.length&&!c.isImmediatePropagationStopped();l++){s=q.matches[l];if(h||!c.namespace&&!s.namespace||c.namespace_re&&c.namespace_re.test(s.namespace))c.data=s.data,c.handleObj=s,o=((f.event.special[s.origType]||{}).handle||s.handler).apply(q.elem,g),o!==b&&(c.result=o,o===!1&&(c.preventDefault(),c.stopPropagation()))}}i.postDispatch&&i.postDispatch.call(this,c);return c.result}},props:"attrChange attrName relatedNode srcElement altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(a,b){a.which==null&&(a.which=b.charCode!=null?b.charCode:b.keyCode);return a}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(a,d){var e,f,g,h=d.button,i=d.fromElement;a.pageX==null&&d.clientX!=null&&(e=a.target.ownerDocument||c,f=e.documentElement,g=e.body,a.pageX=d.clientX+(f&&f.scrollLeft||g&&g.scrollLeft||0)-(f&&f.clientLeft||g&&g.clientLeft||0),a.pageY=d.clientY+(f&&f.scrollTop||g&&g.scrollTop||0)-(f&&f.clientTop||g&&g.clientTop||0)),!a.relatedTarget&&i&&(a.relatedTarget=i===a.target?d.toElement:i),!a.which&&h!==b&&(a.which=h&1?1:h&2?3:h&4?2:0);return a}},fix:function(a){if(a[f.expando])return a;var d,e,g=a,h=f.event.fixHooks[a.type]||{},i=h.props?this.props.concat(h.props):this.props;a=f.Event(g);for(d=i.length;d;)e=i[--d],a[e]=g[e];a.target||(a.target=g.srcElement||c),a.target.nodeType===3&&(a.target=a.target.parentNode),a.metaKey===b&&(a.metaKey=a.ctrlKey);return h.filter?h.filter(a,g):a},special:{ready:{setup:f.bindReady},load:{noBubble:!0},focus:{delegateType:"focusin"},blur:{delegateType:"focusout"},beforeunload:{setup:function(a,b,c){f.isWindow(this)&&(this.onbeforeunload=c)},teardown:function(a,b){this.onbeforeunload===b&&(this.onbeforeunload=null)}}},simulate:function(a,b,c,d){var e=f.extend(new f.Event,c,{type:a,isSimulated:!0,originalEvent:{}});d?f.event.trigger(e,null,b):f.event.dispatch.call(b,e),e.isDefaultPrevented()&&c.preventDefault()}},f.event.handle=f.event.dispatch,f.removeEvent=c.removeEventListener?function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,!1)}:function(a,b,c){a.detachEvent&&a.detachEvent("on"+b,c)},f.Event=function(a,b){if(!(this instanceof f.Event))return new f.Event(a,b);a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||a.returnValue===!1||a.getPreventDefault&&a.getPreventDefault()?K:J):this.type=a,b&&f.extend(this,b),this.timeStamp=a&&a.timeStamp||f.now(),this[f.expando]=!0},f.Event.prototype={preventDefault:function(){this.isDefaultPrevented=K;var a=this.originalEvent;!a||(a.preventDefault?a.preventDefault():a.returnValue=!1)},stopPropagation:function(){this.isPropagationStopped=K;var a=this.originalEvent;!a||(a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=K,this.stopPropagation()},isDefaultPrevented:J,isPropagationStopped:J,isImmediatePropagationStopped:J},f.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(a,b){f.event.special[a]={delegateType:b,bindType:b,handle:function(a){var c=this,d=a.relatedTarget,e=a.handleObj,g=e.selector,h;if(!d||d!==c&&!f.contains(c,d))a.type=e.origType,h=e.handler.apply(this,arguments),a.type=b;return h}}}),f.support.submitBubbles||(f.event.special.submit={setup:function(){if(f.nodeName(this,"form"))return!1;f.event.add(this,"click._submit keypress._submit",function(a){var c=a.target,d=f.nodeName(c,"input")||f.nodeName(c,"button")?c.form:b;d&&!d._submit_attached&&(f.event.add(d,"submit._submit",function(a){a._submit_bubble=!0}),d._submit_attached=!0)})},postDispatch:function(a){a._submit_bubble&&(delete a._submit_bubble,this.parentNode&&!a.isTrigger&&f.event.simulate("submit",this.parentNode,a,!0))},teardown:function(){if(f.nodeName(this,"form"))return!1;f.event.remove(this,"._submit")}}),f.support.changeBubbles||(f.event.special.change={setup:function(){if(z.test(this.nodeName)){if(this.type==="checkbox"||this.type==="radio")f.event.add(this,"propertychange._change",function(a){a.originalEvent.propertyName==="checked"&&(this._just_changed=!0)}),f.event.add(this,"click._change",function(a){this._just_changed&&!a.isTrigger&&(this._just_changed=!1,f.event.simulate("change",this,a,!0))});return!1}f.event.add(this,"beforeactivate._change",function(a){var b=a.target;z.test(b.nodeName)&&!b._change_attached&&(f.event.add(b,"change._change",function(a){this.parentNode&&!a.isSimulated&&!a.isTrigger&&f.event.simulate("change",this.parentNode,a,!0)}),b._change_attached=!0)})},handle:function(a){var b=a.target;if(this!==b||a.isSimulated||a.isTrigger||b.type!=="radio"&&b.type!=="checkbox")return a.handleObj.handler.apply(this,arguments)},teardown:function(){f.event.remove(this,"._change");return z.test(this.nodeName)}}),f.support.focusinBubbles||f.each({focus:"focusin",blur:"focusout"},function(a,b){var d=0,e=function(a){f.event.simulate(b,a.target,f.event.fix(a),!0)};f.event.special[b]={setup:function(){d++===0&&c.addEventListener(a,e,!0)},teardown:function(){--d===0&&c.removeEventListener(a,e,!0)}}}),f.fn.extend({on:function(a,c,d,e,g){var h,i;if(typeof a=="object"){typeof c!="string"&&(d=d||c,c=b);for(i in a)this.on(i,c,d,a[i],g);return this}d==null&&e==null?(e=c,d=c=b):e==null&&(typeof c=="string"?(e=d,d=b):(e=d,d=c,c=b));if(e===!1)e=J;else if(!e)return this;g===1&&(h=e,e=function(a){f().off(a);return h.apply(this,arguments)},e.guid=h.guid||(h.guid=f.guid++));return this.each(function(){f.event.add(this,a,e,d,c)})},one:function(a,b,c,d){return this.on(a,b,c,d,1)},off:function(a,c,d){if(a&&a.preventDefault&&a.handleObj){var e=a.handleObj;f(a.delegateTarget).off(e.namespace?e.origType+"."+e.namespace:e.origType,e.selector,e.handler);return this}if(typeof a=="object"){for(var g in a)this.off(g,c,a[g]);return this}if(c===!1||typeof c=="function")d=c,c=b;d===!1&&(d=J);return this.each(function(){f.event.remove(this,a,d,c)})},bind:function(a,b,c){return this.on(a,null,b,c)},unbind:function(a,b){return this.off(a,null,b)},live:function(a,b,c){f(this.context).on(a,this.selector,b,c);return this},die:function(a,b){f(this.context).off(a,this.selector||"**",b);return this},delegate:function(a,b,c,d){return this.on(b,a,c,d)},undelegate:function(a,b,c){return arguments.length==1?this.off(a,"**"):this.off(b,a,c)},trigger:function(a,b){return this.each(function(){f.event.trigger(a,b,this)})},triggerHandler:function(a,b){if(this[0])return f.event.trigger(a,b,this[0],!0)},toggle:function(a){var b=arguments,c=a.guid||f.guid++,d=0,e=function(c){var e=(f._data(this,"lastToggle"+a.guid)||0)%d;f._data(this,"lastToggle"+a.guid,e+1),c.preventDefault();return b[e].apply(this,arguments)||!1};e.guid=c;while(d<b.length)b[d++].guid=c;return this.click(e)},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}}),f.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(a,b){f.fn[b]=function(a,c){c==null&&(c=a,a=null);return arguments.length>0?this.on(b,null,a,c):this.trigger(b)},f.attrFn&&(f.attrFn[b]=!0),C.test(b)&&(f.event.fixHooks[b]=f.event.keyHooks),D.test(b)&&(f.event.fixHooks[b]=f.event.mouseHooks)}),function(){function x(a,b,c,e,f,g){for(var h=0,i=e.length;h<i;h++){var j=e[h];if(j){var k=!1;j=j[a];while(j){if(j[d]===c){k=e[j.sizset];break}if(j.nodeType===1){g||(j[d]=c,j.sizset=h);if(typeof b!="string"){if(j===b){k=!0;break}}else if(m.filter(b,[j]).length>0){k=j;break}}j=j[a]}e[h]=k}}}function w(a,b,c,e,f,g){for(var h=0,i=e.length;h<i;h++){var j=e[h];if(j){var k=!1;j=j[a];while(j){if(j[d]===c){k=e[j.sizset];break}j.nodeType===1&&!g&&(j[d]=c,j.sizset=h);if(j.nodeName.toLowerCase()===b){k=j;break}j=j[a]}e[h]=k}}}var a=/((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,d="sizcache"+(Math.random()+"").replace(".",""),e=0,g=Object.prototype.toString,h=!1,i=!0,j=/\\/g,k=/\r\n/g,l=/\W/;[0,0].sort(function(){i=!1;return 0});var m=function(b,d,e,f){e=e||[],d=d||c;var h=d;if(d.nodeType!==1&&d.nodeType!==9)return[];if(!b||typeof b!="string")return e;var i,j,k,l,n,q,r,t,u=!0,v=m.isXML(d),w=[],x=b;do{a.exec(""),i=a.exec(x);if(i){x=i[3],w.push(i[1]);if(i[2]){l=i[3];break}}}while(i);if(w.length>1&&p.exec(b))if(w.length===2&&o.relative[w[0]])j=y(w[0]+w[1],d,f);else{j=o.relative[w[0]]?[d]:m(w.shift(),d);while(w.length)b=w.shift(),o.relative[b]&&(b+=w.shift()),j=y(b,j,f)}else{!f&&w.length>1&&d.nodeType===9&&!v&&o.match.ID.test(w[0])&&!o.match.ID.test(w[w.length-1])&&(n=m.find(w.shift(),d,v),d=n.expr?m.filter(n.expr,n.set)[0]:n.set[0]);if(d){n=f?{expr:w.pop(),set:s(f)}:m.find(w.pop(),w.length===1&&(w[0]==="~"||w[0]==="+")&&d.parentNode?d.parentNode:d,v),j=n.expr?m.filter(n.expr,n.set):n.set,w.length>0?k=s(j):u=!1;while(w.length)q=w.pop(),r=q,o.relative[q]?r=w.pop():q="",r==null&&(r=d),o.relative[q](k,r,v)}else k=w=[]}k||(k=j),k||m.error(q||b);if(g.call(k)==="[object Array]")if(!u)e.push.apply(e,k);else if(d&&d.nodeType===1)for(t=0;k[t]!=null;t++)k[t]&&(k[t]===!0||k[t].nodeType===1&&m.contains(d,k[t]))&&e.push(j[t]);else for(t=0;k[t]!=null;t++)k[t]&&k[t].nodeType===1&&e.push(j[t]);else s(k,e);l&&(m(l,h,e,f),m.uniqueSort(e));return e};m.uniqueSort=function(a){if(u){h=i,a.sort(u);if(h)for(var b=1;b<a.length;b++)a[b]===a[b-1]&&a.splice(b--,1)}return a},m.matches=function(a,b){return m(a,null,null,b)},m.matchesSelector=function(a,b){return m(b,null,null,[a]).length>0},m.find=function(a,b,c){var d,e,f,g,h,i;if(!a)return[];for(e=0,f=o.order.length;e<f;e++){h=o.order[e];if(g=o.leftMatch[h].exec(a)){i=g[1],g.splice(1,1);if(i.substr(i.length-1)!=="\\"){g[1]=(g[1]||"").replace(j,""),d=o.find[h](g,b,c);if(d!=null){a=a.replace(o.match[h],"");break}}}}d||(d=typeof b.getElementsByTagName!="undefined"?b.getElementsByTagName("*"):[]);return{set:d,expr:a}},m.filter=function(a,c,d,e){var f,g,h,i,j,k,l,n,p,q=a,r=[],s=c,t=c&&c[0]&&m.isXML(c[0]);while(a&&c.length){for(h in o.filter)if((f=o.leftMatch[h].exec(a))!=null&&f[2]){k=o.filter[h],l=f[1],g=!1,f.splice(1,1);if(l.substr(l.length-1)==="\\")continue;s===r&&(r=[]);if(o.preFilter[h]){f=o.preFilter[h](f,s,d,r,e,t);if(!f)g=i=!0;else if(f===!0)continue}if(f)for(n=0;(j=s[n])!=null;n++)j&&(i=k(j,f,n,s),p=e^i,d&&i!=null?p?g=!0:s[n]=!1:p&&(r.push(j),g=!0));if(i!==b){d||(s=r),a=a.replace(o.match[h],"");if(!g)return[];break}}if(a===q)if(g==null)m.error(a);else break;q=a}return s},m.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)};var n=m.getText=function(a){var b,c,d=a.nodeType,e="";if(d){if(d===1||d===9||d===11){if(typeof a.textContent=="string")return a.textContent;if(typeof a.innerText=="string")return a.innerText.replace(k,"");for(a=a.firstChild;a;a=a.nextSibling)e+=n(a)}else if(d===3||d===4)return a.nodeValue}else for(b=0;c=a[b];b++)c.nodeType!==8&&(e+=n(c));return e},o=m.selectors={order:["ID","NAME","TAG"],match:{ID:/#((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,CLASS:/\.((?:[\w\u00c0-\uFFFF\-]|\\.)+)/,NAME:/\[name=['"]*((?:[\w\u00c0-\uFFFF\-]|\\.)+)['"]*\]/,ATTR:/\[\s*((?:[\w\u00c0-\uFFFF\-]|\\.)+)\s*(?:(\S?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uFFFF\-]|\\.)*)|)|)\s*\]/,TAG:/^((?:[\w\u00c0-\uFFFF\*\-]|\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/,PSEUDO:/:((?:[\w\u00c0-\uFFFF\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/},leftMatch:{},attrMap:{"class":"className","for":"htmlFor"},attrHandle:{href:function(a){return a.getAttribute("href")},type:function(a){return a.getAttribute("type")}},relative:{"+":function(a,b){var c=typeof b=="string",d=c&&!l.test(b),e=c&&!d;d&&(b=b.toLowerCase());for(var f=0,g=a.length,h;f<g;f++)if(h=a[f]){while((h=h.previousSibling)&&h.nodeType!==1);a[f]=e||h&&h.nodeName.toLowerCase()===b?h||!1:h===b}e&&m.filter(b,a,!0)},">":function(a,b){var c,d=typeof b=="string",e=0,f=a.length;if(d&&!l.test(b)){b=b.toLowerCase();for(;e<f;e++){c=a[e];if(c){var g=c.parentNode;a[e]=g.nodeName.toLowerCase()===b?g:!1}}}else{for(;e<f;e++)c=a[e],c&&(a[e]=d?c.parentNode:c.parentNode===b);d&&m.filter(b,a,!0)}},"":function(a,b,c){var d,f=e++,g=x;typeof b=="string"&&!l.test(b)&&(b=b.toLowerCase(),d=b,g=w),g("parentNode",b,f,a,d,c)},"~":function(a,b,c){var d,f=e++,g=x;typeof b=="string"&&!l.test(b)&&(b=b.toLowerCase(),d=b,g=w),g("previousSibling",b,f,a,d,c)}},find:{ID:function(a,b,c){if(typeof b.getElementById!="undefined"&&!c){var d=b.getElementById(a[1]);return d&&d.parentNode?[d]:[]}},NAME:function(a,b){if(typeof b.getElementsByName!="undefined"){var c=[],d=b.getElementsByName(a[1]);for(var e=0,f=d.length;e<f;e++)d[e].getAttribute("name")===a[1]&&c.push(d[e]);return c.length===0?null:c}},TAG:function(a,b){if(typeof b.getElementsByTagName!="undefined")return b.getElementsByTagName(a[1])}},preFilter:{CLASS:function(a,b,c,d,e,f){a=" "+a[1].replace(j,"")+" ";if(f)return a;for(var g=0,h;(h=b[g])!=null;g++)h&&(e^(h.className&&(" "+h.className+" ").replace(/[\t\n\r]/g," ").indexOf(a)>=0)?c||d.push(h):c&&(b[g]=!1));return!1},ID:function(a){return a[1].replace(j,"")},TAG:function(a,b){return a[1].replace(j,"").toLowerCase()},CHILD:function(a){if(a[1]==="nth"){a[2]||m.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]&&m.error(a[0]);a[0]=e++;return a},ATTR:function(a,b,c,d,e,f){var g=a[1]=a[1].replace(j,"");!f&&o.attrMap[g]&&(a[1]=o.attrMap[g]),a[4]=(a[4]||a[5]||"").replace(j,""),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]=m(b[3],null,null,c);else{var g=m.filter(b[3],c,d,!0^f);d||e.push.apply(e,g);return!1}else if(o.match.POS.test(b[0])||o.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!!m(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 b<c[3]-0},gt:function(a,b,c){return b>c[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=o.filters[e];if(f)return f(a,c,b,d);if(e==="contains")return(a.textContent||a.innerText||n([a])||"").indexOf(b[3])>=0;if(e==="not"){var g=b[3];for(var h=0,i=g.length;h<i;h++)if(g[h]===a)return!1;return!0}m.error(e)},CHILD:function(a,b){var c,e,f,g,h,i,j,k=b[1],l=a;switch(k){case"only":case"first":while(l=l.previousSibling)if(l.nodeType===1)return!1;if(k==="first")return!0;l=a;case"last":while(l=l.nextSibling)if(l.nodeType===1)return!1;return!0;case"nth":c=b[2],e=b[3];if(c===1&&e===0)return!0;f=b[0],g=a.parentNode;if(g&&(g[d]!==f||!a.nodeIndex)){i=0;for(l=g.firstChild;l;l=l.nextSibling)l.nodeType===1&&(l.nodeIndex=++i);g[d]=f}j=a.nodeIndex-e;return c===0?j===0:j%c===0&&j/c>=0}},ID:function(a,b){return a.nodeType===1&&a.getAttribute("id")===b},TAG:function(a,b){return b==="*"&&a.nodeType===1||!!a.nodeName&&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=m.attr?m.attr(a,c):o.attrHandle[c]?o.attrHandle[c](a):a[c]!=null?a[c]:a.getAttribute(c),e=d+"",f=b[2],g=b[4];return d==null?f==="!=":!f&&m.attr?d!=null: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=o.setFilters[e];if(f)return f(a,c,b,d)}}},p=o.match.POS,q=function(a,b){return"\\"+(b-0+1)};for(var r in o.match)o.match[r]=new RegExp(o.match[r].source+/(?![^\[]*\])(?![^\(]*\))/.source),o.leftMatch[r]=new RegExp(/(^(?:.|\r|\n)*?)/.source+o.match[r].source.replace(/\\(\d+)/g,q));o.match.globalPOS=p;var s=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(t){s=function(a,b){var c=0,d=b||[];if(g.call(a)==="[object Array]")Array.prototype.push.apply(d,a);else if(typeof a.length=="number")for(var e=a.length;c<e;c++)d.push(a[c]);else for(;a[c];c++)d.push(a[c]);return d}}var u,v;c.documentElement.compareDocumentPosition?u=function(a,b){if(a===b){h=!0;return 0}if(!a.compareDocumentPosition||!b.compareDocumentPosition)return a.compareDocumentPosition?-1:1;return a.compareDocumentPosition(b)&4?-1:1}:(u=function(a,b){if(a===b){h=!0;return 0}if(a.sourceIndex&&b.sourceIndex)return a.sourceIndex-b.sourceIndex;var c,d,e=[],f=[],g=a.parentNode,i=b.parentNode,j=g;if(g===i)return v(a,b);if(!g)return-1;if(!i)return 1;while(j)e.unshift(j),j=j.parentNode;j=i;while(j)f.unshift(j),j=j.parentNode;c=e.length,d=f.length;for(var k=0;k<c&&k<d;k++)if(e[k]!==f[k])return v(e[k],f[k]);return k===c?v(a,f[k],-1):v(e[k],b,1)},v=function(a,b,c){if(a===b)return c;var d=a.nextSibling;while(d){if(d===b)return-1;d=d.nextSibling}return 1}),function(){var a=c.createElement("div"),d="script"+(new Date).getTime(),e=c.documentElement;a.innerHTML="<a name='"+d+"'/>",e.insertBefore(a,e.firstChild),c.getElementById(d)&&(o.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:[]}},o.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&&(o.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 href='#'></a>",a.firstChild&&typeof a.firstChild.getAttribute!="undefined"&&a.firstChild.getAttribute("href")!=="#"&&(o.attrHandle.href=function(a){return a.getAttribute("href",2)}),a=null}(),c.querySelectorAll&&function(){var a=m,b=c.createElement("div"),d="__sizzle__";b.innerHTML="<p class='TEST'></p>";if(!b.querySelectorAll||b.querySelectorAll(".TEST").length!==0){m=function(b,e,f,g){e=e||c;if(!g&&!m.isXML(e)){var h=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b);if(h&&(e.nodeType===1||e.nodeType===9)){if(h[1])return s(e.getElementsByTagName(b),f);if(h[2]&&o.find.CLASS&&e.getElementsByClassName)return s(e.getElementsByClassName(h[2]),f)}if(e.nodeType===9){if(b==="body"&&e.body)return s([e.body],f);if(h&&h[3]){var i=e.getElementById(h[3]);if(!i||!i.parentNode)return s([],f);if(i.id===h[3])return s([i],f)}try{return s(e.querySelectorAll(b),f)}catch(j){}}else if(e.nodeType===1&&e.nodeName.toLowerCase()!=="object"){var k=e,l=e.getAttribute("id"),n=l||d,p=e.parentNode,q=/^\s*[+~]/.test(b);l?n=n.replace(/'/g,"\\$&"):e.setAttribute("id",n),q&&p&&(e=e.parentNode);try{if(!q||p)return s(e.querySelectorAll("[id='"+n+"'] "+b),f)}catch(r){}finally{l||k.removeAttribute("id")}}}return a(b,e,f,g)};for(var e in a)m[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}m.matchesSelector=function(a,c){c=c.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!m.isXML(a))try{if(e||!o.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 m(c,null,null,[a]).length>0}}}(),function(){var a=c.createElement("div");a.innerHTML="<div class='test e'></div><div class='test'></div>";if(!!a.getElementsByClassName&&a.getElementsByClassName("e").length!==0){a.lastChild.className="e";if(a.getElementsByClassName("e").length===1)return;o.order.splice(1,0,"CLASS"),o.find.CLASS=function(a,b,c){if(typeof b.getElementsByClassName!="undefined"&&!c)return b.getElementsByClassName(a[1])},a=null}}(),c.documentElement.contains?m.contains=function(a,b){return a!==b&&(a.contains?a.contains(b):!0)}:c.documentElement.compareDocumentPosition?m.contains=function(a,b){return!!(a.compareDocumentPosition(b)&16)}:m.contains=function(){return!1},m.isXML=function(a){var b=(a?a.ownerDocument||a:0).documentElement;return b?b.nodeName!=="HTML":!1};var y=function(a,b,c){var d,e=[],f="",g=b.nodeType?[b]:b;while(d=o.match.PSEUDO.exec(a))f+=d[0],a=a.replace(o.match.PSEUDO,"");a=o.relative[a]?a+"*":a;for(var h=0,i=g.length;h<i;h++)m(a,g[h],e,c);return m.filter(f,e)};m.attr=f.attr,m.selectors.attrMap={},f.find=m,f.expr=m.selectors,f.expr[":"]=f.expr.filters,f.unique=m.uniqueSort,f.text=m.getText,f.isXMLDoc=m.isXML,f.contains=m.contains}();var L=/Until$/,M=/^(?:parents|prevUntil|prevAll)/,N=/,/,O=/^.[^:#\[\.,]*$/,P=Array.prototype.slice,Q=f.expr.match.globalPOS,R={children:!0,contents:!0,next:!0,prev:!0};f.fn.extend({find:function(a){var b=this,c,d;if(typeof a!="string")return f(a).filter(function(){for(c=0,d=b.length;c<d;c++)if(f.contains(b[c],this))return!0});var e=this.pushStack("","find",a),g,h,i;for(c=0,d=this.length;c<d;c++){g=e.length,f.find(a,this[c],e);if(c>0)for(h=g;h<e.length;h++)for(i=0;i<g;i++)if(e[i]===e[h]){e.splice(h--,1);break}}return e},has:function(a){var b=f(a);return this.filter(function(){for(var a=0,c=b.length;a<c;a++)if(f.contains(this,b[a]))return!0})},not:function(a){return this.pushStack(T(this,a,!1),"not",a)},filter:function(a){return this.pushStack(T(this,a,!0),"filter",a)},is:function(a){return!!a&&(typeof a=="string"?Q.test(a)?f(a,this.context).index(this[0])>=0:f.filter(a,this).length>0:this.filter(a).length>0)},closest:function(a,b){var c=[],d,e,g=this[0];if(f.isArray(a)){var h=1;while(g&&g.ownerDocument&&g!==b){for(d=0;d<a.length;d++)f(g).is(a[d])&&c.push({selector:a[d],elem:g,level:h});g=g.parentNode,h++}return c}var i=Q.test(a)||typeof a!="string"?f(a,b||this.context):0;for(d=0,e=this.length;d<e;d++){g=this[d];while(g){if(i?i.index(g)>-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)return this[0]&&this[0].parentNode?this.prevAll().length:-1;if(typeof a=="string")return f.inArray(this[0],f(a));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(S(c[0])||S(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);L.test(a)||(d=c),d&&typeof d=="string"&&(e=f.filter(d,e)),e=this.length>1&&!R[a]?f.unique(e):e,(this.length>1||N.test(d))&&M.test(a)&&(e=e.reverse());return this.pushStack(e,a,P.call(arguments).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 V="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",W=/ jQuery\d+="(?:\d+|null)"/g,X=/^\s+/,Y=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,Z=/<([\w:]+)/,$=/<tbody/i,_=/<|&#?\w+;/,ba=/<(?:script|style)/i,bb=/<(?:script|object|embed|option|style)/i,bc=new RegExp("<(?:"+V+")[\\s/>]","i"),bd=/checked\s*(?:[^=]|=\s*.checked.)/i,be=/\/(java|ecma)script/i,bf=/^\s*<!(?:\[CDATA\[|\-\-)/,bg={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]},bh=U(c);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<div>","</div>"]),f.fn.extend({text:function(a){return f.access(this,function(a){return a===b?f.text(this):this.empty().append((this[0]&&this[0].ownerDocument||c).createTextNode(a))},null,a,arguments.length)},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){var b=f.isFunction(a);return this.each(function(c){f(this).wrapAll(b?a.call(this,c):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
-.clean(arguments);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.clean(arguments));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){return f.access(this,function(a){var c=this[0]||{},d=0,e=this.length;if(a===b)return c.nodeType===1?c.innerHTML.replace(W,""):null;if(typeof a=="string"&&!ba.test(a)&&(f.support.leadingWhitespace||!X.test(a))&&!bg[(Z.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Y,"<$1></$2>");try{for(;d<e;d++)c=this[d]||{},c.nodeType===1&&(f.cleanData(c.getElementsByTagName("*")),c.innerHTML=a);c=0}catch(g){}}c&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(a){if(this[0]&&this[0].parentNode){if(f.isFunction(a))return this.each(function(b){var c=f(this),d=c.html();c.replaceWith(a.call(this,b,d))});typeof a!="string"&&(a=f(a).detach());return this.each(function(){var b=this.nextSibling,c=this.parentNode;f(this).remove(),b?f(b).before(a):f(c).append(a)})}return this.length?this.pushStack(f(f.isFunction(a)?a():a),"replaceWith",a):this},detach:function(a){return this.remove(a,!0)},domManip:function(a,c,d){var e,g,h,i,j=a[0],k=[];if(!f.support.checkClone&&arguments.length===3&&typeof j=="string"&&bd.test(j))return this.each(function(){f(this).domManip(a,c,d,!0)});if(f.isFunction(j))return this.each(function(e){var g=f(this);a[0]=j.call(this,e,c?g.html():b),g.domManip(a,c,d)});if(this[0]){i=j&&j.parentNode,f.support.parentNode&&i&&i.nodeType===11&&i.childNodes.length===this.length?e={fragment:i}:e=f.buildFragment(a,this,k),h=e.fragment,h.childNodes.length===1?g=h=h.firstChild:g=h.firstChild;if(g){c=c&&f.nodeName(g,"tr");for(var l=0,m=this.length,n=m-1;l<m;l++)d.call(c?bi(this[l],g):this[l],e.cacheable||m>1&&l<n?f.clone(h,!0,!0):h)}k.length&&f.each(k,function(a,b){b.src?f.ajax({type:"GET",global:!1,url:b.src,async:!1,dataType:"script"}):f.globalEval((b.text||b.textContent||b.innerHTML||"").replace(bf,"/*$0*/")),b.parentNode&&b.parentNode.removeChild(b)})}return this}}),f.buildFragment=function(a,b,d){var e,g,h,i,j=a[0];b&&b[0]&&(i=b[0].ownerDocument||b[0]),i.createDocumentFragment||(i=c),a.length===1&&typeof j=="string"&&j.length<512&&i===c&&j.charAt(0)==="<"&&!bb.test(j)&&(f.support.checkClone||!bd.test(j))&&(f.support.html5Clone||!bc.test(j))&&(g=!0,h=f.fragments[j],h&&h!==1&&(e=h)),e||(e=i.createDocumentFragment(),f.clean(a,i,e,d)),g&&(f.fragments[j]=h?e:1);return{fragment:e,cacheable:g}},f.fragments={},f.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){f.fn[a]=function(c){var d=[],e=f(c),g=this.length===1&&this[0].parentNode;if(g&&g.nodeType===11&&g.childNodes.length===1&&e.length===1){e[b](this[0]);return this}for(var h=0,i=e.length;h<i;h++){var j=(h>0?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,e,g,h=f.support.html5Clone||f.isXMLDoc(a)||!bc.test("<"+a.nodeName+">")?a.cloneNode(!0):bo(a);if((!f.support.noCloneEvent||!f.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!f.isXMLDoc(a)){bk(a,h),d=bl(a),e=bl(h);for(g=0;d[g];++g)e[g]&&bk(d[g],e[g])}if(b){bj(a,h);if(c){d=bl(a),e=bl(h);for(g=0;d[g];++g)bj(d[g],e[g])}}d=e=null;return h},clean:function(a,b,d,e){var g,h,i,j=[];b=b||c,typeof b.createElement=="undefined"&&(b=b.ownerDocument||b[0]&&b[0].ownerDocument||c);for(var k=0,l;(l=a[k])!=null;k++){typeof l=="number"&&(l+="");if(!l)continue;if(typeof l=="string")if(!_.test(l))l=b.createTextNode(l);else{l=l.replace(Y,"<$1></$2>");var m=(Z.exec(l)||["",""])[1].toLowerCase(),n=bg[m]||bg._default,o=n[0],p=b.createElement("div"),q=bh.childNodes,r;b===c?bh.appendChild(p):U(b).appendChild(p),p.innerHTML=n[1]+l+n[2];while(o--)p=p.lastChild;if(!f.support.tbody){var s=$.test(l),t=m==="table"&&!s?p.firstChild&&p.firstChild.childNodes:n[1]==="<table>"&&!s?p.childNodes:[];for(i=t.length-1;i>=0;--i)f.nodeName(t[i],"tbody")&&!t[i].childNodes.length&&t[i].parentNode.removeChild(t[i])}!f.support.leadingWhitespace&&X.test(l)&&p.insertBefore(b.createTextNode(X.exec(l)[0]),p.firstChild),l=p.childNodes,p&&(p.parentNode.removeChild(p),q.length>0&&(r=q[q.length-1],r&&r.parentNode&&r.parentNode.removeChild(r)))}var u;if(!f.support.appendChecked)if(l[0]&&typeof (u=l.length)=="number")for(i=0;i<u;i++)bn(l[i]);else bn(l);l.nodeType?j.push(l):j=f.merge(j,l)}if(d){g=function(a){return!a.type||be.test(a.type)};for(k=0;j[k];k++){h=j[k];if(e&&f.nodeName(h,"script")&&(!h.type||be.test(h.type)))e.push(h.parentNode?h.parentNode.removeChild(h):h);else{if(h.nodeType===1){var v=f.grep(h.getElementsByTagName("script"),g);j.splice.apply(j,[k+1,0].concat(v))}d.appendChild(h)}}}return j},cleanData:function(a){var b,c,d=f.cache,e=f.event.special,g=f.support.deleteExpando;for(var h=0,i;(i=a[h])!=null;h++){if(i.nodeName&&f.noData[i.nodeName.toLowerCase()])continue;c=i[f.expando];if(c){b=d[c];if(b&&b.events){for(var j in b.events)e[j]?f.event.remove(i,j):f.removeEvent(i,j,b.handle);b.handle&&(b.handle.elem=null)}g?delete i[f.expando]:i.removeAttribute&&i.removeAttribute(f.expando),delete d[c]}}}});var bp=/alpha\([^)]*\)/i,bq=/opacity=([^)]*)/,br=/([A-Z]|^ms)/g,bs=/^[\-+]?(?:\d*\.)?\d+$/i,bt=/^-?(?:\d*\.)?\d+(?!px)[^\d\s]+$/i,bu=/^([\-+])=([\-+.\de]+)/,bv=/^margin/,bw={position:"absolute",visibility:"hidden",display:"block"},bx=["Top","Right","Bottom","Left"],by,bz,bA;f.fn.css=function(a,c){return f.access(this,function(a,c,d){return d!==b?f.style(a,c,d):f.css(a,c)},a,c,arguments.length>1)},f.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=by(a,"opacity");return c===""?"1":c}return a.style.opacity}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":f.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,c,d,e){if(!!a&&a.nodeType!==3&&a.nodeType!==8&&!!a.style){var g,h,i=f.camelCase(c),j=a.style,k=f.cssHooks[i];c=f.cssProps[i]||i;if(d===b){if(k&&"get"in k&&(g=k.get(a,!1,e))!==b)return g;return j[c]}h=typeof d,h==="string"&&(g=bu.exec(d))&&(d=+(g[1]+1)*+g[2]+parseFloat(f.css(a,c)),h="number");if(d==null||h==="number"&&isNaN(d))return;h==="number"&&!f.cssNumber[i]&&(d+="px");if(!k||!("set"in k)||(d=k.set(a,d))!==b)try{j[c]=d}catch(l){}}},css:function(a,c,d){var e,g;c=f.camelCase(c),g=f.cssHooks[c],c=f.cssProps[c]||c,c==="cssFloat"&&(c="float");if(g&&"get"in g&&(e=g.get(a,!0,d))!==b)return e;if(by)return by(a,c)},swap:function(a,b,c){var d={},e,f;for(f in b)d[f]=a.style[f],a.style[f]=b[f];e=c.call(a);for(f in b)a.style[f]=d[f];return e}}),f.curCSS=f.css,c.defaultView&&c.defaultView.getComputedStyle&&(bz=function(a,b){var c,d,e,g,h=a.style;b=b.replace(br,"-$1").toLowerCase(),(d=a.ownerDocument.defaultView)&&(e=d.getComputedStyle(a,null))&&(c=e.getPropertyValue(b),c===""&&!f.contains(a.ownerDocument.documentElement,a)&&(c=f.style(a,b))),!f.support.pixelMargin&&e&&bv.test(b)&&bt.test(c)&&(g=h.width,h.width=c,c=e.width,h.width=g);return c}),c.documentElement.currentStyle&&(bA=function(a,b){var c,d,e,f=a.currentStyle&&a.currentStyle[b],g=a.style;f==null&&g&&(e=g[b])&&(f=e),bt.test(f)&&(c=g.left,d=a.runtimeStyle&&a.runtimeStyle.left,d&&(a.runtimeStyle.left=a.currentStyle.left),g.left=b==="fontSize"?"1em":f,f=g.pixelLeft+"px",g.left=c,d&&(a.runtimeStyle.left=d));return f===""?"auto":f}),by=bz||bA,f.each(["height","width"],function(a,b){f.cssHooks[b]={get:function(a,c,d){if(c)return a.offsetWidth!==0?bB(a,b,d):f.swap(a,bw,function(){return bB(a,b,d)})},set:function(a,b){return bs.test(b)?b+"px":b}}}),f.support.opacity||(f.cssHooks.opacity={get:function(a,b){return bq.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,e=f.isNumeric(b)?"alpha(opacity="+b*100+")":"",g=d&&d.filter||c.filter||"";c.zoom=1;if(b>=1&&f.trim(g.replace(bp,""))===""){c.removeAttribute("filter");if(d&&!d.filter)return}c.filter=bp.test(g)?g.replace(bp,e):g+" "+e}}),f(function(){f.support.reliableMarginRight||(f.cssHooks.marginRight={get:function(a,b){return f.swap(a,{display:"inline-block"},function(){return b?by(a,"margin-right"):a.style.marginRight})}})}),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&&a.style.display||f.css(a,"display"))==="none"},f.expr.filters.visible=function(a){return!f.expr.filters.hidden(a)}),f.each({margin:"",padding:"",border:"Width"},function(a,b){f.cssHooks[a+b]={expand:function(c){var d,e=typeof c=="string"?c.split(" "):[c],f={};for(d=0;d<4;d++)f[a+bx[d]+b]=e[d]||e[d-2]||e[0];return f}}});var bC=/%20/g,bD=/\[\]$/,bE=/\r?\n/g,bF=/#.*$/,bG=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,bH=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,bI=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,bJ=/^(?:GET|HEAD)$/,bK=/^\/\//,bL=/\?/,bM=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,bN=/^(?:select|textarea)/i,bO=/\s+/,bP=/([?&])_=[^&]*/,bQ=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,bR=f.fn.load,bS={},bT={},bU,bV,bW=["*/"]+["*"];try{bU=e.href}catch(bX){bU=c.createElement("a"),bU.href="",bU=bU.href}bV=bQ.exec(bU.toLowerCase())||[],f.fn.extend({load:function(a,c,d){if(typeof a!="string"&&bR)return bR.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("<div>").append(c.replace(bM,"")).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||bN.test(this.nodeName)||bH.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(bE,"\r\n")}}):{name:b.name,value:c.replace(bE,"\r\n")}}).get()}}),f.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){f.fn[b]=function(a){return this.on(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?b$(a,f.ajaxSettings):(b=a,a=f.ajaxSettings),b$(a,b);return a},ajaxSettings:{url:bU,isLocal:bI.test(bV[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded; charset=UTF-8",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":bW},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},flatOptions:{context:!0,url:!0}},ajaxPrefilter:bY(bS),ajaxTransport:bY(bT),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>0?4:0;var o,r,u,w=c,x=l?ca(d,v,l):b,y,z;if(a>=200&&a<300||a===304){if(d.ifModified){if(y=v.getResponseHeader("Last-Modified"))f.lastModified[k]=y;if(z=v.getResponseHeader("Etag"))f.etag[k]=z}if(a===304)w="notmodified",o=!0;else try{r=cb(d,x),w="success",o=!0}catch(A){w="parsererror",u=A}}else{u=w;if(!w||a)w="error",a<0&&(a=0)}v.status=a,v.statusText=""+(c||w),o?h.resolveWith(e,[r,w,v]):h.rejectWith(e,[v,w,u]),v.statusCode(j),j=b,t&&g.trigger("ajax"+(o?"Success":"Error"),[v,d,o?r:u]),i.fireWith(e,[v,w]),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.Callbacks("once memory"),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=bG.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.add,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(bF,"").replace(bK,bV[1]+"//"),d.dataTypes=f.trim(d.dataType||"*").toLowerCase().split(bO),d.crossDomain==null&&(r=bQ.exec(d.url.toLowerCase()),d.crossDomain=!(!r||r[1]==bV[1]&&r[2]==bV[2]&&(r[3]||(r[1]==="http:"?80:443))==(bV[3]||(bV[1]==="http:"?80:443)))),d.data&&d.processData&&typeof d.data!="string"&&(d.data=f.param(d.data,d.traditional)),bZ(bS,d,c,v);if(s===2)return!1;t=d.global,d.type=d.type.toUpperCase(),d.hasContent=!bJ.test(d.type),t&&f.active++===0&&f.event.trigger("ajaxStart");if(!d.hasContent){d.data&&(d.url+=(bL.test(d.url)?"&":"?")+d.data,delete d.data),k=d.url;if(d.cache===!1){var x=f.now(),y=d.url.replace(bP,"$1_="+x);d.url=y+(y===d.url?(bL.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]!=="*"?", "+bW+"; 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=bZ(bT,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){if(s<2)w(-1,z);else throw 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(bC,"+")}}),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=typeof b.data=="string"&&/^application\/x\-www\-form\-urlencoded/.test(b.contentType);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);try{m.text=h.responseText}catch(a){}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;f.fn.extend({show:function(a,b,c){var d,e;if(a||a===0)return this.animate(ct("show",3),a,b,c);for(var g=0,h=this.length;g<h;g++)d=this[g],d.style&&(e=d.style.display,!f._data(d,"olddisplay")&&e==="none"&&(e=d.style.display=""),(e===""&&f.css(d,"display")==="none"||!f.contains(d.ownerDocument.documentElement,d))&&f._data(d,"olddisplay",cu(d.nodeName)));for(g=0;g<h;g++){d=this[g];if(d.style){e=d.style.display;if(e===""||e==="none")d.style.display=f._data(d,"olddisplay")||""}}return this},hide:function(a,b,c){if(a||a===0)return this.animate(ct("hide",3),a,b,c);var d,e,g=0,h=this.length;for(;g<h;g++)d=this[g],d.style&&(e=f.css(d,"display"),e!=="none"&&!f._data(d,"olddisplay")&&f._data(d,"olddisplay",e));for(g=0;g<h;g++)this[g].style&&(this[g].style.display="none");return this},_toggle:f.fn.toggle,toggle:function(a,b,c){var d=typeof a=="boolean";f.isFunction(a)&&f.isFunction(b)?this._toggle.apply(this,arguments):a==null||d?this.each(function(){var b=d?a:f(this).is(":hidden");f(this)[b?"show":"hide"]()}):this.animate(ct("toggle",3),a,b,c);return this},fadeTo:function(a,b,c,d){return this.filter(":hidden").css("opacity",0).show().end().animate({opacity:b},a,c,d)},animate:function(a,b,c,d){function g(){e.queue===!1&&f._mark(this);var b=f.extend({},e),c=this.nodeType===1,d=c&&f(this).is(":hidden"),g,h,i,j,k,l,m,n,o,p,q;b.animatedProperties={};for(i in a){g=f.camelCase(i),i!==g&&(a[g]=a[i],delete a[i]);if((k=f.cssHooks[g])&&"expand"in k){l=k.expand(a[g]),delete a[g];for(i in l)i in a||(a[i]=l[i])}}for(g in a){h=a[g],f.isArray(h)?(b.animatedProperties[g]=h[1],h=a[g]=h[0]):b.animatedProperties[g]=b.specialEasing&&b.specialEasing[g]||b.easing||"swing";if(h==="hide"&&d||h==="show"&&!d)return b.complete.call(this);c&&(g==="height"||g==="width")&&(b.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY],f.css(this,"display")==="inline"&&f.css(this,"float")==="none"&&(!f.support.inlineBlockNeedsLayout||cu(this.nodeName)==="inline"?this.style.display="inline-block":this.style.zoom=1))}b.overflow!=null&&(this.style.overflow="hidden");for(i in a)j=new f.fx(this,b,i),h=a[i],cm.test(h)?(q=f._data(this,"toggle"+i)||(h==="toggle"?d?"show":"hide":0),q?(f._data(this,"toggle"+i,q==="show"?"hide":"show"),j[q]()):j[h]()):(m=cn.exec(h),n=j.cur(),m?(o=parseFloat(m[2]),p=m[3]||(f.cssNumber[i]?"":"px"),p!=="px"&&(f.style(this,i,(o||1)+p),n=(o||1)/j.cur()*n,f.style(this,i,n+p)),m[1]&&(o=(m[1]==="-="?-1:1)*o+n),j.custom(n,o,p)):j.custom(n,h,""));return!0}var e=f.speed(b,c,d);if(f.isEmptyObject(a))return this.each(e.complete,[!1]);a=f.extend({},a);return e.queue===!1?this.each(g):this.queue(e.queue,g)},stop:function(a,c,d){typeof a!="string"&&(d=c,c=a,a=b),c&&a!==!1&&this.queue(a||"fx",[]);return this.each(function(){function h(a,b,c){var e=b[c];f.removeData(a,c,!0),e.stop(d)}var b,c=!1,e=f.timers,g=f._data(this);d||f._unmark(!0,this);if(a==null)for(b in g)g[b]&&g[b].stop&&b.indexOf(".run")===b.length-4&&h(this,g,b);else g[b=a+".run"]&&g[b].stop&&h(this,g,b);for(b=e.length;b--;)e[b].elem===this&&(a==null||e[b].queue===a)&&(d?e[b](!0):e[b].saveState(),c=!0,e.splice(b,1));(!d||!c)&&f.dequeue(this,a)})}}),f.each({slideDown:ct("show",1),slideUp:ct("hide",1),slideToggle:ct("toggle",1),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){f.fn[a]=function(a,c,d){return this.animate(b,a,c,d)}}),f.extend({speed:function(a,b,c){var d=a&&typeof a=="object"?f.extend({},a):{complete:c||!c&&b||f.isFunction(a)&&a,duration:a,easing:c&&b||b&&!f.isFunction(b)&&b};d.duration=f.fx.off?0:typeof d.duration=="number"?d.duration:d.duration in f.fx.speeds?f.fx.speeds[d.duration]:f.fx.speeds._default;if(d.queue==null||d.queue===!0)d.queue="fx";d.old=d.complete,d.complete=function(a){f.isFunction(d.old)&&d.old.call(this),d.queue?f.dequeue(this,d.queue):a!==!1&&f._unmark(this)};return d},easing:{linear:function(a){return a},swing:function(a){return-Math.cos(a*Math.PI)/2+.5}},timers:[],fx:function(a,b,c){this.options=b,this.elem=a,this.prop=c,b.orig=b.orig||{}}}),f.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this),(f.fx.step[this.prop]||f.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,b=f.css(this.elem,this.prop);return isNaN(a=parseFloat(b))?!b||b==="auto"?0:b:a},custom:function(a,c,d){function h(a){return e.step(a)}var e=this,g=f.fx;this.startTime=cq||cr(),this.end=c,this.now=this.start=a,this.pos=this.state=0,this.unit=d||this.unit||(f.cssNumber[this.prop]?"":"px"),h.queue=this.options.queue,h.elem=this.elem,h.saveState=function(){f._data(e.elem,"fxshow"+e.prop)===b&&(e.options.hide?f._data(e.elem,"fxshow"+e.prop,e.start):e.options.show&&f._data(e.elem,"fxshow"+e.prop,e.end))},h()&&f.timers.push(h)&&!co&&(co=setInterval(g.tick,g.interval))},show:function(){var a=f._data(this.elem,"fxshow"+this.prop);this.options.orig[this.prop]=a||f.style(this.elem,this.prop),this.options.show=!0,a!==b?this.custom(this.cur(),a):this.custom(this.prop==="width"||this.prop==="height"?1:0,this.cur()),f(this.elem).show()},hide:function(){this.options.orig[this.prop]=f._data(this.elem,"fxshow"+this.prop)||f.style(this.elem,this.prop),this.options.hide=!0,this.custom(this.cur(),0)},step:function(a){var b,c,d,e=cq||cr(),g=!0,h=this.elem,i=this.options;if(a||e>=i.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),i.animatedProperties[this.prop]=!0;for(b in i.animatedProperties)i.animatedProperties[b]!==!0&&(g=!1);if(g){i.overflow!=null&&!f.support.shrinkWrapBlocks&&f.each(["","X","Y"],function(a,b){h.style["overflow"+b]=i.overflow[a]}),i.hide&&f(h).hide();if(i.hide||i.show)for(b in i.animatedProperties)f.style(h,b,i.orig[b]),f.removeData(h,"fxshow"+b,!0),f.removeData(h,"toggle"+b,!0);d=i.complete,d&&(i.complete=!1,d.call(h))}return!1}i.duration==Infinity?this.now=e:(c=e-this.startTime,this.state=c/i.duration,this.pos=f.easing[i.animatedProperties[this.prop]](this.state,c,0,1,i.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update();return!0}},f.extend(f.fx,{tick:function(){var a,b=f.timers,c=0;for(;c<b.length;c++)a=b[c],!a()&&b[c]===a&&b.splice(c--,1);b.length||f.fx.stop()},interval:13,stop:function(){clearInterval(co),co=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){f.style(a.elem,"opacity",a.now)},_default:function(a){a.elem.style&&a.elem.style[a.prop]!=null?a.elem.style[a.prop]=a.now+a.unit:a.elem[a.prop]=a.now}}}),f.each(cp.concat.apply([],cp),function(a,b){b.indexOf("margin")&&(f.fx.step[b]=function(a){f.style(a.elem,b,Math.max(0,a.now)+a.unit)})}),f.expr&&f.expr.filters&&(f.expr.filters.animated=function(a){return f.grep(f.timers,function(b){return a===b.elem}).length});var cv,cw=/^t(?:able|d|h)$/i,cx=/^(?:body|html)$/i;"getBoundingClientRect"in c.documentElement?cv=function(a,b,c,d){try{d=a.getBoundingClientRect()}catch(e){}if(!d||!f.contains(c,a))return d?{top:d.top,left:d.left}:{top:0,left:0};var g=b.body,h=cy(b),i=c.clientTop||g.clientTop||0,j=c.clientLeft||g.clientLeft||0,k=h.pageYOffset||f.support.boxModel&&c.scrollTop||g.scrollTop,l=h.pageXOffset||f.support.boxModel&&c.scrollLeft||g.scrollLeft,m=d.top+k-i,n=d.left+l-j;return{top:m,left:n}}:cv=function(a,b,c){var d,e=a.offsetParent,g=a,h=b.body,i=b.defaultView,j=i?i.getComputedStyle(a,null):a.currentStyle,k=a.offsetTop,l=a.offsetLeft;while((a=a.parentNode)&&a!==h&&a!==c){if(f.support.fixedPosition&&j.position==="fixed")break;d=i?i.getComputedStyle(a,null):a.currentStyle,k-=a.scrollTop,l-=a.scrollLeft,a===e&&(k+=a.offsetTop,l+=a.offsetLeft,f.support.doesNotAddBorder&&(!f.support.doesAddBorderForTableAndCells||!cw.test(a.nodeName))&&(k+=parseFloat(d.borderTopWidth)||0,l+=parseFloat(d.borderLeftWidth)||0),g=e,e=a.offsetParent),f.support.subtractsBorderForOverflowNotVisible&&d.overflow!=="visible"&&(k+=parseFloat(d.borderTopWidth)||0,l+=parseFloat(d.borderLeftWidth)||0),j=d}if(j.position==="relative"||j.position==="static")k+=h.offsetTop,l+=h.offsetLeft;f.support.fixedPosition&&j.position==="fixed"&&(k+=Math.max(c.scrollTop,h.scrollTop),l+=Math.max(c.scrollLeft,h.scrollLeft));return{top:k,left:l}},f.fn.offset=function(a){if(arguments.length)return a===b?this:this.each(function(b){f.offset.setOffset(this,a,b)});var c=this[0],d=c&&c.ownerDocument;if(!d)return null;if(c===d.body)return f.offset.bodyOffset(c);return cv(c,d,d.documentElement)},f.offset={bodyOffset:function(a){var b=a.offsetTop,c=a.offsetLeft;f.support.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({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(a,c){var d=/Y/.test(c);f.fn[a]=function(e){return f.access(this,function(a,e,g){var h=cy(a);if(g===b)return h?c in h?h[c]:f.support.boxModel&&h.document.documentElement[e]||h.document.body[e]:a[e];h?h.scrollTo(d?f(h).scrollLeft():g,d?g:f(h).scrollTop()):a[e]=g},a,e,arguments.length,null)}}),f.each({Height:"height",Width:"width"},function(a,c){var d="client"+a,e="scroll"+a,g="offset"+a;f.fn["inner"+a]=function(){var a=this[0];return a?a.style?parseFloat(f.css(a,c,"padding")):this[c]():null},f.fn["outer"+a]=function(a){var b=this[0];return b?b.style?parseFloat(f.css(b,c,a?"margin":"border")):this[c]():null},f.fn[c]=function(a){return f.access(this,function(a,c,h){var i,j,k,l;if(f.isWindow(a)){i=a.document,j=i.documentElement[d];return f.support.boxModel&&j||i.body&&i.body[d]||j}if(a.nodeType===9){i=a.documentElement;if(i[d]>=i[e])return i[d];return Math.max(a.body[e],i[e],a.body[g],i[g])}if(h===b){k=f.css(a,c),l=parseFloat(k);return f.isNumeric(l)?l:k}f(a).css(c,h)},c,a,arguments.length,null)}}),a.jQuery=a.$=f,typeof define=="function"&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return f})})(window);
\ No newline at end of file
diff --git a/deck.js/modernizr.custom.js b/deck.js/modernizr.custom.js
deleted file mode 100644 (file)
index 964fb40..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-/* Modernizr 2.0.6 (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 | cssclasses | addtest | teststyles | testprop | testallprops | hasevent | prefixes | domprefixes | load
- */
-;window.Modernizr=function(a,b,c){function H(){e.input=function(a){for(var b=0,c=a.length;b<c;b++)t[a[b]]=a[b]in l;return t}("autocomplete autofocus list placeholder max min multiple pattern required step".split(" ")),e.inputtypes=function(a){for(var d=0,e,f,h,i=a.length;d<i;d++)l.setAttribute("type",f=a[d]),e=l.type!=="text",e&&(l.value=m,l.style.cssText="position:absolute;visibility:hidden;",/^range$/.test(f)&&l.style.WebkitAppearance!==c?(g.appendChild(l),h=b.defaultView,e=h.getComputedStyle&&h.getComputedStyle(l,null).WebkitAppearance!=="textfield"&&l.offsetHeight!==0,g.removeChild(l)):/^(search|tel)$/.test(f)||(/^(url|email)$/.test(f)?e=l.checkValidity&&l.checkValidity()===!1:/^color$/.test(f)?(g.appendChild(l),g.offsetWidth,e=l.value!=m,g.removeChild(l)):e=l.value!=m)),s[a[d]]=!!e;return s}("search tel url email datetime date month week time datetime-local number range color".split(" "))}function F(a,b){var c=a.charAt(0).toUpperCase()+a.substr(1),d=(a+" "+p.join(c+" ")+c).split(" ");return E(d,b)}function E(a,b){for(var d in a)if(k[a[d]]!==c)return b=="pfx"?a[d]:!0;return!1}function D(a,b){return!!~(""+a).indexOf(b)}function C(a,b){return typeof a===b}function B(a,b){return A(o.join(a+";")+(b||""))}function A(a){k.cssText=a}var d="2.0.6",e={},f=!0,g=b.documentElement,h=b.head||b.getElementsByTagName("head")[0],i="modernizr",j=b.createElement(i),k=j.style,l=b.createElement("input"),m=":)",n=Object.prototype.toString,o=" -webkit- -moz- -o- -ms- -khtml- ".split(" "),p="Webkit Moz O ms Khtml".split(" "),q={svg:"http://www.w3.org/2000/svg"},r={},s={},t={},u=[],v=function(a,c,d,e){var f,h,j,k=b.createElement("div");if(parseInt(d,10))while(d--)j=b.createElement("div"),j.id=e?e[d]:i+(d+1),k.appendChild(j);f=["&shy;","<style>",a,"</style>"].join(""),k.id=i,k.innerHTML+=f,g.appendChild(k),h=c(k,a),k.parentNode.removeChild(k);return!!h},w=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=C(e[d],"function"),C(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}(),x,y={}.hasOwnProperty,z;!C(y,c)&&!C(y.call,c)?z=function(a,b){return y.call(a,b)}:z=function(a,b){return b in a&&C(a.constructor.prototype[b],c)};var G=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,'";visibility:hidden}'].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&&!!C(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;++b<c;)if(a[p[b].toLowerCase()+"IndexedDB"])return!0;return!!a.indexedDB},r.hashchange=function(){return w("hashchange",a)&&(b.documentMode===c||b.documentMode>7)},r.history=function(){return!!a.history&&!!history.pushState},r.draganddrop=function(){return w("dragstart")&&w("drop")},r.websockets=function(){for(var b=-1,c=p.length;++b<c;)if(a[p[b]+"WebSocket"])return!0;return"WebSocket"in a},r.rgba=function(){A("background-color:rgba(150,255,150,.5)");return D(k.backgroundColor,"rgba")},r.hsla=function(){A("background-color:hsla(120,40%,100%,.5)");return D(k.backgroundColor,"rgba")||D(k.backgroundColor,"hsla")},r.multiplebgs=function(){A("background:url(https://),url(https://),red url(https://)");return/(url\s*\(.*?){3}/.test(k.background)},r.backgroundsize=function(){return F("backgroundSize")},r.borderimage=function(){return F("borderImage")},r.borderradius=function(){return F("borderRadius")},r.boxshadow=function(){return F("boxShadow")},r.textshadow=function(){return b.createElement("div").style.textShadow===""},r.opacity=function(){B("opacity:.55");return/^0.55$/.test(k.opacity)},r.cssanimations=function(){return F("animationName")},r.csscolumns=function(){return F("columnCount")},r.cssgradients=function(){var a="background-image:",b="gradient(linear,left top,right bottom,from(#9f9),to(white));",c="linear-gradient(left top,#9f9, white);";A((a+o.join(b+a)+o.join(c+a)).slice(0,-a.length));return D(k.backgroundImage,"gradient")},r.cssreflections=function(){return F("boxReflect")},r.csstransforms=function(){return!!E(["transformProperty","WebkitTransform","MozTransform","OTransform","msTransform"])},r.csstransforms3d=function(){var a=!!E(["perspectiveProperty","WebkitPerspective","MozPerspective","OPerspective","msPerspective"]);a&&"webkitPerspective"in g.style&&(a=e.csstransforms3d);return a},r.csstransitions=function(){return F("transitionProperty")},r.fontface=function(){return e.fontface},r.generatedcontent=function(){return e.generatedcontent},r.video=function(){var a=b.createElement("video"),c=!1;try{if(c=!!a.canPlayType){c=new Boolean(c),c.ogg=a.canPlayType('video/ogg; codecs="theora"');var d='video/mp4; codecs="avc1.42E01E';c.h264=a.canPlayType(d+'"')||a.canPlayType(d+', mp4a.40.2"'),c.webm=a.canPlayType('video/webm; codecs="vp8, vorbis"')}}catch(e){}return c},r.audio=function(){var a=b.createElement("audio"),c=!1;try{if(c=!!a.canPlayType)c=new Boolean(c),c.ogg=a.canPlayType('audio/ogg; codecs="vorbis"'),c.mp3=a.canPlayType("audio/mpeg;"),c.wav=a.canPlayType('audio/wav; codecs="1"'),c.m4a=a.canPlayType("audio/x-m4a;")||a.canPlayType("audio/aac;")}catch(d){}return c},r.localstorage=function(){try{return!!localStorage.getItem}catch(a){return!1}},r.sessionstorage=function(){try{return!!sessionStorage.getItem}catch(a){return!1}},r.webworkers=function(){return!!a.Worker},r.applicationcache=function(){return!!a.applicationCache},r.svg=function(){return!!b.createElementNS&&!!b.createElementNS(q.svg,"svg").createSVGRect},r.inlinesvg=function(){var a=b.createElement("div");a.innerHTML="<svg/>";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 I in r)z(r,I)&&(x=I.toLowerCase(),e[x]=r[I](),u.push((e[x]?"":"no-")+x));e.input||H(),e.addTest=function(a,b){if(typeof a=="object")for(var d in a)z(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},A(""),j=l=null,a.attachEvent&&function(){var a=b.createElement("div");a.innerHTML="<elem></elem>";return a.childNodes.length!==1}()&&function(a,b){function s(a){var b=-1;while(++b<g)a.createElement(f[b])}a.iepp=a.iepp||{};var d=a.iepp,e=d.html5elements||"abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",f=e.split("|"),g=f.length,h=new RegExp("(^|\\s)("+e+")","gi"),i=new RegExp("<(/*)("+e+")","gi"),j=/^\s*[\{\}]\s*$/,k=new RegExp("(^|[^\\n]*?\\s)("+e+")([^\\n]*)({[\\n\\w\\W]*?})","gi"),l=b.createDocumentFragment(),m=b.documentElement,n=m.firstChild,o=b.createElement("body"),p=b.createElement("style"),q=/print|all/,r;d.getCSS=function(a,b){if(a+""===c)return"";var e=-1,f=a.length,g,h=[];while(++e<f){g=a[e];if(g.disabled)continue;b=g.media||b,q.test(b)&&h.push(d.getCSS(g.imports,b),g.cssText),b="all"}return h.join("")},d.parseCSS=function(a){var b=[],c;while((c=k.exec(a))!=null)b.push(((j.exec(c[1])?"\n":c[1])+c[2]+c[3]).replace(h,"$1.iepp_$2")+c[4]);return b.join("\n")},d.writeHTML=function(){var a=-1;r=r||b.body;while(++a<g){var c=b.getElementsByTagName(f[a]),d=c.length,e=-1;while(++e<d)c[e].className.indexOf("iepp_")<0&&(c[e].className+=" iepp_"+f[a])}l.appendChild(r),m.appendChild(o),o.className=r.className,o.id=r.id,o.innerHTML=r.innerHTML.replace(i,"<$1font")},d._beforePrint=function(){p.styleSheet.cssText=d.parseCSS(d.getCSS(b.styleSheets,"all")),d.writeHTML()},d.restoreHTML=function(){o.innerHTML="",m.removeChild(o),m.appendChild(r)},d._afterPrint=function(){d.restoreHTML(),p.styleSheet.cssText=""},s(b),s(l);d.disablePP||(n.insertBefore(p,n.firstChild),p.media="print",p.className="iepp-printshim",a.attachEvent("onbeforeprint",d._beforePrint),a.attachEvent("onafterprint",d._afterPrint))}(a,b),e._version=d,e._prefixes=o,e._domPrefixes=p,e.hasEvent=w,e.testProp=function(a){return E([a])},e.testAllProps=F,e.testStyles=v,g.className=g.className.replace(/\bno-js\b/,"")+(f?" js "+u.join(" "):"");return e}(this,this.document),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";if(!a.e&&(w||r)){var e=function(a){m(function(){if(!d)try{a.sheet.cssRules.length?(d=1,j()):e(a)}catch(b){b.code==1e3||b.message=="security"||b.message=="denied"?(d=1,m(function(){j()},0)):e(a)}},0)};e(c)}else 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 Object(a)===a},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<e;h++)g=F[b[h]],g&&(f=g(f));for(h=0;h<c;h++)f=E[h](f);return f}function e(a,b,e,g,h){var i=f(a),j=i.autoCallback;if(!i.bypass){b&&(b=D(b)?b:b[a]||b[g]||b[a.split("/").pop().split("?")[0]]);if(i.instead)return i.instead(a,b,e,g,h);e.load(i.url,i.forceCSS||!i.forceJS&&/css$/.test(i.url)?"c":c,i.noexec),(D(b)||D(j))&&e.load(function(){d(),b&&b(i.origUrl,h,g),j&&j(i.origUrl,h,g)})}}function b(a,b){function c(a){if(C(a))e(a,h,b,0,d);else if(B(a))for(i in a)a.hasOwnProperty(i)&&e(a[i],h,b,i,d)}var d=!!a.test,f=d?a.yep:a.nope,g=a.load||a.both,h=a.callback,i;c(f),c(g),a.complete&&b.load(a.complete)}var g,h,i=this.yepnope.loader;if(C(a))e(a,0,i,0);else if(A(a))for(g=0;g<a.length;g++)h=a[g],C(h)?e(h,0,i,0):A(h)?H(h):B(h)&&b(h,i);else B(a)&&b(a,i)},H.addPrefix=function(a,b){F[a]=b},H.addFilter=function(a){E.push(a)},H.errorTimeout=1e4,b.readyState==null&&b.addEventListener&&(b.readyState="loading",b.addEventListener("DOMContentLoaded",G=function(){b.removeEventListener("DOMContentLoaded",G,0),b.readyState="complete"},0)),a.yepnope=d()}(this,this.document),Modernizr.load=function(){yepnope.apply(window,[].slice.call(arguments,0))};
\ No newline at end of file
diff --git a/deck.js/test/fixtures/complex.html b/deck.js/test/fixtures/complex.html
deleted file mode 100644 (file)
index 00f8d6f..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-<div class="deck-container">
-       <div class="slide1"></div>
-       
-       <div class="slide2 slide3 slide4">
-               <div class="slide2 slide10"></div>
-               <div class="slide3 slide4"></div>
-       </div>
-       
-       <div class="slide3 slide5"></div>
-       
-       <div class="slide6 slide7 slide8 slide9 slide10"></div>
-       
-       <p class="deck-status">
-               <span class="deck-status-current"></span>
-               /
-               <span class="deck-status-total"></span>
-       </p>
-       
-       <form action="." method="get" class="goto-form">
-               <label for="goto-slide">Go to slide:</label>
-               <input type="number" name="slidenum" id="goto-slide" value="">
-               <input type="submit" value="Go">
-       </form>
-</div>
\ No newline at end of file
diff --git a/deck.js/test/fixtures/empty.html b/deck.js/test/fixtures/empty.html
deleted file mode 100644 (file)
index d669ac5..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-<div class="deck-container">
-       <a href="#" class="deck-prev-link">Previous</a>
-       <a href="#" class="deck-next-link">Next</a>
-       
-       <p class="deck-status">
-               <span class="deck-status-current"></span>
-               /
-               <span class="deck-status-total"></span>
-       </p>
-       
-       <form action="." method="get" class="goto-form">
-               <label for="goto-slide">Go to slide:</label>
-               <input type="number" name="slidenum" id="goto-slide" value="">
-               <input type="submit" value="Go">
-       </form>
-       
-       <a href="#" class="deck-permalink">#</a>
-       <a href="#custom-id" id="internal-test">Internal Test Link</a>
-</div>
\ No newline at end of file
diff --git a/deck.js/test/fixtures/iframe_simple.html b/deck.js/test/fixtures/iframe_simple.html
deleted file mode 100644 (file)
index a64e9c0..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-<!DOCTYPE HTML>
-<html lang="en">
-<head>
-       <meta charset="UTF-8">
-       <title></title>
-</head>
-<body>
-Simple Iframe  
-</body>
-</html>
diff --git a/deck.js/test/fixtures/iframes.html b/deck.js/test/fixtures/iframes.html
deleted file mode 100644 (file)
index 016665e..0000000
+++ /dev/null
@@ -1,32 +0,0 @@
-<div class="deck-container">
-       <div class="slide1"></div>
-       
-       <div class="slide2 slide3 slide4">
-       </div>
-       
-        <div class="slide5">
-          <iframe src='fixtures/iframe_simple.html'></iframe>
-        </div>
-
-        <div class='slide6'>
-
-        </div>
-
-        <div class="slide7">
-          <iframe></iframe>
-        </div>
-       
-       <div class="slide8 slide9 slide10"></div>
-       
-       <p class="deck-status">
-               <span class="deck-status-current"></span>
-               /
-               <span class="deck-status-total"></span>
-       </p>
-       
-       <form action="." method="get" class="goto-form">
-               <label for="goto-slide">Go to slide:</label>
-               <input type="number" name="slidenum" id="goto-slide" value="">
-               <input type="submit" value="Go">
-       </form>
-</div>
diff --git a/deck.js/test/fixtures/nesteds.html b/deck.js/test/fixtures/nesteds.html
deleted file mode 100644 (file)
index a19f5d3..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-<div class="deck-container">
-       <div class="slide">
-       </div>
-       
-       <div class="slide">
-       </div>
-       
-       <div class="slide root">
-               <div class="slide"></div>
-               <div class="slide"></div>
-               <div class="slide"></div>
-               <div class="slide">
-                               <div class="slide"></div>
-                               <div class="slide"></div>
-                               <div class="slide"></div>
-               </div>
-       </div>
-       
-       <div class="slide" id="after">
-       </div>
-       
-       <div class="slide">
-       </div>
-       
-       <p class="deck-status">
-               <span class="deck-status-current"></span>
-               /
-               <span class="deck-status-total"></span>
-       </p>
-       
-       <form action="." method="get" class="goto-form">
-               <label for="goto-slide">Go to slide:</label>
-               <input type="number" name="slidenum" id="goto-slide" value="">
-               <input type="submit" value="Go">
-       </form>
-</div>
\ No newline at end of file
diff --git a/deck.js/test/fixtures/standard.html b/deck.js/test/fixtures/standard.html
deleted file mode 100644 (file)
index b9e307b..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-<div class="deck-container">
-       <div class="slide slide1"></div>
-       
-       <div class="slide slide2" id="custom-id"></div>
-       
-       <div class="slide slide3"></div>
-       
-       <div class="slide slide4"></div>
-       
-       <div class="slide slide5"></div>
-       
-       <a href="#" class="deck-prev-link">Previous</a>
-       <a href="#" class="deck-next-link">Next</a>
-       
-       <p class="deck-status">
-               <span class="deck-status-current"></span>
-               /
-               <span class="deck-status-total"></span>
-       </p>
-       
-       <form action="." method="get" class="goto-form">
-               <label for="goto-slide">Go to slide:</label>
-               <input type="number" name="slidenum" id="goto-slide" value="" list="goto-datalist">
-               <datalist id="goto-datalist"></datalist>
-               <input type="submit" value="Go">
-       </form>
-       
-       <a href="#" class="deck-permalink">#</a>
-       <a href="#custom-id" id="internal-test">Internal Test Link</a>
-</div>
-
-<div class="alt-container">
-       <div class="alt-slide alt-slide1"><input></div>
-       
-       <div class="alt-slide alt-slide2"></div>
-       
-       <div class="alt-slide alt-slide3"></div>
-       
-       <div class="alt-slide alt-slide4"></div>
-       
-       <div class="alt-slide alt-slide5"></div>
-</div>
\ No newline at end of file
diff --git a/deck.js/test/index.html b/deck.js/test/index.html
deleted file mode 100644 (file)
index 8a7ff2f..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
-  "http://www.w3.org/TR/html4/loose.dtd">
-<html>
-<head>
-       <title>deck.js - Jasmine Test Runner</title>
-       <link rel="stylesheet" type="text/css" href="lib/jasmine.css">
-       <script type="text/javascript" src="../modernizr.custom.js"></script>
-       <script type="text/javascript" src="lib/jasmine.js"></script>
-       <script type="text/javascript" src="lib/jasmine-html.js"></script>
-       <script src="../jquery-1.7.2.min.js"></script>
-       <script type="text/javascript" src="lib/jasmine-jquery.js"></script>
-
-       <!-- include source files here... -->
-       <script type="text/javascript" src="../core/deck.core.js"></script>
-       <script type="text/javascript" src="../extensions/hash/deck.hash.js"></script>
-       <script type="text/javascript" src="../extensions/menu/deck.menu.js"></script>
-       <script type="text/javascript" src="../extensions/goto/deck.goto.js"></script>
-       <script type="text/javascript" src="../extensions/status/deck.status.js"></script>
-       <script type="text/javascript" src="../extensions/navigation/deck.navigation.js"></script>
-       <script type="text/javascript" src="../extensions/scale/deck.scale.js"></script>
-
-       <!-- include spec files here... -->
-       <script type="text/javascript" src="settings.js"></script>
-       <script type="text/javascript" src="spec.core.js"></script>
-       <script type="text/javascript" src="spec.menu.js"></script>
-       <script type="text/javascript" src="spec.goto.js"></script>
-       <script type="text/javascript" src="spec.navigation.js"></script>
-       <script type="text/javascript" src="spec.hash.js"></script>
-       <script type="text/javascript" src="spec.status.js"></script>
-       <script type="text/javascript" src="spec.scale.js"></script>
-</head>
-
-<body>
-<script type="text/javascript">
-       jasmine.getEnv().addReporter(new jasmine.TrivialReporter());
-       jasmine.getEnv().execute();
-</script>
-</body>
-</html>
diff --git a/deck.js/test/lib/jasmine-html.js b/deck.js/test/lib/jasmine-html.js
deleted file mode 100755 (executable)
index 7383401..0000000
+++ /dev/null
@@ -1,190 +0,0 @@
-jasmine.TrivialReporter = function(doc) {
-  this.document = doc || document;
-  this.suiteDivs = {};
-  this.logRunningSpecs = false;
-};
-
-jasmine.TrivialReporter.prototype.createDom = function(type, attrs, childrenVarArgs) {
-  var el = document.createElement(type);
-
-  for (var i = 2; i < arguments.length; i++) {
-    var child = arguments[i];
-
-    if (typeof child === 'string') {
-      el.appendChild(document.createTextNode(child));
-    } else {
-      if (child) { el.appendChild(child); }
-    }
-  }
-
-  for (var attr in attrs) {
-    if (attr == "className") {
-      el[attr] = attrs[attr];
-    } else {
-      el.setAttribute(attr, attrs[attr]);
-    }
-  }
-
-  return el;
-};
-
-jasmine.TrivialReporter.prototype.reportRunnerStarting = function(runner) {
-  var showPassed, showSkipped;
-
-  this.outerDiv = this.createDom('div', { className: 'jasmine_reporter' },
-      this.createDom('div', { className: 'banner' },
-        this.createDom('div', { className: 'logo' },
-            this.createDom('span', { className: 'title' }, "Jasmine"),
-            this.createDom('span', { className: 'version' }, runner.env.versionString())),
-        this.createDom('div', { className: 'options' },
-            "Show ",
-            showPassed = this.createDom('input', { id: "__jasmine_TrivialReporter_showPassed__", type: 'checkbox' }),
-            this.createDom('label', { "for": "__jasmine_TrivialReporter_showPassed__" }, " passed "),
-            showSkipped = this.createDom('input', { id: "__jasmine_TrivialReporter_showSkipped__", type: 'checkbox' }),
-            this.createDom('label', { "for": "__jasmine_TrivialReporter_showSkipped__" }, " skipped")
-            )
-          ),
-
-      this.runnerDiv = this.createDom('div', { className: 'runner running' },
-          this.createDom('a', { className: 'run_spec', href: '?' }, "run all"),
-          this.runnerMessageSpan = this.createDom('span', {}, "Running..."),
-          this.finishedAtSpan = this.createDom('span', { className: 'finished-at' }, ""))
-      );
-
-  this.document.body.appendChild(this.outerDiv);
-
-  var suites = runner.suites();
-  for (var i = 0; i < suites.length; i++) {
-    var suite = suites[i];
-    var suiteDiv = this.createDom('div', { className: 'suite' },
-        this.createDom('a', { className: 'run_spec', href: '?spec=' + encodeURIComponent(suite.getFullName()) }, "run"),
-        this.createDom('a', { className: 'description', href: '?spec=' + encodeURIComponent(suite.getFullName()) }, suite.description));
-    this.suiteDivs[suite.id] = suiteDiv;
-    var parentDiv = this.outerDiv;
-    if (suite.parentSuite) {
-      parentDiv = this.suiteDivs[suite.parentSuite.id];
-    }
-    parentDiv.appendChild(suiteDiv);
-  }
-
-  this.startedAt = new Date();
-
-  var self = this;
-  showPassed.onclick = function(evt) {
-    if (showPassed.checked) {
-      self.outerDiv.className += ' show-passed';
-    } else {
-      self.outerDiv.className = self.outerDiv.className.replace(/ show-passed/, '');
-    }
-  };
-
-  showSkipped.onclick = function(evt) {
-    if (showSkipped.checked) {
-      self.outerDiv.className += ' show-skipped';
-    } else {
-      self.outerDiv.className = self.outerDiv.className.replace(/ show-skipped/, '');
-    }
-  };
-};
-
-jasmine.TrivialReporter.prototype.reportRunnerResults = function(runner) {
-  var results = runner.results();
-  var className = (results.failedCount > 0) ? "runner failed" : "runner passed";
-  this.runnerDiv.setAttribute("class", className);
-  //do it twice for IE
-  this.runnerDiv.setAttribute("className", className);
-  var specs = runner.specs();
-  var specCount = 0;
-  for (var i = 0; i < specs.length; i++) {
-    if (this.specFilter(specs[i])) {
-      specCount++;
-    }
-  }
-  var message = "" + specCount + " spec" + (specCount == 1 ? "" : "s" ) + ", " + results.failedCount + " failure" + ((results.failedCount == 1) ? "" : "s");
-  message += " in " + ((new Date().getTime() - this.startedAt.getTime()) / 1000) + "s";
-  this.runnerMessageSpan.replaceChild(this.createDom('a', { className: 'description', href: '?'}, message), this.runnerMessageSpan.firstChild);
-
-  this.finishedAtSpan.appendChild(document.createTextNode("Finished at " + new Date().toString()));
-};
-
-jasmine.TrivialReporter.prototype.reportSuiteResults = function(suite) {
-  var results = suite.results();
-  var status = results.passed() ? 'passed' : 'failed';
-  if (results.totalCount === 0) { // todo: change this to check results.skipped
-    status = 'skipped';
-  }
-  this.suiteDivs[suite.id].className += " " + status;
-};
-
-jasmine.TrivialReporter.prototype.reportSpecStarting = function(spec) {
-  if (this.logRunningSpecs) {
-    this.log('>> Jasmine Running ' + spec.suite.description + ' ' + spec.description + '...');
-  }
-};
-
-jasmine.TrivialReporter.prototype.reportSpecResults = function(spec) {
-  var results = spec.results();
-  var status = results.passed() ? 'passed' : 'failed';
-  if (results.skipped) {
-    status = 'skipped';
-  }
-  var specDiv = this.createDom('div', { className: 'spec '  + status },
-      this.createDom('a', { className: 'run_spec', href: '?spec=' + encodeURIComponent(spec.getFullName()) }, "run"),
-      this.createDom('a', {
-        className: 'description',
-        href: '?spec=' + encodeURIComponent(spec.getFullName()),
-        title: spec.getFullName()
-      }, spec.description));
-
-
-  var resultItems = results.getItems();
-  var messagesDiv = this.createDom('div', { className: 'messages' });
-  for (var i = 0; i < resultItems.length; i++) {
-    var result = resultItems[i];
-
-    if (result.type == 'log') {
-      messagesDiv.appendChild(this.createDom('div', {className: 'resultMessage log'}, result.toString()));
-    } else if (result.type == 'expect' && result.passed && !result.passed()) {
-      messagesDiv.appendChild(this.createDom('div', {className: 'resultMessage fail'}, result.message));
-
-      if (result.trace.stack) {
-        messagesDiv.appendChild(this.createDom('div', {className: 'stackTrace'}, result.trace.stack));
-      }
-    }
-  }
-
-  if (messagesDiv.childNodes.length > 0) {
-    specDiv.appendChild(messagesDiv);
-  }
-
-  this.suiteDivs[spec.suite.id].appendChild(specDiv);
-};
-
-jasmine.TrivialReporter.prototype.log = function() {
-  var console = jasmine.getGlobal().console;
-  if (console && console.log) {
-    if (console.log.apply) {
-      console.log.apply(console, arguments);
-    } else {
-      console.log(arguments); // ie fix: console.log.apply doesn't exist on ie
-    }
-  }
-};
-
-jasmine.TrivialReporter.prototype.getLocation = function() {
-  return this.document.location;
-};
-
-jasmine.TrivialReporter.prototype.specFilter = function(spec) {
-  var paramMap = {};
-  var params = this.getLocation().search.substring(1).split('&');
-  for (var i = 0; i < params.length; i++) {
-    var p = params[i].split('=');
-    paramMap[decodeURIComponent(p[0])] = decodeURIComponent(p[1]);
-  }
-
-  if (!paramMap.spec) {
-    return true;
-  }
-  return spec.getFullName().indexOf(paramMap.spec) === 0;
-};
diff --git a/deck.js/test/lib/jasmine-jquery.js b/deck.js/test/lib/jasmine-jquery.js
deleted file mode 100755 (executable)
index 4f7357d..0000000
+++ /dev/null
@@ -1,288 +0,0 @@
-var readFixtures = function() {
-  return jasmine.getFixtures().proxyCallTo_('read', arguments);
-};
-
-var preloadFixtures = function() {
-  jasmine.getFixtures().proxyCallTo_('preload', arguments);
-};
-
-var loadFixtures = function() {
-  jasmine.getFixtures().proxyCallTo_('load', arguments);
-};
-
-var setFixtures = function(html) {
-  jasmine.getFixtures().set(html);
-};
-
-var sandbox = function(attributes) {
-  return jasmine.getFixtures().sandbox(attributes);
-};
-
-var spyOnEvent = function(selector, eventName) {
-  jasmine.JQuery.events.spyOn(selector, eventName);
-}
-
-jasmine.getFixtures = function() {
-  return jasmine.currentFixtures_ = jasmine.currentFixtures_ || new jasmine.Fixtures();
-};
-
-jasmine.Fixtures = function() {
-  this.containerId = 'jasmine-fixtures';
-  this.fixturesCache_ = {};
-  this.fixturesPath = 'spec/javascripts/fixtures';
-};
-
-jasmine.Fixtures.prototype.set = function(html) {
-  this.cleanUp();
-  this.createContainer_(html);
-};
-
-jasmine.Fixtures.prototype.preload = function() {
-  this.read.apply(this, arguments);
-};
-
-jasmine.Fixtures.prototype.load = function() {
-  this.cleanUp();
-  this.createContainer_(this.read.apply(this, arguments));
-};
-
-jasmine.Fixtures.prototype.read = function() {
-  var htmlChunks = [];
-
-  var fixtureUrls = arguments;
-  for(var urlCount = fixtureUrls.length, urlIndex = 0; urlIndex < urlCount; urlIndex++) {
-    htmlChunks.push(this.getFixtureHtml_(fixtureUrls[urlIndex]));
-  }
-
-  return htmlChunks.join('');
-};
-
-jasmine.Fixtures.prototype.clearCache = function() {
-  this.fixturesCache_ = {};
-};
-
-jasmine.Fixtures.prototype.cleanUp = function() {
-  jQuery('#' + this.containerId).remove();
-};
-
-jasmine.Fixtures.prototype.sandbox = function(attributes) {
-  var attributesToSet = attributes || {};
-  return jQuery('<div id="sandbox" />').attr(attributesToSet);
-};
-
-jasmine.Fixtures.prototype.createContainer_ = function(html) {
-  var container;
-  if(html instanceof jQuery) {
-    container = jQuery('<div id="' + this.containerId + '" />');
-    container.html(html);
-  } else {
-    container = '<div id="' + this.containerId + '">' + html + '</div>'
-  }
-  jQuery('body').append(container);
-};
-
-jasmine.Fixtures.prototype.getFixtureHtml_ = function(url) {  
-  if (typeof this.fixturesCache_[url] == 'undefined') {
-    this.loadFixtureIntoCache_(url);
-  }
-  return this.fixturesCache_[url];
-};
-
-jasmine.Fixtures.prototype.loadFixtureIntoCache_ = function(relativeUrl) {
-  var self = this;
-  var url = this.fixturesPath.match('/$') ? this.fixturesPath + relativeUrl : this.fixturesPath + '/' + relativeUrl;
-  jQuery.ajax({
-    async: false, // must be synchronous to guarantee that no tests are run before fixture is loaded
-    cache: false,
-    dataType: 'html',
-    url: url,
-    success: function(data) {
-      self.fixturesCache_[relativeUrl] = data;
-    },
-    error: function(jqXHR, status, errorThrown) {
-        throw Error('Fixture could not be loaded: ' + url + ' (status: ' + status + ', message: ' + errorThrown.message + ')');
-    }
-  });
-};
-
-jasmine.Fixtures.prototype.proxyCallTo_ = function(methodName, passedArguments) {
-  return this[methodName].apply(this, passedArguments);
-};
-
-
-jasmine.JQuery = function() {};
-
-jasmine.JQuery.browserTagCaseIndependentHtml = function(html) {
-  return jQuery('<div/>').append(html).html();
-};
-
-jasmine.JQuery.elementToString = function(element) {
-  return jQuery('<div />').append(element.clone()).html();
-};
-
-jasmine.JQuery.matchersClass = {};
-
-(function(namespace) {
-  var data = {
-    spiedEvents: {},
-    handlers:    []
-  };
-
-  namespace.events = {
-    spyOn: function(selector, eventName) {
-      var handler = function(e) {
-        data.spiedEvents[[selector, eventName]] = e;
-      };
-      jQuery(selector).bind(eventName, handler);
-      data.handlers.push(handler);
-    },
-
-    wasTriggered: function(selector, eventName) {
-      return !!(data.spiedEvents[[selector, eventName]]);
-    },
-
-    cleanUp: function() {
-      data.spiedEvents = {};
-      data.handlers    = [];
-    }
-  }
-})(jasmine.JQuery);
-
-(function(){
-  var jQueryMatchers = {
-    toHaveClass: function(className) {
-      return this.actual.hasClass(className);
-    },
-
-    toBeVisible: function() {
-      return this.actual.is(':visible');
-    },
-
-    toBeHidden: function() {
-      return this.actual.is(':hidden');
-    },
-
-    toBeSelected: function() {
-      return this.actual.is(':selected');
-    },
-
-    toBeChecked: function() {
-      return this.actual.is(':checked');
-    },
-
-    toBeEmpty: function() {
-      return this.actual.is(':empty');
-    },
-
-    toExist: function() {
-      return this.actual.size() > 0;
-    },
-
-    toHaveAttr: function(attributeName, expectedAttributeValue) {
-      return hasProperty(this.actual.attr(attributeName), expectedAttributeValue);
-    },
-
-    toHaveId: function(id) {
-      return this.actual.attr('id') == id;
-    },
-
-    toHaveHtml: function(html) {
-      return this.actual.html() == jasmine.JQuery.browserTagCaseIndependentHtml(html);
-    },
-
-    toHaveText: function(text) {
-      if (text && jQuery.isFunction(text.test)) {
-        return text.test(this.actual.text());
-      } else {
-        return this.actual.text() == text;
-      }
-    },
-
-    toHaveValue: function(value) {
-      return this.actual.val() == value;
-    },
-
-    toHaveData: function(key, expectedValue) {
-      return hasProperty(this.actual.data(key), expectedValue);
-    },
-
-    toBe: function(selector) {
-      return this.actual.is(selector);
-    },
-
-    toContain: function(selector) {
-      return this.actual.find(selector).size() > 0;
-    },
-
-    toBeDisabled: function(selector){
-      return this.actual.is(':disabled');
-    },
-
-    // tests the existence of a specific event binding
-    toHandle: function(eventName) {
-      var events = this.actual.data("events");
-      return events && events[eventName].length > 0;
-    },
-    
-    // tests the existence of a specific event binding + handler
-    toHandleWith: function(eventName, eventHandler) {
-      var stack = this.actual.data("events")[eventName];
-      var i;
-      for (i = 0; i < stack.length; i++) {
-        if (stack[i].handler == eventHandler) {
-          return true;
-        }
-      }
-      return false;
-    }
-  };
-
-  var hasProperty = function(actualValue, expectedValue) {
-    if (expectedValue === undefined) {
-      return actualValue !== undefined;
-    }
-    return actualValue == expectedValue;
-  };
-
-  var bindMatcher = function(methodName) {
-    var builtInMatcher = jasmine.Matchers.prototype[methodName];
-
-    jasmine.JQuery.matchersClass[methodName] = function() {
-      if (this.actual instanceof jQuery) {
-        var result = jQueryMatchers[methodName].apply(this, arguments);
-        this.actual = jasmine.JQuery.elementToString(this.actual);
-        return result;
-      }
-
-      if (builtInMatcher) {
-        return builtInMatcher.apply(this, arguments);
-      }
-
-      return false;
-    };
-  };
-
-  for(var methodName in jQueryMatchers) {
-    bindMatcher(methodName);
-  }
-})();
-
-beforeEach(function() {
-  this.addMatchers(jasmine.JQuery.matchersClass);
-  this.addMatchers({
-    toHaveBeenTriggeredOn: function(selector) {
-      this.message = function() {
-        return [
-          "Expected event " + this.actual + " to have been triggered on" + selector,
-          "Expected event " + this.actual + " not to have been triggered on" + selector
-        ];
-      };
-      return jasmine.JQuery.events.wasTriggered(selector, this.actual);
-    }
-  })
-});
-
-afterEach(function() {
-  jasmine.getFixtures().cleanUp();
-  jasmine.JQuery.events.cleanUp();
-});
diff --git a/deck.js/test/lib/jasmine.css b/deck.js/test/lib/jasmine.css
deleted file mode 100755 (executable)
index 6583fe7..0000000
+++ /dev/null
@@ -1,166 +0,0 @@
-body {
-  font-family: "Helvetica Neue Light", "Lucida Grande", "Calibri", "Arial", sans-serif;
-}
-
-
-.jasmine_reporter a:visited, .jasmine_reporter a {
-  color: #303; 
-}
-
-.jasmine_reporter a:hover, .jasmine_reporter a:active {
-  color: blue; 
-}
-
-.run_spec {
-  float:right;
-  padding-right: 5px;
-  font-size: .8em;
-  text-decoration: none;
-}
-
-.jasmine_reporter {
-  margin: 0 5px;
-}
-
-.banner {
-  color: #303;
-  background-color: #fef;
-  padding: 5px;
-}
-
-.logo {
-  float: left;
-  font-size: 1.1em;
-  padding-left: 5px;
-}
-
-.logo .version {
-  font-size: .6em;
-  padding-left: 1em;
-}
-
-.runner.running {
-  background-color: yellow;
-}
-
-
-.options {
-  text-align: right;
-  font-size: .8em;
-}
-
-
-
-
-.suite {
-  border: 1px outset gray;
-  margin: 5px 0;
-  padding-left: 1em;
-}
-
-.suite .suite {
-  margin: 5px; 
-}
-
-.suite.passed {
-  background-color: #dfd;
-}
-
-.suite.failed {
-  background-color: #fdd;
-}
-
-.spec {
-  margin: 5px;
-  padding-left: 1em;
-  clear: both;
-}
-
-.spec.failed, .spec.passed, .spec.skipped {
-  padding-bottom: 5px;
-  border: 1px solid gray;
-}
-
-.spec.failed {
-  background-color: #fbb;
-  border-color: red;
-}
-
-.spec.passed {
-  background-color: #bfb;
-  border-color: green;
-}
-
-.spec.skipped {
-  background-color: #bbb;
-}
-
-.messages {
-  border-left: 1px dashed gray;
-  padding-left: 1em;
-  padding-right: 1em;
-}
-
-.passed {
-  background-color: #cfc;
-  display: none;
-}
-
-.failed {
-  background-color: #fbb;
-}
-
-.skipped {
-  color: #777;
-  background-color: #eee;
-  display: none;
-}
-
-
-/*.resultMessage {*/
-  /*white-space: pre;*/
-/*}*/
-
-.resultMessage span.result {
-  display: block;
-  line-height: 2em;
-  color: black;
-}
-
-.resultMessage .mismatch {
-  color: black;
-}
-
-.stackTrace {
-  white-space: pre;
-  font-size: .8em;
-  margin-left: 10px;
-  max-height: 5em;
-  overflow: auto;
-  border: 1px inset red;
-  padding: 1em;
-  background: #eef;
-}
-
-.finished-at {
-  padding-left: 1em;
-  font-size: .6em;
-}
-
-.show-passed .passed,
-.show-skipped .skipped {
-  display: block;
-}
-
-
-#jasmine_content {
-  position:fixed;
-  right: 100%;
-}
-
-.runner {
-  border: 1px solid gray;
-  display: block;
-  margin: 5px 0;
-  padding: 2px 0 2px 10px;
-}
diff --git a/deck.js/test/lib/jasmine.js b/deck.js/test/lib/jasmine.js
deleted file mode 100755 (executable)
index e96e0a7..0000000
+++ /dev/null
@@ -1,2477 +0,0 @@
-var isCommonJS = typeof window == "undefined";
-
-/**
- * Top level namespace for Jasmine, a lightweight JavaScript BDD/spec/testing framework.
- *
- * @namespace
- */
-var jasmine = {};
-if (isCommonJS) exports.jasmine = jasmine;
-/**
- * @private
- */
-jasmine.unimplementedMethod_ = function() {
-  throw new Error("unimplemented method");
-};
-
-/**
- * Use <code>jasmine.undefined</code> instead of <code>undefined</code>, since <code>undefined</code> is just
- * a plain old variable and may be redefined by somebody else.
- *
- * @private
- */
-jasmine.undefined = jasmine.___undefined___;
-
-/**
- * Show diagnostic messages in the console if set to true
- *
- */
-jasmine.VERBOSE = false;
-
-/**
- * Default interval in milliseconds for event loop yields (e.g. to allow network activity or to refresh the screen with the HTML-based runner). Small values here may result in slow test running. Zero means no updates until all tests have completed.
- *
- */
-jasmine.DEFAULT_UPDATE_INTERVAL = 250;
-
-/**
- * Default timeout interval in milliseconds for waitsFor() blocks.
- */
-jasmine.DEFAULT_TIMEOUT_INTERVAL = 5000;
-
-jasmine.getGlobal = function() {
-  function getGlobal() {
-    return this;
-  }
-
-  return getGlobal();
-};
-
-/**
- * Allows for bound functions to be compared.  Internal use only.
- *
- * @ignore
- * @private
- * @param base {Object} bound 'this' for the function
- * @param name {Function} function to find
- */
-jasmine.bindOriginal_ = function(base, name) {
-  var original = base[name];
-  if (original.apply) {
-    return function() {
-      return original.apply(base, arguments);
-    };
-  } else {
-    // IE support
-    return jasmine.getGlobal()[name];
-  }
-};
-
-jasmine.setTimeout = jasmine.bindOriginal_(jasmine.getGlobal(), 'setTimeout');
-jasmine.clearTimeout = jasmine.bindOriginal_(jasmine.getGlobal(), 'clearTimeout');
-jasmine.setInterval = jasmine.bindOriginal_(jasmine.getGlobal(), 'setInterval');
-jasmine.clearInterval = jasmine.bindOriginal_(jasmine.getGlobal(), 'clearInterval');
-
-jasmine.MessageResult = function(values) {
-  this.type = 'log';
-  this.values = values;
-  this.trace = new Error(); // todo: test better
-};
-
-jasmine.MessageResult.prototype.toString = function() {
-  var text = "";
-  for (var i = 0; i < this.values.length; i++) {
-    if (i > 0) text += " ";
-    if (jasmine.isString_(this.values[i])) {
-      text += this.values[i];
-    } else {
-      text += jasmine.pp(this.values[i]);
-    }
-  }
-  return text;
-};
-
-jasmine.ExpectationResult = function(params) {
-  this.type = 'expect';
-  this.matcherName = params.matcherName;
-  this.passed_ = params.passed;
-  this.expected = params.expected;
-  this.actual = params.actual;
-  this.message = this.passed_ ? 'Passed.' : params.message;
-
-  var trace = (params.trace || new Error(this.message));
-  this.trace = this.passed_ ? '' : trace;
-};
-
-jasmine.ExpectationResult.prototype.toString = function () {
-  return this.message;
-};
-
-jasmine.ExpectationResult.prototype.passed = function () {
-  return this.passed_;
-};
-
-/**
- * Getter for the Jasmine environment. Ensures one gets created
- */
-jasmine.getEnv = function() {
-  var env = jasmine.currentEnv_ = jasmine.currentEnv_ || new jasmine.Env();
-  return env;
-};
-
-/**
- * @ignore
- * @private
- * @param value
- * @returns {Boolean}
- */
-jasmine.isArray_ = function(value) {
-  return jasmine.isA_("Array", value);
-};
-
-/**
- * @ignore
- * @private
- * @param value
- * @returns {Boolean}
- */
-jasmine.isString_ = function(value) {
-  return jasmine.isA_("String", value);
-};
-
-/**
- * @ignore
- * @private
- * @param value
- * @returns {Boolean}
- */
-jasmine.isNumber_ = function(value) {
-  return jasmine.isA_("Number", value);
-};
-
-/**
- * @ignore
- * @private
- * @param {String} typeName
- * @param value
- * @returns {Boolean}
- */
-jasmine.isA_ = function(typeName, value) {
-  return Object.prototype.toString.apply(value) === '[object ' + typeName + ']';
-};
-
-/**
- * Pretty printer for expecations.  Takes any object and turns it into a human-readable string.
- *
- * @param value {Object} an object to be outputted
- * @returns {String}
- */
-jasmine.pp = function(value) {
-  var stringPrettyPrinter = new jasmine.StringPrettyPrinter();
-  stringPrettyPrinter.format(value);
-  return stringPrettyPrinter.string;
-};
-
-/**
- * Returns true if the object is a DOM Node.
- *
- * @param {Object} obj object to check
- * @returns {Boolean}
- */
-jasmine.isDomNode = function(obj) {
-  return obj.nodeType > 0;
-};
-
-/**
- * Returns a matchable 'generic' object of the class type.  For use in expecations of type when values don't matter.
- *
- * @example
- * // don't care about which function is passed in, as long as it's a function
- * expect(mySpy).toHaveBeenCalledWith(jasmine.any(Function));
- *
- * @param {Class} clazz
- * @returns matchable object of the type clazz
- */
-jasmine.any = function(clazz) {
-  return new jasmine.Matchers.Any(clazz);
-};
-
-/**
- * Jasmine Spies are test doubles that can act as stubs, spies, fakes or when used in an expecation, mocks.
- *
- * Spies should be created in test setup, before expectations.  They can then be checked, using the standard Jasmine
- * expectation syntax. Spies can be checked if they were called or not and what the calling params were.
- *
- * A Spy has the following fields: wasCalled, callCount, mostRecentCall, and argsForCall (see docs).
- *
- * Spies are torn down at the end of every spec.
- *
- * Note: Do <b>not</b> call new jasmine.Spy() directly - a spy must be created using spyOn, jasmine.createSpy or jasmine.createSpyObj.
- *
- * @example
- * // a stub
- * var myStub = jasmine.createSpy('myStub');  // can be used anywhere
- *
- * // spy example
- * var foo = {
- *   not: function(bool) { return !bool; }
- * }
- *
- * // actual foo.not will not be called, execution stops
- * spyOn(foo, 'not');
-
- // foo.not spied upon, execution will continue to implementation
- * spyOn(foo, 'not').andCallThrough();
- *
- * // fake example
- * var foo = {
- *   not: function(bool) { return !bool; }
- * }
- *
- * // foo.not(val) will return val
- * spyOn(foo, 'not').andCallFake(function(value) {return value;});
- *
- * // mock example
- * foo.not(7 == 7);
- * expect(foo.not).toHaveBeenCalled();
- * expect(foo.not).toHaveBeenCalledWith(true);
- *
- * @constructor
- * @see spyOn, jasmine.createSpy, jasmine.createSpyObj
- * @param {String} name
- */
-jasmine.Spy = function(name) {
-  /**
-   * The name of the spy, if provided.
-   */
-  this.identity = name || 'unknown';
-  /**
-   *  Is this Object a spy?
-   */
-  this.isSpy = true;
-  /**
-   * The actual function this spy stubs.
-   */
-  this.plan = function() {
-  };
-  /**
-   * Tracking of the most recent call to the spy.
-   * @example
-   * var mySpy = jasmine.createSpy('foo');
-   * mySpy(1, 2);
-   * mySpy.mostRecentCall.args = [1, 2];
-   */
-  this.mostRecentCall = {};
-
-  /**
-   * Holds arguments for each call to the spy, indexed by call count
-   * @example
-   * var mySpy = jasmine.createSpy('foo');
-   * mySpy(1, 2);
-   * mySpy(7, 8);
-   * mySpy.mostRecentCall.args = [7, 8];
-   * mySpy.argsForCall[0] = [1, 2];
-   * mySpy.argsForCall[1] = [7, 8];
-   */
-  this.argsForCall = [];
-  this.calls = [];
-};
-
-/**
- * Tells a spy to call through to the actual implemenatation.
- *
- * @example
- * var foo = {
- *   bar: function() { // do some stuff }
- * }
- *
- * // defining a spy on an existing property: foo.bar
- * spyOn(foo, 'bar').andCallThrough();
- */
-jasmine.Spy.prototype.andCallThrough = function() {
-  this.plan = this.originalValue;
-  return this;
-};
-
-/**
- * For setting the return value of a spy.
- *
- * @example
- * // defining a spy from scratch: foo() returns 'baz'
- * var foo = jasmine.createSpy('spy on foo').andReturn('baz');
- *
- * // defining a spy on an existing property: foo.bar() returns 'baz'
- * spyOn(foo, 'bar').andReturn('baz');
- *
- * @param {Object} value
- */
-jasmine.Spy.prototype.andReturn = function(value) {
-  this.plan = function() {
-    return value;
-  };
-  return this;
-};
-
-/**
- * For throwing an exception when a spy is called.
- *
- * @example
- * // defining a spy from scratch: foo() throws an exception w/ message 'ouch'
- * var foo = jasmine.createSpy('spy on foo').andThrow('baz');
- *
- * // defining a spy on an existing property: foo.bar() throws an exception w/ message 'ouch'
- * spyOn(foo, 'bar').andThrow('baz');
- *
- * @param {String} exceptionMsg
- */
-jasmine.Spy.prototype.andThrow = function(exceptionMsg) {
-  this.plan = function() {
-    throw exceptionMsg;
-  };
-  return this;
-};
-
-/**
- * Calls an alternate implementation when a spy is called.
- *
- * @example
- * var baz = function() {
- *   // do some stuff, return something
- * }
- * // defining a spy from scratch: foo() calls the function baz
- * var foo = jasmine.createSpy('spy on foo').andCall(baz);
- *
- * // defining a spy on an existing property: foo.bar() calls an anonymnous function
- * spyOn(foo, 'bar').andCall(function() { return 'baz';} );
- *
- * @param {Function} fakeFunc
- */
-jasmine.Spy.prototype.andCallFake = function(fakeFunc) {
-  this.plan = fakeFunc;
-  return this;
-};
-
-/**
- * Resets all of a spy's the tracking variables so that it can be used again.
- *
- * @example
- * spyOn(foo, 'bar');
- *
- * foo.bar();
- *
- * expect(foo.bar.callCount).toEqual(1);
- *
- * foo.bar.reset();
- *
- * expect(foo.bar.callCount).toEqual(0);
- */
-jasmine.Spy.prototype.reset = function() {
-  this.wasCalled = false;
-  this.callCount = 0;
-  this.argsForCall = [];
-  this.calls = [];
-  this.mostRecentCall = {};
-};
-
-jasmine.createSpy = function(name) {
-
-  var spyObj = function() {
-    spyObj.wasCalled = true;
-    spyObj.callCount++;
-    var args = jasmine.util.argsToArray(arguments);
-    spyObj.mostRecentCall.object = this;
-    spyObj.mostRecentCall.args = args;
-    spyObj.argsForCall.push(args);
-    spyObj.calls.push({object: this, args: args});
-    return spyObj.plan.apply(this, arguments);
-  };
-
-  var spy = new jasmine.Spy(name);
-
-  for (var prop in spy) {
-    spyObj[prop] = spy[prop];
-  }
-
-  spyObj.reset();
-
-  return spyObj;
-};
-
-/**
- * Determines whether an object is a spy.
- *
- * @param {jasmine.Spy|Object} putativeSpy
- * @returns {Boolean}
- */
-jasmine.isSpy = function(putativeSpy) {
-  return putativeSpy && putativeSpy.isSpy;
-};
-
-/**
- * Creates a more complicated spy: an Object that has every property a function that is a spy.  Used for stubbing something
- * large in one call.
- *
- * @param {String} baseName name of spy class
- * @param {Array} methodNames array of names of methods to make spies
- */
-jasmine.createSpyObj = function(baseName, methodNames) {
-  if (!jasmine.isArray_(methodNames) || methodNames.length === 0) {
-    throw new Error('createSpyObj requires a non-empty array of method names to create spies for');
-  }
-  var obj = {};
-  for (var i = 0; i < methodNames.length; i++) {
-    obj[methodNames[i]] = jasmine.createSpy(baseName + '.' + methodNames[i]);
-  }
-  return obj;
-};
-
-/**
- * All parameters are pretty-printed and concatenated together, then written to the current spec's output.
- *
- * Be careful not to leave calls to <code>jasmine.log</code> in production code.
- */
-jasmine.log = function() {
-  var spec = jasmine.getEnv().currentSpec;
-  spec.log.apply(spec, arguments);
-};
-
-/**
- * Function that installs a spy on an existing object's method name.  Used within a Spec to create a spy.
- *
- * @example
- * // spy example
- * var foo = {
- *   not: function(bool) { return !bool; }
- * }
- * spyOn(foo, 'not'); // actual foo.not will not be called, execution stops
- *
- * @see jasmine.createSpy
- * @param obj
- * @param methodName
- * @returns a Jasmine spy that can be chained with all spy methods
- */
-var spyOn = function(obj, methodName) {
-  return jasmine.getEnv().currentSpec.spyOn(obj, methodName);
-};
-if (isCommonJS) exports.spyOn = spyOn;
-
-/**
- * Creates a Jasmine spec that will be added to the current suite.
- *
- * // TODO: pending tests
- *
- * @example
- * it('should be true', function() {
- *   expect(true).toEqual(true);
- * });
- *
- * @param {String} desc description of this specification
- * @param {Function} func defines the preconditions and expectations of the spec
- */
-var it = function(desc, func) {
-  return jasmine.getEnv().it(desc, func);
-};
-if (isCommonJS) exports.it = it;
-
-/**
- * Creates a <em>disabled</em> Jasmine spec.
- *
- * A convenience method that allows existing specs to be disabled temporarily during development.
- *
- * @param {String} desc description of this specification
- * @param {Function} func defines the preconditions and expectations of the spec
- */
-var xit = function(desc, func) {
-  return jasmine.getEnv().xit(desc, func);
-};
-if (isCommonJS) exports.xit = xit;
-
-/**
- * Starts a chain for a Jasmine expectation.
- *
- * It is passed an Object that is the actual value and should chain to one of the many
- * jasmine.Matchers functions.
- *
- * @param {Object} actual Actual value to test against and expected value
- */
-var expect = function(actual) {
-  return jasmine.getEnv().currentSpec.expect(actual);
-};
-if (isCommonJS) exports.expect = expect;
-
-/**
- * Defines part of a jasmine spec.  Used in cominbination with waits or waitsFor in asynchrnous specs.
- *
- * @param {Function} func Function that defines part of a jasmine spec.
- */
-var runs = function(func) {
-  jasmine.getEnv().currentSpec.runs(func);
-};
-if (isCommonJS) exports.runs = runs;
-
-/**
- * Waits a fixed time period before moving to the next block.
- *
- * @deprecated Use waitsFor() instead
- * @param {Number} timeout milliseconds to wait
- */
-var waits = function(timeout) {
-  jasmine.getEnv().currentSpec.waits(timeout);
-};
-if (isCommonJS) exports.waits = waits;
-
-/**
- * Waits for the latchFunction to return true before proceeding to the next block.
- *
- * @param {Function} latchFunction
- * @param {String} optional_timeoutMessage
- * @param {Number} optional_timeout
- */
-var waitsFor = function(latchFunction, optional_timeoutMessage, optional_timeout) {
-  jasmine.getEnv().currentSpec.waitsFor.apply(jasmine.getEnv().currentSpec, arguments);
-};
-if (isCommonJS) exports.waitsFor = waitsFor;
-
-/**
- * A function that is called before each spec in a suite.
- *
- * Used for spec setup, including validating assumptions.
- *
- * @param {Function} beforeEachFunction
- */
-var beforeEach = function(beforeEachFunction) {
-  jasmine.getEnv().beforeEach(beforeEachFunction);
-};
-if (isCommonJS) exports.beforeEach = beforeEach;
-
-/**
- * A function that is called after each spec in a suite.
- *
- * Used for restoring any state that is hijacked during spec execution.
- *
- * @param {Function} afterEachFunction
- */
-var afterEach = function(afterEachFunction) {
-  jasmine.getEnv().afterEach(afterEachFunction);
-};
-if (isCommonJS) exports.afterEach = afterEach;
-
-/**
- * Defines a suite of specifications.
- *
- * Stores the description and all defined specs in the Jasmine environment as one suite of specs. Variables declared
- * are accessible by calls to beforeEach, it, and afterEach. Describe blocks can be nested, allowing for specialization
- * of setup in some tests.
- *
- * @example
- * // TODO: a simple suite
- *
- * // TODO: a simple suite with a nested describe block
- *
- * @param {String} description A string, usually the class under test.
- * @param {Function} specDefinitions function that defines several specs.
- */
-var describe = function(description, specDefinitions) {
-  return jasmine.getEnv().describe(description, specDefinitions);
-};
-if (isCommonJS) exports.describe = describe;
-
-/**
- * Disables a suite of specifications.  Used to disable some suites in a file, or files, temporarily during development.
- *
- * @param {String} description A string, usually the class under test.
- * @param {Function} specDefinitions function that defines several specs.
- */
-var xdescribe = function(description, specDefinitions) {
-  return jasmine.getEnv().xdescribe(description, specDefinitions);
-};
-if (isCommonJS) exports.xdescribe = xdescribe;
-
-
-// Provide the XMLHttpRequest class for IE 5.x-6.x:
-jasmine.XmlHttpRequest = (typeof XMLHttpRequest == "undefined") ? function() {
-  function tryIt(f) {
-    try {
-      return f();
-    } catch(e) {
-    }
-    return null;
-  }
-
-  var xhr = tryIt(function() {
-    return new ActiveXObject("Msxml2.XMLHTTP.6.0");
-  }) ||
-    tryIt(function() {
-      return new ActiveXObject("Msxml2.XMLHTTP.3.0");
-    }) ||
-    tryIt(function() {
-      return new ActiveXObject("Msxml2.XMLHTTP");
-    }) ||
-    tryIt(function() {
-      return new ActiveXObject("Microsoft.XMLHTTP");
-    });
-
-  if (!xhr) throw new Error("This browser does not support XMLHttpRequest.");
-
-  return xhr;
-} : XMLHttpRequest;
-/**
- * @namespace
- */
-jasmine.util = {};
-
-/**
- * Declare that a child class inherit it's prototype from the parent class.
- *
- * @private
- * @param {Function} childClass
- * @param {Function} parentClass
- */
-jasmine.util.inherit = function(childClass, parentClass) {
-  /**
-   * @private
-   */
-  var subclass = function() {
-  };
-  subclass.prototype = parentClass.prototype;
-  childClass.prototype = new subclass();
-};
-
-jasmine.util.formatException = function(e) {
-  var lineNumber;
-  if (e.line) {
-    lineNumber = e.line;
-  }
-  else if (e.lineNumber) {
-    lineNumber = e.lineNumber;
-  }
-
-  var file;
-
-  if (e.sourceURL) {
-    file = e.sourceURL;
-  }
-  else if (e.fileName) {
-    file = e.fileName;
-  }
-
-  var message = (e.name && e.message) ? (e.name + ': ' + e.message) : e.toString();
-
-  if (file && lineNumber) {
-    message += ' in ' + file + ' (line ' + lineNumber + ')';
-  }
-
-  return message;
-};
-
-jasmine.util.htmlEscape = function(str) {
-  if (!str) return str;
-  return str.replace(/&/g, '&amp;')
-    .replace(/</g, '&lt;')
-    .replace(/>/g, '&gt;');
-};
-
-jasmine.util.argsToArray = function(args) {
-  var arrayOfArgs = [];
-  for (var i = 0; i < args.length; i++) arrayOfArgs.push(args[i]);
-  return arrayOfArgs;
-};
-
-jasmine.util.extend = function(destination, source) {
-  for (var property in source) destination[property] = source[property];
-  return destination;
-};
-
-/**
- * Environment for Jasmine
- *
- * @constructor
- */
-jasmine.Env = function() {
-  this.currentSpec = null;
-  this.currentSuite = null;
-  this.currentRunner_ = new jasmine.Runner(this);
-
-  this.reporter = new jasmine.MultiReporter();
-
-  this.updateInterval = jasmine.DEFAULT_UPDATE_INTERVAL;
-  this.defaultTimeoutInterval = jasmine.DEFAULT_TIMEOUT_INTERVAL;
-  this.lastUpdate = 0;
-  this.specFilter = function() {
-    return true;
-  };
-
-  this.nextSpecId_ = 0;
-  this.nextSuiteId_ = 0;
-  this.equalityTesters_ = [];
-
-  // wrap matchers
-  this.matchersClass = function() {
-    jasmine.Matchers.apply(this, arguments);
-  };
-  jasmine.util.inherit(this.matchersClass, jasmine.Matchers);
-
-  jasmine.Matchers.wrapInto_(jasmine.Matchers.prototype, this.matchersClass);
-};
-
-
-jasmine.Env.prototype.setTimeout = jasmine.setTimeout;
-jasmine.Env.prototype.clearTimeout = jasmine.clearTimeout;
-jasmine.Env.prototype.setInterval = jasmine.setInterval;
-jasmine.Env.prototype.clearInterval = jasmine.clearInterval;
-
-/**
- * @returns an object containing jasmine version build info, if set.
- */
-jasmine.Env.prototype.version = function () {
-  if (jasmine.version_) {
-    return jasmine.version_;
-  } else {
-    throw new Error('Version not set');
-  }
-};
-
-/**
- * @returns string containing jasmine version build info, if set.
- */
-jasmine.Env.prototype.versionString = function() {
-  if (!jasmine.version_) {
-    return "version unknown";
-  }
-
-  var version = this.version();
-  var versionString = version.major + "." + version.minor + "." + version.build;
-  if (version.release_candidate) {
-    versionString += ".rc" + version.release_candidate
-  }
-  versionString += " revision " + version.revision;
-  return versionString;
-};
-
-/**
- * @returns a sequential integer starting at 0
- */
-jasmine.Env.prototype.nextSpecId = function () {
-  return this.nextSpecId_++;
-};
-
-/**
- * @returns a sequential integer starting at 0
- */
-jasmine.Env.prototype.nextSuiteId = function () {
-  return this.nextSuiteId_++;
-};
-
-/**
- * Register a reporter to receive status updates from Jasmine.
- * @param {jasmine.Reporter} reporter An object which will receive status updates.
- */
-jasmine.Env.prototype.addReporter = function(reporter) {
-  this.reporter.addReporter(reporter);
-};
-
-jasmine.Env.prototype.execute = function() {
-  this.currentRunner_.execute();
-};
-
-jasmine.Env.prototype.describe = function(description, specDefinitions) {
-  var suite = new jasmine.Suite(this, description, specDefinitions, this.currentSuite);
-
-  var parentSuite = this.currentSuite;
-  if (parentSuite) {
-    parentSuite.add(suite);
-  } else {
-    this.currentRunner_.add(suite);
-  }
-
-  this.currentSuite = suite;
-
-  var declarationError = null;
-  try {
-    specDefinitions.call(suite);
-  } catch(e) {
-    declarationError = e;
-  }
-
-  if (declarationError) {
-    this.it("encountered a declaration exception", function() {
-      throw declarationError;
-    });
-  }
-
-  this.currentSuite = parentSuite;
-
-  return suite;
-};
-
-jasmine.Env.prototype.beforeEach = function(beforeEachFunction) {
-  if (this.currentSuite) {
-    this.currentSuite.beforeEach(beforeEachFunction);
-  } else {
-    this.currentRunner_.beforeEach(beforeEachFunction);
-  }
-};
-
-jasmine.Env.prototype.currentRunner = function () {
-  return this.currentRunner_;
-};
-
-jasmine.Env.prototype.afterEach = function(afterEachFunction) {
-  if (this.currentSuite) {
-    this.currentSuite.afterEach(afterEachFunction);
-  } else {
-    this.currentRunner_.afterEach(afterEachFunction);
-  }
-
-};
-
-jasmine.Env.prototype.xdescribe = function(desc, specDefinitions) {
-  return {
-    execute: function() {
-    }
-  };
-};
-
-jasmine.Env.prototype.it = function(description, func) {
-  var spec = new jasmine.Spec(this, this.currentSuite, description);
-  this.currentSuite.add(spec);
-  this.currentSpec = spec;
-
-  if (func) {
-    spec.runs(func);
-  }
-
-  return spec;
-};
-
-jasmine.Env.prototype.xit = function(desc, func) {
-  return {
-    id: this.nextSpecId(),
-    runs: function() {
-    }
-  };
-};
-
-jasmine.Env.prototype.compareObjects_ = function(a, b, mismatchKeys, mismatchValues) {
-  if (a.__Jasmine_been_here_before__ === b && b.__Jasmine_been_here_before__ === a) {
-    return true;
-  }
-
-  a.__Jasmine_been_here_before__ = b;
-  b.__Jasmine_been_here_before__ = a;
-
-  var hasKey = function(obj, keyName) {
-    return obj !== null && obj[keyName] !== jasmine.undefined;
-  };
-
-  for (var property in b) {
-    if (!hasKey(a, property) && hasKey(b, property)) {
-      mismatchKeys.push("expected has key '" + property + "', but missing from actual.");
-    }
-  }
-  for (property in a) {
-    if (!hasKey(b, property) && hasKey(a, property)) {
-      mismatchKeys.push("expected missing key '" + property + "', but present in actual.");
-    }
-  }
-  for (property in b) {
-    if (property == '__Jasmine_been_here_before__') continue;
-    if (!this.equals_(a[property], b[property], mismatchKeys, mismatchValues)) {
-      mismatchValues.push("'" + property + "' was '" + (b[property] ? jasmine.util.htmlEscape(b[property].toString()) : b[property]) + "' in expected, but was '" + (a[property] ? jasmine.util.htmlEscape(a[property].toString()) : a[property]) + "' in actual.");
-    }
-  }
-
-  if (jasmine.isArray_(a) && jasmine.isArray_(b) && a.length != b.length) {
-    mismatchValues.push("arrays were not the same length");
-  }
-
-  delete a.__Jasmine_been_here_before__;
-  delete b.__Jasmine_been_here_before__;
-  return (mismatchKeys.length === 0 && mismatchValues.length === 0);
-};
-
-jasmine.Env.prototype.equals_ = function(a, b, mismatchKeys, mismatchValues) {
-  mismatchKeys = mismatchKeys || [];
-  mismatchValues = mismatchValues || [];
-
-  for (var i = 0; i < this.equalityTesters_.length; i++) {
-    var equalityTester = this.equalityTesters_[i];
-    var result = equalityTester(a, b, this, mismatchKeys, mismatchValues);
-    if (result !== jasmine.undefined) return result;
-  }
-
-  if (a === b) return true;
-
-  if (a === jasmine.undefined || a === null || b === jasmine.undefined || b === null) {
-    return (a == jasmine.undefined && b == jasmine.undefined);
-  }
-
-  if (jasmine.isDomNode(a) && jasmine.isDomNode(b)) {
-    return a === b;
-  }
-
-  if (a instanceof Date && b instanceof Date) {
-    return a.getTime() == b.getTime();
-  }
-
-  if (a instanceof jasmine.Matchers.Any) {
-    return a.matches(b);
-  }
-
-  if (b instanceof jasmine.Matchers.Any) {
-    return b.matches(a);
-  }
-
-  if (jasmine.isString_(a) && jasmine.isString_(b)) {
-    return (a == b);
-  }
-
-  if (jasmine.isNumber_(a) && jasmine.isNumber_(b)) {
-    return (a == b);
-  }
-
-  if (typeof a === "object" && typeof b === "object") {
-    return this.compareObjects_(a, b, mismatchKeys, mismatchValues);
-  }
-
-  //Straight check
-  return (a === b);
-};
-
-jasmine.Env.prototype.contains_ = function(haystack, needle) {
-  if (jasmine.isArray_(haystack)) {
-    for (var i = 0; i < haystack.length; i++) {
-      if (this.equals_(haystack[i], needle)) return true;
-    }
-    return false;
-  }
-  return haystack.indexOf(needle) >= 0;
-};
-
-jasmine.Env.prototype.addEqualityTester = function(equalityTester) {
-  this.equalityTesters_.push(equalityTester);
-};
-/** No-op base class for Jasmine reporters.
- *
- * @constructor
- */
-jasmine.Reporter = function() {
-};
-
-//noinspection JSUnusedLocalSymbols
-jasmine.Reporter.prototype.reportRunnerStarting = function(runner) {
-};
-
-//noinspection JSUnusedLocalSymbols
-jasmine.Reporter.prototype.reportRunnerResults = function(runner) {
-};
-
-//noinspection JSUnusedLocalSymbols
-jasmine.Reporter.prototype.reportSuiteResults = function(suite) {
-};
-
-//noinspection JSUnusedLocalSymbols
-jasmine.Reporter.prototype.reportSpecStarting = function(spec) {
-};
-
-//noinspection JSUnusedLocalSymbols
-jasmine.Reporter.prototype.reportSpecResults = function(spec) {
-};
-
-//noinspection JSUnusedLocalSymbols
-jasmine.Reporter.prototype.log = function(str) {
-};
-
-/**
- * Blocks are functions with executable code that make up a spec.
- *
- * @constructor
- * @param {jasmine.Env} env
- * @param {Function} func
- * @param {jasmine.Spec} spec
- */
-jasmine.Block = function(env, func, spec) {
-  this.env = env;
-  this.func = func;
-  this.spec = spec;
-};
-
-jasmine.Block.prototype.execute = function(onComplete) {  
-  try {
-    this.func.apply(this.spec);
-  } catch (e) {
-    this.spec.fail(e);
-  }
-  onComplete();
-};
-/** JavaScript API reporter.
- *
- * @constructor
- */
-jasmine.JsApiReporter = function() {
-  this.started = false;
-  this.finished = false;
-  this.suites_ = [];
-  this.results_ = {};
-};
-
-jasmine.JsApiReporter.prototype.reportRunnerStarting = function(runner) {
-  this.started = true;
-  var suites = runner.topLevelSuites();
-  for (var i = 0; i < suites.length; i++) {
-    var suite = suites[i];
-    this.suites_.push(this.summarize_(suite));
-  }
-};
-
-jasmine.JsApiReporter.prototype.suites = function() {
-  return this.suites_;
-};
-
-jasmine.JsApiReporter.prototype.summarize_ = function(suiteOrSpec) {
-  var isSuite = suiteOrSpec instanceof jasmine.Suite;
-  var summary = {
-    id: suiteOrSpec.id,
-    name: suiteOrSpec.description,
-    type: isSuite ? 'suite' : 'spec',
-    children: []
-  };
-  
-  if (isSuite) {
-    var children = suiteOrSpec.children();
-    for (var i = 0; i < children.length; i++) {
-      summary.children.push(this.summarize_(children[i]));
-    }
-  }
-  return summary;
-};
-
-jasmine.JsApiReporter.prototype.results = function() {
-  return this.results_;
-};
-
-jasmine.JsApiReporter.prototype.resultsForSpec = function(specId) {
-  return this.results_[specId];
-};
-
-//noinspection JSUnusedLocalSymbols
-jasmine.JsApiReporter.prototype.reportRunnerResults = function(runner) {
-  this.finished = true;
-};
-
-//noinspection JSUnusedLocalSymbols
-jasmine.JsApiReporter.prototype.reportSuiteResults = function(suite) {
-};
-
-//noinspection JSUnusedLocalSymbols
-jasmine.JsApiReporter.prototype.reportSpecResults = function(spec) {
-  this.results_[spec.id] = {
-    messages: spec.results().getItems(),
-    result: spec.results().failedCount > 0 ? "failed" : "passed"
-  };
-};
-
-//noinspection JSUnusedLocalSymbols
-jasmine.JsApiReporter.prototype.log = function(str) {
-};
-
-jasmine.JsApiReporter.prototype.resultsForSpecs = function(specIds){
-  var results = {};
-  for (var i = 0; i < specIds.length; i++) {
-    var specId = specIds[i];
-    results[specId] = this.summarizeResult_(this.results_[specId]);
-  }
-  return results;
-};
-
-jasmine.JsApiReporter.prototype.summarizeResult_ = function(result){
-  var summaryMessages = [];
-  var messagesLength = result.messages.length;
-  for (var messageIndex = 0; messageIndex < messagesLength; messageIndex++) {
-    var resultMessage = result.messages[messageIndex];
-    summaryMessages.push({
-      text: resultMessage.type == 'log' ? resultMessage.toString() : jasmine.undefined,
-      passed: resultMessage.passed ? resultMessage.passed() : true,
-      type: resultMessage.type,
-      message: resultMessage.message,
-      trace: {
-        stack: resultMessage.passed && !resultMessage.passed() ? resultMessage.trace.stack : jasmine.undefined
-      }
-    });
-  }
-
-  return {
-    result : result.result,
-    messages : summaryMessages
-  };
-};
-
-/**
- * @constructor
- * @param {jasmine.Env} env
- * @param actual
- * @param {jasmine.Spec} spec
- */
-jasmine.Matchers = function(env, actual, spec, opt_isNot) {
-  this.env = env;
-  this.actual = actual;
-  this.spec = spec;
-  this.isNot = opt_isNot || false;
-  this.reportWasCalled_ = false;
-};
-
-// todo: @deprecated as of Jasmine 0.11, remove soon [xw]
-jasmine.Matchers.pp = function(str) {
-  throw new Error("jasmine.Matchers.pp() is no longer supported, please use jasmine.pp() instead!");
-};
-
-// todo: @deprecated Deprecated as of Jasmine 0.10. Rewrite your custom matchers to return true or false. [xw]
-jasmine.Matchers.prototype.report = function(result, failing_message, details) {
-  throw new Error("As of jasmine 0.11, custom matchers must be implemented differently -- please see jasmine docs");
-};
-
-jasmine.Matchers.wrapInto_ = function(prototype, matchersClass) {
-  for (var methodName in prototype) {
-    if (methodName == 'report') continue;
-    var orig = prototype[methodName];
-    matchersClass.prototype[methodName] = jasmine.Matchers.matcherFn_(methodName, orig);
-  }
-};
-
-jasmine.Matchers.matcherFn_ = function(matcherName, matcherFunction) {
-  return function() {
-    var matcherArgs = jasmine.util.argsToArray(arguments);
-    var result = matcherFunction.apply(this, arguments);
-
-    if (this.isNot) {
-      result = !result;
-    }
-
-    if (this.reportWasCalled_) return result;
-
-    var message;
-    if (!result) {
-      if (this.message) {
-        message = this.message.apply(this, arguments);
-        if (jasmine.isArray_(message)) {
-          message = message[this.isNot ? 1 : 0];
-        }
-      } else {
-        var englishyPredicate = matcherName.replace(/[A-Z]/g, function(s) { return ' ' + s.toLowerCase(); });
-        message = "Expected " + jasmine.pp(this.actual) + (this.isNot ? " not " : " ") + englishyPredicate;
-        if (matcherArgs.length > 0) {
-          for (var i = 0; i < matcherArgs.length; i++) {
-            if (i > 0) message += ",";
-            message += " " + jasmine.pp(matcherArgs[i]);
-          }
-        }
-        message += ".";
-      }
-    }
-    var expectationResult = new jasmine.ExpectationResult({
-      matcherName: matcherName,
-      passed: result,
-      expected: matcherArgs.length > 1 ? matcherArgs : matcherArgs[0],
-      actual: this.actual,
-      message: message
-    });
-    this.spec.addMatcherResult(expectationResult);
-    return jasmine.undefined;
-  };
-};
-
-
-
-
-/**
- * toBe: compares the actual to the expected using ===
- * @param expected
- */
-jasmine.Matchers.prototype.toBe = function(expected) {
-  return this.actual === expected;
-};
-
-/**
- * toNotBe: compares the actual to the expected using !==
- * @param expected
- * @deprecated as of 1.0. Use not.toBe() instead.
- */
-jasmine.Matchers.prototype.toNotBe = function(expected) {
-  return this.actual !== expected;
-};
-
-/**
- * toEqual: compares the actual to the expected using common sense equality. Handles Objects, Arrays, etc.
- *
- * @param expected
- */
-jasmine.Matchers.prototype.toEqual = function(expected) {
-  return this.env.equals_(this.actual, expected);
-};
-
-/**
- * toNotEqual: compares the actual to the expected using the ! of jasmine.Matchers.toEqual
- * @param expected
- * @deprecated as of 1.0. Use not.toNotEqual() instead.
- */
-jasmine.Matchers.prototype.toNotEqual = function(expected) {
-  return !this.env.equals_(this.actual, expected);
-};
-
-/**
- * Matcher that compares the actual to the expected using a regular expression.  Constructs a RegExp, so takes
- * a pattern or a String.
- *
- * @param expected
- */
-jasmine.Matchers.prototype.toMatch = function(expected) {
-  return new RegExp(expected).test(this.actual);
-};
-
-/**
- * Matcher that compares the actual to the expected using the boolean inverse of jasmine.Matchers.toMatch
- * @param expected
- * @deprecated as of 1.0. Use not.toMatch() instead.
- */
-jasmine.Matchers.prototype.toNotMatch = function(expected) {
-  return !(new RegExp(expected).test(this.actual));
-};
-
-/**
- * Matcher that compares the actual to jasmine.undefined.
- */
-jasmine.Matchers.prototype.toBeDefined = function() {
-  return (this.actual !== jasmine.undefined);
-};
-
-/**
- * Matcher that compares the actual to jasmine.undefined.
- */
-jasmine.Matchers.prototype.toBeUndefined = function() {
-  return (this.actual === jasmine.undefined);
-};
-
-/**
- * Matcher that compares the actual to null.
- */
-jasmine.Matchers.prototype.toBeNull = function() {
-  return (this.actual === null);
-};
-
-/**
- * Matcher that boolean not-nots the actual.
- */
-jasmine.Matchers.prototype.toBeTruthy = function() {
-  return !!this.actual;
-};
-
-
-/**
- * Matcher that boolean nots the actual.
- */
-jasmine.Matchers.prototype.toBeFalsy = function() {
-  return !this.actual;
-};
-
-
-/**
- * Matcher that checks to see if the actual, a Jasmine spy, was called.
- */
-jasmine.Matchers.prototype.toHaveBeenCalled = function() {
-  if (arguments.length > 0) {
-    throw new Error('toHaveBeenCalled does not take arguments, use toHaveBeenCalledWith');
-  }
-
-  if (!jasmine.isSpy(this.actual)) {
-    throw new Error('Expected a spy, but got ' + jasmine.pp(this.actual) + '.');
-  }
-
-  this.message = function() {
-    return [
-      "Expected spy " + this.actual.identity + " to have been called.",
-      "Expected spy " + this.actual.identity + " not to have been called."
-    ];
-  };
-
-  return this.actual.wasCalled;
-};
-
-/** @deprecated Use expect(xxx).toHaveBeenCalled() instead */
-jasmine.Matchers.prototype.wasCalled = jasmine.Matchers.prototype.toHaveBeenCalled;
-
-/**
- * Matcher that checks to see if the actual, a Jasmine spy, was not called.
- *
- * @deprecated Use expect(xxx).not.toHaveBeenCalled() instead
- */
-jasmine.Matchers.prototype.wasNotCalled = function() {
-  if (arguments.length > 0) {
-    throw new Error('wasNotCalled does not take arguments');
-  }
-
-  if (!jasmine.isSpy(this.actual)) {
-    throw new Error('Expected a spy, but got ' + jasmine.pp(this.actual) + '.');
-  }
-
-  this.message = function() {
-    return [
-      "Expected spy " + this.actual.identity + " to not have been called.",
-      "Expected spy " + this.actual.identity + " to have been called."
-    ];
-  };
-
-  return !this.actual.wasCalled;
-};
-
-/**
- * Matcher that checks to see if the actual, a Jasmine spy, was called with a set of parameters.
- *
- * @example
- *
- */
-jasmine.Matchers.prototype.toHaveBeenCalledWith = function() {
-  var expectedArgs = jasmine.util.argsToArray(arguments);
-  if (!jasmine.isSpy(this.actual)) {
-    throw new Error('Expected a spy, but got ' + jasmine.pp(this.actual) + '.');
-  }
-  this.message = function() {
-    if (this.actual.callCount === 0) {
-      // todo: what should the failure message for .not.toHaveBeenCalledWith() be? is this right? test better. [xw]
-      return [
-        "Expected spy " + this.actual.identity + " to have been called with " + jasmine.pp(expectedArgs) + " but it was never called.",
-        "Expected spy " + this.actual.identity + " not to have been called with " + jasmine.pp(expectedArgs) + " but it was."
-      ];
-    } else {
-      return [
-        "Expected spy " + this.actual.identity + " to have been called with " + jasmine.pp(expectedArgs) + " but was called with " + jasmine.pp(this.actual.argsForCall),
-        "Expected spy " + this.actual.identity + " not to have been called with " + jasmine.pp(expectedArgs) + " but was called with " + jasmine.pp(this.actual.argsForCall)
-      ];
-    }
-  };
-
-  return this.env.contains_(this.actual.argsForCall, expectedArgs);
-};
-
-/** @deprecated Use expect(xxx).toHaveBeenCalledWith() instead */
-jasmine.Matchers.prototype.wasCalledWith = jasmine.Matchers.prototype.toHaveBeenCalledWith;
-
-/** @deprecated Use expect(xxx).not.toHaveBeenCalledWith() instead */
-jasmine.Matchers.prototype.wasNotCalledWith = function() {
-  var expectedArgs = jasmine.util.argsToArray(arguments);
-  if (!jasmine.isSpy(this.actual)) {
-    throw new Error('Expected a spy, but got ' + jasmine.pp(this.actual) + '.');
-  }
-
-  this.message = function() {
-    return [
-      "Expected spy not to have been called with " + jasmine.pp(expectedArgs) + " but it was",
-      "Expected spy to have been called with " + jasmine.pp(expectedArgs) + " but it was"
-    ];
-  };
-
-  return !this.env.contains_(this.actual.argsForCall, expectedArgs);
-};
-
-/**
- * Matcher that checks that the expected item is an element in the actual Array.
- *
- * @param {Object} expected
- */
-jasmine.Matchers.prototype.toContain = function(expected) {
-  return this.env.contains_(this.actual, expected);
-};
-
-/**
- * Matcher that checks that the expected item is NOT an element in the actual Array.
- *
- * @param {Object} expected
- * @deprecated as of 1.0. Use not.toNotContain() instead.
- */
-jasmine.Matchers.prototype.toNotContain = function(expected) {
-  return !this.env.contains_(this.actual, expected);
-};
-
-jasmine.Matchers.prototype.toBeLessThan = function(expected) {
-  return this.actual < expected;
-};
-
-jasmine.Matchers.prototype.toBeGreaterThan = function(expected) {
-  return this.actual > expected;
-};
-
-/**
- * Matcher that checks that the expected item is equal to the actual item
- * up to a given level of decimal precision (default 2).
- *
- * @param {Number} expected
- * @param {Number} precision
- */
-jasmine.Matchers.prototype.toBeCloseTo = function(expected, precision) {
-  if (!(precision === 0)) {
-    precision = precision || 2;
-  }
-  var multiplier = Math.pow(10, precision);
-  var actual = Math.round(this.actual * multiplier);
-  expected = Math.round(expected * multiplier);
-  return expected == actual;
-};
-
-/**
- * Matcher that checks that the expected exception was thrown by the actual.
- *
- * @param {String} expected
- */
-jasmine.Matchers.prototype.toThrow = function(expected) {
-  var result = false;
-  var exception;
-  if (typeof this.actual != 'function') {
-    throw new Error('Actual is not a function');
-  }
-  try {
-    this.actual();
-  } catch (e) {
-    exception = e;
-  }
-  if (exception) {
-    result = (expected === jasmine.undefined || this.env.equals_(exception.message || exception, expected.message || expected));
-  }
-
-  var not = this.isNot ? "not " : "";
-
-  this.message = function() {
-    if (exception && (expected === jasmine.undefined || !this.env.equals_(exception.message || exception, expected.message || expected))) {
-      return ["Expected function " + not + "to throw", expected ? expected.message || expected : "an exception", ", but it threw", exception.message || exception].join(' ');
-    } else {
-      return "Expected function to throw an exception.";
-    }
-  };
-
-  return result;
-};
-
-jasmine.Matchers.Any = function(expectedClass) {
-  this.expectedClass = expectedClass;
-};
-
-jasmine.Matchers.Any.prototype.matches = function(other) {
-  if (this.expectedClass == String) {
-    return typeof other == 'string' || other instanceof String;
-  }
-
-  if (this.expectedClass == Number) {
-    return typeof other == 'number' || other instanceof Number;
-  }
-
-  if (this.expectedClass == Function) {
-    return typeof other == 'function' || other instanceof Function;
-  }
-
-  if (this.expectedClass == Object) {
-    return typeof other == 'object';
-  }
-
-  return other instanceof this.expectedClass;
-};
-
-jasmine.Matchers.Any.prototype.toString = function() {
-  return '<jasmine.any(' + this.expectedClass + ')>';
-};
-
-/**
- * @constructor
- */
-jasmine.MultiReporter = function() {
-  this.subReporters_ = [];
-};
-jasmine.util.inherit(jasmine.MultiReporter, jasmine.Reporter);
-
-jasmine.MultiReporter.prototype.addReporter = function(reporter) {
-  this.subReporters_.push(reporter);
-};
-
-(function() {
-  var functionNames = [
-    "reportRunnerStarting",
-    "reportRunnerResults",
-    "reportSuiteResults",
-    "reportSpecStarting",
-    "reportSpecResults",
-    "log"
-  ];
-  for (var i = 0; i < functionNames.length; i++) {
-    var functionName = functionNames[i];
-    jasmine.MultiReporter.prototype[functionName] = (function(functionName) {
-      return function() {
-        for (var j = 0; j < this.subReporters_.length; j++) {
-          var subReporter = this.subReporters_[j];
-          if (subReporter[functionName]) {
-            subReporter[functionName].apply(subReporter, arguments);
-          }
-        }
-      };
-    })(functionName);
-  }
-})();
-/**
- * Holds results for a set of Jasmine spec. Allows for the results array to hold another jasmine.NestedResults
- *
- * @constructor
- */
-jasmine.NestedResults = function() {
-  /**
-   * The total count of results
-   */
-  this.totalCount = 0;
-  /**
-   * Number of passed results
-   */
-  this.passedCount = 0;
-  /**
-   * Number of failed results
-   */
-  this.failedCount = 0;
-  /**
-   * Was this suite/spec skipped?
-   */
-  this.skipped = false;
-  /**
-   * @ignore
-   */
-  this.items_ = [];
-};
-
-/**
- * Roll up the result counts.
- *
- * @param result
- */
-jasmine.NestedResults.prototype.rollupCounts = function(result) {
-  this.totalCount += result.totalCount;
-  this.passedCount += result.passedCount;
-  this.failedCount += result.failedCount;
-};
-
-/**
- * Adds a log message.
- * @param values Array of message parts which will be concatenated later.
- */
-jasmine.NestedResults.prototype.log = function(values) {
-  this.items_.push(new jasmine.MessageResult(values));
-};
-
-/**
- * Getter for the results: message & results.
- */
-jasmine.NestedResults.prototype.getItems = function() {
-  return this.items_;
-};
-
-/**
- * Adds a result, tracking counts (total, passed, & failed)
- * @param {jasmine.ExpectationResult|jasmine.NestedResults} result
- */
-jasmine.NestedResults.prototype.addResult = function(result) {
-  if (result.type != 'log') {
-    if (result.items_) {
-      this.rollupCounts(result);
-    } else {
-      this.totalCount++;
-      if (result.passed()) {
-        this.passedCount++;
-      } else {
-        this.failedCount++;
-      }
-    }
-  }
-  this.items_.push(result);
-};
-
-/**
- * @returns {Boolean} True if <b>everything</b> below passed
- */
-jasmine.NestedResults.prototype.passed = function() {
-  return this.passedCount === this.totalCount;
-};
-/**
- * Base class for pretty printing for expectation results.
- */
-jasmine.PrettyPrinter = function() {
-  this.ppNestLevel_ = 0;
-};
-
-/**
- * Formats a value in a nice, human-readable string.
- *
- * @param value
- */
-jasmine.PrettyPrinter.prototype.format = function(value) {
-  if (this.ppNestLevel_ > 40) {
-    throw new Error('jasmine.PrettyPrinter: format() nested too deeply!');
-  }
-
-  this.ppNestLevel_++;
-  try {
-    if (value === jasmine.undefined) {
-      this.emitScalar('undefined');
-    } else if (value === null) {
-      this.emitScalar('null');
-    } else if (value === jasmine.getGlobal()) {
-      this.emitScalar('<global>');
-    } else if (value instanceof jasmine.Matchers.Any) {
-      this.emitScalar(value.toString());
-    } else if (typeof value === 'string') {
-      this.emitString(value);
-    } else if (jasmine.isSpy(value)) {
-      this.emitScalar("spy on " + value.identity);
-    } else if (value instanceof RegExp) {
-      this.emitScalar(value.toString());
-    } else if (typeof value === 'function') {
-      this.emitScalar('Function');
-    } else if (typeof value.nodeType === 'number') {
-      this.emitScalar('HTMLNode');
-    } else if (value instanceof Date) {
-      this.emitScalar('Date(' + value + ')');
-    } else if (value.__Jasmine_been_here_before__) {
-      this.emitScalar('<circular reference: ' + (jasmine.isArray_(value) ? 'Array' : 'Object') + '>');
-    } else if (jasmine.isArray_(value) || typeof value == 'object') {
-      value.__Jasmine_been_here_before__ = true;
-      if (jasmine.isArray_(value)) {
-        this.emitArray(value);
-      } else {
-        this.emitObject(value);
-      }
-      delete value.__Jasmine_been_here_before__;
-    } else {
-      this.emitScalar(value.toString());
-    }
-  } finally {
-    this.ppNestLevel_--;
-  }
-};
-
-jasmine.PrettyPrinter.prototype.iterateObject = function(obj, fn) {
-  for (var property in obj) {
-    if (property == '__Jasmine_been_here_before__') continue;
-    fn(property, obj.__lookupGetter__ ? (obj.__lookupGetter__(property) !== jasmine.undefined && 
-                                         obj.__lookupGetter__(property) !== null) : false);
-  }
-};
-
-jasmine.PrettyPrinter.prototype.emitArray = jasmine.unimplementedMethod_;
-jasmine.PrettyPrinter.prototype.emitObject = jasmine.unimplementedMethod_;
-jasmine.PrettyPrinter.prototype.emitScalar = jasmine.unimplementedMethod_;
-jasmine.PrettyPrinter.prototype.emitString = jasmine.unimplementedMethod_;
-
-jasmine.StringPrettyPrinter = function() {
-  jasmine.PrettyPrinter.call(this);
-
-  this.string = '';
-};
-jasmine.util.inherit(jasmine.StringPrettyPrinter, jasmine.PrettyPrinter);
-
-jasmine.StringPrettyPrinter.prototype.emitScalar = function(value) {
-  this.append(value);
-};
-
-jasmine.StringPrettyPrinter.prototype.emitString = function(value) {
-  this.append("'" + value + "'");
-};
-
-jasmine.StringPrettyPrinter.prototype.emitArray = function(array) {
-  this.append('[ ');
-  for (var i = 0; i < array.length; i++) {
-    if (i > 0) {
-      this.append(', ');
-    }
-    this.format(array[i]);
-  }
-  this.append(' ]');
-};
-
-jasmine.StringPrettyPrinter.prototype.emitObject = function(obj) {
-  var self = this;
-  this.append('{ ');
-  var first = true;
-
-  this.iterateObject(obj, function(property, isGetter) {
-    if (first) {
-      first = false;
-    } else {
-      self.append(', ');
-    }
-
-    self.append(property);
-    self.append(' : ');
-    if (isGetter) {
-      self.append('<getter>');
-    } else {
-      self.format(obj[property]);
-    }
-  });
-
-  this.append(' }');
-};
-
-jasmine.StringPrettyPrinter.prototype.append = function(value) {
-  this.string += value;
-};
-jasmine.Queue = function(env) {
-  this.env = env;
-  this.blocks = [];
-  this.running = false;
-  this.index = 0;
-  this.offset = 0;
-  this.abort = false;
-};
-
-jasmine.Queue.prototype.addBefore = function(block) {
-  this.blocks.unshift(block);
-};
-
-jasmine.Queue.prototype.add = function(block) {
-  this.blocks.push(block);
-};
-
-jasmine.Queue.prototype.insertNext = function(block) {
-  this.blocks.splice((this.index + this.offset + 1), 0, block);
-  this.offset++;
-};
-
-jasmine.Queue.prototype.start = function(onComplete) {
-  this.running = true;
-  this.onComplete = onComplete;
-  this.next_();
-};
-
-jasmine.Queue.prototype.isRunning = function() {
-  return this.running;
-};
-
-jasmine.Queue.LOOP_DONT_RECURSE = true;
-
-jasmine.Queue.prototype.next_ = function() {
-  var self = this;
-  var goAgain = true;
-
-  while (goAgain) {
-    goAgain = false;
-    
-    if (self.index < self.blocks.length && !this.abort) {
-      var calledSynchronously = true;
-      var completedSynchronously = false;
-
-      var onComplete = function () {
-        if (jasmine.Queue.LOOP_DONT_RECURSE && calledSynchronously) {
-          completedSynchronously = true;
-          return;
-        }
-
-        if (self.blocks[self.index].abort) {
-          self.abort = true;
-        }
-
-        self.offset = 0;
-        self.index++;
-
-        var now = new Date().getTime();
-        if (self.env.updateInterval && now - self.env.lastUpdate > self.env.updateInterval) {
-          self.env.lastUpdate = now;
-          self.env.setTimeout(function() {
-            self.next_();
-          }, 0);
-        } else {
-          if (jasmine.Queue.LOOP_DONT_RECURSE && completedSynchronously) {
-            goAgain = true;
-          } else {
-            self.next_();
-          }
-        }
-      };
-      self.blocks[self.index].execute(onComplete);
-
-      calledSynchronously = false;
-      if (completedSynchronously) {
-        onComplete();
-      }
-      
-    } else {
-      self.running = false;
-      if (self.onComplete) {
-        self.onComplete();
-      }
-    }
-  }
-};
-
-jasmine.Queue.prototype.results = function() {
-  var results = new jasmine.NestedResults();
-  for (var i = 0; i < this.blocks.length; i++) {
-    if (this.blocks[i].results) {
-      results.addResult(this.blocks[i].results());
-    }
-  }
-  return results;
-};
-
-
-/**
- * Runner
- *
- * @constructor
- * @param {jasmine.Env} env
- */
-jasmine.Runner = function(env) {
-  var self = this;
-  self.env = env;
-  self.queue = new jasmine.Queue(env);
-  self.before_ = [];
-  self.after_ = [];
-  self.suites_ = [];
-};
-
-jasmine.Runner.prototype.execute = function() {
-  var self = this;
-  if (self.env.reporter.reportRunnerStarting) {
-    self.env.reporter.reportRunnerStarting(this);
-  }
-  self.queue.start(function () {
-    self.finishCallback();
-  });
-};
-
-jasmine.Runner.prototype.beforeEach = function(beforeEachFunction) {
-  beforeEachFunction.typeName = 'beforeEach';
-  this.before_.splice(0,0,beforeEachFunction);
-};
-
-jasmine.Runner.prototype.afterEach = function(afterEachFunction) {
-  afterEachFunction.typeName = 'afterEach';
-  this.after_.splice(0,0,afterEachFunction);
-};
-
-
-jasmine.Runner.prototype.finishCallback = function() {
-  this.env.reporter.reportRunnerResults(this);
-};
-
-jasmine.Runner.prototype.addSuite = function(suite) {
-  this.suites_.push(suite);
-};
-
-jasmine.Runner.prototype.add = function(block) {
-  if (block instanceof jasmine.Suite) {
-    this.addSuite(block);
-  }
-  this.queue.add(block);
-};
-
-jasmine.Runner.prototype.specs = function () {
-  var suites = this.suites();
-  var specs = [];
-  for (var i = 0; i < suites.length; i++) {
-    specs = specs.concat(suites[i].specs());
-  }
-  return specs;
-};
-
-jasmine.Runner.prototype.suites = function() {
-  return this.suites_;
-};
-
-jasmine.Runner.prototype.topLevelSuites = function() {
-  var topLevelSuites = [];
-  for (var i = 0; i < this.suites_.length; i++) {
-    if (!this.suites_[i].parentSuite) {
-      topLevelSuites.push(this.suites_[i]);
-    }
-  }
-  return topLevelSuites;
-};
-
-jasmine.Runner.prototype.results = function() {
-  return this.queue.results();
-};
-/**
- * Internal representation of a Jasmine specification, or test.
- *
- * @constructor
- * @param {jasmine.Env} env
- * @param {jasmine.Suite} suite
- * @param {String} description
- */
-jasmine.Spec = function(env, suite, description) {
-  if (!env) {
-    throw new Error('jasmine.Env() required');
-  }
-  if (!suite) {
-    throw new Error('jasmine.Suite() required');
-  }
-  var spec = this;
-  spec.id = env.nextSpecId ? env.nextSpecId() : null;
-  spec.env = env;
-  spec.suite = suite;
-  spec.description = description;
-  spec.queue = new jasmine.Queue(env);
-
-  spec.afterCallbacks = [];
-  spec.spies_ = [];
-
-  spec.results_ = new jasmine.NestedResults();
-  spec.results_.description = description;
-  spec.matchersClass = null;
-};
-
-jasmine.Spec.prototype.getFullName = function() {
-  return this.suite.getFullName() + ' ' + this.description + '.';
-};
-
-
-jasmine.Spec.prototype.results = function() {
-  return this.results_;
-};
-
-/**
- * All parameters are pretty-printed and concatenated together, then written to the spec's output.
- *
- * Be careful not to leave calls to <code>jasmine.log</code> in production code.
- */
-jasmine.Spec.prototype.log = function() {
-  return this.results_.log(arguments);
-};
-
-jasmine.Spec.prototype.runs = function (func) {
-  var block = new jasmine.Block(this.env, func, this);
-  this.addToQueue(block);
-  return this;
-};
-
-jasmine.Spec.prototype.addToQueue = function (block) {
-  if (this.queue.isRunning()) {
-    this.queue.insertNext(block);
-  } else {
-    this.queue.add(block);
-  }
-};
-
-/**
- * @param {jasmine.ExpectationResult} result
- */
-jasmine.Spec.prototype.addMatcherResult = function(result) {
-  this.results_.addResult(result);
-};
-
-jasmine.Spec.prototype.expect = function(actual) {
-  var positive = new (this.getMatchersClass_())(this.env, actual, this);
-  positive.not = new (this.getMatchersClass_())(this.env, actual, this, true);
-  return positive;
-};
-
-/**
- * Waits a fixed time period before moving to the next block.
- *
- * @deprecated Use waitsFor() instead
- * @param {Number} timeout milliseconds to wait
- */
-jasmine.Spec.prototype.waits = function(timeout) {
-  var waitsFunc = new jasmine.WaitsBlock(this.env, timeout, this);
-  this.addToQueue(waitsFunc);
-  return this;
-};
-
-/**
- * Waits for the latchFunction to return true before proceeding to the next block.
- *
- * @param {Function} latchFunction
- * @param {String} optional_timeoutMessage
- * @param {Number} optional_timeout
- */
-jasmine.Spec.prototype.waitsFor = function(latchFunction, optional_timeoutMessage, optional_timeout) {
-  var latchFunction_ = null;
-  var optional_timeoutMessage_ = null;
-  var optional_timeout_ = null;
-
-  for (var i = 0; i < arguments.length; i++) {
-    var arg = arguments[i];
-    switch (typeof arg) {
-      case 'function':
-        latchFunction_ = arg;
-        break;
-      case 'string':
-        optional_timeoutMessage_ = arg;
-        break;
-      case 'number':
-        optional_timeout_ = arg;
-        break;
-    }
-  }
-
-  var waitsForFunc = new jasmine.WaitsForBlock(this.env, optional_timeout_, latchFunction_, optional_timeoutMessage_, this);
-  this.addToQueue(waitsForFunc);
-  return this;
-};
-
-jasmine.Spec.prototype.fail = function (e) {
-  var expectationResult = new jasmine.ExpectationResult({
-    passed: false,
-    message: e ? jasmine.util.formatException(e) : 'Exception',
-    trace: { stack: e.stack }
-  });
-  this.results_.addResult(expectationResult);
-};
-
-jasmine.Spec.prototype.getMatchersClass_ = function() {
-  return this.matchersClass || this.env.matchersClass;
-};
-
-jasmine.Spec.prototype.addMatchers = function(matchersPrototype) {
-  var parent = this.getMatchersClass_();
-  var newMatchersClass = function() {
-    parent.apply(this, arguments);
-  };
-  jasmine.util.inherit(newMatchersClass, parent);
-  jasmine.Matchers.wrapInto_(matchersPrototype, newMatchersClass);
-  this.matchersClass = newMatchersClass;
-};
-
-jasmine.Spec.prototype.finishCallback = function() {
-  this.env.reporter.reportSpecResults(this);
-};
-
-jasmine.Spec.prototype.finish = function(onComplete) {
-  this.removeAllSpies();
-  this.finishCallback();
-  if (onComplete) {
-    onComplete();
-  }
-};
-
-jasmine.Spec.prototype.after = function(doAfter) {
-  if (this.queue.isRunning()) {
-    this.queue.add(new jasmine.Block(this.env, doAfter, this));
-  } else {
-    this.afterCallbacks.unshift(doAfter);
-  }
-};
-
-jasmine.Spec.prototype.execute = function(onComplete) {
-  var spec = this;
-  if (!spec.env.specFilter(spec)) {
-    spec.results_.skipped = true;
-    spec.finish(onComplete);
-    return;
-  }
-
-  this.env.reporter.reportSpecStarting(this);
-
-  spec.env.currentSpec = spec;
-
-  spec.addBeforesAndAftersToQueue();
-
-  spec.queue.start(function () {
-    spec.finish(onComplete);
-  });
-};
-
-jasmine.Spec.prototype.addBeforesAndAftersToQueue = function() {
-  var runner = this.env.currentRunner();
-  var i;
-
-  for (var suite = this.suite; suite; suite = suite.parentSuite) {
-    for (i = 0; i < suite.before_.length; i++) {
-      this.queue.addBefore(new jasmine.Block(this.env, suite.before_[i], this));
-    }
-  }
-  for (i = 0; i < runner.before_.length; i++) {
-    this.queue.addBefore(new jasmine.Block(this.env, runner.before_[i], this));
-  }
-  for (i = 0; i < this.afterCallbacks.length; i++) {
-    this.queue.add(new jasmine.Block(this.env, this.afterCallbacks[i], this));
-  }
-  for (suite = this.suite; suite; suite = suite.parentSuite) {
-    for (i = 0; i < suite.after_.length; i++) {
-      this.queue.add(new jasmine.Block(this.env, suite.after_[i], this));
-    }
-  }
-  for (i = 0; i < runner.after_.length; i++) {
-    this.queue.add(new jasmine.Block(this.env, runner.after_[i], this));
-  }
-};
-
-jasmine.Spec.prototype.explodes = function() {
-  throw 'explodes function should not have been called';
-};
-
-jasmine.Spec.prototype.spyOn = function(obj, methodName, ignoreMethodDoesntExist) {
-  if (obj == jasmine.undefined) {
-    throw "spyOn could not find an object to spy upon for " + methodName + "()";
-  }
-
-  if (!ignoreMethodDoesntExist && obj[methodName] === jasmine.undefined) {
-    throw methodName + '() method does not exist';
-  }
-
-  if (!ignoreMethodDoesntExist && obj[methodName] && obj[methodName].isSpy) {
-    throw new Error(methodName + ' has already been spied upon');
-  }
-
-  var spyObj = jasmine.createSpy(methodName);
-
-  this.spies_.push(spyObj);
-  spyObj.baseObj = obj;
-  spyObj.methodName = methodName;
-  spyObj.originalValue = obj[methodName];
-
-  obj[methodName] = spyObj;
-
-  return spyObj;
-};
-
-jasmine.Spec.prototype.removeAllSpies = function() {
-  for (var i = 0; i < this.spies_.length; i++) {
-    var spy = this.spies_[i];
-    spy.baseObj[spy.methodName] = spy.originalValue;
-  }
-  this.spies_ = [];
-};
-
-/**
- * Internal representation of a Jasmine suite.
- *
- * @constructor
- * @param {jasmine.Env} env
- * @param {String} description
- * @param {Function} specDefinitions
- * @param {jasmine.Suite} parentSuite
- */
-jasmine.Suite = function(env, description, specDefinitions, parentSuite) {
-  var self = this;
-  self.id = env.nextSuiteId ? env.nextSuiteId() : null;
-  self.description = description;
-  self.queue = new jasmine.Queue(env);
-  self.parentSuite = parentSuite;
-  self.env = env;
-  self.before_ = [];
-  self.after_ = [];
-  self.children_ = [];
-  self.suites_ = [];
-  self.specs_ = [];
-};
-
-jasmine.Suite.prototype.getFullName = function() {
-  var fullName = this.description;
-  for (var parentSuite = this.parentSuite; parentSuite; parentSuite = parentSuite.parentSuite) {
-    fullName = parentSuite.description + ' ' + fullName;
-  }
-  return fullName;
-};
-
-jasmine.Suite.prototype.finish = function(onComplete) {
-  this.env.reporter.reportSuiteResults(this);
-  this.finished = true;
-  if (typeof(onComplete) == 'function') {
-    onComplete();
-  }
-};
-
-jasmine.Suite.prototype.beforeEach = function(beforeEachFunction) {
-  beforeEachFunction.typeName = 'beforeEach';
-  this.before_.unshift(beforeEachFunction);
-};
-
-jasmine.Suite.prototype.afterEach = function(afterEachFunction) {
-  afterEachFunction.typeName = 'afterEach';
-  this.after_.unshift(afterEachFunction);
-};
-
-jasmine.Suite.prototype.results = function() {
-  return this.queue.results();
-};
-
-jasmine.Suite.prototype.add = function(suiteOrSpec) {
-  this.children_.push(suiteOrSpec);
-  if (suiteOrSpec instanceof jasmine.Suite) {
-    this.suites_.push(suiteOrSpec);
-    this.env.currentRunner().addSuite(suiteOrSpec);
-  } else {
-    this.specs_.push(suiteOrSpec);
-  }
-  this.queue.add(suiteOrSpec);
-};
-
-jasmine.Suite.prototype.specs = function() {
-  return this.specs_;
-};
-
-jasmine.Suite.prototype.suites = function() {
-  return this.suites_;
-};
-
-jasmine.Suite.prototype.children = function() {
-  return this.children_;
-};
-
-jasmine.Suite.prototype.execute = function(onComplete) {
-  var self = this;
-  this.queue.start(function () {
-    self.finish(onComplete);
-  });
-};
-jasmine.WaitsBlock = function(env, timeout, spec) {
-  this.timeout = timeout;
-  jasmine.Block.call(this, env, null, spec);
-};
-
-jasmine.util.inherit(jasmine.WaitsBlock, jasmine.Block);
-
-jasmine.WaitsBlock.prototype.execute = function (onComplete) {
-  if (jasmine.VERBOSE) {
-    this.env.reporter.log('>> Jasmine waiting for ' + this.timeout + ' ms...');
-  }
-  this.env.setTimeout(function () {
-    onComplete();
-  }, this.timeout);
-};
-/**
- * A block which waits for some condition to become true, with timeout.
- *
- * @constructor
- * @extends jasmine.Block
- * @param {jasmine.Env} env The Jasmine environment.
- * @param {Number} timeout The maximum time in milliseconds to wait for the condition to become true.
- * @param {Function} latchFunction A function which returns true when the desired condition has been met.
- * @param {String} message The message to display if the desired condition hasn't been met within the given time period.
- * @param {jasmine.Spec} spec The Jasmine spec.
- */
-jasmine.WaitsForBlock = function(env, timeout, latchFunction, message, spec) {
-  this.timeout = timeout || env.defaultTimeoutInterval;
-  this.latchFunction = latchFunction;
-  this.message = message;
-  this.totalTimeSpentWaitingForLatch = 0;
-  jasmine.Block.call(this, env, null, spec);
-};
-jasmine.util.inherit(jasmine.WaitsForBlock, jasmine.Block);
-
-jasmine.WaitsForBlock.TIMEOUT_INCREMENT = 10;
-
-jasmine.WaitsForBlock.prototype.execute = function(onComplete) {
-  if (jasmine.VERBOSE) {
-    this.env.reporter.log('>> Jasmine waiting for ' + (this.message || 'something to happen'));
-  }
-  var latchFunctionResult;
-  try {
-    latchFunctionResult = this.latchFunction.apply(this.spec);
-  } catch (e) {
-    this.spec.fail(e);
-    onComplete();
-    return;
-  }
-
-  if (latchFunctionResult) {
-    onComplete();
-  } else if (this.totalTimeSpentWaitingForLatch >= this.timeout) {
-    var message = 'timed out after ' + this.timeout + ' msec waiting for ' + (this.message || 'something to happen');
-    this.spec.fail({
-      name: 'timeout',
-      message: message
-    });
-
-    this.abort = true;
-    onComplete();
-  } else {
-    this.totalTimeSpentWaitingForLatch += jasmine.WaitsForBlock.TIMEOUT_INCREMENT;
-    var self = this;
-    this.env.setTimeout(function() {
-      self.execute(onComplete);
-    }, jasmine.WaitsForBlock.TIMEOUT_INCREMENT);
-  }
-};
-// Mock setTimeout, clearTimeout
-// Contributed by Pivotal Computer Systems, www.pivotalsf.com
-
-jasmine.FakeTimer = function() {
-  this.reset();
-
-  var self = this;
-  self.setTimeout = function(funcToCall, millis) {
-    self.timeoutsMade++;
-    self.scheduleFunction(self.timeoutsMade, funcToCall, millis, false);
-    return self.timeoutsMade;
-  };
-
-  self.setInterval = function(funcToCall, millis) {
-    self.timeoutsMade++;
-    self.scheduleFunction(self.timeoutsMade, funcToCall, millis, true);
-    return self.timeoutsMade;
-  };
-
-  self.clearTimeout = function(timeoutKey) {
-    self.scheduledFunctions[timeoutKey] = jasmine.undefined;
-  };
-
-  self.clearInterval = function(timeoutKey) {
-    self.scheduledFunctions[timeoutKey] = jasmine.undefined;
-  };
-
-};
-
-jasmine.FakeTimer.prototype.reset = function() {
-  this.timeoutsMade = 0;
-  this.scheduledFunctions = {};
-  this.nowMillis = 0;
-};
-
-jasmine.FakeTimer.prototype.tick = function(millis) {
-  var oldMillis = this.nowMillis;
-  var newMillis = oldMillis + millis;
-  this.runFunctionsWithinRange(oldMillis, newMillis);
-  this.nowMillis = newMillis;
-};
-
-jasmine.FakeTimer.prototype.runFunctionsWithinRange = function(oldMillis, nowMillis) {
-  var scheduledFunc;
-  var funcsToRun = [];
-  for (var timeoutKey in this.scheduledFunctions) {
-    scheduledFunc = this.scheduledFunctions[timeoutKey];
-    if (scheduledFunc != jasmine.undefined &&
-        scheduledFunc.runAtMillis >= oldMillis &&
-        scheduledFunc.runAtMillis <= nowMillis) {
-      funcsToRun.push(scheduledFunc);
-      this.scheduledFunctions[timeoutKey] = jasmine.undefined;
-    }
-  }
-
-  if (funcsToRun.length > 0) {
-    funcsToRun.sort(function(a, b) {
-      return a.runAtMillis - b.runAtMillis;
-    });
-    for (var i = 0; i < funcsToRun.length; ++i) {
-      try {
-        var funcToRun = funcsToRun[i];
-        this.nowMillis = funcToRun.runAtMillis;
-        funcToRun.funcToCall();
-        if (funcToRun.recurring) {
-          this.scheduleFunction(funcToRun.timeoutKey,
-              funcToRun.funcToCall,
-              funcToRun.millis,
-              true);
-        }
-      } catch(e) {
-      }
-    }
-    this.runFunctionsWithinRange(oldMillis, nowMillis);
-  }
-};
-
-jasmine.FakeTimer.prototype.scheduleFunction = function(timeoutKey, funcToCall, millis, recurring) {
-  this.scheduledFunctions[timeoutKey] = {
-    runAtMillis: this.nowMillis + millis,
-    funcToCall: funcToCall,
-    recurring: recurring,
-    timeoutKey: timeoutKey,
-    millis: millis
-  };
-};
-
-/**
- * @namespace
- */
-jasmine.Clock = {
-  defaultFakeTimer: new jasmine.FakeTimer(),
-
-  reset: function() {
-    jasmine.Clock.assertInstalled();
-    jasmine.Clock.defaultFakeTimer.reset();
-  },
-
-  tick: function(millis) {
-    jasmine.Clock.assertInstalled();
-    jasmine.Clock.defaultFakeTimer.tick(millis);
-  },
-
-  runFunctionsWithinRange: function(oldMillis, nowMillis) {
-    jasmine.Clock.defaultFakeTimer.runFunctionsWithinRange(oldMillis, nowMillis);
-  },
-
-  scheduleFunction: function(timeoutKey, funcToCall, millis, recurring) {
-    jasmine.Clock.defaultFakeTimer.scheduleFunction(timeoutKey, funcToCall, millis, recurring);
-  },
-
-  useMock: function() {
-    if (!jasmine.Clock.isInstalled()) {
-      var spec = jasmine.getEnv().currentSpec;
-      spec.after(jasmine.Clock.uninstallMock);
-
-      jasmine.Clock.installMock();
-    }
-  },
-
-  installMock: function() {
-    jasmine.Clock.installed = jasmine.Clock.defaultFakeTimer;
-  },
-
-  uninstallMock: function() {
-    jasmine.Clock.assertInstalled();
-    jasmine.Clock.installed = jasmine.Clock.real;
-  },
-
-  real: {
-    setTimeout: jasmine.getGlobal().setTimeout,
-    clearTimeout: jasmine.getGlobal().clearTimeout,
-    setInterval: jasmine.getGlobal().setInterval,
-    clearInterval: jasmine.getGlobal().clearInterval
-  },
-
-  assertInstalled: function() {
-    if (!jasmine.Clock.isInstalled()) {
-      throw new Error("Mock clock is not installed, use jasmine.Clock.useMock()");
-    }
-  },
-
-  isInstalled: function() {
-    return jasmine.Clock.installed == jasmine.Clock.defaultFakeTimer;
-  },
-
-  installed: null
-};
-jasmine.Clock.installed = jasmine.Clock.real;
-
-//else for IE support
-jasmine.getGlobal().setTimeout = function(funcToCall, millis) {
-  if (jasmine.Clock.installed.setTimeout.apply) {
-    return jasmine.Clock.installed.setTimeout.apply(this, arguments);
-  } else {
-    return jasmine.Clock.installed.setTimeout(funcToCall, millis);
-  }
-};
-
-jasmine.getGlobal().setInterval = function(funcToCall, millis) {
-  if (jasmine.Clock.installed.setInterval.apply) {
-    return jasmine.Clock.installed.setInterval.apply(this, arguments);
-  } else {
-    return jasmine.Clock.installed.setInterval(funcToCall, millis);
-  }
-};
-
-jasmine.getGlobal().clearTimeout = function(timeoutKey) {
-  if (jasmine.Clock.installed.clearTimeout.apply) {
-    return jasmine.Clock.installed.clearTimeout.apply(this, arguments);
-  } else {
-    return jasmine.Clock.installed.clearTimeout(timeoutKey);
-  }
-};
-
-jasmine.getGlobal().clearInterval = function(timeoutKey) {
-  if (jasmine.Clock.installed.clearTimeout.apply) {
-    return jasmine.Clock.installed.clearInterval.apply(this, arguments);
-  } else {
-    return jasmine.Clock.installed.clearInterval(timeoutKey);
-  }
-};
-
-jasmine.version_= {
-  "major": 1,
-  "minor": 1,
-  "build": 0,
-  "revision": 1308965645,
-  "release_candidate": 2
-};
diff --git a/deck.js/test/settings.js b/deck.js/test/settings.js
deleted file mode 100755 (executable)
index 7ba223d..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-// SETTINGS, VARS, UTILITY FUNCTIONS
-jasmine.getFixtures().fixturesPath = 'fixtures';
-var defaults = $.deck.defaults;
diff --git a/deck.js/test/spec.core.js b/deck.js/test/spec.core.js
deleted file mode 100755 (executable)
index 9c7866a..0000000
+++ /dev/null
@@ -1,436 +0,0 @@
-// Go tests, go
-describe('Deck JS', function() {
-       describe('standard html structure', function() {
-               beforeEach(function() {
-                       loadFixtures('standard.html');
-                       if (Modernizr.history) {
-                               history.replaceState({}, "", "#")
-                       }
-                       else {
-                               window.location.hash = '#';
-                       }
-               });
-
-               describe('init(selector)', function() {
-                       it('should create slides', function() {
-                               $.deck('.slide');
-                               expect($.deck('getSlides').length).toEqual($('.slide').length);
-                       });
-               });
-
-               describe('init([selectors])', function() {
-                       it('should create slides', function() {
-                               $.deck([
-                                       '.slide1',
-                                       '.slide2',
-                                       '.slide3',
-                                       '.slide4',
-                                       '.slide5'
-                               ]);
-                               expect($.deck('getSlides').length).toEqual($('.slide').length);
-                       });
-               });
-
-               describe('navigation functions', function() {
-                       beforeEach(function() {
-                               $.deck('.slide');
-                       });
-
-                       describe('go(i)', function() {
-                               it('should go to the i slide (0 based index)', function() {
-                                       $.deck('go', 3);
-                                       expect($.deck('getSlide')).toHaveClass('slide4');
-                               });
-
-                               it('should go to the slide with specified id', function() {
-                                       $.deck('go', 'custom-id');
-                                       expect($.deck('getSlide')).toHaveId('custom-id');
-                               });
-
-                               it('should go nowhere if i is out of bounds', function() {
-                                       $.deck('go', 5);
-                                       expect($.deck('getSlide')).toHaveClass('slide1');
-                               });
-                               
-                               it('should go nowhere if id does not exist', function() {
-                                       $.deck('go', 'i-dont-exist');
-                                       expect($.deck('getSlide')).toHaveClass('slide1');
-                               });
-                       });
-
-                       describe('next()', function() {
-                               it('should go to the next slide', function() {
-                                       $.deck('next');
-                                       expect($.deck('getSlide')).toHaveClass('slide2');
-                               });
-
-                               it('should go nowhere if on the last slide', function() {
-                                       $.deck('go', 4);
-                                       $.deck('next');
-                                       expect($.deck('getSlide')).toHaveClass('slide5');
-                               });
-                       });
-
-                       describe('prev()', function() {
-                               it('should go to the previous slide', function() {
-                                       $.deck('go', 2);
-                                       $.deck('prev');
-                                       expect($.deck('getSlide')).toHaveClass('slide2');
-                               });
-
-                               it('should go nowhere if on the first slide', function() {
-                                       $.deck('prev');
-                                       expect($.deck('getSlide')).toHaveClass('slide1');
-                               });
-                       });
-               });
-
-               describe('getters', function() {
-                       beforeEach(function() {
-                               $.deck('.slide');
-                       });
-
-                       describe('getSlide()', function() {
-                               it('should get the current slide', function() {
-                                       expect($.deck('getSlide')).toHaveClass('slide1');
-                                       $.deck('go', 2);
-                                       expect($.deck('getSlide')).toHaveClass('slide3');
-                               });
-                       });
-
-                       describe('getSlide(i)', function() {
-                               it('should get slide number i (0 based index)', function() {
-                                       expect($.deck('getSlide', 1)).toHaveClass('slide2');
-                                       expect($.deck('getSlide', 3)).toHaveClass('slide4');
-                               });
-
-                               it('should return null if i is NaN', function() {
-                                       expect($.deck('getSlide', 'barfoo')).toBeNull();
-                               });
-
-                               it('should return null if i is out of bounds', function() {
-                                       expect($.deck('getSlide', 6)).toBeNull();
-                               });
-                       });
-
-                       describe('getSlides()', function() {
-                               it('should return an array of jQuery objects for each slide', function() {
-                                       var expectation = [],
-                                       slides = $.deck('getSlides');
-                                       $('.slide').each(function() {
-                                               expectation.push($(this));
-                                       });
-                                       expect(slides).toEqual(expectation);
-                               });
-                       });
-                       
-                       describe('getContainer()', function() {
-                               it('should return a jQuery object with the container element(s)', function() {
-                                       expect($.deck('getContainer')).toBe(defaults.selectors.container);
-                               });
-                       });
-                       
-                       describe('getOptions()', function() {
-                               it('should return the current options object', function() {
-                                       expect($.deck('getOptions')).toEqual(defaults);
-                               });
-                       });
-               });
-
-               describe('container states', function() {
-                       beforeEach(function() {
-                               $.deck('.slide');
-                       });
-
-                       it('should start at state 0', function() {
-                               expect($(defaults.selectors.container)).toHaveClass(defaults.classes.onPrefix + '0');
-                       });
-
-                       it('should change states with the slide number', function() {
-                               $.deck('next');
-                               expect($(defaults.selectors.container)).toHaveClass(defaults.classes.onPrefix + '1');
-                               $.deck('go', 3);
-                               expect($(defaults.selectors.container)).toHaveClass(defaults.classes.onPrefix + '3');
-                               $.deck('prev');
-                               expect($(defaults.selectors.container)).toHaveClass(defaults.classes.onPrefix + '2');
-                       });
-               });
-
-               describe('options object', function() {
-                       var $d = $(document);
-
-                       beforeEach(function() {
-                               $.deck('.alt-slide', {
-                                       classes: {
-                                               after: 'alt-after',
-                                               before: 'alt-before',
-                                               current: 'alt-current',
-                                               onPrefix: 'alt-on-',
-                                               next: 'alt-next',
-                                               previous: 'alt-prev'
-                                       },
-
-                                       selectors: {
-                                               container: '.alt-container'
-                                       },
-
-                                       keys: {
-                                               next: 87,
-                                               previous: 69
-                                       }
-                               });
-                       });
-
-                       describe('classes', function() {
-                               it('should use the specified after class', function() {
-                                       expect($('.alt-slide3, .alt-slide4, .alt-slide5')).toHaveClass('alt-after');
-                               });
-
-                               it('should use the specified before class', function() {
-                                       $.deck('go', 4);
-                                       expect($('.alt-slide1, .alt-slide2, .alt-slide3')).toHaveClass('alt-before');
-                               });
-
-                               it('should use the specified container class', function() {
-                                       $.deck('go', 2);
-                                       expect($('.alt-container')).toHaveClass('alt-on-2');
-                               });
-
-                               it('should use the specified current class', function() {
-                                       expect($.deck('getSlide')).toHaveClass('alt-current');
-                               });
-
-                               it('should use the specified next class', function() {
-                                       expect($('.alt-slide2')).toHaveClass('alt-next');
-                               });
-
-                               it('should use the specified previous class', function() {
-                                       $.deck('next');
-                                       expect($('.alt-slide1')).toHaveClass('alt-prev');
-                               });
-                       });
-
-                       describe('key bindings', function() {
-                               var e;
-
-                               beforeEach(function() {
-                                       e = jQuery.Event('keydown.deck');
-                               });
-
-                               it('should go to the next slide using the specified key', function() {
-                                       e.which = 87; // 'w'
-                                       $d.trigger(e);
-                                       expect($.deck('getSlide')).toHaveClass('alt-slide2');
-                               });
-
-                               it('should go to the previous slide using the specified key', function() {
-                                       $.deck('next');
-                                       e.which = 69; // 'e'
-                                       $d.trigger(e);
-                                       expect($.deck('getSlide')).toHaveClass('alt-slide1');
-                               });
-                               
-                               it('should not trigger events that originate within editable elements', function() {
-                                       var $outside = $('<input type="text" />').appendTo('body');
-                                       e = jQuery.Event('keydown');
-                                       e.which = 87;
-                                       $outside.trigger(e);
-                                       expect($.deck('getSlide')).toHaveClass('alt-slide1');
-                                       $outside.remove();
-                               });
-                       });
-               });
-
-               describe('events', function() {
-                       var $d = $(document);
-
-                       beforeEach(function() {
-                               spyOnEvent($d, 'deck.init');
-                               spyOnEvent($d, 'deck.beforeInit');
-                               $.deck('.slide');
-                               $.deck('go', 1);
-                               spyOnEvent($d, 'deck.change');
-                       });
-
-                       describe('deck.change', function() {
-                               it('should fire on go(i)', function() {
-                                       $.deck('go', 3);
-                                       expect('deck.change').toHaveBeenTriggeredOn($d);
-                               });
-
-                               it('should fire on next()', function() {
-                                       $.deck('next');
-                                       expect('deck.change').toHaveBeenTriggeredOn($d);
-                               });
-
-                               it('should fire on prev()', function() {
-                                       $.deck('prev');
-                                       expect('deck.change').toHaveBeenTriggeredOn($d);
-                               });
-
-                               it('should pass parameters with from and to indices', function() {
-                                       var f = function(e, from, to) {
-                                               expect(from).toEqual(1);
-                                               expect(to).toEqual(3);
-                                       };
-                                       
-                                       $d.bind('deck.change', f);
-                                       $.deck('go', 3);
-                                       $d.unbind('deck.change', f);
-                               });
-                               
-                               it('should not change slides if default prevented', function() {
-                                       $d.bind('deck.change', false);
-                                       $.deck('go', 3);
-                                       expect($.deck('getSlide')).toEqual($.deck('getSlide', 1));
-                                       $d.unbind('deck.change', false);
-                               });
-                       });
-                       
-                       describe('deck.init', function() {
-                               it('should fire on deck initialization', function() {
-                                       expect('deck.init').toHaveBeenTriggeredOn($d);
-                               });
-                               
-                               it('should have already populated the slides array', function() {
-                                       var f = function() {
-                                               expect($.deck('getSlides').length).toBeGreaterThan(0);
-                                       };
-                                       
-                                       $d.bind('deck.init', f);
-                                       $.deck('.slide');
-                                       $d.unbind('deck.init', f);
-                               });
-                       });
-                       
-                       describe('deck.beforeInit', function() {
-                               it('should fire on deck initialization', function() {
-                                       expect('deck.beforeInit').toHaveBeenTriggeredOn($d);
-                               });
-                               
-                               it('should have not populated the slides array', function() {
-                                       var f = function() {
-                                               expect($.deck('getSlides').length).toEqual(0);
-                                       };
-                                       
-                                       $d.bind('deck.beforeInit', f);
-                                       $.deck('.slide');
-                                       $d.unbind('deck.beforeInit', f);
-                               });
-                       });
-               });
-       });
-       
-       describe('complex html structure', function() {
-               beforeEach(function() {
-                       loadFixtures('complex.html');
-                       if (Modernizr.history) {
-                               history.replaceState({}, "", "#")
-                       }
-                       $.deck([
-                               '.slide1',
-                               '.slide2',
-                               '.slide3',
-                               '.slide4',
-                               '.slide5',
-                               '.slide6',
-                               '.slide7',
-                               '.slide8',
-                               '.slide9',
-                               '.slide10',
-                       ]);
-                       $.deck('go', 2);
-               });
-               
-               describe('compound state classes', function() {
-                       it('should apply current class', function() {
-                               $('.slide3').each(function(i, el) {
-                                       expect($(el)).toHaveClass(defaults.classes.current);
-                               });
-                       });
-                       
-                       it('should apply previous class', function() {
-                               $('.slide2').each(function(i, el) {
-                                       expect($(el)).toHaveClass(defaults.classes.previous);
-                               });
-                       });
-                       
-                       it('should apply next class', function() {
-                               $('.slide4').each(function(i, el) {
-                                       expect($(el)).toHaveClass(defaults.classes.next);
-                               });
-                       });
-                       
-                       it('should apply before class', function() {
-                               $('.slide1').each(function(i, el) {
-                                       expect($(el)).toHaveClass(defaults.classes.before);
-                               });
-                       });
-                       
-                       it('should apply after class', function() {
-                               $('.slide5, .slide6, .slide7, .slide8, .slide9, .slide10').each(function(i, el) {
-                                       expect($(el)).toHaveClass(defaults.classes.after);
-                               });
-                       });
-                       
-                       it('should apply child-current class', function() {
-                               expect($('.slide2').not('.slide10')).toHaveClass(defaults.classes.childCurrent);
-                       });
-               });
-               
-               it('should remove old state classes', function() {
-                       $.deck('go', 4);
-                       expect($('.slide3').not('.slide5')).not.toHaveClass(defaults.classes.current);
-                       expect($('.slide2').not('.slide4')).not.toHaveClass(defaults.classes.previous);
-                       expect($('.slide4').not('.slide6')).not.toHaveClass(defaults.classes.next);
-               });
-       });
-
-       describe('iframes', function() {
-               beforeEach(function() {
-                       loadFixtures('iframes.html');
-                       if (Modernizr.history) {
-                               history.replaceState({}, "", "#")
-                       }
-                       $.deck([
-                               '.slide1',
-                               '.slide2',
-                               '.slide3',
-                               '.slide4',
-                               '.slide5',
-                               '.slide6',
-                               '.slide7',
-                               '.slide8',
-                               '.slide9',
-                               '.slide10',
-                       ]);
-
-               });
-
-               it('should remove/restore iframe sources when leaving/entering a slide', function() {
-                       $.deck('go', 4);
-               expect($.deck('getSlide').find('iframe').attr('src')).toEqual('fixtures/iframe_simple.html');
-               $.deck('next');
-               expect($('.slide5').find('iframe').attr('src')).toEqual('');
-            $.deck('prev');
-            expect($('.slide5').find('iframe').attr('src')).toEqual('fixtures/iframe_simple.html');
-        });
-
-               it('should not store blank iframe sources', function() {
-                 $.deck('go', 6);
-                 $.deck('next');
-                 expect($.deck('getSlide').find('iframe').data('src')).toBeUndefined();
-               });
-       });
-       
-       describe('empty deck', function() {
-               beforeEach(function() {
-                       loadFixtures('empty.html');
-                       $.deck('.slide');
-               });
-               
-               describe('getSlide()', function() {
-                       it('should not error on init', $.noop);
-               });
-       });
-});
diff --git a/deck.js/test/spec.goto.js b/deck.js/test/spec.goto.js
deleted file mode 100644 (file)
index 391d80c..0000000
+++ /dev/null
@@ -1,142 +0,0 @@
-describe('Deck JS Quick Go-To', function() {
-       var $d = $(document);
-       
-       beforeEach(function() {
-               loadFixtures('standard.html');
-               if (Modernizr.history) {
-                       history.replaceState({}, "", "#")
-               }
-               else {
-                       window.location.hash = '#';
-               }
-               $.deck('.slide');
-       });
-       
-       describe('showGoTo()', function() {
-               it('should show the go-to helper', function() {
-                       expect($(defaults.selectors.container)).not.toHaveClass(defaults.classes.goto);
-                       $.deck('showGoTo');
-                       expect($(defaults.selectors.container)).toHaveClass(defaults.classes.goto);
-               });
-               
-               it('should focus the go-to input', function() {
-                       $.deck('showGoTo');
-                       expect($(defaults.selectors.gotoInput)[0]).toEqual(document.activeElement);
-               });
-       });
-       
-       describe('hideGoTo()', function() {
-               beforeEach(function() {
-                       $.deck('showGoTo');
-                       $.deck('hideGoTo');
-               });
-               
-               it('should hide the go-to helper', function() {
-                       expect($(defaults.selectors.container)).not.toHaveClass(defaults.classes.goto);
-               });
-               
-               it('should blur the go-to input', function() {
-                       expect($(defaults.selectors.gotoInput)[0]).not.toEqual(document.activeElement);
-               });
-       });
-       
-       describe('toggleGoTo()', function() {
-               it('should toggle the go-to helper on and off', function() {
-                       expect($(defaults.selectors.container)).not.toHaveClass(defaults.classes.goto);
-                       $.deck('toggleGoTo');
-                       expect($(defaults.selectors.container)).toHaveClass(defaults.classes.goto);
-                       $.deck('toggleGoTo');
-                       expect($(defaults.selectors.container)).not.toHaveClass(defaults.classes.goto);
-               });
-       });
-       
-       describe('Go-To submit', function() {
-               beforeEach(function() {
-                       $.deck('showGoTo');
-               });
-               
-               it('should hide the go-to helper', function() {
-                       $(defaults.selectors.gotoInput).val('3');
-                       $(defaults.selectors.gotoForm).submit();
-                       expect($(defaults.selectors.container)).not.toHaveClass(defaults.classes.goto);
-               });
-               
-               it('should go to the slide number entered', function() {
-                       $(defaults.selectors.gotoInput).val('3');
-                       $(defaults.selectors.gotoForm).submit();
-                       expect($.deck('getSlide')).toEqual($.deck('getSlide'), 2);
-               });
-               
-               it('should go to the slide id entered', function() {
-                       $(defaults.selectors.gotoInput).val('custom-id');
-                       $(defaults.selectors.gotoForm).submit();
-                       expect($.deck('getSlide')).toEqual($.deck('getSlide'), 1);
-               });
-               
-               it('should go nowhere if the number is negative', function() {
-                       $(defaults.selectors.gotoInput).val('-2');
-                       $(defaults.selectors.gotoForm).submit();
-                       expect($.deck('getSlide')).toEqual($.deck('getSlide'), 0);
-               });
-               
-               it('should go nowhere if the number is greater than the number of slides', function() {
-                       $(defaults.selectors.gotoInput).val('9');
-                       $(defaults.selectors.gotoForm).submit();
-                       expect($.deck('getSlide')).toEqual($.deck('getSlide'), 0);
-               });
-               
-               it('should go nowhere if the id does not exist', function() {
-                       $(defaults.selectors.gotoInput).val('do-not-exist');
-                       $(defaults.selectors.gotoForm).submit();
-                       expect($.deck('getSlide')).toEqual($.deck('getSlide'), 0);
-               });
-       });
-       
-       describe('Datalist population', function() {
-               it('should fill in options with all the slide ids', function() {
-                       var $dataOptions = $(defaults.selectors.gotoDatalist).find('option');
-                       expect($dataOptions.length).toEqual(5);
-                       expect($dataOptions.eq(0).attr('value')).toEqual('slide-0');
-                       expect($dataOptions.eq(1).attr('value')).toEqual('custom-id');
-               });
-       });
-       
-       describe('key bindings', function() {
-               var e;
-
-               beforeEach(function() {
-                       e = jQuery.Event('keydown.deckgoto');
-               });
-               
-               it('should toggle the go-to helper if the specified key is pressed', function() {
-                       e.which = 71; // g
-                       $d.trigger(e);
-                       expect($(defaults.selectors.container)).toHaveClass(defaults.classes.goto);
-                       $d.trigger(e);
-                       expect($(defaults.selectors.container)).not.toHaveClass(defaults.classes.goto);
-               });
-       });
-       
-       describe('countNested false', function() {
-         beforeEach(function() {
-           loadFixtures('nesteds.html');
-                       $.deck('.slide', {
-                               countNested: false
-                       });
-                       $.deck('showGoTo');
-         });
-         
-               it('should ignore nested slides when given a slide number', function() {
-                       $(defaults.selectors.gotoInput).val('4');
-                       $(defaults.selectors.gotoForm).submit();
-                       expect($.deck('getSlide')).toHaveId('after');
-               });
-               
-               it('should respect top side of new slide range', function() {
-                 $.deck('go', 0);
-                       $(defaults.selectors.gotoInput).val('6');
-                       $(defaults.selectors.gotoForm).submit();
-                       expect($.deck('getSlide')).toHaveId('slide-0');
-               });
-       });
-});
\ No newline at end of file
diff --git a/deck.js/test/spec.hash.js b/deck.js/test/spec.hash.js
deleted file mode 100644 (file)
index c1faafd..0000000
+++ /dev/null
@@ -1,81 +0,0 @@
-describe('Deck JS Hash Extension', function() {
-       beforeEach(function() {
-               loadFixtures('standard.html');
-               if (Modernizr.history) {
-                       history.replaceState({}, "", "#")
-               }
-               else {
-                       window.location.hash = '#';
-               }
-               $.deck('.slide');
-       });
-       
-       it('should assign ids to slides that do not have them', function() {
-               var slides = $.deck('getSlides');
-               $.each(slides, function(i, $e) {
-                       expect($e.attr('id')).toBeTruthy();
-               });
-       });
-       
-       it('should reassign ids on reinitialization', function() {
-               var $firstSlide = $.deck('getSlide', 0),
-               firstID = $firstSlide.attr('id');
-               
-               $firstSlide.before('<div class="slide"></div>');
-               $.deck('.slide');
-               expect($firstSlide).not.toHaveId(firstID);
-       });
-       
-   it('should update container with a state class including the slide id', function() {
-      var $c = $.deck('getContainer'),
-      osp = defaults.classes.onPrefix;
-      
-      expect($c).toHaveClass(osp + $.deck('getSlide', 0).attr('id'));
-      $.deck('next');
-      expect($c).toHaveClass(osp + $.deck('getSlide', 1).attr('id'));
-      $.deck('next');
-      expect($c).not.toHaveClass(osp + $.deck('getSlide', 1).attr('id'));
-      expect($c).toHaveClass(osp + $.deck('getSlide', 2).attr('id'));
-   });
-       
-       it('should update the href on slide change', function() {
-               var $hashLink = $(defaults.selectors.hashLink);
-               $.deck('go', 3);
-               expect($hashLink.attr('href')).toMatch('#slide-3');
-       });
-       
-       it('should use existing ids if they exist', function() {
-               var $hashLink = $(defaults.selectors.hashLink);
-               $.deck('go', 1);
-               expect($hashLink.attr('href')).toMatch('#custom-id');
-       });
-       
-       it('should update the URL on slide change (if supported)', function() {
-               if (Modernizr.history) {
-                       $.deck('go', 3);
-                       expect(window.location.hash).toEqual('#slide-3');
-               }
-       });
-       
-       it('should deep link to slide on deck init', function() {
-               window.location.hash = "#slide-3";
-               $.deck('.slide');
-               expect($.deck('getSlide')).toHaveId('slide-3');
-       });
-       
-       it('should follow internal hash links using hashchange (if supported)', function() {
-               if (Modernizr.hashchange) {
-                       window.location.hash = "#slide-3";
-                       
-                       // Hashchange event doesn't fire right when the hash changes?
-                       waitsFor(function() {
-                               return $.deck('getSlide').attr('id') === 'slide-3';
-                       }, 'hash to change to slide-3', 2000);
-               }
-       });
-       
-       it('should follow internal hash links on click', function() {
-               /* Triggered clicks dont generate hashchanges, so until I find
-               a way to do this in an automated fashion, needs to be hand tested. */
-       });
-});
\ No newline at end of file
diff --git a/deck.js/test/spec.menu.js b/deck.js/test/spec.menu.js
deleted file mode 100644 (file)
index 35f494c..0000000
+++ /dev/null
@@ -1,66 +0,0 @@
-describe('Deck JS Menu', function() {
-       var $d = $(document),
-       dsc = defaults.selectors.container;
-       
-       beforeEach(function() {
-               loadFixtures('standard.html');
-               if (Modernizr.history) {
-                       history.replaceState({}, "", "#")
-               }
-               else {
-                       window.location.hash = '#';
-               }
-               $.deck('.slide');
-       });
-       
-       describe('showMenu()', function() {
-               it('should show the menu', function() {
-                       expect($(dsc)).not.toHaveClass(defaults.classes.menu);
-                       $.deck('showMenu');
-                       expect($(dsc)).toHaveClass(defaults.classes.menu);
-               });
-               
-               it('should do nothing if menu is already showing', function() {
-                       if (Modernizr.csstransforms) {
-                               $.deck('showMenu');
-                               $.deck('showMenu');
-                               $.deck('hideMenu');
-                               expect($('.slide').attr('style')).toBeFalsy();
-                       }
-               });
-       });
-       
-       describe('hideMenu()', function() {
-               it('should hide the menu', function() {
-                       $.deck('showMenu');
-                       $.deck('hideMenu');
-                       expect($(dsc)).not.toHaveClass(defaults.classes.menu);
-               });
-       });
-       
-       describe('toggleMenu()', function() {
-               it('should toggle menu on and off', function() {
-                       expect($(dsc)).not.toHaveClass(defaults.classes.menu);
-                       $.deck('toggleMenu');
-                       expect($(dsc)).toHaveClass(defaults.classes.menu);
-                       $.deck('toggleMenu');
-                       expect($(dsc)).not.toHaveClass(defaults.classes.menu);
-               });
-       });
-       
-       describe('key bindings', function() {
-               var e;
-
-               beforeEach(function() {
-                       e = jQuery.Event('keydown.deckmenu');
-               });
-               
-               it('should toggle the menu if the specified key is pressed', function() {
-                       e.which = 77; // m
-                       $d.trigger(e);
-                       expect($(dsc)).toHaveClass(defaults.classes.menu);
-                       $d.trigger(e);
-                       expect($(dsc)).not.toHaveClass(defaults.classes.menu);
-               });
-       });
-});
\ No newline at end of file
diff --git a/deck.js/test/spec.navigation.js b/deck.js/test/spec.navigation.js
deleted file mode 100644 (file)
index 46f6f21..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-describe('Deck JS Navigation Buttons', function() {
-       beforeEach(function() {
-               loadFixtures('standard.html');
-               if (Modernizr.history) {
-                       history.replaceState({}, "", "#")
-               }
-               else {
-                       window.location.hash = '#';
-               }
-               $.deck('.slide');
-       });
-       
-       it('should go to the next slide if next link is clicked', function() {
-               $(defaults.selectors.nextLink).click();
-               expect($.deck('getSlide')).toHaveClass('slide2');
-       });
-       
-       it('should go to the previous slide if previous link is clicked', function() {
-               $.deck('go', 2);
-               $(defaults.selectors.previousLink).click();
-               expect($.deck('getSlide')).toHaveClass('slide2');
-       });
-       
-       it('should add the disabled class to the previous link if on first slide', function() {
-               expect($(defaults.selectors.previousLink)).toHaveClass(defaults.classes.navDisabled);
-               $(defaults.selectors.nextLink).click();
-               expect($(defaults.selectors.previousLink)).not.toHaveClass(defaults.classes.navDisabled);
-               $(defaults.selectors.previousLink).click();
-               expect($(defaults.selectors.previousLink)).toHaveClass(defaults.classes.navDisabled);
-       });
-       
-       it('should add the disabled class to the next link if on last slide', function() {
-               expect($(defaults.selectors.nextLink)).not.toHaveClass(defaults.classes.navDisabled);
-               $.deck('go', $.deck('getSlides').length - 1);
-               expect($(defaults.selectors.nextLink)).toHaveClass(defaults.classes.navDisabled);
-       });
-       
-       it('should not start disabled if deck initialized in the middle', function() {
-               $.deck('go', 2);
-               $.deck('.slide');
-               expect($(defaults.selectors.previousLink)).not.toHaveClass(defaults.classes.navDisabled);
-       });
-       
-       it('should update the links hrefs with real fragment ids', function() {
-               expect($(defaults.selectors.previousLink).attr('href')).toMatch(/#$/);
-               expect($(defaults.selectors.nextLink).attr('href')).toMatch('#custom-id');
-               $.deck('go', 2);
-               expect($(defaults.selectors.previousLink).attr('href')).toMatch('#custom-id');
-               expect($(defaults.selectors.nextLink).attr('href')).toMatch('#slide-3');
-       });
-});
\ No newline at end of file
diff --git a/deck.js/test/spec.scale.js b/deck.js/test/spec.scale.js
deleted file mode 100644 (file)
index 0976ba1..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-describe('Deck JS Status Indicator', function() {
-       beforeEach(function() {
-               loadFixtures('standard.html');
-               if (Modernizr.history) {
-                       history.replaceState({}, "", "#")
-               }
-               else {
-                       window.location.hash = '#';
-               }
-               $.deck('.slide');
-       });
-       
-       it('should start with scaling enabled', function() {
-               expect($.deck('getContainer')).toHaveClass(defaults.classes.scale);
-       });
-       
-       describe('disableScale()', function() {
-               it('should remove the scale class from the container', function() {
-                       $.deck('disableScale');
-                       expect($.deck('getContainer')).not.toHaveClass(defaults.classes.scale);
-               });
-       });
-       
-       describe('enableScale()', function() {
-               it('should add the scale class to the container', function() {
-                       $.deck('disableScale');
-                       $.deck('enableScale');
-                       expect($.deck('getContainer')).toHaveClass(defaults.classes.scale);
-               });
-       });
-       
-       describe('toggleScale()', function() {
-               it('should toggle between adding and removing the scale class', function() {
-                       $.deck('toggleScale');
-                       expect($.deck('getContainer')).not.toHaveClass(defaults.classes.scale);
-                       $.deck('toggleScale');
-                       expect($.deck('getContainer')).toHaveClass(defaults.classes.scale);
-               });
-       });
-       
-       describe('key bindings', function() {
-               var e,
-               $d = $(document);
-
-               beforeEach(function() {
-                       e = jQuery.Event('keydown.deckscale');
-               });
-               
-               it('should toggle scaling if the specified key is pressed', function() {
-                       e.which = 83; // s
-                       $d.trigger(e);
-                       expect($.deck('getContainer')).not.toHaveClass(defaults.classes.scale);
-                       $d.trigger(e);
-                       expect($.deck('getContainer')).toHaveClass(defaults.classes.scale);
-               });
-       });
-});
\ No newline at end of file
diff --git a/deck.js/test/spec.status.js b/deck.js/test/spec.status.js
deleted file mode 100644 (file)
index fe0e015..0000000
+++ /dev/null
@@ -1,58 +0,0 @@
-describe('Deck JS Status Indicator', function() {
-       beforeEach(function() {
-               loadFixtures('standard.html');
-               if (Modernizr.history) {
-                       history.replaceState({}, "", "#")
-               }
-               else {
-                       window.location.hash = '#';
-               }
-               $.deck('.slide');
-       });
-       
-       it('should show the correct total number of slides', function() {
-               expect($(defaults.selectors.statusTotal)).toHaveText($.deck('getSlides').length);
-       });
-       
-       it('should start at the right current slide', function() {
-               expect($(defaults.selectors.statusCurrent)).toHaveText(1);
-               $.deck('go', 2);
-               $.deck('.slide');
-               expect($(defaults.selectors.statusCurrent)).toHaveText(3);
-       });
-       
-       it('should update to the correct number on slide change', function() {
-               $.deck('go', 2);
-               expect($(defaults.selectors.statusCurrent)).toHaveText('3');
-       });
-});
-
-describe('countNested false indicator', function() {
-       beforeEach(function() {
-               loadFixtures('nesteds.html');
-               if (Modernizr.history) {
-                       history.replaceState({}, "", "#")
-               }
-               else {
-                       window.location.hash = '#';
-               }
-               $.deck('.slide', {
-                       countNested: false
-               });
-       });
-       
-       it('should ignore nested slides in the total', function() {
-               expect($(defaults.selectors.statusTotal)).toHaveText('5');
-       });
-       
-       it('should update to the root slide number when nested becomes active', function() {
-               $.deck('go', 10);
-               expect($(defaults.selectors.statusCurrent)).toHaveText('4');
-               $.deck('prev');
-               expect($(defaults.selectors.statusCurrent)).toHaveText('3');
-               $.deck('go', 3);
-               expect($(defaults.selectors.statusCurrent)).toHaveText('3');
-               $.deck('go', 1);
-               expect($(defaults.selectors.statusCurrent)).toHaveText('2');
-       });
-});
\ No newline at end of file
diff --git a/deck.js/themes/style/neon.css b/deck.js/themes/style/neon.css
deleted file mode 100644 (file)
index aaaeb93..0000000
+++ /dev/null
@@ -1,123 +0,0 @@
-.deck-container {
-  font-family: "Gill Sans", "Gill Sans MT", Calibri, sans-serif;
-  font-size: 1.75em;
-  color: #aaa;
-  background: #000;
-}
-.deck-container .slide {
-  background: #000;
-}
-.deck-container .slide h1 {
-  color: #0af;
-  font-weight: normal;
-  font-weight: 100;
-  text-shadow: 0 0 50px #0af, 0 0 3px #fff;
-}
-.deck-container .slide h2 {
-  color: #af0;
-  border-bottom-color: #ccc;
-  font-weight: normal;
-  font-weight: 100;
-  text-shadow: 0 0 15px #af0, 0 0 2px #fff;
-  border-bottom: 1px solid #333;
-}
-.deck-container .slide h3 {
-  color: #fff;
-  font-weight: normal;
-  font-weight: 100;
-  text-shadow: 0 0 10px #fff, 0 0 2px #fff;
-}
-.deck-container .slide pre {
-  border-color: #333;
-}
-.deck-container .slide pre code {
-  color: #fff;
-}
-.deck-container .slide code {
-  color: #f0a;
-}
-.deck-container .slide blockquote {
-  font-size: 2em;
-  padding: 1em 2em;
-  color: #fff;
-  border-left: 5px solid #fff;
-}
-.deck-container .slide blockquote p {
-  margin: 0;
-}
-.deck-container .slide blockquote cite {
-  font-size: .5em;
-  font-style: normal;
-  font-weight: normal;
-  font-weight: 100;
-  color: #aaa;
-  text-shadow: 0 0 15px #fff, 0 0 2px #fff;
-}
-.deck-container .slide ::-moz-selection {
-  background: #a0f;
-}
-.deck-container .slide ::selection {
-  background: #a0f;
-}
-.deck-container .slide a, .deck-container .slide a:hover, .deck-container .slide a:focus, .deck-container .slide a:active, .deck-container .slide a:visited {
-  color: #f0a;
-  text-decoration: none;
-}
-.deck-container .slide a:hover, .deck-container .slide a:focus {
-  text-decoration: underline;
-}
-.deck-container .deck-prev-link, .deck-container .deck-next-link {
-  background: #f0a;
-  text-shadow: 0 0 3px #fff;
-}
-.deck-container .deck-prev-link, .deck-container .deck-prev-link:hover, .deck-container .deck-prev-link:focus, .deck-container .deck-prev-link:active, .deck-container .deck-prev-link:visited, .deck-container .deck-next-link, .deck-container .deck-next-link:hover, .deck-container .deck-next-link:focus, .deck-container .deck-next-link:active, .deck-container .deck-next-link:visited {
-  color: #fff;
-}
-.deck-container .deck-prev-link:hover, .deck-container .deck-prev-link:focus, .deck-container .deck-next-link:hover, .deck-container .deck-next-link:focus {
-  text-decoration: none;
-}
-.boxshadow .deck-container .deck-prev-link:hover, .boxshadow .deck-container .deck-prev-link:focus, .boxshadow .deck-container .deck-next-link:hover, .boxshadow .deck-container .deck-next-link:focus {
-  -webkit-box-shadow: 0 0 20px #f0a, 0 0 5px #fff;
-  -moz-box-shadow: 0 0 20px #f0a, 0 0 5px #fff;
-  box-shadow: 0 0 20px #f0a, 0 0 5px #fff;
-}
-.deck-container > .slide .deck-before, .deck-container > .slide .deck-previous {
-  opacity: 0.4;
-}
-.deck-container > .slide .deck-before:not(.deck-child-current) .deck-before, .deck-container > .slide .deck-before:not(.deck-child-current) .deck-previous, .deck-container > .slide .deck-previous:not(.deck-child-current) .deck-before, .deck-container > .slide .deck-previous:not(.deck-child-current) .deck-previous {
-  opacity: 1;
-}
-.deck-container > .slide .deck-child-current {
-  opacity: 1;
-}
-.deck-container .deck-status {
-  font-size: 0.6666em;
-}
-.deck-container .goto-form {
-  background: #000;
-  border: 1px solid #f0a;
-}
-.deck-container .goto-form label {
-  color: #fff;
-}
-.deck-container.deck-menu .slide {
-  background: #333;
-}
-.deck-container.deck-menu .deck-current {
-  background: #444;
-}
-.boxshadow .deck-container.deck-menu .deck-current {
-  background: #000;
-  -webkit-box-shadow: 0 0 20px #f0a, 0 0 5px #fff;
-  -moz-box-shadow: 0 0 20px #f0a, 0 0 5px #fff;
-  box-shadow: 0 0 20px #f0a, 0 0 5px #fff;
-}
-.no-touch .deck-container.deck-menu .slide:hover {
-  background: #444;
-}
-.no-touch.boxshadow .deck-container.deck-menu .slide:hover {
-  background: #000;
-  -webkit-box-shadow: 0 0 20px #f0a, 0 0 5px #fff;
-  -moz-box-shadow: 0 0 20px #f0a, 0 0 5px #fff;
-  box-shadow: 0 0 20px #f0a, 0 0 5px #fff;
-}
diff --git a/deck.js/themes/style/neon.scss b/deck.js/themes/style/neon.scss
deleted file mode 100644 (file)
index d44babf..0000000
+++ /dev/null
@@ -1,155 +0,0 @@
-.deck-container {
-       font-family: "Gill Sans", "Gill Sans MT", Calibri, sans-serif;
-       font-size:1.75em;
-       color:#aaa;
-       background:#000;
-       
-       .slide {
-               background:#000;
-               
-               h1 {
-                       color:#0af;
-                       font-weight:normal;
-                       font-weight:100;
-                       text-shadow:0 0 50px #0af, 0 0 3px #fff;
-               }
-
-               h2 {
-                       color:#af0;
-                       border-bottom-color:#ccc;
-                       font-weight:normal;
-                       font-weight:100;
-                       text-shadow:0 0 15px #af0, 0 0 2px #fff;
-                       border-bottom:1px solid #333;
-               }
-
-               h3 {
-                       color:#fff;
-                       font-weight:normal;
-                       font-weight:100;
-                       text-shadow:0 0 10px #fff, 0 0 2px #fff;
-               }
-
-               pre {
-                       border-color:#333;
-
-                       code {
-                               color:#fff;
-                       }
-               }
-
-               code {
-                       color:#f0a;
-               }
-
-               blockquote {
-                       font-size:2em;
-                       padding:1em 2em;
-                       color:#fff;
-                       border-left:5px solid #fff;
-
-                       p {
-                               margin:0;
-                       }
-
-                       cite {
-                               font-size:.5em;
-                               font-style:normal;
-                               font-weight:normal;
-                               font-weight:100;
-                               color:#aaa;
-                               text-shadow:0 0 15px #fff, 0 0 2px #fff;
-                       }
-               }
-
-               ::-moz-selection{ background:#a0f; }
-               ::selection { background:#a0f; }
-
-               a {
-                       &, &:hover, &:focus, &:active, &:visited {
-                               color:#f0a;
-                               text-decoration:none;
-                       }
-
-                       &:hover, &:focus {
-                               text-decoration:underline;
-                       }
-               }
-       }
-       
-       .deck-prev-link, .deck-next-link {
-               background:#f0a;
-               text-shadow:0 0 3px #fff;
-               
-               &, &:hover, &:focus, &:active, &:visited {
-                       color:#fff;
-               }
-               
-               &:hover, &:focus {
-                       text-decoration:none;
-                       
-                       .boxshadow & {
-                               -webkit-box-shadow:0 0 20px #f0a, 0 0 5px #fff;
-                               -moz-box-shadow:0 0 20px #f0a, 0 0 5px #fff;
-                               box-shadow:0 0 20px #f0a, 0 0 5px #fff;
-                       }
-               }
-       }
-       
-       > .slide {
-               .deck-before, .deck-previous {
-                       opacity:0.4;
-                       
-                       &:not(.deck-child-current) {
-                               .deck-before, .deck-previous {
-                                       opacity:1;
-                               }
-                       }
-               }
-               
-               .deck-child-current {
-                       opacity:1;
-               }
-       }
-       
-       .deck-status {
-               font-size:0.6666em;
-       }
-       
-       .goto-form {
-               background:#000;
-               border:1px solid #f0a;
-               
-               label {
-                       color:#fff;
-               }
-       }
-       
-       &.deck-menu {
-               .slide {
-                       background:#333;
-               }
-               
-               .deck-current {
-                       background:#444;
-                       
-                       .boxshadow & {
-                               background:#000;
-                               -webkit-box-shadow:0 0 20px #f0a, 0 0 5px #fff;
-                               -moz-box-shadow:0 0 20px #f0a, 0 0 5px #fff;
-                               box-shadow:0 0 20px #f0a, 0 0 5px #fff;
-                       }
-               }
-               
-               .no-touch & .slide:hover {
-                       background:#444;
-               }
-               
-               .no-touch.boxshadow & .slide:hover {
-                       background:#000;
-                       -webkit-box-shadow:0 0 20px #f0a, 0 0 5px #fff;
-                       -moz-box-shadow:0 0 20px #f0a, 0 0 5px #fff;
-                       box-shadow:0 0 20px #f0a, 0 0 5px #fff;
-               }
-       }
-}
diff --git a/deck.js/themes/style/swiss.css b/deck.js/themes/style/swiss.css
deleted file mode 100644 (file)
index 64f76ac..0000000
+++ /dev/null
@@ -1,84 +0,0 @@
-.deck-container {
-  font-family: "Helvetica Neue", sans-serif;
-  font-size: 1.75em;
-  background: #fff;
-}
-.deck-container .slide {
-  background: #fff;
-}
-.deck-container .slide h1 {
-  color: #000;
-}
-.deck-container .slide h2 {
-  color: #c00;
-  border-bottom-color: #ccc;
-}
-.deck-container .slide h3 {
-  color: #888;
-}
-.deck-container .slide pre {
-  border-color: #ccc;
-}
-.deck-container .slide code {
-  color: #888;
-}
-.deck-container .slide blockquote {
-  font-size: 2em;
-  font-style: italic;
-  padding: 1em 2em;
-  color: #000;
-  border-left: 5px solid #ccc;
-}
-.deck-container .slide blockquote p {
-  margin: 0;
-}
-.deck-container .slide blockquote cite {
-  font-size: .5em;
-  font-style: normal;
-  font-weight: bold;
-  color: #888;
-}
-.deck-container .slide ::-moz-selection {
-  background: #c00;
-  color: #fff;
-}
-.deck-container .slide ::selection {
-  background: #c00;
-  color: #fff;
-}
-.deck-container .slide a, .deck-container .slide a:hover, .deck-container .slide a:focus, .deck-container .slide a:active, .deck-container .slide a:visited {
-  color: #c00;
-  text-decoration: none;
-}
-.deck-container .slide a:hover, .deck-container .slide a:focus {
-  text-decoration: underline;
-}
-.deck-container > .slide .deck-before, .deck-container > .slide .deck-previous {
-  opacity: 0.4;
-}
-.deck-container > .slide .deck-before:not(.deck-child-current) .deck-before, .deck-container > .slide .deck-before:not(.deck-child-current) .deck-previous, .deck-container > .slide .deck-previous:not(.deck-child-current) .deck-before, .deck-container > .slide .deck-previous:not(.deck-child-current) .deck-previous {
-  opacity: 1;
-}
-.deck-container > .slide .deck-child-current {
-  opacity: 1;
-}
-.deck-container .deck-prev-link, .deck-container .deck-next-link {
-  background: #ccc;
-  font-family: serif;
-}
-.deck-container .deck-prev-link, .deck-container .deck-prev-link:hover, .deck-container .deck-prev-link:focus, .deck-container .deck-prev-link:active, .deck-container .deck-prev-link:visited, .deck-container .deck-next-link, .deck-container .deck-next-link:hover, .deck-container .deck-next-link:focus, .deck-container .deck-next-link:active, .deck-container .deck-next-link:visited {
-  color: #fff;
-}
-.deck-container .deck-prev-link:hover, .deck-container .deck-prev-link:focus, .deck-container .deck-next-link:hover, .deck-container .deck-next-link:focus {
-  background: #c00;
-  text-decoration: none;
-}
-.deck-container .deck-status {
-  font-size: 0.6666em;
-}
-.deck-container.deck-menu .slide {
-  background: #eee;
-}
-.deck-container.deck-menu .deck-current, .no-touch .deck-container.deck-menu .slide:hover {
-  background: #ddf;
-}
diff --git a/deck.js/themes/style/swiss.scss b/deck.js/themes/style/swiss.scss
deleted file mode 100644 (file)
index f9b0e76..0000000
+++ /dev/null
@@ -1,107 +0,0 @@
-.deck-container {
-       font-family: "Helvetica Neue", sans-serif;
-       font-size:1.75em;
-       background:#fff;
-       
-       .slide {
-               background:#fff;
-               
-               h1 {
-                       color:#000;
-               }
-
-               h2 {
-                       color:#c00;
-                       border-bottom-color:#ccc;
-               }
-
-               h3 {
-                       color:#888;
-               }
-
-               pre {
-                       border-color:#ccc;
-               }
-
-               code {
-                       color:#888;
-               }
-
-               blockquote {
-                       font-size:2em;
-                       font-style:italic;
-                       padding:1em 2em;
-                       color:#000;
-                       border-left:5px solid #ccc;
-
-                       p {
-                               margin:0;
-                       }
-
-                       cite {
-                               font-size:.5em;
-                               font-style:normal;
-                               font-weight:bold;
-                               color:#888;
-                       }
-               }
-
-               ::-moz-selection{ background:#c00; color:#fff; }
-               ::selection { background:#c00; color:#fff; }
-
-               a {
-                       &, &:hover, &:focus, &:active, &:visited {
-                               color:#c00;
-                               text-decoration:none;
-                       }
-
-                       &:hover, &:focus {
-                               text-decoration:underline;
-                       }
-               }
-       }
-       
-       > .slide {
-               .deck-before, .deck-previous {
-                       opacity:0.4;
-                       
-                       &:not(.deck-child-current) {
-                               .deck-before, .deck-previous {
-                                       opacity:1;
-                               }
-                       }
-               }
-               
-               .deck-child-current {
-                       opacity:1;
-               }
-       } 
-       
-       .deck-prev-link, .deck-next-link {
-               background:#ccc;
-               font-family:serif; // sans-serif arrows x-browser fail
-               
-               &, &:hover, &:focus, &:active, &:visited {
-                       color:#fff;
-               }
-               
-               &:hover, &:focus {
-                       background:#c00;
-                       text-decoration:none;
-               }
-       }
-       
-       .deck-status {
-               font-size:0.6666em;
-       }
-       
-       &.deck-menu {
-               .slide {
-                       background:#eee;
-               }
-               
-               .deck-current, .no-touch & .slide:hover {
-                       background:#ddf;
-               }
-       }
-}
diff --git a/deck.js/themes/style/web-2.0.css b/deck.js/themes/style/web-2.0.css
deleted file mode 100644 (file)
index a30bd6f..0000000
+++ /dev/null
@@ -1,214 +0,0 @@
-@charset "UTF-8";
-.deck-container {
-  font-family: "Gill Sans", "Gill Sans MT", Calibri, sans-serif;
-  font-size: 1.75em;
-  background: #f4fafe;
-  /* Old browsers */
-  background: -moz-linear-gradient(top, #f4fafe 0%, #ccf0f0 100%);
-  /* FF3.6+ */
-  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #f4fafe), color-stop(100%, #ccf0f0));
-  /* Chrome,Safari4+ */
-  background: -webkit-linear-gradient(top, #f4fafe 0%, #ccf0f0 100%);
-  /* Chrome10+,Safari5.1+ */
-  background: -o-linear-gradient(top, #f4fafe 0%, #ccf0f0 100%);
-  /* Opera11.10+ */
-  background: -ms-linear-gradient(top, #f4fafe 0%, #ccf0f0 100%);
-  /* IE10+ */
-  background: linear-gradient(top, #f4fafe 0%, #ccf0f0 100%);
-  /* W3C */
-  background-attachment: fixed;
-}
-.deck-container > .slide {
-  text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.5);
-}
-.deck-container > .slide .deck-before, .deck-container > .slide .deck-previous {
-  opacity: 0.4;
-}
-.deck-container > .slide .deck-before:not(.deck-child-current) .deck-before, .deck-container > .slide .deck-before:not(.deck-child-current) .deck-previous, .deck-container > .slide .deck-previous:not(.deck-child-current) .deck-before, .deck-container > .slide .deck-previous:not(.deck-child-current) .deck-previous {
-  opacity: 1;
-}
-.deck-container > .slide .deck-child-current {
-  opacity: 1;
-}
-.deck-container .slide h1, .deck-container .slide h2, .deck-container .slide h3, .deck-container .slide h4, .deck-container .slide h5, .deck-container .slide h6 {
-  font-family: "Hoefler Text", Constantia, Palatino, "Palatino Linotype", "Book Antiqua", Georgia, serif;
-}
-.deck-container .slide h1 {
-  color: #08455f;
-}
-.deck-container .slide h2 {
-  color: #0b7495;
-  border-bottom: 0;
-}
-.cssreflections .deck-container .slide h2 {
-  line-height: 1;
-  -webkit-box-reflect: below -0.556em -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop(0.3, transparent), color-stop(0.7, rgba(255, 255, 255, 0.1)), to(transparent));
-  -moz-box-reflect: below -0.556em -moz-linear-gradient(top, transparent 0%, transparent 30%, rgba(255, 255, 255, 0.3) 100%);
-}
-.deck-container .slide h3 {
-  color: #000;
-}
-.deck-container .slide pre {
-  border-color: #cde;
-  background: #fff;
-  position: relative;
-  z-index: auto;
-  /* http://nicolasgallagher.com/css-drop-shadows-without-images/ */
-}
-.borderradius .deck-container .slide pre {
-  -webkit-border-radius: 5px;
-  -moz-border-radius: 5px;
-  border-radius: 5px;
-}
-.csstransforms.boxshadow .deck-container .slide pre > :first-child:before {
-  content: "";
-  position: absolute;
-  z-index: -1;
-  background: #fff;
-  top: 0;
-  bottom: 0;
-  left: 0;
-  right: 0;
-}
-.csstransforms.boxshadow .deck-container .slide pre:before, .csstransforms.boxshadow .deck-container .slide pre:after {
-  content: "";
-  position: absolute;
-  z-index: -2;
-  bottom: 15px;
-  width: 50%;
-  height: 20%;
-  max-width: 300px;
-  -webkit-box-shadow: 0 15px 10px rgba(0, 0, 0, 0.7);
-  -moz-box-shadow: 0 15px 10px rgba(0, 0, 0, 0.7);
-  box-shadow: 0 15px 10px rgba(0, 0, 0, 0.7);
-}
-.csstransforms.boxshadow .deck-container .slide pre:before {
-  left: 10px;
-  -webkit-transform: rotate(-3deg);
-  -moz-transform: rotate(-3deg);
-  -ms-transform: rotate(-3deg);
-  -o-transform: rotate(-3deg);
-  transform: rotate(-3deg);
-}
-.csstransforms.boxshadow .deck-container .slide pre:after {
-  right: 10px;
-  -webkit-transform: rotate(3deg);
-  -moz-transform: rotate(3deg);
-  -ms-transform: rotate(3deg);
-  -o-transform: rotate(3deg);
-  transform: rotate(3deg);
-}
-.deck-container .slide code {
-  color: #789;
-}
-.deck-container .slide blockquote {
-  font-family: "Hoefler Text", Constantia, Palatino, "Palatino Linotype", "Book Antiqua", Georgia, serif;
-  font-size: 2em;
-  padding: 1em 2em .5em 2em;
-  color: #000;
-  background: #fff;
-  position: relative;
-  border: 1px solid #cde;
-  z-index: auto;
-}
-.borderradius .deck-container .slide blockquote {
-  -webkit-border-radius: 5px;
-  -moz-border-radius: 5px;
-  border-radius: 5px;
-}
-.boxshadow .deck-container .slide blockquote > :first-child:before {
-  content: "";
-  position: absolute;
-  z-index: -1;
-  background: #fff;
-  top: 0;
-  bottom: 0;
-  left: 0;
-  right: 0;
-}
-.boxshadow .deck-container .slide blockquote:after {
-  content: "";
-  position: absolute;
-  z-index: -2;
-  top: 10px;
-  bottom: 10px;
-  left: 0;
-  right: 50%;
-  -moz-border-radius: 10px/100px;
-  border-radius: 10px/100px;
-  -webkit-box-shadow: 0 0 15px rgba(0, 0, 0, 0.6);
-  -moz-box-shadow: 0 0 15px rgba(0, 0, 0, 0.6);
-  box-shadow: 0 0 15px rgba(0, 0, 0, 0.6);
-}
-.deck-container .slide blockquote p {
-  margin: 0;
-}
-.deck-container .slide blockquote cite {
-  font-size: .5em;
-  font-style: normal;
-  font-weight: bold;
-  color: #888;
-}
-.deck-container .slide blockquote:before {
-  content: "“";
-  position: absolute;
-  top: 0;
-  left: 0;
-  font-size: 5em;
-  line-height: 1;
-  color: #ccf0f0;
-  z-index: 1;
-}
-.deck-container .slide ::-moz-selection {
-  background: #08455f;
-  color: #fff;
-}
-.deck-container .slide ::selection {
-  background: #08455f;
-  color: #fff;
-}
-.deck-container .slide a, .deck-container .slide a:hover, .deck-container .slide a:focus, .deck-container .slide a:active, .deck-container .slide a:visited {
-  color: #599;
-  text-decoration: none;
-}
-.deck-container .slide a:hover, .deck-container .slide a:focus {
-  text-decoration: underline;
-}
-.deck-container .deck-prev-link, .deck-container .deck-next-link {
-  background: #fff;
-  opacity: 0.5;
-}
-.deck-container .deck-prev-link, .deck-container .deck-prev-link:hover, .deck-container .deck-prev-link:focus, .deck-container .deck-prev-link:active, .deck-container .deck-prev-link:visited, .deck-container .deck-next-link, .deck-container .deck-next-link:hover, .deck-container .deck-next-link:focus, .deck-container .deck-next-link:active, .deck-container .deck-next-link:visited {
-  color: #599;
-}
-.deck-container .deck-prev-link:hover, .deck-container .deck-prev-link:focus, .deck-container .deck-next-link:hover, .deck-container .deck-next-link:focus {
-  opacity: 1;
-  text-decoration: none;
-}
-.deck-container .deck-status {
-  font-size: 0.6666em;
-}
-.deck-container.deck-menu .slide {
-  background: transparent;
-  -webkit-border-radius: 5px;
-  -moz-border-radius: 5px;
-  border-radius: 5px;
-}
-.rgba .deck-container.deck-menu .slide {
-  background: rgba(0, 0, 0, 0.1);
-}
-.deck-container.deck-menu .slide.deck-current, .rgba .deck-container.deck-menu .slide.deck-current, .no-touch .deck-container.deck-menu .slide:hover {
-  background: #fff;
-}
-.deck-container .goto-form {
-  background: #fff;
-  border: 1px solid #cde;
-  -webkit-border-radius: 5px;
-  -moz-border-radius: 5px;
-  border-radius: 5px;
-}
-.boxshadow .deck-container .goto-form {
-  -webkit-box-shadow: 0 15px 10px -10px rgba(0, 0, 0, 0.5), 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
-  -moz-box-shadow: 0 15px 10px -10px rgba(0, 0, 0, 0.5), 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
-  box-shadow: 0 15px 10px -10px rgba(0, 0, 0, 0.5), 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
-}
diff --git a/deck.js/themes/style/web-2.0.scss b/deck.js/themes/style/web-2.0.scss
deleted file mode 100644 (file)
index 2b36fae..0000000
+++ /dev/null
@@ -1,250 +0,0 @@
-@mixin border-radius($r) {
-       -webkit-border-radius:$r;
-       -moz-border-radius:$r;
-       border-radius:$r;
-}
-
-@mixin rotate($deg) {
-       -webkit-transform:rotate($deg);    
-       -moz-transform:rotate($deg);   
-       -ms-transform:rotate($deg);   
-       -o-transform:rotate($deg);
-       transform:rotate($deg);
-}
-
-@mixin box-shadow($x, $y, $blur, $color) {
-       -webkit-box-shadow:$x $y $blur $color;
-       -moz-box-shadow:$x $y $blur $color;
-       box-shadow:$x $y $blur $color;
-}
-
-
-.deck-container {
-       font-family: "Gill Sans", "Gill Sans MT", Calibri, sans-serif;
-       font-size:1.75em;
-       background: rgb(244,250,254); /* Old browsers */
-       background: -moz-linear-gradient(top, rgba(244,250,254,1) 0%, rgba(204,240,240,1) 100%); /* FF3.6+ */
-       background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(244,250,254,1)), color-stop(100%,rgba(204,240,240,1))); /* Chrome,Safari4+ */
-       background: -webkit-linear-gradient(top, rgba(244,250,254,1) 0%,rgba(204,240,240,1) 100%); /* Chrome10+,Safari5.1+ */
-       background: -o-linear-gradient(top, rgba(244,250,254,1) 0%,rgba(204,240,240,1) 100%); /* Opera11.10+ */
-       background: -ms-linear-gradient(top, rgba(244,250,254,1) 0%,rgba(204,240,240,1) 100%); /* IE10+ */
-       background: linear-gradient(top, rgba(244,250,254,1) 0%,rgba(204,240,240,1) 100%); /* W3C */
-       background-attachment: fixed;
-       
-       > .slide {
-               text-shadow:1px 1px 1px rgba(255,255,255,.5);
-               
-               .deck-before, .deck-previous {
-                       opacity:0.4;
-                       
-                       &:not(.deck-child-current) {
-                               .deck-before, .deck-previous {
-                                       opacity:1;
-                               }
-                       }
-               }
-               
-               .deck-child-current {
-                       opacity:1;
-               }
-       }
-       
-       .slide {
-               h1, h2, h3, h4, h5, h6 {
-                       font-family: "Hoefler Text", Constantia, Palatino, "Palatino Linotype", "Book Antiqua", Georgia, serif;
-               }
-
-               h1 {
-                       color:#08455f;
-               }
-
-               h2 {
-                       color:#0b7495;
-                       border-bottom:0;
-
-                       .cssreflections & {
-                               line-height:1;
-                               -webkit-box-reflect:below -0.5555em -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop(0.3, transparent), color-stop(0.7, rgba(255,255,255,.1)), to(transparent));
-                               -moz-box-reflect:below -0.5555em -moz-linear-gradient(top, transparent 0%, transparent 30%, rgba(255,255,255,.3) 100%);
-                       }
-               }
-
-               h3 {
-                       color:#000;
-               }
-
-               pre {
-                       border-color:#cde;
-                       background:#fff;
-                       position:relative;
-                       z-index:auto;
-
-                       .borderradius & {
-                               @include border-radius(5px);
-                       }
-
-                       /* http://nicolasgallagher.com/css-drop-shadows-without-images/ */
-                       .csstransforms.boxshadow & {
-                               > :first-child:before {
-                                       content:"";
-                                       position:absolute;
-                                       z-index:-1;
-                                       background:#fff;
-                                       top:0;
-                                       bottom:0;
-                                       left:0;
-                                       right:0;
-                               }
-
-                               &:before, &:after {
-                                       content:"";
-                                       position:absolute;
-                                       z-index:-2;
-                                       bottom:15px;
-                                       width:50%;
-                                       height:20%;
-                                       max-width:300px;
-                                       @include box-shadow(0, 15px, 10px, rgba(0, 0, 0, 0.7));
-                               }
-
-                               &:before {
-                                       left:10px;
-                                       @include rotate(-3deg);
-                               }
-
-                               &:after {
-                                       right:10px;
-                                       @include rotate(3deg);
-                               }
-                       }
-               }
-
-               code {
-                       color:#789;
-               }
-
-               blockquote {
-                       font-family: "Hoefler Text", Constantia, Palatino, "Palatino Linotype", "Book Antiqua", Georgia, serif;
-                       font-size:2em;
-                       padding:1em 2em .5em 2em;
-                       color:#000;
-                       background:#fff;
-                       position:relative;
-                       border:1px solid #cde;
-                       z-index:auto;
-
-                       .borderradius & {
-                               @include border-radius(5px);
-                       }
-
-                       .boxshadow & {
-                               > :first-child:before {
-                                       content:"";
-                                       position:absolute;
-                                       z-index:-1;
-                                       background:#fff;
-                                       top:0;
-                                       bottom:0;
-                                       left:0;
-                                       right:0;
-                               }
-
-                               &:after {
-                                       content:"";
-                                       position:absolute;
-                                       z-index:-2;
-                                       top: 10px;
-                                       bottom: 10px;
-                                       left: 0;
-                                       right: 50%;
-                                       -moz-border-radius: 10px / 100px;
-                                       border-radius: 10px / 100px;
-                                       @include box-shadow(0, 0, 15px, rgba(0,0,0,0.6));
-                               }
-                       }
-
-                       p {
-                               margin:0;
-                       }
-
-                       cite {
-                               font-size:.5em;
-                               font-style:normal;
-                               font-weight:bold;
-                               color:#888;
-                       }
-
-                       &:before {
-                               content:"“";
-                               position:absolute;
-                               top:0;
-                               left:0;
-                               font-size:5em;
-                               line-height:1;
-                               color:#ccf0f0;
-                               z-index:1;
-                       }
-               }
-
-               ::-moz-selection{ background:#08455f; color:#fff; }
-               ::selection { background:#08455f; color:#fff; }
-
-               a {
-                       &, &:hover, &:focus, &:active, &:visited {
-                               color:#599;
-                               text-decoration:none;
-                       }
-
-                       &:hover, &:focus {
-                               text-decoration:underline;
-                       }
-               }
-       }
-       
-       .deck-prev-link, .deck-next-link {
-               background:#fff;
-               opacity:0.5;
-
-               &, &:hover, &:focus, &:active, &:visited {
-                       color:#599;
-               }
-
-               &:hover, &:focus {
-                       opacity:1;
-                       text-decoration:none;
-               }
-       }
-       
-       .deck-status {
-               font-size:0.6666em;
-       }
-       
-       &.deck-menu {
-               .slide {
-                       background:transparent;
-                       @include border-radius(5px);
-                       
-                       .rgba & {
-                               background:rgba(0,0,0,.1);
-                       }
-                       
-                       &.deck-current, .rgba &.deck-current, .no-touch &:hover {
-                               background:#fff;
-                       }
-               }
-       }
-       
-       .goto-form {
-               background:#fff;
-               border:1px solid #cde;
-               @include border-radius(5px);
-               
-               .boxshadow & {
-                       -webkit-box-shadow: 0 15px 10px -10px rgba(0, 0, 0, 0.5), 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
-                       -moz-box-shadow: 0 15px 10px -10px rgba(0, 0, 0, 0.5), 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
-                       box-shadow: 0 15px 10px -10px rgba(0, 0, 0, 0.5), 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
-               }
-       }
-}
-
-
diff --git a/deck.js/themes/transition/fade.css b/deck.js/themes/transition/fade.css
deleted file mode 100644 (file)
index 3c3fa2d..0000000
+++ /dev/null
@@ -1,43 +0,0 @@
-.csstransitions.csstransforms .deck-container .slide {
-  -webkit-transition: opacity 500ms ease-in-out 0ms;
-  -moz-transition: opacity 500ms ease-in-out 0ms;
-  -ms-transition: opacity 500ms ease-in-out 0ms;
-  -o-transition: opacity 500ms ease-in-out 0ms;
-  transition: opacity 500ms ease-in-out 0ms;
-}
-.csstransitions.csstransforms .deck-container:not(.deck-menu) > .slide {
-  position: absolute;
-  top: 0;
-  left: 0;
-  -webkit-box-sizing: border-box;
-  -moz-box-sizing: border-box;
-  box-sizing: border-box;
-  width: 100%;
-  padding: 0 48px;
-}
-.csstransitions.csstransforms .deck-container:not(.deck-menu) > .slide .slide {
-  position: relative;
-  left: 0;
-  top: 0;
-}
-.csstransitions.csstransforms .deck-container:not(.deck-menu) > .slide .deck-next, .csstransitions.csstransforms .deck-container:not(.deck-menu) > .slide .deck-after {
-  opacity: 0;
-}
-.csstransitions.csstransforms .deck-container:not(.deck-menu) > .slide .deck-current {
-  opacity: 1;
-}
-.csstransitions.csstransforms .deck-container:not(.deck-menu) > .deck-previous, .csstransitions.csstransforms .deck-container:not(.deck-menu) > .deck-before, .csstransitions.csstransforms .deck-container:not(.deck-menu) > .deck-next, .csstransitions.csstransforms .deck-container:not(.deck-menu) > .deck-after {
-  opacity: 0;
-  pointer-events: none;
-}
-.csstransitions.csstransforms .deck-container:not(.deck-menu) > .deck-before .slide, .csstransitions.csstransforms .deck-container:not(.deck-menu) > .deck-previous .slide {
-  visibility: visible;
-}
-.csstransitions.csstransforms .deck-container:not(.deck-menu) > .deck-child-current {
-  opacity: 1;
-  visibility: visible;
-  pointer-events: auto;
-}
-.csstransitions.csstransforms .deck-container:not(.deck-menu) > .deck-child-current .deck-next, .csstransitions.csstransforms .deck-container:not(.deck-menu) > .deck-child-current .deck-after {
-  visibility: hidden;
-}
diff --git a/deck.js/themes/transition/fade.scss b/deck.js/themes/transition/fade.scss
deleted file mode 100644 (file)
index 7612629..0000000
+++ /dev/null
@@ -1,69 +0,0 @@
-@mixin translate($x: 0, $y: 0, $z: 0) {
-       -webkit-transform:translate3d($x, $y, $z);
-       -moz-transform:translate($x, $y);
-       -ms-transform:translate($x, $y);
-       -o-transform:translate($x, $y);
-       transform:translate3d($x, $y, $z);
-}
-
-@mixin transition($prop, $duration, $easing: ease-in-out, $delay: 0ms) {
-       -webkit-transition:$prop $duration $easing $delay;
-       -moz-transition:$prop $duration $easing $delay;
-       -ms-transition:$prop $duration $easing $delay;
-       -o-transition:$prop $duration $easing $delay;
-       transition:$prop $duration $easing $delay;
-}
-
-.csstransitions.csstransforms {
-       .deck-container .slide {
-               @include transition(opacity, 500ms);
-       }
-       
-       .deck-container:not(.deck-menu) {
-               > .slide {
-                       position:absolute;
-                       top:0;
-                       left:0;
-                       -webkit-box-sizing: border-box;
-                       -moz-box-sizing: border-box;
-                       box-sizing: border-box;
-                       width:100%;
-                       padding:0 48px;
-                       
-                       .slide {
-                               position:relative;
-                               left:0;
-                               top:0;
-                       }
-                       
-                       .deck-next, .deck-after {
-                               opacity:0;
-                       }
-                       
-                       .deck-current {
-                               opacity:1;
-                       }
-               }
-
-               > .deck-previous, > .deck-before, > .deck-next, > .deck-after {
-                       opacity:0;
-                       pointer-events:none;
-               }
-               
-               > .deck-before, > .deck-previous {
-                       .slide {
-                               visibility:visible;
-                       }
-               }
-
-               > .deck-child-current {
-                       opacity:1;
-                       visibility:visible;
-                       pointer-events:auto;
-                       
-                       .deck-next, .deck-after {
-                               visibility:hidden;
-                       }
-               }
-       }
-}
diff --git a/deck.js/themes/transition/horizontal-slide.css b/deck.js/themes/transition/horizontal-slide.css
deleted file mode 100644 (file)
index 4a4c6ad..0000000
+++ /dev/null
@@ -1,76 +0,0 @@
-.csstransitions.csstransforms {
-  overflow-x: hidden;
-}
-.csstransitions.csstransforms .deck-container > .slide {
-  -webkit-transition: -webkit-transform 500ms ease-in-out;
-  -moz-transition: -moz-transform 500ms ease-in-out;
-  -ms-transition: -ms-transform 500ms ease-in-out;
-  -o-transition: -o-transform 500ms ease-in-out;
-  transition: transform 500ms ease-in-out;
-}
-.csstransitions.csstransforms .deck-container:not(.deck-menu) > .slide {
-  position: absolute;
-  top: 0;
-  left: 0;
-  -webkit-box-sizing: border-box;
-  -moz-box-sizing: border-box;
-  box-sizing: border-box;
-  width: 100%;
-  padding: 0 48px;
-}
-.csstransitions.csstransforms .deck-container:not(.deck-menu) > .slide .slide {
-  position: relative;
-  left: 0;
-  top: 0;
-  -webkit-transition: -webkit-transform 500ms ease-in-out, opacity 500ms ease-in-out;
-  -moz-transition: -moz-transform 500ms ease-in-out, opacity 500ms ease-in-out;
-  -ms-transition: -ms-transform 500ms ease-in-out, opacity 500ms ease-in-out;
-  -o-transition: -o-transform 500ms ease-in-out, opacity 500ms ease-in-out;
-  transition: -webkit-transform 500ms ease-in-out, opacity 500ms ease-in-out;
-}
-.csstransitions.csstransforms .deck-container:not(.deck-menu) > .slide .deck-next, .csstransitions.csstransforms .deck-container:not(.deck-menu) > .slide .deck-after {
-  visibility: visible;
-  -webkit-transform: translate3d(200%, 0, 0);
-  -moz-transform: translate(200%, 0);
-  -ms-transform: translate(200%, 0);
-  -o-transform: translate(200%, 0);
-  transform: translate3d(200%, 0, 0);
-}
-.csstransitions.csstransforms .deck-container:not(.deck-menu) > .deck-previous {
-  -webkit-transform: translate3d(-200%, 0, 0);
-  -moz-transform: translate(-200%, 0);
-  -ms-transform: translate(-200%, 0);
-  -o-transform: translate(-200%, 0);
-  transform: translate3d(-200%, 0, 0);
-}
-.csstransitions.csstransforms .deck-container:not(.deck-menu) > .deck-before {
-  -webkit-transform: translate3d(-400%, 0, 0);
-  -moz-transform: translate(-400%, 0);
-  -ms-transform: translate(-400%, 0);
-  -o-transform: translate(-400%, 0);
-  transform: translate3d(-400%, 0, 0);
-}
-.csstransitions.csstransforms .deck-container:not(.deck-menu) > .deck-next {
-  -webkit-transform: translate3d(200%, 0, 0);
-  -moz-transform: translate(200%, 0);
-  -ms-transform: translate(200%, 0);
-  -o-transform: translate(200%, 0);
-  transform: translate3d(200%, 0, 0);
-}
-.csstransitions.csstransforms .deck-container:not(.deck-menu) > .deck-after {
-  -webkit-transform: translate3d(400%, 0, 0);
-  -moz-transform: translate(400%, 0);
-  -ms-transform: translate(400%, 0);
-  -o-transform: translate(400%, 0);
-  transform: translate3d(400%, 0, 0);
-}
-.csstransitions.csstransforms .deck-container:not(.deck-menu) > .deck-before .slide, .csstransitions.csstransforms .deck-container:not(.deck-menu) > .deck-previous .slide {
-  visibility: visible;
-}
-.csstransitions.csstransforms .deck-container:not(.deck-menu) > .deck-child-current {
-  -webkit-transform: none;
-  -moz-transform: none;
-  -ms-transform: none;
-  -o-transform: none;
-  transform: none;
-}
diff --git a/deck.js/themes/transition/horizontal-slide.scss b/deck.js/themes/transition/horizontal-slide.scss
deleted file mode 100644 (file)
index c260bbc..0000000
+++ /dev/null
@@ -1,90 +0,0 @@
-@mixin translate($x: 0, $y: 0, $z: 0) {
-       -webkit-transform:translate3d($x, $y, $z);
-       -moz-transform:translate($x, $y);
-       -ms-transform:translate($x, $y);
-       -o-transform:translate($x, $y);
-       transform:translate3d($x, $y, $z);
-}
-
-@mixin transition($prop, $duration, $easing: ease-in-out, $delay: 0ms) {
-       -webkit-transition:$prop $duration $easing $delay;
-       -moz-transition:$prop $duration $easing $delay;
-       -ms-transition:$prop $duration $easing $delay;
-       -o-transition:$prop $duration $easing $delay;
-       transition:$prop $duration $easing $delay;
-}
-
-@mixin transform($val) {
-       -webkit-transform:$val;
-       -moz-transform:$val;
-       -ms-transform:$val;
-       -o-transform:$val;
-       transform:$val;
-}
-
-.csstransitions.csstransforms {
-       overflow-x:hidden;
-       
-       .deck-container > .slide {
-               -webkit-transition:-webkit-transform 500ms ease-in-out;
-               -moz-transition:-moz-transform 500ms ease-in-out;
-               -ms-transition:-ms-transform 500ms ease-in-out;
-               -o-transition:-o-transform 500ms ease-in-out;
-               transition:transform 500ms ease-in-out;
-       }
-       
-       .deck-container:not(.deck-menu) {
-               > .slide {
-                       position:absolute;
-                       top:0;
-                       left:0;
-                       -webkit-box-sizing: border-box;
-                       -moz-box-sizing: border-box;
-                       box-sizing: border-box;
-                       width:100%;
-                       padding:0 48px;
-                       
-                       .slide {
-                               position:relative;
-                               left:0;
-                               top:0;
-                               -webkit-transition:-webkit-transform 500ms ease-in-out, opacity 500ms ease-in-out;
-                               -moz-transition:-moz-transform 500ms ease-in-out, opacity 500ms ease-in-out;
-                               -ms-transition:-ms-transform 500ms ease-in-out, opacity 500ms ease-in-out;
-                               -o-transition:-o-transform 500ms ease-in-out, opacity 500ms ease-in-out;
-                               transition:-webkit-transform 500ms ease-in-out, opacity 500ms ease-in-out;
-                       }
-
-                       .deck-next, .deck-after {
-                               visibility:visible;
-                               @include translate(200%);
-                       }
-               }
-
-               > .deck-previous {
-                       @include translate(-200%);
-               }
-
-               > .deck-before {
-                       @include translate(-400%);
-               }
-
-               > .deck-next {
-                       @include translate(200%);
-               }
-
-               > .deck-after {
-                       @include translate(400%);
-               }
-               
-               > .deck-before, > .deck-previous {
-                       .slide {
-                               visibility:visible;
-                       }
-               }
-
-               > .deck-child-current {
-                       @include transform(none);
-               }
-       }
-}
\ No newline at end of file
diff --git a/deck.js/themes/transition/vertical-slide.css b/deck.js/themes/transition/vertical-slide.css
deleted file mode 100644 (file)
index 7f87092..0000000
+++ /dev/null
@@ -1,94 +0,0 @@
-.csstransitions.csstransforms .deck-container {
-  overflow-y: hidden;
-}
-.csstransitions.csstransforms .deck-container > .slide {
-  -webkit-transition: -webkit-transform 500ms ease-in-out;
-  -moz-transition: -moz-transform 500ms ease-in-out;
-  -ms-transition: -ms-transform 500ms ease-in-out;
-  -o-transition: -o-transform 500ms ease-in-out;
-  transition: transform 500ms ease-in-out;
-}
-.csstransitions.csstransforms .deck-container:not(.deck-menu) > .slide {
-  position: absolute;
-  top: 0;
-  left: 0;
-  -webkit-box-sizing: border-box;
-  -moz-box-sizing: border-box;
-  box-sizing: border-box;
-  width: 100%;
-  padding: 0 48px;
-}
-.csstransitions.csstransforms .deck-container:not(.deck-menu) > .slide .slide {
-  position: relative;
-  left: 0;
-  top: 0;
-  -webkit-transition: -webkit-transform 500ms ease-in-out, opacity 500ms ease-in-out;
-  -moz-transition: -moz-transform 500ms ease-in-out, opacity 500ms ease-in-out;
-  -ms-transition: -ms-transform 500ms ease-in-out, opacity 500ms ease-in-out;
-  -o-transition: -o-transform 500ms ease-in-out, opacity 500ms ease-in-out;
-  transition: -webkit-transform 500ms ease-in-out, opacity 500ms ease-in-out;
-}
-.csstransitions.csstransforms .deck-container:not(.deck-menu) > .slide .deck-next, .csstransitions.csstransforms .deck-container:not(.deck-menu) > .slide .deck-after {
-  visibility: visible;
-  -webkit-transform: translate3d(0, 1600px, 0);
-  -moz-transform: translate(0, 1600px);
-  -ms-transform: translate(0, 1600px);
-  -o-transform: translate(0, 1600px);
-  transform: translate3d(0, 1600px, 0);
-}
-.csstransitions.csstransforms .deck-container:not(.deck-menu) > .deck-previous {
-  -webkit-transform: translate3d(0, -200%, 0);
-  -moz-transform: translate(0, -200%);
-  -ms-transform: translate(0, -200%);
-  -o-transform: translate(0, -200%);
-  transform: translate3d(0, -200%, 0);
-}
-.csstransitions.csstransforms .deck-container:not(.deck-menu) > .deck-before {
-  -webkit-transform: translate3d(0, -400%, 0);
-  -moz-transform: translate(0, -400%);
-  -ms-transform: translate(0, -400%);
-  -o-transform: translate(0, -400%);
-  transform: translate3d(0, -400%, 0);
-}
-.csstransitions.csstransforms .deck-container:not(.deck-menu) > .deck-next {
-  -webkit-transform: translate3d(0, 200%, 0);
-  -moz-transform: translate(0, 200%);
-  -ms-transform: translate(0, 200%);
-  -o-transform: translate(0, 200%);
-  transform: translate3d(0, 200%, 0);
-}
-.csstransitions.csstransforms .deck-container:not(.deck-menu) > .deck-after {
-  -webkit-transform: translate3d(0, 400%, 0);
-  -moz-transform: translate(0, 400%);
-  -ms-transform: translate(0, 400%);
-  -o-transform: translate(0, 400%);
-  transform: translate3d(0, 400%, 0);
-}
-.csstransitions.csstransforms .deck-container:not(.deck-menu) > .deck-before .slide, .csstransitions.csstransforms .deck-container:not(.deck-menu) > .deck-previous .slide {
-  visibility: visible;
-}
-.csstransitions.csstransforms .deck-container:not(.deck-menu) > .deck-child-current {
-  -webkit-transform: none;
-  -moz-transform: none;
-  -ms-transform: none;
-  -o-transform: none;
-  transform: none;
-}
-.csstransitions.csstransforms .deck-prev-link {
-  left: auto;
-  right: 8px;
-  top: 59px;
-  -webkit-transform: rotate(90deg);
-  -moz-transform: rotate(90deg);
-  -ms-transform: rotate(90deg);
-  -o-transform: rotate(90deg);
-  transform: rotate(90deg);
-}
-.csstransitions.csstransforms .deck-next-link {
-  top: 99px;
-  -webkit-transform: rotate(90deg);
-  -moz-transform: rotate(90deg);
-  -ms-transform: rotate(90deg);
-  -o-transform: rotate(90deg);
-  transform: rotate(90deg);
-}
diff --git a/deck.js/themes/transition/vertical-slide.scss b/deck.js/themes/transition/vertical-slide.scss
deleted file mode 100644 (file)
index c6892c3..0000000
+++ /dev/null
@@ -1,112 +0,0 @@
-@mixin translate($x: 0, $y: 0, $z: 0) {
-       -webkit-transform:translate3d($x, $y, $z);
-       -moz-transform:translate($x, $y);
-       -ms-transform:translate($x, $y);
-       -o-transform:translate($x, $y);
-       transform:translate3d($x, $y, $z);
-}
-
-@mixin rotate($deg) {
-       -webkit-transform:rotate($deg);
-       -moz-transform:rotate($deg);
-       -ms-transform:rotate($deg);
-       -o-transform:rotate($deg);
-       transform:rotate($deg);
-}
-
-@mixin transition($prop, $duration, $easing: ease-in-out, $delay: 0ms) {
-       -webkit-transition:$prop $duration $easing $delay;
-       -moz-transition:$prop $duration $easing $delay;
-       -ms-transition:$prop $duration $easing $delay;
-       -o-transition:$prop $duration $easing $delay;
-       transition:$prop $duration $easing $delay;
-}
-
-@mixin transform($val) {
-       -webkit-transform:$val;
-       -moz-transform:$val;
-       -ms-transform:$val;
-       -o-transform:$val;
-       transform:$val;
-}
-
-.csstransitions.csstransforms {
-       .deck-container {
-               overflow-y:hidden;
-               
-               > .slide {
-                       -webkit-transition:-webkit-transform 500ms ease-in-out;
-                       -moz-transition:-moz-transform 500ms ease-in-out;
-                       -ms-transition:-ms-transform 500ms ease-in-out;
-                       -o-transition:-o-transform 500ms ease-in-out;
-                       transition:transform 500ms ease-in-out;
-               }
-       }
-       
-       .deck-container:not(.deck-menu) {
-               > .slide {
-                       position:absolute;
-                       top:0;
-                       left:0;
-                       -webkit-box-sizing: border-box;
-                       -moz-box-sizing: border-box;
-                       box-sizing: border-box;
-                       width:100%;
-                       padding:0 48px;
-                       
-                       .slide {
-                               position:relative;
-                               left:0;
-                               top:0;
-                               -webkit-transition:-webkit-transform 500ms ease-in-out, opacity 500ms ease-in-out;
-                               -moz-transition:-moz-transform 500ms ease-in-out, opacity 500ms ease-in-out;
-                               -ms-transition:-ms-transform 500ms ease-in-out, opacity 500ms ease-in-out;
-                               -o-transition:-o-transform 500ms ease-in-out, opacity 500ms ease-in-out;
-                               transition:-webkit-transform 500ms ease-in-out, opacity 500ms ease-in-out;
-                       }
-
-                       .deck-next, .deck-after {
-                               visibility:visible;
-                               @include translate(0, 1600px);
-                       }
-               }
-
-               > .deck-previous {
-                       @include translate(0, -200%);
-               }
-
-               > .deck-before {
-                       @include translate(0, -400%);
-               }
-
-               > .deck-next {
-                       @include translate(0, 200%);
-               }
-
-               > .deck-after {
-                       @include translate(0, 400%);
-               }
-               
-               > .deck-before, > .deck-previous {
-                       .slide {
-                               visibility:visible;
-                       }
-               }
-
-               > .deck-child-current {
-                       @include transform(none);
-               }
-       }
-       
-       .deck-prev-link {
-               left:auto;
-               right:8px;
-               top:59px;
-               @include rotate(90deg);
-       }
-       
-       .deck-next-link {
-               top:99px;
-               @include rotate(90deg);
-       }
-}
\ No newline at end of file
diff --git a/resacon.css b/resacon.css
deleted file mode 100644 (file)
index 8df2534..0000000
+++ /dev/null
@@ -1,216 +0,0 @@
-@charset "UTF-8";
-.deck-container {
-  font-family: "Gill Sans", "Gill Sans MT", Calibri, sans-serif;
-  font-size: 1.75em;
-  background: #f4fafe;
-  /* Old browsers */
-  background: -moz-linear-gradient(top, #f4fafe 0%, #ccf0f0 100%);
-  /* FF3.6+ */
-  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #f4fafe), color-stop(100%, #ccf0f0));
-  /* Chrome,Safari4+ */
-  background: -webkit-linear-gradient(top, #f4fafe 0%, #ccf0f0 100%);
-  /* Chrome10+,Safari5.1+ */
-  background: -o-linear-gradient(top, #f4fafe 0%, #ccf0f0 100%);
-  /* Opera11.10+ */
-  background: -ms-linear-gradient(top, #f4fafe 0%, #ccf0f0 100%);
-  /* IE10+ */
-  background: linear-gradient(top, #f4fafe 0%, #ccf0f0 100%);
-  /* W3C */
-  background-attachment: fixed;
-}
-.deck-container > .slide {
-  text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.5);
-  text-align: center;
-}
-.deck-container > .slide .deck-before, .deck-container > .slide .deck-previous {
-  opacity: 0.4;
-}
-.deck-container > .slide .deck-before:not(.deck-child-current) .deck-before, .deck-container > .slide .deck-before:not(.deck-child-current) .deck-previous, .deck-container > .slide .deck-previous:not(.deck-child-current) .deck-before, .deck-container > .slide .deck-previous:not(.deck-child-current) .deck-previous {
-  opacity: 1;
-}
-.deck-container > .slide .deck-child-current {
-  opacity: 1;
-}
-.deck-container .slide h1, .deck-container .slide h2, .deck-container .slide h3, .deck-container .slide h4, .deck-container .slide h5, .deck-container .slide h6 {
-  font-family: "Hoefler Text", Constantia, Palatino, "Palatino Linotype", "Book Antiqua", Georgia, serif;
-}
-.deck-container .slide h1 {
-  color: #08455f;
-}
-.deck-container .slide h2 {
-  color: #0b7495;
-  border-bottom: 0;
-}
-.cssreflections .deck-container .slide h2 {
-  line-height: 1;
-  -webkit-box-reflect: below -0.556em -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop(0.3, transparent), color-stop(0.7, rgba(255, 255, 255, 0.1)), to(transparent));
-  -moz-box-reflect: below -0.556em -moz-linear-gradient(top, transparent 0%, transparent 30%, rgba(255, 255, 255, 0.3) 100%);
-}
-.deck-container .slide h3 {
-  color: #000;
-}
-.deck-container .slide pre {
-  border-color: #cde;
-  background: #fff;
-  position: relative;
-  z-index: auto;
-  /* http://nicolasgallagher.com/css-drop-shadows-without-images/ */
-}
-.borderradius .deck-container .slide pre {
-  -webkit-border-radius: 5px;
-  -moz-border-radius: 5px;
-  border-radius: 5px;
-  text-align: left;
-}
-.csstransforms.boxshadow .deck-container .slide pre > :first-child:before {
-  content: "";
-  position: absolute;
-  z-index: -1;
-  background: #fff;
-  top: 0;
-  bottom: 0;
-  left: 0;
-  right: 0;
-}
-.csstransforms.boxshadow .deck-container .slide pre:before, .csstransforms.boxshadow .deck-container .slide pre:after {
-  content: "";
-  position: absolute;
-  z-index: -2;
-  bottom: 15px;
-  width: 50%;
-  height: 20%;
-  max-width: 300px;
-  -webkit-box-shadow: 0 15px 10px rgba(0, 0, 0, 0.7);
-  -moz-box-shadow: 0 15px 10px rgba(0, 0, 0, 0.7);
-  box-shadow: 0 15px 10px rgba(0, 0, 0, 0.7);
-}
-.csstransforms.boxshadow .deck-container .slide pre:before {
-  left: 10px;
-  -webkit-transform: rotate(-3deg);
-  -moz-transform: rotate(-3deg);
-  -ms-transform: rotate(-3deg);
-  -o-transform: rotate(-3deg);
-  transform: rotate(-3deg);
-}
-.csstransforms.boxshadow .deck-container .slide pre:after {
-  right: 10px;
-  -webkit-transform: rotate(3deg);
-  -moz-transform: rotate(3deg);
-  -ms-transform: rotate(3deg);
-  -o-transform: rotate(3deg);
-  transform: rotate(3deg);
-}
-.deck-container .slide code {
-  color: #789;
-}
-.deck-container .slide blockquote {
-  font-family: "Hoefler Text", Constantia, Palatino, "Palatino Linotype", "Book Antiqua", Georgia, serif;
-  font-size: 2em;
-  padding: 1em 2em .5em 2em;
-  color: #000;
-  background: #fff;
-  position: relative;
-  border: 1px solid #cde;
-  z-index: auto;
-}
-.borderradius .deck-container .slide blockquote {
-  -webkit-border-radius: 5px;
-  -moz-border-radius: 5px;
-  border-radius: 5px;
-}
-.boxshadow .deck-container .slide blockquote > :first-child:before {
-  content: "";
-  position: absolute;
-  z-index: -1;
-  background: #fff;
-  top: 0;
-  bottom: 0;
-  left: 0;
-  right: 0;
-}
-.boxshadow .deck-container .slide blockquote:after {
-  content: "";
-  position: absolute;
-  z-index: -2;
-  top: 10px;
-  bottom: 10px;
-  left: 0;
-  right: 50%;
-  -moz-border-radius: 10px/100px;
-  border-radius: 10px/100px;
-  -webkit-box-shadow: 0 0 15px rgba(0, 0, 0, 0.6);
-  -moz-box-shadow: 0 0 15px rgba(0, 0, 0, 0.6);
-  box-shadow: 0 0 15px rgba(0, 0, 0, 0.6);
-}
-.deck-container .slide blockquote p {
-  margin: 0;
-}
-.deck-container .slide blockquote cite {
-  font-size: .5em;
-  font-style: normal;
-  font-weight: bold;
-  color: #888;
-}
-.deck-container .slide blockquote:before {
-  content: "“";
-  position: absolute;
-  top: 0;
-  left: 0;
-  font-size: 5em;
-  line-height: 1;
-  color: #ccf0f0;
-  z-index: 1;
-}
-.deck-container .slide ::-moz-selection {
-  background: #08455f;
-  color: #fff;
-}
-.deck-container .slide ::selection {
-  background: #08455f;
-  color: #fff;
-}
-.deck-container .slide a, .deck-container .slide a:hover, .deck-container .slide a:focus, .deck-container .slide a:active, .deck-container .slide a:visited {
-  color: #599;
-  text-decoration: none;
-}
-.deck-container .slide a:hover, .deck-container .slide a:focus {
-  text-decoration: underline;
-}
-.deck-container .deck-prev-link, .deck-container .deck-next-link {
-  background: #fff;
-  opacity: 0.5;
-}
-.deck-container .deck-prev-link, .deck-container .deck-prev-link:hover, .deck-container .deck-prev-link:focus, .deck-container .deck-prev-link:active, .deck-container .deck-prev-link:visited, .deck-container .deck-next-link, .deck-container .deck-next-link:hover, .deck-container .deck-next-link:focus, .deck-container .deck-next-link:active, .deck-container .deck-next-link:visited {
-  color: #599;
-}
-.deck-container .deck-prev-link:hover, .deck-container .deck-prev-link:focus, .deck-container .deck-next-link:hover, .deck-container .deck-next-link:focus {
-  opacity: 1;
-  text-decoration: none;
-}
-.deck-container .deck-status {
-  font-size: 0.6666em;
-}
-.deck-container.deck-menu .slide {
-  background: transparent;
-  -webkit-border-radius: 5px;
-  -moz-border-radius: 5px;
-  border-radius: 5px;
-}
-.rgba .deck-container.deck-menu .slide {
-  background: rgba(0, 0, 0, 0.1);
-}
-.deck-container.deck-menu .slide.deck-current, .rgba .deck-container.deck-menu .slide.deck-current, .no-touch .deck-container.deck-menu .slide:hover {
-  background: #fff;
-}
-.deck-container .goto-form {
-  background: #fff;
-  border: 1px solid #cde;
-  -webkit-border-radius: 5px;
-  -moz-border-radius: 5px;
-  border-radius: 5px;
-}
-.boxshadow .deck-container .goto-form {
-  -webkit-box-shadow: 0 15px 10px -10px rgba(0, 0, 0, 0.5), 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
-  -moz-box-shadow: 0 15px 10px -10px rgba(0, 0, 0, 0.5), 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
-  box-shadow: 0 15px 10px -10px rgba(0, 0, 0, 0.5), 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 40px rgba(0, 0, 0, 0.1) inset;
-}
similarity index 100%
rename from cool_story_bro.jpg
rename to slides/cool_story_bro.jpg
diff --git a/slides/index.html b/slides/index.html
new file mode 100644 (file)
index 0000000..510d5ce
--- /dev/null
@@ -0,0 +1,256 @@
+<!doctype html>
+<html lang="en">
+
+    <head>
+        <meta charset="utf-8">
+
+        <title>ResaCON 2012: Enlarge your debugger</title>
+
+        <meta name="description" content="A framework for easily creating beautiful presentations using HTML">
+        <meta name="author" content="Hakim El Hattab">
+
+        <meta name="apple-mobile-web-app-capable" content="yes" />
+        <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
+
+        <link rel="stylesheet" href="reveal.js/css/reveal.css">
+        <link rel="stylesheet" href="reveal.js/css/theme/default.css" id="theme">
+
+        <!-- For syntax highlighting -->
+        <link rel="stylesheet" href="reveal.js/lib/css/zenburn.css">
+
+        <!-- If the query includes 'print-pdf', use the PDF print sheet -->
+        <script>
+            document.write( '<link rel="stylesheet" href="reveal.js/css/print/' + ( window.location.search.match( /print-pdf/gi ) ? 'pdf' : 'paper' ) + '.css" type="text/css" media="print">' );
+        </script>
+
+        <!--[if lt IE 9]>
+        <script src="reveal.js/lib/js/html5shiv.js"></script>
+        <![endif]-->
+    </head>
+
+    <body>
+
+        <div class="reveal">
+
+            <!-- Any section element inside of this container is displayed as a slide -->
+            <div class="slides">
+
+                <!-- begin slides -->
+                <section>
+                    <h1>Enlarge your debugger</h1>
+                    <h5>Jorge "slack" Gorbe</h5>
+                    <h2>ResaCON 2012</h2>
+                </section>
+
+                <section>
+                    <h2>But... why?</h2>
+                    <blockquote>
+                        It's 2012. Why the fuck are you talking about gdb?
+                    </blockquote>
+                    <img src="oh_god_why.png">
+                </section>
+
+                <section>
+                    <h2> Well, maybe... </h2>
+                    <img src="stallman.jpg">
+                    <p> You love Richard Stallman (isn't he lovely? :D) </p>
+                </section>
+
+                <section>
+                    <h2> Well, maybe... </h2>
+                    <img src="cool_story_bro2.jpg" width="400">
+                    <p> You think IDEs are complex amalgamations of state, hard to understand, and prone to fail in unexpected ways</p>
+                </section>
+
+                <section>
+                    <h2> Well, maybe... </h2>
+                    <img src="visual_studio.jpg" width="600">
+                </section>
+
+                <section>
+                    <h1> Anyway... </h1>
+                </section>
+
+                <section>
+                    <h2> GDB is extensible</h2>
+                    <ul>
+                        <li class="fragment"> You can automate things </li>
+                        <li class="fragment"> You can adapt it to your code base </li>
+                        <li class="fragment"> You can try crazy new ideas :D </li>
+                    </ul>
+                </section>
+
+                <!--
+                <section>
+                    <h2>Fun with breakpoints!</h2>
+                    <h3>Conditional breakpoints</h3>
+                    <p> <code> break myfile.cpp:99 if x &gt; 0 </code> </p>
+                    <p class="fragment">Not so interesting</p>
+                 </section>
+                -->
+
+                <section>
+                    <h2> <a href="http://slackito.com/2011/12/09/poor-mans-tracepoints-with-gdb/">Poor man's tracepoints</a> </h2>
+<pre>
+break myfile.cpp:99
+Breakpoint 1 at 0x401193: file myfile.c, line 99.
+(gdb) commands
+Type commands for breakpoint(s) 1, one per line.
+End with a line saying just "end".
+&gt;silent
+&gt;print a
+&gt;cont
+&gt;end
+</pre>
+                    <p class="fragment">
+                        That <code>cont</code> screws single-stepping (solvable with Python, see <a href="http://tromey.com/blog/?p=698">this blog post</a>)
+                    </p>
+                </section>
+
+                <section>
+                <h2> Custom commands (1/3) </h2>
+<pre>
+(gdb) define plist
+Type commands for definition of "plist".
+End with a line saying just "end".
+>set $ptr = $arg0
+>while $ptr != 0
+ >print *$ptr
+ >set $ptr = $ptr->next
+ >end
+>end
+</pre>
+                </section>
+
+                <section>
+                <h2> Custom commands (2/3) </h2>
+                <p>A more complex example, from PpluX's <a href="http://code.google.com/p/slb/source/browse/extra/lua_utils.gdb?name=default">SLB repo</a></p>
+
+<pre>
+define luastack
+    set $top = lua_gettop($arg0)
+    set $i = 1
+    while $i <= $top
+        if lua_type($arg0,$i) == -1
+            printf "stack - %i : No Value \n", $i
+        else
+            call lua_pushvalue($arg0,$i)
+            set $str = lua_tolstring($arg0,-1,0x0)
+            set $type = lua_typename($arg0,lua_type($arg0,$i))
+            if $str
+                printf "stack - %i : %s -> '%s'\n", $i, $type , $str
+            else
+                printf "stack - %i : %s\n", $i, $type
+            end
+            call lua_settop($arg0,-2)
+        end
+        set $i = $i + 1
+    end
+</pre>
+
+                </section>
+
+                <section>
+                    <h2> Custom commands (3/3) </h2>
+                    <p> You can also create hooks which run just before or after any gdb command: </p>
+                    <ul style="text-align:left;">
+                        <li> <code>define hook-command</code> to run things <b>before</b> <code>command</code> </li>
+                        <li> <code>define hookpost-command</code> to run things <b>after</b> <code>command</code> </li>
+
+                </section>
+
+                <section>
+                    <h2>Enter Python</h2>
+                    <ul>
+                        <li> GDB 7.x has (optionally) an embedded Python interpreter and a Python API </li>
+                        <li> Still being refined, but quite usable </li>
+                    </ul>
+                </section>
+
+                <section>
+                    <h2>Python in GDB</h2>
+                    <p> Hello World </p>
+<pre>
+(gdb) python print "Hello, World!"
+Hello, World!
+</pre>
+                </section>
+
+                <section>
+                    <h2>Custom commands (python version)</h2>
+<pre><code contenteditable>
+class DoNothingCommand(gdb.Command):
+    """This command does nothing."""  # docstring
+    def __init__(self):
+        super(DoNothingCommand, self).__init__("do_nothing", gdb.COMMAND_USER, gdb.COMPLETE_NONE)
+
+    def invoke(self, arg, from_tty):
+        pass
+
+DoNothingCommand()
+
+</code></pre>
+                </section>
+
+                <section>
+                </section>
+
+                <section>
+                    <h2>Did you know...?</h2>
+                    <p> GDB has many other semi-unknown cool features (which I won't talk about today) </p>
+                    <ul>
+                        <li> <b>Debug info in external files</b> <br> Debug info can be moved from compiled objects to separate files, and still use it with gdb (like PDBs in VS)</li>
+                        <li> <b>Reverse debugging</b> <br> GDB can record (some finite amount of) program history and perform backwards stepping/running.  </li>
+                        <li> <b>JIT interface</b> <br> A JIT can generate debug symbols and pass them on-the-fly to gdb to ease debugging (supported by LLVM!). </li>
+                    </ul>
+                </section>
+
+                <section>
+                    <h2>Wish list</h2>
+                    <p>Other debuggers also have cool features</p>
+                    <ul style="text-align:left;">
+                        <li> <h3>Symbol server support</h3> records (some finite amount of) program history and allows backwards stepping/running.  </li>
+                    </ul>
+                </section>
+
+                <section>
+                    <h2>Resources</h2>
+                    <p> <a href="http://sourceware.org/gdb/wiki/PythonGdbTutorial">http://sourceware.org/gdb/wiki/PythonGdbTutorial</a> </p>
+                </section>
+
+                <!-- End slides. -->
+
+                    </div>
+
+                </div>
+
+                <script src="reveal.js/lib/js/head.min.js"></script>
+                <script src="reveal.js/js/reveal.min.js"></script>
+
+                <script>
+
+                    // Full list of configuration options available here:
+                    // https://github.com/hakimel/reveal.js#configuration
+                    Reveal.initialize({
+                        controls: true,
+                        progress: true,
+                        history: true,
+
+                        theme: Reveal.getQueryHash().theme || "sky", // available themes are in /css/theme
+                        transition: Reveal.getQueryHash().transition || 'linear', // default/cube/page/concave/zoom/linear/none
+
+                        // Optional libraries used to extend on reveal.js
+                        dependencies: [
+                        { src: 'reveal.js/lib/js/classList.js', condition: function() { return !document.body.classList; } },
+                        { src: 'reveal.js/plugin/markdown/showdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
+                        { src: 'reveal.js/plugin/markdown/markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
+                        { src: 'reveal.js/plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } },
+                        { src: 'reveal.js/plugin/zoom-js/zoom.js', async: true, condition: function() { return !!document.body.classList; } },
+                        { src: 'reveal.js/plugin/notes/notes.js', async: true, condition: function() { return !!document.body.classList; } }
+                        ]
+                    });
+
+                </script>
+
+            </body>
+        </html>
similarity index 100%
rename from index.html
rename to slides/index.html.old
similarity index 100%
rename from oh_god_why.png
rename to slides/oh_god_why.png
similarity index 92%
rename from deck.js/MIT-license.txt
rename to slides/reveal.js/LICENSE
index de57ea67173f15f0ef479591111e934b104f5f06..23a2d5ae63d831da4552aea79a4916c4ece14f8a 100644 (file)
@@ -1,21 +1,19 @@
-The MIT License\r
-\r
-Copyright (c) 2011 Caleb Troughton\r
-\r
-Permission is hereby granted, free of charge, to any person obtaining a copy\r
-of this software and associated documentation files (the "Software"), to deal\r
-in the Software without restriction, including without limitation the rights\r
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\r
-copies of the Software, and to permit persons to whom the Software is\r
-furnished to do so, subject to the following conditions:\r
-\r
-The above copyright notice and this permission notice shall be included in\r
-all copies or substantial portions of the Software.\r
-\r
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\r
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\r
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\r
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\r
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\r
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\r
+Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 THE SOFTWARE.
\ No newline at end of file
diff --git a/slides/reveal.js/README.md b/slides/reveal.js/README.md
new file mode 100644 (file)
index 0000000..dd7d820
--- /dev/null
@@ -0,0 +1,278 @@
+# reveal.js
+
+A framework for easily creating beautiful presentations using HTML. [Check out the live demo](http://lab.hakim.se/reveal-js/).
+
+reveal.js comes with a broad range of features including [nested slides](https://github.com/hakimel/reveal.js#markup), [markdown contents](https://github.com/hakimel/reveal.js#markdown), [PDF export](https://github.com/hakimel/reveal.js#pdf-export), [speaker notes](https://github.com/hakimel/reveal.js#speaker-notes) and a [JavaScript API](https://github.com/hakimel/reveal.js#api). It's best viewed in a browser with support for CSS 3D transforms but [fallbacks](https://github.com/hakimel/reveal.js/wiki/Browser-Support) are available to make sure your presentation can still be viewed elsewhere.
+
+
+#### More reading in the Wiki:
+- [Changelog](https://github.com/hakimel/reveal.js/wiki/Changelog): Up-to-date version history.
+- [Examples](https://github.com/hakimel/reveal.js/wiki/Example-Presentations): Presentations created with reveal.js, add your own!
+- [Browser Support](https://github.com/hakimel/reveal.js/wiki/Browser-Support): Explanation of browser support and fallbacks.
+
+## rvl.io
+
+Slides are written using HTML or markdown but there's also an online editor for those of you who prefer a more traditional user interface. Give it a try at [www.rvl.io](http://www.rvl.io).
+
+
+## Instructions
+
+### Markup
+
+Markup heirarchy needs to be ``<div class="reveal"> <div class="slides"> <section>`` where the ``<section>`` represents one slide and can be repeated indefinitely. If you place multiple ``<section>``'s inside of another ``<section>`` they will be shown as vertical slides. The first of the vertical slides is the "root" of the others (at the top), and it will be included in the horizontal sequence. For example:
+
+```html
+<div class="reveal">
+       <div class="slides"> 
+               <section>Single Horizontal Slide</section>
+               <section>
+                       <section>Vertical Slide 1</section>
+                       <section>Vertical Slide 2</section>
+               </section>
+       </div>
+</div>
+```
+
+### Markdown
+
+It's possible to write your slides using Markdown. To enable Markdown, add the ```data-markdown``` attribute to your ```<section>``` elements and wrap the contents in a ```<script type="text/template">``` like the example below.
+
+This is based on [data-markdown](https://gist.github.com/1343518) from [Paul Irish](https://github.com/paulirish) which in turn uses [showdown](https://github.com/coreyti/showdown/). This is sensitive to indentation (avoid mixing tabs and spaces) and line breaks (avoid consecutive breaks).
+
+```html
+<section data-markdown>
+       <script type="text/template">
+               ## Page title
+               
+               A paragraph with some text and a [link](http://hakim.se).
+       </script>
+</section>
+```
+
+
+### Configuration
+
+At the end of your page you need to initialize reveal by running the following code. Note that all config values are optional and will default as specified below.
+
+```javascript
+Reveal.initialize({
+       // Display controls in the bottom right corner
+       controls: true,
+
+       // Display a presentation progress bar
+       progress: true,
+
+       // Push each slide change to the browser history
+       history: false,
+
+       // Enable keyboard shortcuts for navigation
+       keyboard: true,
+
+       // Enable the slide overview mode
+       overview: true,
+
+       // Loop the presentation
+       loop: false,
+
+       // Number of milliseconds between automatically proceeding to the 
+       // next slide, disabled when set to 0, this value can be overwritten
+       // by using a data-autoslide attribute on your slides
+       autoSlide: 0,
+
+       // Enable slide navigation via mouse wheel
+       mouseWheel: true,
+
+       // Apply a 3D roll to links on hover
+       rollingLinks: true,
+
+       // Transition style
+       transition: 'default' // default/cube/page/concave/zoom/linear/none
+});
+```
+
+### Dependencies
+
+Reveal.js doesn't _rely_ on any third party scripts to work but a few optional libraries are included by default. These libraries are loaded as dependencies in the order they appear, for example:
+
+```javascript
+Reveal.initialize({
+       dependencies: [
+               // Cross-browser shim that fully implements classList - https://github.com/eligrey/classList.js/
+               { src: 'lib/js/classList.js', condition: function() { return !document.body.classList; } },
+               // Interpret Markdown in <section> elements
+               { src: 'plugin/markdown/showdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
+               { src: 'plugin/markdown/markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
+               // Syntax highlight for <code> elements
+               { src: 'plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } },
+               // Zoom in and out with Alt+click
+               { src: 'plugin/zoom-js/zoom.js', async: true, condition: function() { return !!document.body.classList; } },
+               // Speaker notes
+               { src: 'plugin/notes/notes.js', async: true, condition: function() { return !!document.body.classList; } }
+       ]
+});
+```
+
+You can add your own extensions using the same syntax. The following properties are available for each dependency object:
+- **src**: Path to the script to load
+- **async**: [optional] Flags if the script should load after reveal.js has started, defaults to false
+- **callback**: [optional] Function to execute when the script has loaded
+- **condition**: [optional] Function which must return true for the script to be loaded
+
+
+### API
+
+The Reveal class provides a minimal JavaScript API for controlling navigation and reading state:
+
+```javascript
+// Navigation
+Reveal.slide( indexh, indexv );
+Reveal.left();
+Reveal.right();
+Reveal.up();
+Reveal.down();
+Reveal.prev();
+Reveal.next();
+Reveal.prevFragment();
+Reveal.nextFragment();
+Reveal.toggleOverview();
+
+// Retrieves the previous and current slide elements
+Reveal.getPreviousSlide();
+Reveal.getCurrentSlide();
+
+Reveal.getIndices(); // { h: 0, v: 0 } }
+```
+
+### States
+
+If you set ``data-state="somestate"`` on a slide ``<section>``, "somestate" will be applied as a class on the document element when that slide is opened. This allows you to apply broad style changes to the page based on the active slide.
+
+Furthermore you can also listen to these changes in state via JavaScript:
+
+```javascript
+Reveal.addEventListener( 'somestate', function() {
+       // TODO: Sprinkle magic
+}, false );
+```
+
+### Ready event
+
+The 'ready' event is fired when reveal.js has loaded all (synchronous) dependencies and is ready to start navigating.
+
+```javascript
+Reveal.addEventListener( 'ready', function( event ) {
+       // event.currentSlide, event.indexh, event.indexv
+} );
+```
+
+### Slide change event
+
+An 'slidechanged' event is fired each time the slide is changed (regardless of state). The event object holds the index values of the current slide as well as a reference to the previous and current slide HTML nodes.
+
+```javascript
+Reveal.addEventListener( 'slidechanged', function( event ) {
+       // event.previousSlide, event.currentSlide, event.indexh, event.indexv
+} );
+```
+
+### Internal links
+
+It's easy to link between slides. The first example below targets the index of another slide whereas the second targets a slide with an ID attribute (```<section id="some-slide">```):
+
+```html
+<a href="#/2/2">Link</a>
+<a href="#/some-slide">Link</a>
+```
+### Fullscreen mode
+Just press Â»F« on your keyboard to show your presentation in fullscreen mode. Press the Â»ESC« key to exit fullscreen mode.
+
+### Fragments
+Fragments are used to highlight individual elements on a slide. Every elmement with the class ```fragment``` will be stepped through before moving on to the next slide. Here's an example: http://lab.hakim.se/reveal-js/#/16
+
+The default fragment style is to start out invisible and fade in. This style can be changed by appending a different class to the fragment:
+
+```html
+<section>
+       <p class="fragment grow">grow</p>
+       <p class="fragment shrink">shrink</p>
+       <p class="fragment roll-in">roll-in</p>
+       <p class="fragment fade-out">fade-out</p>
+       <p class="fragment highlight-red">highlight-red</p>
+       <p class="fragment highlight-green">highlight-green</p>
+       <p class="fragment highlight-blue">highlight-blue</p>
+</section>
+```
+
+### Fragment events
+
+When a slide fragment is either shown or hidden reveal.js will dispatch an event.
+
+```javascript
+Reveal.addEventListener( 'fragmentshown', function( event ) {
+       // event.fragment = the fragment DOM element
+} );
+Reveal.addEventListener( 'fragmenthidden', function( event ) {
+       // event.fragment = the fragment DOM element
+} );
+```
+
+
+## PDF Export
+
+Presentations can be exported to PDF via a special print stylesheet. This feature requires that you use [Google Chrome](http://google.com/chrome). 
+Here's an example of an exported presentation that's been uploaded to SlideShare: http://www.slideshare.net/hakimel/revealjs-13872948.
+
+1. Open your presentation with [css/print/pdf.css](https://github.com/hakimel/reveal.js/blob/master/css/print/pdf.css) included on the page. The default index HTML lets you add *print-pdf* anywhere in the query to include the stylesheet, for example: [lab.hakim.se/reveal-js?print-pdf](http://lab.hakim.se/reveal-js?print-pdf).
+2. Open the in-browser print dialog (CMD+P).
+3. Change the **Destination** setting to **Save as PDF**.
+4. Change the **Layout** to **Landscape**.
+5. Change the **Margins** to **None**.
+6. Click **Save**.
+
+![Chrome Print Settings](https://s3.amazonaws.com/hakim-static/reveal-js/pdf-print-settings.png)
+
+
+## Speaker Notes
+
+reveal.js comes with a speaker notes plugin which can be used to present per-slide notes in a separate browser window. The notes window also gives you a preview of the next upcoming slide so it may be helpful even if you haven't written any notes. Append ```?notes``` to presentation URL or press the 's' key on your keyboard to open the notes window.
+
+By default notes are written using standard HTML, see below, but you can add a ```data-markdown``` attribute to the ```<aside>``` to write them using Markdown.
+
+```html
+<section>
+       <h2>Some Slide</h2>
+
+       <aside class="notes">
+               Oh hey, these are some notes. They'll be hidden in your presentation, but you can see them if you open the speaker notes window (hit 's' on your keyboard).
+       </aside>
+</section>
+```
+
+## Server Side Speaker Nodes
+
+In some cases it can be desirable to run notes on a separate device from the one you're presenting on. The Node.js-based notes plugin lets you do this using the same note definitions as its client side counterpart. Include the requried scripts by adding the following dependencies:
+
+```
+{ src: '/socket.io/socket.io.js', async: true },
+{ src: 'plugin/notes-server/client.js', async: true }
+```
+
+Then:
+
+1. Install [Node.js](http://nodejs.org/)
+2. Run ```npm install```
+3. Run ```node plugin/notes-server```
+
+
+## Folder Structure
+- **css/** Core styles without which the project does not function
+- **js/** Like above but for JavaScript
+- **plugin/** Components that have been developed as extensions to reveal.js
+- **lib/** All other third party assets (JavaScript, CSS, fonts)
+
+## License
+
+MIT licensed
+
+Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
+
diff --git a/slides/reveal.js/css/print/paper.css b/slides/reveal.js/css/print/paper.css
new file mode 100644 (file)
index 0000000..61fa0a9
--- /dev/null
@@ -0,0 +1,173 @@
+/* Default Print Stylesheet Template
+   by Rob Glazebrook of CSSnewbie.com
+   Last Updated: June 4, 2008
+
+   Feel free (nay, compelled) to edit, append, and 
+   manipulate this file as you see fit. */
+
+
+/* SECTION 1: Set default width, margin, float, and
+   background. This prevents elements from extending 
+   beyond the edge of the printed page, and prevents
+   unnecessary background images from printing */
+body {
+       background: #fff;
+       font-size: 13pt;
+       width: auto;
+       height: auto;
+       border: 0;
+       margin: 0 5%;
+       padding: 0;
+       float: none !important;
+       overflow: visible;
+}
+html {
+       background: #fff;
+       width: auto;
+       height: auto;
+       overflow: visible;
+}
+
+/* SECTION 2: Remove any elements not needed in print. 
+   This would include navigation, ads, sidebars, etc. */
+.nestedarrow, 
+.controls, 
+.reveal .progress, 
+.reveal.overview,
+.fork-reveal,
+.share-reveal,
+.state-background {
+       display: none !important;
+}
+
+/* SECTION 3: Set body font face, size, and color.
+   Consider using a serif font for readability. */
+body, p, td, li, div, a {
+       font-size: 16pt!important;
+       font-family: Georgia, "Times New Roman", Times, serif !important;
+       color: #000; 
+}
+
+/* SECTION 4: Set heading font face, sizes, and color.
+   Diffrentiate your headings from your body text.
+   Perhaps use a large sans-serif for distinction. */
+h1,h2,h3,h4,h5,h6 {
+       color: #000!important;
+       height: auto;
+       line-height: normal;
+       font-family: Georgia, "Times New Roman", Times, serif !important;
+       text-shadow: 0 0 0 #000 !important;
+       text-align: left;
+       letter-spacing: normal;
+}
+/* Need to reduce the size of the fonts for printing */
+h1 { font-size: 26pt !important;  }
+h2 { font-size: 22pt !important; }
+h3 { font-size: 20pt !important; }
+h4 { font-size: 20pt !important; font-variant: small-caps; }
+h5 { font-size: 19pt !important; }
+h6 { font-size: 18pt !important; font-style: italic; }
+
+/* SECTION 5: Make hyperlinks more usable.
+   Ensure links are underlined, and consider appending
+   the URL to the end of the link for usability. */
+a:link, 
+a:visited {
+       color: #000 !important;
+       font-weight: bold;
+       text-decoration: underline;
+}
+/*
+.reveal a:link:after, 
+.reveal a:visited:after {
+       content: " (" attr(href) ") ";
+       color: #222 !important;
+       font-size: 90%;
+}
+*/
+
+
+/* SECTION 6: more reveal.js specific additions by @skypanther */
+ul, ol, div, p {
+       visibility: visible;
+       position: static;
+       width: auto;
+       height: auto;
+       display: block;
+       overflow: visible;
+       margin: auto;
+       text-align: left !important;
+}
+.reveal .slides {
+       position: static;
+       width: auto;
+       height: auto;
+
+       left: auto;
+       top: auto;
+       margin-left: auto;
+       margin-top: auto;
+       padding: auto;
+
+       overflow: visible;
+       display: block;
+
+       text-align: center;
+       -webkit-perspective: none;
+          -moz-perspective: none;
+           -ms-perspective: none;
+               perspective: none;
+
+       -webkit-perspective-origin: 50% 50%; /* there isn't a none/auto value but 50-50 is the default */
+          -moz-perspective-origin: 50% 50%;
+           -ms-perspective-origin: 50% 50%;
+               perspective-origin: 50% 50%;
+}
+.reveal .slides>section, 
+.reveal .slides>section>section {
+       
+       visibility: visible !important;
+       position: static !important;
+       width: 90% !important;
+       height: auto !important;
+       display: block !important;
+       overflow: visible !important;
+
+       left: 0% !important;
+       top: 0% !important;
+       margin-left: 0px !important;
+       margin-top: 0px !important;
+       padding: 20px 0px !important;
+
+       opacity: 1 !important;
+
+       -webkit-transform-style: flat !important;
+          -moz-transform-style: flat !important;
+           -ms-transform-style: flat !important;
+               transform-style: flat !important;
+
+       -webkit-transform: none !important;
+          -moz-transform: none !important;
+           -ms-transform: none !important;
+               transform: none !important;
+}
+.reveal section {
+       page-break-after: always !important; 
+       display: block !important;
+}
+.reveal section.stack {
+       page-break-after: avoid !important; 
+}
+.reveal section .fragment {
+       opacity: 1 !important;
+}
+.reveal section:last-of-type {
+       page-break-after: avoid !important; 
+}
+.reveal section img {
+       display: block;
+       margin: 15px 0px;
+       background: rgba(255,255,255,1);
+       border: 1px solid #666;
+       box-shadow: none;
+}
\ No newline at end of file
diff --git a/slides/reveal.js/css/print/pdf.css b/slides/reveal.js/css/print/pdf.css
new file mode 100644 (file)
index 0000000..7c1a496
--- /dev/null
@@ -0,0 +1,159 @@
+/* Default Print Stylesheet Template
+   by Rob Glazebrook of CSSnewbie.com
+   Last Updated: June 4, 2008
+
+   Feel free (nay, compelled) to edit, append, and 
+   manipulate this file as you see fit. */
+
+
+/* SECTION 1: Set default width, margin, float, and
+   background. This prevents elements from extending 
+   beyond the edge of the printed page, and prevents
+   unnecessary background images from printing */
+* {
+       -webkit-print-color-adjust: exact; 
+}
+
+body {
+       font-size: 18pt;
+       width: auto;
+       height: auto;
+       border: 0;
+       margin: 0 5%;
+       padding: 0;
+       float: none !important;
+       overflow: visible;
+       background-image: none;
+}
+
+html {
+       width: auto;
+       height: auto;
+       overflow: visible;
+}
+
+/* SECTION 2: Remove any elements not needed in print. 
+   This would include navigation, ads, sidebars, etc. */
+.nestedarrow, 
+.controls, 
+.reveal .progress, 
+.reveal.overview,
+.fork-reveal,
+.share-reveal,
+.state-background {
+       display: none !important;
+}
+
+/* SECTION 3: Set body font face, size, and color.
+   Consider using a serif font for readability. */
+body, p, td, li, div {
+       font-size: 18pt;
+}
+
+/* SECTION 4: Set heading font face, sizes, and color.
+   Diffrentiate your headings from your body text.
+   Perhaps use a large sans-serif for distinction. */
+h1,h2,h3,h4,h5,h6 {
+       text-shadow: 0 0 0 #000 !important;
+}
+
+/* SECTION 5: Make hyperlinks more usable.
+   Ensure links are underlined, and consider appending
+   the URL to the end of the link for usability. */
+a:link, 
+a:visited {
+       font-weight: bold;
+       text-decoration: underline;
+}
+
+
+/* SECTION 6: more reveal.js specific additions by @skypanther */
+ul, ol, div, p {
+       visibility: visible;
+       position: static;
+       width: auto;
+       height: auto;
+       display: block;
+       overflow: visible;
+       margin: auto;
+}
+.reveal .slides {
+       position: static;
+       width: 100%;
+       height: auto;
+
+       left: auto;
+       top: auto;
+       margin-left: auto;
+       margin-top: auto;
+       padding: auto;
+
+       overflow: visible;
+       display: block;
+
+       text-align: center;
+       -webkit-perspective: none;
+          -moz-perspective: none;
+           -ms-perspective: none;
+               perspective: none;
+
+       -webkit-perspective-origin: 50% 50%; /* there isn't a none/auto value but 50-50 is the default */
+          -moz-perspective-origin: 50% 50%;
+           -ms-perspective-origin: 50% 50%;
+               perspective-origin: 50% 50%;
+}
+.reveal .slides>section, .reveal .slides>section>section {
+       
+       visibility: visible !important;
+       position: static !important;
+       width: 100% !important;
+       height: auto !important;
+       min-height: initial !important;
+       display: block !important;
+       overflow: visible !important;
+
+       left: 0% !important;
+       top: 0% !important;
+       margin-left: 0px !important;
+       margin-top: 50px !important;
+       padding: 20px 0px !important;
+
+       opacity: 1 !important;
+
+       -webkit-transform-style: flat !important;
+          -moz-transform-style: flat !important;
+           -ms-transform-style: flat !important;
+               transform-style: flat !important;
+
+       -webkit-transform: none !important;
+          -moz-transform: none !important;
+           -ms-transform: none !important;
+               transform: none !important;
+}
+.reveal section {
+       page-break-after: always !important; 
+       display: block !important;
+}
+.reveal section.stack {
+       margin: 0px !important;
+       padding: 0px !important;
+       page-break-after: avoid !important; 
+}
+.reveal section .fragment {
+       opacity: 1 !important;
+}
+.reveal img {
+       box-shadow: none;
+}
+.reveal .roll {
+       overflow: visible;
+       line-height: 1em;
+}
+
+.reveal small a {
+       font-size: 16pt !important;
+}
+
+pre {
+    font-size: 9pt !important;
+}
diff --git a/slides/reveal.js/css/reveal.css b/slides/reveal.js/css/reveal.css
new file mode 100644 (file)
index 0000000..412e8ec
--- /dev/null
@@ -0,0 +1,1184 @@
+@charset "UTF-8";
+
+/*!
+ * reveal.js
+ * http://lab.hakim.se/reveal-js
+ * MIT licensed
+ *
+ * Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
+ */
+
+
+/*********************************************
+ * RESET STYLES
+ *********************************************/
+
+html, body, .reveal div, .reveal span, .reveal applet, .reveal object, .reveal iframe,
+.reveal h1, .reveal h2, .reveal h3, .reveal h4, .reveal h5, .reveal h6, .reveal p, .reveal blockquote, .reveal pre,
+.reveal a, .reveal abbr, .reveal acronym, .reveal address, .reveal big, .reveal cite, .reveal code,
+.reveal del, .reveal dfn, .reveal em, .reveal img, .reveal ins, .reveal kbd, .reveal q, .reveal s, .reveal samp,
+.reveal small, .reveal strike, .reveal strong, .reveal sub, .reveal sup, .reveal tt, .reveal var,
+.reveal b, .reveal u, .reveal i, .reveal center,
+.reveal dl, .reveal dt, .reveal dd, .reveal ol, .reveal ul, .reveal li,
+.reveal fieldset, .reveal form, .reveal label, .reveal legend,
+.reveal table, .reveal caption, .reveal tbody, .reveal tfoot, .reveal thead, .reveal tr, .reveal th, .reveal td,
+.reveal article, .reveal aside, .reveal canvas, .reveal details, .reveal embed,
+.reveal figure, .reveal figcaption, .reveal footer, .reveal header, .reveal hgroup,
+.reveal menu, .reveal nav, .reveal output, .reveal ruby, .reveal section, .reveal summary,
+.reveal time, .reveal mark, .reveal audio, video {
+       margin: 0;
+       padding: 0;
+       border: 0;
+       font-size: 100%;
+       font: inherit;
+       vertical-align: baseline;
+}
+
+.reveal article, .reveal aside, .reveal details, .reveal figcaption, .reveal figure,
+.reveal footer, .reveal header, .reveal hgroup, .reveal menu, .reveal nav, .reveal section {
+       display: block;
+}
+
+
+/*********************************************
+ * GLOBAL STYLES
+ *********************************************/
+
+html,
+body {
+       width: 100%;
+       height: 100%;
+       min-height: 600px;
+       overflow: hidden;
+}
+
+body {
+       position: relative;
+       line-height: 1;
+}
+
+::selection {
+       background:#FF5E99;
+       color:#fff;
+       text-shadow: none;
+}
+
+@media screen and (max-width: 900px) {
+       .reveal {
+               font-size: 30px;
+       }
+}
+
+/*********************************************
+ * HEADERS
+ *********************************************/
+
+.reveal h1 { font-size: 3.77em; }
+.reveal h2 { font-size: 2.11em;        }
+.reveal h3 { font-size: 1.55em;        }
+.reveal h4 { font-size: 1em;   }
+
+
+/*********************************************
+ * VIEW FRAGMENTS
+ *********************************************/
+
+.reveal .slides section .fragment {
+       opacity: 0;
+
+       -webkit-transition: all .2s ease;
+          -moz-transition: all .2s ease;
+           -ms-transition: all .2s ease;
+            -o-transition: all .2s ease;
+               transition: all .2s ease;
+}
+       .reveal .slides section .fragment.visible {
+               opacity: 1;
+       }
+
+.reveal .slides section .fragment.grow {
+       opacity: 1;
+}
+       .reveal .slides section .fragment.grow.visible {
+               -webkit-transform: scale( 1.3 );
+                  -moz-transform: scale( 1.3 );
+                   -ms-transform: scale( 1.3 );
+                    -o-transform: scale( 1.3 );
+                       transform: scale( 1.3 );
+       }
+
+.reveal .slides section .fragment.shrink {
+       opacity: 1;
+}
+       .reveal .slides section .fragment.shrink.visible {
+               -webkit-transform: scale( 0.7 );
+                  -moz-transform: scale( 0.7 );
+                   -ms-transform: scale( 0.7 );
+                    -o-transform: scale( 0.7 );
+                       transform: scale( 0.7 );
+       }
+
+.reveal .slides section .fragment.roll-in {
+       opacity: 0;
+
+       -webkit-transform: rotateX( 90deg );
+          -moz-transform: rotateX( 90deg );
+           -ms-transform: rotateX( 90deg );
+            -o-transform: rotateX( 90deg );
+               transform: rotateX( 90deg );
+}
+       .reveal .slides section .fragment.roll-in.visible {
+               opacity: 1;
+
+               -webkit-transform: rotateX( 0 );
+                  -moz-transform: rotateX( 0 );
+                   -ms-transform: rotateX( 0 );
+                    -o-transform: rotateX( 0 );
+                       transform: rotateX( 0 );
+       }
+
+.reveal .slides section .fragment.fade-out {
+       opacity: 1;
+}
+       .reveal .slides section .fragment.fade-out.visible {
+               opacity: 0;
+       }
+
+.reveal .slides section .fragment.highlight-red,
+.reveal .slides section .fragment.highlight-green,
+.reveal .slides section .fragment.highlight-blue {
+       opacity: 1;
+}
+       .reveal .slides section .fragment.highlight-red.visible {
+               color: #ff2c2d
+       }
+       .reveal .slides section .fragment.highlight-green.visible {
+               color: #17ff2e;
+       }
+       .reveal .slides section .fragment.highlight-blue.visible {
+               color: #1b91ff;
+       }
+
+
+/*********************************************
+ * DEFAULT ELEMENT STYLES
+ *********************************************/
+
+.reveal .slides section {
+       line-height: 1.2em;
+       font-weight: normal;
+}
+
+.reveal img {
+       /* preserve aspect ratio and scale image so it's bound within the section */
+       max-width: 100%;
+       max-height: 100%;
+}
+
+.reveal strong,
+.reveal b {
+       font-weight: bold;
+}
+
+.reveal em,
+.reveal i {
+       font-style: italic;
+}
+
+.reveal ol,
+.reveal ul {
+       display: inline-block;
+
+       text-align: left;
+       margin: 0 0 0 1em;
+}
+
+.reveal ol {
+       list-style-type: decimal;
+}
+
+.reveal ul {
+       list-style-type: disc;
+}
+
+.reveal ul ul {
+       list-style-type: square;
+}
+
+.reveal ul ul ul {
+       list-style-type: circle;
+}
+
+.reveal ul ul,
+.reveal ul ol,
+.reveal ol ol,
+.reveal ol ul {
+       display: block;
+       margin-left: 40px;
+}
+
+.reveal p {
+       margin-bottom: 10px;
+       line-height: 1.2em;
+}
+
+.reveal q,
+.reveal blockquote {
+       quotes: none;
+}
+
+.reveal blockquote {
+       display: block;
+       position: relative;
+       width: 70%;
+       margin: 5px auto;
+       padding: 5px;
+
+       font-style: italic;
+       background: rgba(255, 255, 255, 0.05);
+       box-shadow: 0px 0px 2px rgba(0,0,0,0.2);
+}
+       .reveal blockquote:before {
+               content: '\201C';
+       }
+       .reveal blockquote:after {
+               content: '\201D';
+       }
+
+.reveal q {
+       font-style: italic;
+}
+       .reveal q:before {
+               content: '\201C';
+       }
+       .reveal q:after {
+               content: '\201D';
+       }
+
+.reveal pre {
+       display: block;
+       position: relative;
+       width: 90%;
+       margin: 15px auto;
+
+       text-align: left;
+       font-size: 0.55em;
+       font-family: monospace;
+       line-height: 1.2em;
+
+       word-wrap: break-word;
+
+       box-shadow: 0px 0px 6px rgba(0,0,0,0.3);
+}
+.reveal pre code {
+       padding: 5px;
+}
+
+.reveal code {
+       font-family: monospace;
+       overflow: auto;
+       max-height: 400px;
+}
+
+.reveal table th,
+.reveal table td {
+       text-align: left;
+       padding-right: .3em;
+}
+
+.reveal table th {
+       text-shadow: rgb(255,255,255) 1px 1px 2px;
+}
+
+.reveal sup {
+       vertical-align: super;
+}
+.reveal sub {
+       vertical-align: sub;
+}
+
+.reveal small {
+       display: inline-block;
+       font-size: 0.6em;
+       line-height: 1.2em;
+       vertical-align: top;
+}
+
+.reveal small * {
+       vertical-align: top;
+}
+
+
+/*********************************************
+ * CONTROLS
+ *********************************************/
+
+.reveal .controls {
+       display: none;
+       position: fixed;
+       width: 110px;
+       height: 110px;
+       z-index: 30;
+       right: 10px;
+       bottom: 10px;
+}
+
+.reveal .controls div {
+       position: absolute;
+       opacity: 0.1;
+       width: 0; 
+       height: 0; 
+       border: 12px solid transparent;
+
+       -webkit-transition: opacity 0.2s ease;
+          -moz-transition: opacity 0.2s ease;
+           -ms-transition: opacity 0.2s ease;
+            -o-transition: opacity 0.2s ease;
+               transition: opacity 0.2s ease;
+}
+
+.reveal .controls div.enabled {
+       opacity: 0.6;
+       cursor: pointer;
+}
+
+.reveal .controls div.enabled:active {
+       margin-top: 1px;
+}
+
+.reveal .controls div.left {
+       top: 42px;
+
+       border-right-width: 22px;
+       border-right-color: #eee;
+}
+
+.reveal .controls div.right {
+       left: 74px;
+       top: 42px;
+
+       border-left-width: 22px;
+       border-left-color: #eee;
+}
+
+.reveal .controls div.up {
+       left: 42px;
+
+       border-bottom-width: 22px;
+       border-bottom-color: #eee;
+}
+
+.reveal .controls div.down {
+       left: 42px;
+       top: 74px;
+
+       border-top-width: 22px;
+       border-top-color: #eee;
+}
+
+
+/*********************************************
+ * PROGRESS BAR
+ *********************************************/
+
+.reveal .progress {
+       position: fixed;
+       display: none;
+       height: 3px;
+       width: 100%;
+       bottom: 0;
+       left: 0;
+       z-index: 10;
+}
+       .reveal .progress:after {
+               content: '';
+               display: 'block';
+               position: absolute;
+               height: 20px;
+               width: 100%;
+               top: -20px;
+       }
+       .reveal .progress span {
+               display: block;
+               height: 100%;
+               width: 0px;
+
+               -webkit-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
+                  -moz-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
+                   -ms-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
+                    -o-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
+                       transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
+       }
+
+
+/*********************************************
+ * ROLLING LINKS
+ *********************************************/
+
+.reveal .roll {
+       display: inline-block;
+       line-height: 1.2;
+       overflow: hidden;
+
+       vertical-align: top;
+
+       -webkit-perspective: 400px;
+          -moz-perspective: 400px;
+           -ms-perspective: 400px;
+               perspective: 400px;
+
+       -webkit-perspective-origin: 50% 50%;
+          -moz-perspective-origin: 50% 50%;
+           -ms-perspective-origin: 50% 50%;
+               perspective-origin: 50% 50%;
+}
+       .reveal .roll:hover {
+               background: none;
+               text-shadow: none;
+       }
+.reveal .roll span {
+       display: block;
+       position: relative;
+       padding: 0 2px;
+
+       pointer-events: none;
+
+       -webkit-transition: all 400ms ease;
+          -moz-transition: all 400ms ease;
+           -ms-transition: all 400ms ease;
+               transition: all 400ms ease;
+
+       -webkit-transform-origin: 50% 0%;
+          -moz-transform-origin: 50% 0%;
+           -ms-transform-origin: 50% 0%;
+               transform-origin: 50% 0%;
+
+       -webkit-transform-style: preserve-3d;
+          -moz-transform-style: preserve-3d;
+           -ms-transform-style: preserve-3d;
+               transform-style: preserve-3d;
+
+       -webkit-backface-visibility: hidden;
+          -moz-backface-visibility: hidden;
+               backface-visibility: hidden;
+}
+       .reveal .roll:hover span {
+           background: rgba(0,0,0,0.5);
+
+           -webkit-transform: translate3d( 0px, 0px, -45px ) rotateX( 90deg );
+              -moz-transform: translate3d( 0px, 0px, -45px ) rotateX( 90deg );
+               -ms-transform: translate3d( 0px, 0px, -45px ) rotateX( 90deg );
+                   transform: translate3d( 0px, 0px, -45px ) rotateX( 90deg );
+       }
+.reveal .roll span:after {
+       content: attr(data-title);
+
+       display: block;
+       position: absolute;
+       left: 0;
+       top: 0;
+       padding: 0 2px;
+
+       -webkit-transform-origin: 50% 0%;
+          -moz-transform-origin: 50% 0%;
+           -ms-transform-origin: 50% 0%;
+               transform-origin: 50% 0%;
+
+       -webkit-transform: translate3d( 0px, 110%, 0px ) rotateX( -90deg );
+          -moz-transform: translate3d( 0px, 110%, 0px ) rotateX( -90deg );
+           -ms-transform: translate3d( 0px, 110%, 0px ) rotateX( -90deg );
+               transform: translate3d( 0px, 110%, 0px ) rotateX( -90deg );
+}
+
+
+/*********************************************
+ * SLIDES
+ *********************************************/
+
+.reveal .slides {
+       position: absolute;
+       max-width: 900px;
+       width: 80%;
+       height: 60%;
+       left: 50%;
+       top: 50%;
+       margin-top: -320px;
+       padding: 20px 0px;
+       overflow: visible;
+       z-index: 1;
+
+       text-align: center;
+
+       -webkit-transition: -webkit-perspective .4s ease;
+          -moz-transition: -moz-perspective .4s ease;
+           -ms-transition: -ms-perspective .4s ease;
+            -o-transition: -o-perspective .4s ease;
+               transition: perspective .4s ease;
+
+       -webkit-perspective: 600px;
+          -moz-perspective: 600px;
+           -ms-perspective: 600px;
+               perspective: 600px;
+
+       -webkit-perspective-origin: 0% 25%;
+          -moz-perspective-origin: 0% 25%;
+           -ms-perspective-origin: 0% 25%;
+               perspective-origin: 0% 25%;
+}
+
+.reveal .slides>section,
+.reveal .slides>section>section {
+       display: none;
+       position: absolute;
+       width: 100%;
+       min-height: 600px;
+
+       z-index: 10;
+
+       -webkit-transform-style: preserve-3d;
+          -moz-transform-style: preserve-3d;
+           -ms-transform-style: preserve-3d;
+               transform-style: preserve-3d;
+
+       -webkit-transition: all 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
+          -moz-transition: all 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
+           -ms-transition: all 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
+            -o-transition: all 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
+               transition: all 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
+}
+
+.reveal .slides>section.present {
+       display: block;
+       z-index: 11;
+       opacity: 1;
+}
+
+.reveal .slides>section {
+       margin-left: -50%;
+}
+
+
+/*********************************************
+ * DEFAULT TRANSITION
+ *********************************************/
+
+.reveal .slides>section.past {
+       display: block;
+       opacity: 0;
+
+       -webkit-transform: translate3d(-100%, 0, 0) rotateY(-90deg) translate3d(-100%, 0, 0);
+          -moz-transform: translate3d(-100%, 0, 0) rotateY(-90deg) translate3d(-100%, 0, 0);
+           -ms-transform: translate3d(-100%, 0, 0) rotateY(-90deg) translate3d(-100%, 0, 0);
+               transform: translate3d(-100%, 0, 0) rotateY(-90deg) translate3d(-100%, 0, 0);
+}
+.reveal .slides>section.future {
+       display: block;
+       opacity: 0;
+
+       -webkit-transform: translate3d(100%, 0, 0) rotateY(90deg) translate3d(100%, 0, 0);
+          -moz-transform: translate3d(100%, 0, 0) rotateY(90deg) translate3d(100%, 0, 0);
+           -ms-transform: translate3d(100%, 0, 0) rotateY(90deg) translate3d(100%, 0, 0);
+               transform: translate3d(100%, 0, 0) rotateY(90deg) translate3d(100%, 0, 0);
+}
+
+.reveal .slides>section>section.past {
+       display: block;
+       opacity: 0;
+
+       -webkit-transform: translate3d(0, -50%, 0) rotateX(70deg) translate3d(0, -50%, 0);
+          -moz-transform: translate3d(0, -50%, 0) rotateX(70deg) translate3d(0, -50%, 0);
+           -ms-transform: translate3d(0, -50%, 0) rotateX(70deg) translate3d(0, -50%, 0);
+               transform: translate3d(0, -50%, 0) rotateX(70deg) translate3d(0, -50%, 0);
+}
+.reveal .slides>section>section.future {
+       display: block;
+       opacity: 0;
+
+       -webkit-transform: translate3d(0, 50%, 0) rotateX(-70deg) translate3d(0, 50%, 0);
+          -moz-transform: translate3d(0, 50%, 0) rotateX(-70deg) translate3d(0, 50%, 0);
+           -ms-transform: translate3d(0, 50%, 0) rotateX(-70deg) translate3d(0, 50%, 0);
+               transform: translate3d(0, 50%, 0) rotateX(-70deg) translate3d(0, 50%, 0);
+}
+
+
+/*********************************************
+ * CONCAVE TRANSITION
+ *********************************************/
+
+.reveal.concave  .slides>section.past {
+       -webkit-transform: translate3d(-100%, 0, 0) rotateY(90deg) translate3d(-100%, 0, 0);
+          -moz-transform: translate3d(-100%, 0, 0) rotateY(90deg) translate3d(-100%, 0, 0);
+           -ms-transform: translate3d(-100%, 0, 0) rotateY(90deg) translate3d(-100%, 0, 0);
+               transform: translate3d(-100%, 0, 0) rotateY(90deg) translate3d(-100%, 0, 0);
+}
+.reveal.concave  .slides>section.future {
+       -webkit-transform: translate3d(100%, 0, 0) rotateY(-90deg) translate3d(100%, 0, 0);
+          -moz-transform: translate3d(100%, 0, 0) rotateY(-90deg) translate3d(100%, 0, 0);
+           -ms-transform: translate3d(100%, 0, 0) rotateY(-90deg) translate3d(100%, 0, 0);
+               transform: translate3d(100%, 0, 0) rotateY(-90deg) translate3d(100%, 0, 0);
+}
+
+.reveal.concave  .slides>section>section.past {
+       -webkit-transform: translate3d(0, -80%, 0) rotateX(-70deg) translate3d(0, -80%, 0);
+          -moz-transform: translate3d(0, -80%, 0) rotateX(-70deg) translate3d(0, -80%, 0);
+           -ms-transform: translate3d(0, -80%, 0) rotateX(-70deg) translate3d(0, -80%, 0);
+               transform: translate3d(0, -80%, 0) rotateX(-70deg) translate3d(0, -80%, 0);
+}
+.reveal.concave  .slides>section>section.future {
+       -webkit-transform: translate3d(0, 80%, 0) rotateX(70deg) translate3d(0, 80%, 0);
+          -moz-transform: translate3d(0, 80%, 0) rotateX(70deg) translate3d(0, 80%, 0);
+           -ms-transform: translate3d(0, 80%, 0) rotateX(70deg) translate3d(0, 80%, 0);
+               transform: translate3d(0, 80%, 0) rotateX(70deg) translate3d(0, 80%, 0);
+}
+
+
+/*********************************************
+ * ZOOM TRANSITION
+ *********************************************/
+
+.reveal.zoom .slides>section,
+.reveal.zoom .slides>section>section {
+       -webkit-transition: all 600ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
+          -moz-transition: all 600ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
+           -ms-transition: all 600ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
+            -o-transition: all 600ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
+               transition: all 600ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
+}
+
+.reveal.zoom .slides>section.past {
+       opacity: 0;
+       visibility: hidden;
+
+       -webkit-transform: scale(16);
+          -moz-transform: scale(16);
+           -ms-transform: scale(16);
+            -o-transform: scale(16);
+               transform: scale(16);
+}
+.reveal.zoom .slides>section.future {
+       opacity: 0;
+       visibility: hidden;
+
+       -webkit-transform: scale(0.2);
+          -moz-transform: scale(0.2);
+           -ms-transform: scale(0.2);
+            -o-transform: scale(0.2);
+               transform: scale(0.2);
+}
+
+.reveal.zoom .slides>section>section.past {
+       -webkit-transform: translate(0, -150%);
+          -moz-transform: translate(0, -150%);
+           -ms-transform: translate(0, -150%);
+            -o-transform: translate(0, -150%);
+               transform: translate(0, -150%);
+}
+.reveal.zoom .slides>section>section.future {
+       -webkit-transform: translate(0, 150%);
+          -moz-transform: translate(0, 150%);
+           -ms-transform: translate(0, 150%);
+            -o-transform: translate(0, 150%);
+               transform: translate(0, 150%);
+}
+
+
+/*********************************************
+ * LINEAR TRANSITION
+ *********************************************/
+
+.reveal.linear .slides>section.past {
+       -webkit-transform: translate(-150%, 0);
+          -moz-transform: translate(-150%, 0);
+           -ms-transform: translate(-150%, 0);
+            -o-transform: translate(-150%, 0);
+               transform: translate(-150%, 0);
+}
+.reveal.linear .slides>section.future {
+       -webkit-transform: translate(150%, 0);
+          -moz-transform: translate(150%, 0);
+           -ms-transform: translate(150%, 0);
+            -o-transform: translate(150%, 0);
+               transform: translate(150%, 0);
+}
+
+.reveal.linear .slides>section>section.past {
+       -webkit-transform: translate(0, -150%);
+          -moz-transform: translate(0, -150%);
+           -ms-transform: translate(0, -150%);
+            -o-transform: translate(0, -150%);
+               transform: translate(0, -150%);
+}
+.reveal.linear .slides>section>section.future {
+       -webkit-transform: translate(0, 150%);
+          -moz-transform: translate(0, 150%);
+           -ms-transform: translate(0, 150%);
+            -o-transform: translate(0, 150%);
+               transform: translate(0, 150%);
+}
+
+
+/*********************************************
+ * CUBE TRANSITION
+ *********************************************/
+
+.reveal.cube .slides {
+       -webkit-perspective-origin: 0% 25%;
+          -moz-perspective-origin: 0% 25%;
+           -ms-perspective-origin: 0% 25%;
+               perspective-origin: 0% 25%;
+
+       -webkit-perspective: 1300px;
+          -moz-perspective: 1300px;
+           -ms-perspective: 1300px;
+               perspective: 1300px;
+}
+
+.reveal.cube .slides section {
+       padding: 30px;
+
+       -webkit-backface-visibility: hidden;
+          -moz-backface-visibility: hidden;
+           -ms-backface-visibility: hidden;
+               backface-visibility: hidden;
+
+       -webkit-box-sizing: border-box;
+          -moz-box-sizing: border-box;
+               box-sizing: border-box;
+}
+       .reveal.cube .slides section:not(.stack):before {
+               content: '';
+               position: absolute;
+               display: block;
+               width: 100%;
+               height: 100%;
+               left: 0;
+               top: 0;
+               background: rgba(0,0,0,0.1);
+               border-radius: 4px;
+
+               -webkit-transform: translateZ( -20px );
+                  -moz-transform: translateZ( -20px );
+                   -ms-transform: translateZ( -20px );
+                    -o-transform: translateZ( -20px );
+                       transform: translateZ( -20px );
+       }
+       .reveal.cube .slides section:not(.stack):after {
+               content: '';
+               position: absolute;
+               display: block;
+               width: 90%;
+               height: 30px;
+               left: 5%;
+               bottom: 0;
+               background: none;
+               z-index: 1;
+
+               border-radius: 4px;
+               box-shadow: 0px 95px 25px rgba(0,0,0,0.2);
+
+               -webkit-transform: translateZ(-90px) rotateX( 65deg );
+                  -moz-transform: translateZ(-90px) rotateX( 65deg );
+                   -ms-transform: translateZ(-90px) rotateX( 65deg );
+                    -o-transform: translateZ(-90px) rotateX( 65deg );
+                       transform: translateZ(-90px) rotateX( 65deg );
+       }
+
+.reveal.cube .slides>section.stack {
+       padding: 0;
+       background: none;
+}
+
+.reveal.cube .slides>section.past {
+       -webkit-transform-origin: 100% 0%;
+          -moz-transform-origin: 100% 0%;
+           -ms-transform-origin: 100% 0%;
+               transform-origin: 100% 0%;
+
+       -webkit-transform: translate3d(-100%, 0, 0) rotateY(-90deg);
+          -moz-transform: translate3d(-100%, 0, 0) rotateY(-90deg);
+           -ms-transform: translate3d(-100%, 0, 0) rotateY(-90deg);
+               transform: translate3d(-100%, 0, 0) rotateY(-90deg);
+}
+
+.reveal.cube .slides>section.future {
+       -webkit-transform-origin: 0% 0%;
+          -moz-transform-origin: 0% 0%;
+           -ms-transform-origin: 0% 0%;
+               transform-origin: 0% 0%;
+
+       -webkit-transform: translate3d(100%, 0, 0) rotateY(90deg);
+          -moz-transform: translate3d(100%, 0, 0) rotateY(90deg);
+           -ms-transform: translate3d(100%, 0, 0) rotateY(90deg);
+               transform: translate3d(100%, 0, 0) rotateY(90deg);
+}
+
+.reveal.cube .slides>section>section.past {
+       -webkit-transform-origin: 0% 100%;
+          -moz-transform-origin: 0% 100%;
+           -ms-transform-origin: 0% 100%;
+               transform-origin: 0% 100%;
+
+       -webkit-transform: translate3d(0, -100%, 0) rotateX(90deg);
+          -moz-transform: translate3d(0, -100%, 0) rotateX(90deg);
+           -ms-transform: translate3d(0, -100%, 0) rotateX(90deg);
+               transform: translate3d(0, -100%, 0) rotateX(90deg);
+}
+
+.reveal.cube .slides>section>section.future {
+       -webkit-transform-origin: 0% 0%;
+          -moz-transform-origin: 0% 0%;
+           -ms-transform-origin: 0% 0%;
+               transform-origin: 0% 0%;
+
+       -webkit-transform: translate3d(0, 100%, 0) rotateX(-90deg);
+          -moz-transform: translate3d(0, 100%, 0) rotateX(-90deg);
+           -ms-transform: translate3d(0, 100%, 0) rotateX(-90deg);
+               transform: translate3d(0, 100%, 0) rotateX(-90deg);
+}
+
+
+/*********************************************
+ * PAGE TRANSITION
+ *********************************************/
+
+.reveal.page .slides {
+       -webkit-perspective-origin: 0% 50%;
+          -moz-perspective-origin: 0% 50%;
+           -ms-perspective-origin: 0% 50%;
+               perspective-origin: 0% 50%;
+
+       -webkit-perspective: 3000px;
+          -moz-perspective: 3000px;
+           -ms-perspective: 3000px;
+               perspective: 3000px;
+}
+
+.reveal.page .slides section {
+       padding: 30px;
+
+       -webkit-box-sizing: border-box;
+          -moz-box-sizing: border-box;
+               box-sizing: border-box;
+}
+       .reveal.page .slides section.past {
+               z-index: 12;
+       }
+       .reveal.page .slides section:not(.stack):before {
+               content: '';
+               position: absolute;
+               display: block;
+               width: 100%;
+               height: 100%;
+               left: 0;
+               top: 0;
+               background: rgba(0,0,0,0.1);
+
+               -webkit-transform: translateZ( -20px );
+                  -moz-transform: translateZ( -20px );
+                   -ms-transform: translateZ( -20px );
+                    -o-transform: translateZ( -20px );
+                       transform: translateZ( -20px );
+       }
+       .reveal.page .slides section:not(.stack):after {
+               content: '';
+               position: absolute;
+               display: block;
+               width: 90%;
+               height: 30px;
+               left: 5%;
+               bottom: 0;
+               background: none;
+               z-index: 1;
+
+               border-radius: 4px;
+               box-shadow: 0px 95px 25px rgba(0,0,0,0.2);
+
+               -webkit-transform: translateZ(-90px) rotateX( 65deg );
+       }
+
+.reveal.page .slides>section.stack {
+       padding: 0;
+       background: none;
+}
+
+.reveal.page .slides>section.past {
+       -webkit-transform-origin: 0% 0%;
+          -moz-transform-origin: 0% 0%;
+           -ms-transform-origin: 0% 0%;
+               transform-origin: 0% 0%;
+
+       -webkit-transform: translate3d(-40%, 0, 0) rotateY(-80deg);
+          -moz-transform: translate3d(-40%, 0, 0) rotateY(-80deg);
+           -ms-transform: translate3d(-40%, 0, 0) rotateY(-80deg);
+               transform: translate3d(-40%, 0, 0) rotateY(-80deg);
+}
+
+.reveal.page .slides>section.future {
+       -webkit-transform-origin: 100% 0%;
+          -moz-transform-origin: 100% 0%;
+           -ms-transform-origin: 100% 0%;
+               transform-origin: 100% 0%;
+
+       -webkit-transform: translate3d(0, 0, 0);
+          -moz-transform: translate3d(0, 0, 0);
+           -ms-transform: translate3d(0, 0, 0);
+               transform: translate3d(0, 0, 0);
+}
+
+.reveal.page .slides>section>section.past {
+       -webkit-transform-origin: 0% 0%;
+          -moz-transform-origin: 0% 0%;
+           -ms-transform-origin: 0% 0%;
+               transform-origin: 0% 0%;
+
+       -webkit-transform: translate3d(0, -40%, 0) rotateX(80deg);
+          -moz-transform: translate3d(0, -40%, 0) rotateX(80deg);
+           -ms-transform: translate3d(0, -40%, 0) rotateX(80deg);
+               transform: translate3d(0, -40%, 0) rotateX(80deg);
+}
+
+.reveal.page .slides>section>section.future {
+       -webkit-transform-origin: 0% 100%;
+          -moz-transform-origin: 0% 100%;
+           -ms-transform-origin: 0% 100%;
+               transform-origin: 0% 100%;
+
+       -webkit-transform: translate3d(0, 0, 0);
+          -moz-transform: translate3d(0, 0, 0);
+           -ms-transform: translate3d(0, 0, 0);
+               transform: translate3d(0, 0, 0);
+}
+
+
+/*********************************************
+ * TILE-FLIP TRANSITION (CSS shader)
+ *********************************************/
+
+.reveal.tileflip .slides section.present {
+       -webkit-transform: none;
+       -webkit-transition-duration: 800ms;
+
+       -webkit-filter: custom( url(shaders/tile-flip.vs) mix(url(shaders/tile-flip.fs) multiply source-atop), 10 10 border-box detached, transform perspective(1000) scale(1) rotateX(0deg) rotateY(0deg) rotateZ(0deg),
+               amount 0, randomness 0, flipAxis 0 1 0, tileOutline 1
+       );
+}
+
+.reveal.tileflip .slides section.past {
+       -webkit-transform: none;
+       -webkit-transition-duration: 800ms;
+
+       -webkit-filter: custom( url(shaders/tile-flip.vs) mix(url(shaders/tile-flip.fs) multiply source-atop), 10 10 border-box detached, transform perspective(1000) scale(1) rotateX(0deg) rotateY(0deg) rotateZ(0deg),
+               amount 1, randomness 0, flipAxis 0 1 0, tileOutline 1
+       );
+}
+
+.reveal.tileflip .slides section.future {
+       -webkit-transform: none;
+       -webkit-transition-duration: 800ms;
+
+       -webkit-filter: custom( url(shaders/tile-flip.vs) mix(url(shaders/tile-flip.fs) multiply source-atop), 10 10 border-box detached, transform perspective(1000) scale(1) rotateX(0deg) rotateY(0deg) rotateZ(0deg),
+               amount 1, randomness 0, flipAxis 0 1 0, tileOutline 1
+       );
+}
+
+.reveal.tileflip .slides>section>section.present {
+       -webkit-filter: custom( url(shaders/tile-flip.vs) mix(url(shaders/tile-flip.fs) multiply source-atop), 10 10 border-box detached, transform perspective(1000) scale(1) rotateX(0deg) rotateY(0deg) rotateZ(0deg),
+               amount 0, randomness 2, flipAxis 1 0 0, tileOutline 1
+       );
+}
+
+.reveal.tileflip .slides>section>section.past {
+       -webkit-filter: custom( url(shaders/tile-flip.vs) mix(url(shaders/tile-flip.fs) multiply source-atop), 10 10 border-box detached, transform perspective(1000) scale(1) rotateX(0deg) rotateY(0deg) rotateZ(0deg),
+               amount 1, randomness 2, flipAxis 1 0 0, tileOutline 1
+       );
+}
+
+.reveal.tileflip .slides>section>section.future {
+       -webkit-filter: custom( url(shaders/tile-flip.vs) mix(url(shaders/tile-flip.fs) multiply source-atop), 10 10 border-box detached, transform perspective(1000) scale(1) rotateX(0deg) rotateY(0deg) rotateZ(0deg),
+               amount 1, randomness 2, flipAxis 1 0 0, tileOutline 1
+       );
+}
+
+
+/*********************************************
+ * NO TRANSITION
+ *********************************************/
+
+.reveal.none .slides section {
+       -webkit-transform: none;
+          -moz-transform: none;
+           -ms-transform: none;
+            -o-transform: none;
+               transform: none;
+
+       -webkit-transition: none;
+          -moz-transition: none;
+           -ms-transition: none;
+            -o-transition: none;
+               transition: none;
+}
+
+
+/*********************************************
+ * OVERVIEW
+ *********************************************/
+
+.reveal.overview .slides {
+       -webkit-perspective: 700px;
+          -moz-perspective: 700px;
+           -ms-perspective: 700px;
+               perspective: 700px;
+}
+
+.reveal.overview .slides section {
+       padding: 20px 0;
+       max-height: 600px;
+       overflow: hidden;
+       opacity: 1!important;
+       visibility: visible!important;
+       cursor: pointer;
+       background: rgba(0,0,0,0.1);
+}
+.reveal.overview .slides section .fragment {
+       opacity: 1;
+}
+.reveal.overview .slides section:after,
+.reveal.overview .slides section:before {
+       display: none !important;
+}
+.reveal.overview .slides section>section {
+       opacity: 1;
+       cursor: pointer;
+}
+       .reveal.overview .slides section:hover {
+               background: rgba(0,0,0,0.3);
+       }
+
+       .reveal.overview .slides section.present {
+               background: rgba(0,0,0,0.3);
+       }
+.reveal.overview .slides>section.stack {
+       background: none;
+       padding: 0;
+       overflow: visible;
+}
+
+
+/*********************************************
+ * PAUSED MODE
+ *********************************************/
+
+.reveal .pause-overlay {
+       position: absolute;
+       top: 0;
+       left: 0;
+       width: 100%;
+       height: 100%;
+       background: black;
+       visibility: hidden;
+       opacity: 0;
+       z-index: 100;
+
+       -webkit-transition: all 1s ease;
+          -moz-transition: all 1s ease;
+           -ms-transition: all 1s ease;
+            -o-transition: all 1s ease;
+               transition: all 1s ease;
+}
+.reveal.paused .pause-overlay {
+       visibility: visible;
+       opacity: 1;
+}
+
+
+/*********************************************
+ * FALLBACK
+ *********************************************/
+
+.no-transforms {
+       overflow-y: auto;
+}
+
+.no-transforms .slides section {
+       display: block!important;
+       opacity: 1!important;
+       position: relative!important;
+       height: auto;
+       min-height: auto;
+       margin-bottom: 100px;
+
+       -webkit-transform: none;
+          -moz-transform: none;
+           -ms-transform: none;
+               transform: none;
+}
+
+
+/*********************************************
+ * BACKGROUND STATES
+ *********************************************/
+
+.reveal .state-background {
+       position: absolute;
+       width: 100%;
+       height: 100%;
+       background: rgba( 0, 0, 0, 0 );
+
+       -webkit-transition: background 800ms ease;
+          -moz-transition: background 800ms ease;
+           -ms-transition: background 800ms ease;
+            -o-transition: background 800ms ease;
+               transition: background 800ms ease;
+}
+.alert .reveal .state-background {
+       background: rgba( 200, 50, 30, 0.6 );
+}
+.soothe .reveal .state-background {
+       background: rgba( 50, 200, 90, 0.4 );
+}
+.blackout .reveal .state-background {
+       background: rgba( 0, 0, 0, 0.6 );
+}
+
+
+/*********************************************
+ * SPEAKER NOTES
+ *********************************************/
+
+.reveal aside.notes {
+       display: none;
+}
+
+
+/*********************************************
+ * ZOOM PLUGIN
+ *********************************************/
+
+.zoomed .reveal *,
+.zoomed .reveal *:before,
+.zoomed .reveal *:after {
+       -webkit-transform: none !important;
+          -moz-transform: none !important;
+           -ms-transform: none !important;
+               transform: none !important;
+
+       -webkit-backface-visibility: visible !important;
+          -moz-backface-visibility: visible !important;
+           -ms-backface-visibility: visible !important;
+               backface-visibility: visible !important;
+}
+
+.zoomed .reveal .progress,
+.zoomed .reveal .controls {
+       opacity: 0;
+}
+
+.zoomed .reveal .roll span {
+       background: none;
+}
+
+.zoomed .reveal .roll span:after {
+       visibility: hidden;
+}
+
+
diff --git a/slides/reveal.js/css/shaders/tile-flip.fs b/slides/reveal.js/css/shaders/tile-flip.fs
new file mode 100644 (file)
index 0000000..3481a48
--- /dev/null
@@ -0,0 +1,64 @@
+/*
+ * Copyright (c) 2012 Adobe Systems Incorporated. All rights reserved.
+ * Copyright (c) 2012 Branislav Ulicny
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+precision mediump float;
+
+// Uniform values from CSS
+
+uniform float amount;
+uniform float tileOutline;
+
+// Built-in uniforms
+
+uniform vec2 u_meshSize;
+uniform vec2 u_textureSize;
+
+// Varyings passed in from vertex shader
+
+varying float v_depth;
+varying vec2 v_uv;
+
+// Main
+
+void main()
+{
+       // FIXME: Must swap x and y as a workaround for: 
+       // https://bugs.webkit.org/show_bug.cgi?id=96285
+       vec2 u_meshSize = u_meshSize.yx;
+
+       vec4 c = vec4(1.0);
+
+       // Fade out.
+       c.a = 1.0 - v_depth;
+
+       // Show grid outline.
+       if (tileOutline >= 0.5) {
+               float cell_width = u_textureSize.x / u_meshSize.y;
+               float cell_height = u_textureSize.y / u_meshSize.x;
+               float dd = 1.0;
+
+               if (mod(v_uv.x * u_textureSize.x + dd, cell_width) < 2.0
+                       || mod(v_uv.y * u_textureSize.y + dd, cell_height) < 2.0) {
+                       if (amount > 0.0)
+                               c.rgb = vec3(1.0 - sqrt(amount));
+               }
+       }
+       css_ColorMatrix = mat4(c.r, 0.0, 0.0, 0.0,
+                                                       0.0, c.g, 0.0, 0.0,
+                                                       0.0, 0.0, c.b, 0.0,
+                                                       0.0, 0.0, 0.0, c.a);
+}
diff --git a/slides/reveal.js/css/shaders/tile-flip.vs b/slides/reveal.js/css/shaders/tile-flip.vs
new file mode 100644 (file)
index 0000000..498e446
--- /dev/null
@@ -0,0 +1,141 @@
+/*
+ * Copyright (c)2012 Adobe Systems Incorporated. All rights reserved.
+ * Copyright (c)2012 Branislav Ulicny
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+precision mediump float;
+
+// Built-in attributes
+
+attribute vec4 a_position;
+attribute vec2 a_texCoord;
+attribute vec3 a_triangleCoord;
+
+// Built-in uniforms
+
+uniform mat4 u_projectionMatrix;
+uniform vec2 u_meshSize;
+uniform vec2 u_textureSize;
+
+// Uniform passed in from CSS
+
+uniform mat4 transform;
+uniform float amount;
+uniform float randomness;
+uniform vec3 flipAxis;
+
+// Varyings
+
+varying float v_depth;
+varying vec2 v_uv;
+
+// Constants
+
+const float PI2 = 1.5707963267948966;
+
+// Create perspective matrix
+
+mat4 perspectiveMatrix(float p)
+{
+    float perspective = - 1.0 / p;
+    return mat4(
+               1.0, 0.0, 0.0, 0.0,
+               0.0, 1.0, 0.0, 0.0,
+               0.0, 0.0, 1.0, perspective,
+               0.0, 0.0, 0.0, 1.0
+       );
+}
+
+// Rotate vector
+
+vec3 rotateVectorByQuaternion(vec3 v, vec4 q)
+{
+       vec3 dest = vec3(0.0);
+
+       float x = v.x, y  = v.y, z  = v.z;
+       float qx = q.x, qy = q.y, qz = q.z, qw = q.w;
+
+       // Calculate quaternion * vector.
+
+       float ix =  qw * x + qy * z - qz * y,
+                 iy =  qw * y + qz * x - qx * z,
+                 iz =  qw * z + qx * y - qy * x,
+                 iw = -qx * x - qy * y - qz * z;
+
+       // Calculate result * inverse quaternion.
+
+       dest.x = ix * qw + iw * -qx + iy * -qz - iz * -qy;
+       dest.y = iy * qw + iw * -qy + iz * -qx - ix * -qz;
+       dest.z = iz * qw + iw * -qz + ix * -qy - iy * -qx;
+
+       return dest;
+}
+
+// Convert rotation.
+
+vec4 axisAngleToQuaternion(vec3 axis, float angle)
+{
+       vec4 dest = vec4(0.0);
+
+       float halfAngle = angle / 2.0;
+       float s = sin(halfAngle);
+
+       dest.x = axis.x * s;
+       dest.y = axis.y * s;
+       dest.z = axis.z * s;
+       dest.w = cos(halfAngle);
+
+       return dest;
+}
+
+// Random function based on the tile coordinate.
+// This will return the same value for all the vertices in the same tile (i.e. two triangles).
+
+float random(vec2 scale)
+{
+    // Use the fragment position as a different seed per-pixel.
+    return fract(sin(dot(vec2(a_triangleCoord.x, a_triangleCoord.y), scale)) * 4000.0);
+}
+
+// Main
+
+void main()
+{
+       // FIXME: We must swap x and y as a workaround for: 
+       // https://bugs.webkit.org/show_bug.cgi?id=96285
+       vec2 u_meshSize = u_meshSize.yx;
+
+       vec4 pos = a_position;
+       float aspect = u_textureSize.x / u_textureSize.y;
+
+       float cx = a_triangleCoord.x / u_meshSize.y - 0.5 + 0.5 / u_meshSize.y;
+       float cy = a_triangleCoord.y / u_meshSize.x - 0.5 + 0.5 / u_meshSize.x;
+
+       vec3 centroid = vec3(cx, cy, 0.0);
+       float r = random(vec2(10.0, 80.0));
+       float rr = mix(0.0, PI2, amount * (1.0 + randomness * r));
+
+       vec4 rotation = vec4(flipAxis, rr);
+       vec4 qRotation = axisAngleToQuaternion(normalize(rotation.xyz), rotation.w);
+
+       vec3 newPosition = rotateVectorByQuaternion((pos.xyz - centroid)* vec3(aspect, 1., 1.0), qRotation) * vec3(1.0 / aspect, 1.0, 1.0) + centroid;
+       pos.xyz = newPosition;
+
+       gl_Position = u_projectionMatrix * transform * pos;
+
+       // Pass varyings to the fragment shader.
+       v_depth = abs(rr)/ PI2;
+       v_uv = a_texCoord;
+}
diff --git a/slides/reveal.js/css/theme/README.md b/slides/reveal.js/css/theme/README.md
new file mode 100644 (file)
index 0000000..137bdf2
--- /dev/null
@@ -0,0 +1,5 @@
+Themes are written using Sass to keep things modular and reduce the need for repeated selectors across files. Find out how to install Sass here http://sass-lang.com/, once Sass is installed run the follwing command to start monitoring the source files for changes.
+
+```
+sass --watch css/theme/source/:css/theme --style expanded
+```
\ No newline at end of file
diff --git a/slides/reveal.js/css/theme/beige.css b/slides/reveal.js/css/theme/beige.css
new file mode 100644 (file)
index 0000000..5e40883
--- /dev/null
@@ -0,0 +1,163 @@
+@import url(http://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic);
+/**
+ * Beige theme for reveal.js.
+ * 
+ * Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
+ */
+@font-face {
+  font-family: 'League Gothic';
+  src: url("../../lib/font/league_gothic-webfont.eot");
+  src: url("../../lib/font/league_gothic-webfont.eot?#iefix") format("embedded-opentype"), url("../../lib/font/league_gothic-webfont.woff") format("woff"), url("../../lib/font/league_gothic-webfont.ttf") format("truetype"), url("../../lib/font/league_gothic-webfont.svg#LeagueGothicRegular") format("svg");
+  font-weight: normal;
+  font-style: normal;
+}
+
+/*********************************************
+ * GLOBAL STYLES
+ *********************************************/
+body {
+  background: #f7f2d3;
+  background: -moz-radial-gradient(center, circle cover, white 0%, #f7f2d3 100%);
+  background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%, white), color-stop(100%, #f7f2d3));
+  background: -webkit-radial-gradient(center, circle cover, white 0%, #f7f2d3 100%);
+  background: -o-radial-gradient(center, circle cover, white 0%, #f7f2d3 100%);
+  background: -ms-radial-gradient(center, circle cover, white 0%, #f7f2d3 100%);
+  background: radial-gradient(center, circle cover, white 0%, #f7f2d3 100%);
+  background-color: #f7f3de;
+}
+
+.reveal {
+  font-family: "Lato", Times, "Times New Roman", serif;
+  font-size: 36px;
+  font-weight: 200;
+  letter-spacing: -0.02em;
+  color: #333333;
+}
+
+::selection {
+  color: white;
+  background: rgba(79, 64, 28, 0.99);
+  text-shadow: none;
+}
+
+/*********************************************
+ * HEADERS
+ *********************************************/
+.reveal h1,
+.reveal h2,
+.reveal h3,
+.reveal h4,
+.reveal h5,
+.reveal h6 {
+  margin: 0 0 20px 0;
+  color: #333333;
+  font-family: "League Gothic", Impact, sans-serif;
+  line-height: 0.9em;
+  letter-spacing: 0.02em;
+  text-transform: uppercase;
+  text-shadow: none;
+}
+
+.reveal h1 {
+  text-shadow: 0 1px 0 #cccccc, 0 2px 0 #c9c9c9, 0 3px 0 #bbbbbb, 0 4px 0 #b9b9b9, 0 5px 0 #aaaaaa, 0 6px 1px rgba(0, 0, 0, 0.1), 0 0 5px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.3), 0 3px 5px rgba(0, 0, 0, 0.2), 0 5px 10px rgba(0, 0, 0, 0.25), 0 20px 20px rgba(0, 0, 0, 0.15);
+}
+
+/*********************************************
+ * LINKS
+ *********************************************/
+.reveal a:not(.image) {
+  color: #8b743d;
+  text-decoration: none;
+  -webkit-transition: color .15s ease;
+  -moz-transition: color .15s ease;
+  -ms-transition: color .15s ease;
+  -o-transition: color .15s ease;
+  transition: color .15s ease;
+}
+
+.reveal a:not(.image):hover {
+  color: #c0a86e;
+  text-shadow: none;
+  border: none;
+}
+
+.reveal .roll span:after {
+  color: #fff;
+  background: #564826;
+}
+
+/*********************************************
+ * IMAGES
+ *********************************************/
+.reveal section img {
+  margin: 15px;
+  background: rgba(255, 255, 255, 0.12);
+  border: 4px solid #333333;
+  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
+  -webkit-transition: all .2s linear;
+  -moz-transition: all .2s linear;
+  -ms-transition: all .2s linear;
+  -o-transition: all .2s linear;
+  transition: all .2s linear;
+}
+
+.reveal a:hover img {
+  background: rgba(255, 255, 255, 0.2);
+  border-color: #8b743d;
+  box-shadow: 0 0 20px rgba(0, 0, 0, 0.55);
+}
+
+/*********************************************
+ * NAVIGATION CONTROLS
+ *********************************************/
+.reveal .controls div.left,
+.reveal .controls div.left.enabled {
+  border-right-color: #8b743d;
+}
+
+.reveal .controls div.right,
+.reveal .controls div.right.enabled {
+  border-left-color: #8b743d;
+}
+
+.reveal .controls div.up,
+.reveal .controls div.up.enabled {
+  border-bottom-color: #8b743d;
+}
+
+.reveal .controls div.down,
+.reveal .controls div.down.enabled {
+  border-top-color: #8b743d;
+}
+
+.reveal .controls div.left.enabled:hover {
+  border-right-color: #c0a86e;
+}
+
+.reveal .controls div.right.enabled:hover {
+  border-left-color: #c0a86e;
+}
+
+.reveal .controls div.up.enabled:hover {
+  border-bottom-color: #c0a86e;
+}
+
+.reveal .controls div.down.enabled:hover {
+  border-top-color: #c0a86e;
+}
+
+/*********************************************
+ * PROGRESS BAR
+ *********************************************/
+.reveal .progress {
+  background: rgba(0, 0, 0, 0.2);
+}
+
+.reveal .progress span {
+  background: #8b743d;
+  -webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
+  -moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
+  -ms-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
+  -o-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
+  transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
+}
diff --git a/slides/reveal.js/css/theme/default.css b/slides/reveal.js/css/theme/default.css
new file mode 100644 (file)
index 0000000..28ed7d3
--- /dev/null
@@ -0,0 +1,163 @@
+@import url(http://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic);
+/**
+ * Default theme for reveal.js.
+ * 
+ * Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
+ */
+@font-face {
+  font-family: 'League Gothic';
+  src: url("../../lib/font/league_gothic-webfont.eot");
+  src: url("../../lib/font/league_gothic-webfont.eot?#iefix") format("embedded-opentype"), url("../../lib/font/league_gothic-webfont.woff") format("woff"), url("../../lib/font/league_gothic-webfont.ttf") format("truetype"), url("../../lib/font/league_gothic-webfont.svg#LeagueGothicRegular") format("svg");
+  font-weight: normal;
+  font-style: normal;
+}
+
+/*********************************************
+ * GLOBAL STYLES
+ *********************************************/
+body {
+  background: #1c1e20;
+  background: -moz-radial-gradient(center, circle cover, #555a5f 0%, #1c1e20 100%);
+  background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%, #555a5f), color-stop(100%, #1c1e20));
+  background: -webkit-radial-gradient(center, circle cover, #555a5f 0%, #1c1e20 100%);
+  background: -o-radial-gradient(center, circle cover, #555a5f 0%, #1c1e20 100%);
+  background: -ms-radial-gradient(center, circle cover, #555a5f 0%, #1c1e20 100%);
+  background: radial-gradient(center, circle cover, #555a5f 0%, #1c1e20 100%);
+  background-color: #2b2b2b;
+}
+
+.reveal {
+  font-family: "Lato", Times, "Times New Roman", serif;
+  font-size: 36px;
+  font-weight: 200;
+  letter-spacing: -0.02em;
+  color: #eeeeee;
+}
+
+::selection {
+  color: white;
+  background: #ff5e99;
+  text-shadow: none;
+}
+
+/*********************************************
+ * HEADERS
+ *********************************************/
+.reveal h1,
+.reveal h2,
+.reveal h3,
+.reveal h4,
+.reveal h5,
+.reveal h6 {
+  margin: 0 0 20px 0;
+  color: #eeeeee;
+  font-family: "League Gothic", Impact, sans-serif;
+  line-height: 0.9em;
+  letter-spacing: 0.02em;
+  text-transform: uppercase;
+  text-shadow: 0px 0px 6px rgba(0, 0, 0, 0.2);
+}
+
+.reveal h1 {
+  text-shadow: 0 1px 0 #cccccc, 0 2px 0 #c9c9c9, 0 3px 0 #bbbbbb, 0 4px 0 #b9b9b9, 0 5px 0 #aaaaaa, 0 6px 1px rgba(0, 0, 0, 0.1), 0 0 5px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.3), 0 3px 5px rgba(0, 0, 0, 0.2), 0 5px 10px rgba(0, 0, 0, 0.25), 0 20px 20px rgba(0, 0, 0, 0.15);
+}
+
+/*********************************************
+ * LINKS
+ *********************************************/
+.reveal a:not(.image) {
+  color: #13daec;
+  text-decoration: none;
+  -webkit-transition: color .15s ease;
+  -moz-transition: color .15s ease;
+  -ms-transition: color .15s ease;
+  -o-transition: color .15s ease;
+  transition: color .15s ease;
+}
+
+.reveal a:not(.image):hover {
+  color: #71e9f4;
+  text-shadow: none;
+  border: none;
+}
+
+.reveal .roll span:after {
+  color: #fff;
+  background: #0d99a5;
+}
+
+/*********************************************
+ * IMAGES
+ *********************************************/
+.reveal section img {
+  margin: 15px;
+  background: rgba(255, 255, 255, 0.12);
+  border: 4px solid #eeeeee;
+  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
+  -webkit-transition: all .2s linear;
+  -moz-transition: all .2s linear;
+  -ms-transition: all .2s linear;
+  -o-transition: all .2s linear;
+  transition: all .2s linear;
+}
+
+.reveal a:hover img {
+  background: rgba(255, 255, 255, 0.2);
+  border-color: #13daec;
+  box-shadow: 0 0 20px rgba(0, 0, 0, 0.55);
+}
+
+/*********************************************
+ * NAVIGATION CONTROLS
+ *********************************************/
+.reveal .controls div.left,
+.reveal .controls div.left.enabled {
+  border-right-color: #13daec;
+}
+
+.reveal .controls div.right,
+.reveal .controls div.right.enabled {
+  border-left-color: #13daec;
+}
+
+.reveal .controls div.up,
+.reveal .controls div.up.enabled {
+  border-bottom-color: #13daec;
+}
+
+.reveal .controls div.down,
+.reveal .controls div.down.enabled {
+  border-top-color: #13daec;
+}
+
+.reveal .controls div.left.enabled:hover {
+  border-right-color: #71e9f4;
+}
+
+.reveal .controls div.right.enabled:hover {
+  border-left-color: #71e9f4;
+}
+
+.reveal .controls div.up.enabled:hover {
+  border-bottom-color: #71e9f4;
+}
+
+.reveal .controls div.down.enabled:hover {
+  border-top-color: #71e9f4;
+}
+
+/*********************************************
+ * PROGRESS BAR
+ *********************************************/
+.reveal .progress {
+  background: rgba(0, 0, 0, 0.2);
+}
+
+.reveal .progress span {
+  background: #13daec;
+  -webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
+  -moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
+  -ms-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
+  -o-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
+  transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
+}
diff --git a/slides/reveal.js/css/theme/serif.css b/slides/reveal.js/css/theme/serif.css
new file mode 100644 (file)
index 0000000..ece6124
--- /dev/null
@@ -0,0 +1,150 @@
+/**
+ * A simple theme for reveal.js presentations, similar 
+ * to the default theme. The accent color is darkblue.
+ * 
+ * This theme is Copyright (C) 2012 Owen Versteeg, https://github.com/StereotypicalApps. It is MIT licensed.
+ * reveal.js is Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se; so is the theme - beige.css - that this is based off of.
+ */
+/*********************************************
+ * GLOBAL STYLES
+ *********************************************/
+body {
+  background: #f0f1eb;
+  background-color: #f0f1eb;
+}
+
+.reveal {
+  font-family: "Palatino Linotype", "Book Antiqua", Palatino, FreeSerif, serif;
+  font-size: 36px;
+  font-weight: 200;
+  letter-spacing: -0.02em;
+  color: black;
+}
+
+::selection {
+  color: white;
+  background: #26351c;
+  text-shadow: none;
+}
+
+/*********************************************
+ * HEADERS
+ *********************************************/
+.reveal h1,
+.reveal h2,
+.reveal h3,
+.reveal h4,
+.reveal h5,
+.reveal h6 {
+  margin: 0 0 20px 0;
+  color: #383d3d;
+  font-family: "Palatino Linotype", "Book Antiqua", Palatino, FreeSerif, serif;
+  line-height: 0.9em;
+  letter-spacing: 0.02em;
+  text-transform: none;
+  text-shadow: none;
+}
+
+.reveal h1 {
+  text-shadow: 0px 0px 6px rgba(0, 0, 0, 0.2);
+}
+
+/*********************************************
+ * LINKS
+ *********************************************/
+.reveal a:not(.image) {
+  color: #51483d;
+  text-decoration: none;
+  -webkit-transition: color .15s ease;
+  -moz-transition: color .15s ease;
+  -ms-transition: color .15s ease;
+  -o-transition: color .15s ease;
+  transition: color .15s ease;
+}
+
+.reveal a:not(.image):hover {
+  color: #8b7c69;
+  text-shadow: none;
+  border: none;
+}
+
+.reveal .roll span:after {
+  color: #fff;
+  background: #25211c;
+}
+
+/*********************************************
+ * IMAGES
+ *********************************************/
+.reveal section img {
+  margin: 15px;
+  background: rgba(255, 255, 255, 0.12);
+  border: 4px solid black;
+  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
+  -webkit-transition: all .2s linear;
+  -moz-transition: all .2s linear;
+  -ms-transition: all .2s linear;
+  -o-transition: all .2s linear;
+  transition: all .2s linear;
+}
+
+.reveal a:hover img {
+  background: rgba(255, 255, 255, 0.2);
+  border-color: #51483d;
+  box-shadow: 0 0 20px rgba(0, 0, 0, 0.55);
+}
+
+/*********************************************
+ * NAVIGATION CONTROLS
+ *********************************************/
+.reveal .controls div.left,
+.reveal .controls div.left.enabled {
+  border-right-color: #51483d;
+}
+
+.reveal .controls div.right,
+.reveal .controls div.right.enabled {
+  border-left-color: #51483d;
+}
+
+.reveal .controls div.up,
+.reveal .controls div.up.enabled {
+  border-bottom-color: #51483d;
+}
+
+.reveal .controls div.down,
+.reveal .controls div.down.enabled {
+  border-top-color: #51483d;
+}
+
+.reveal .controls div.left.enabled:hover {
+  border-right-color: #8b7c69;
+}
+
+.reveal .controls div.right.enabled:hover {
+  border-left-color: #8b7c69;
+}
+
+.reveal .controls div.up.enabled:hover {
+  border-bottom-color: #8b7c69;
+}
+
+.reveal .controls div.down.enabled:hover {
+  border-top-color: #8b7c69;
+}
+
+/*********************************************
+ * PROGRESS BAR
+ *********************************************/
+.reveal .progress {
+  background: rgba(0, 0, 0, 0.2);
+}
+
+.reveal .progress span {
+  background: #51483d;
+  -webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
+  -moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
+  -ms-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
+  -o-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
+  transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
+}
diff --git a/slides/reveal.js/css/theme/simple.css b/slides/reveal.js/css/theme/simple.css
new file mode 100644 (file)
index 0000000..6d0771a
--- /dev/null
@@ -0,0 +1,152 @@
+@import url(http://fonts.googleapis.com/css?family=News+Cycle:400,700);
+@import url(http://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic);
+/**
+ * A simple theme for reveal.js presentations, similar 
+ * to the default theme. The accent color is darkblue.
+ * 
+ * This theme is Copyright (C) 2012 Owen Versteeg, https://github.com/StereotypicalApps. It is MIT licensed.
+ * reveal.js is Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
+ */
+/*********************************************
+ * GLOBAL STYLES
+ *********************************************/
+body {
+  background: white;
+  background-color: white;
+}
+
+.reveal {
+  font-family: "Lato", Times, "Times New Roman", serif;
+  font-size: 36px;
+  font-weight: 200;
+  letter-spacing: -0.02em;
+  color: black;
+}
+
+::selection {
+  color: white;
+  background: rgba(0, 0, 0, 0.99);
+  text-shadow: none;
+}
+
+/*********************************************
+ * HEADERS
+ *********************************************/
+.reveal h1,
+.reveal h2,
+.reveal h3,
+.reveal h4,
+.reveal h5,
+.reveal h6 {
+  margin: 0 0 20px 0;
+  color: black;
+  font-family: "News Cycle", Impact, sans-serif;
+  line-height: 0.9em;
+  letter-spacing: 0.02em;
+  text-transform: none;
+  text-shadow: none;
+}
+
+.reveal h1 {
+  text-shadow: 0px 0px 6px rgba(0, 0, 0, 0.2);
+}
+
+/*********************************************
+ * LINKS
+ *********************************************/
+.reveal a:not(.image) {
+  color: darkblue;
+  text-decoration: none;
+  -webkit-transition: color .15s ease;
+  -moz-transition: color .15s ease;
+  -ms-transition: color .15s ease;
+  -o-transition: color .15s ease;
+  transition: color .15s ease;
+}
+
+.reveal a:not(.image):hover {
+  color: #0000f1;
+  text-shadow: none;
+  border: none;
+}
+
+.reveal .roll span:after {
+  color: #fff;
+  background: #00003f;
+}
+
+/*********************************************
+ * IMAGES
+ *********************************************/
+.reveal section img {
+  margin: 15px;
+  background: rgba(255, 255, 255, 0.12);
+  border: 4px solid black;
+  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
+  -webkit-transition: all .2s linear;
+  -moz-transition: all .2s linear;
+  -ms-transition: all .2s linear;
+  -o-transition: all .2s linear;
+  transition: all .2s linear;
+}
+
+.reveal a:hover img {
+  background: rgba(255, 255, 255, 0.2);
+  border-color: darkblue;
+  box-shadow: 0 0 20px rgba(0, 0, 0, 0.55);
+}
+
+/*********************************************
+ * NAVIGATION CONTROLS
+ *********************************************/
+.reveal .controls div.left,
+.reveal .controls div.left.enabled {
+  border-right-color: darkblue;
+}
+
+.reveal .controls div.right,
+.reveal .controls div.right.enabled {
+  border-left-color: darkblue;
+}
+
+.reveal .controls div.up,
+.reveal .controls div.up.enabled {
+  border-bottom-color: darkblue;
+}
+
+.reveal .controls div.down,
+.reveal .controls div.down.enabled {
+  border-top-color: darkblue;
+}
+
+.reveal .controls div.left.enabled:hover {
+  border-right-color: #0000f1;
+}
+
+.reveal .controls div.right.enabled:hover {
+  border-left-color: #0000f1;
+}
+
+.reveal .controls div.up.enabled:hover {
+  border-bottom-color: #0000f1;
+}
+
+.reveal .controls div.down.enabled:hover {
+  border-top-color: #0000f1;
+}
+
+/*********************************************
+ * PROGRESS BAR
+ *********************************************/
+.reveal .progress {
+  background: rgba(0, 0, 0, 0.2);
+}
+
+.reveal .progress span {
+  background: darkblue;
+  -webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
+  -moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
+  -ms-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
+  -o-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
+  transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
+}
diff --git a/slides/reveal.js/css/theme/sky.css b/slides/reveal.js/css/theme/sky.css
new file mode 100644 (file)
index 0000000..06da5c2
--- /dev/null
@@ -0,0 +1,160 @@
+@import url(http://fonts.googleapis.com/css?family=Quicksand:400,700,400italic,700italic);
+@import url(http://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700);
+/**
+ * Sky theme for reveal.js.
+ * 
+ * Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
+ */
+/*********************************************
+ * GLOBAL STYLES
+ *********************************************/
+body {
+  background: #add9e4;
+  background: -moz-radial-gradient(center, circle cover, #f7fbfc 0%, #add9e4 100%);
+  background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%, #f7fbfc), color-stop(100%, #add9e4));
+  background: -webkit-radial-gradient(center, circle cover, #f7fbfc 0%, #add9e4 100%);
+  background: -o-radial-gradient(center, circle cover, #f7fbfc 0%, #add9e4 100%);
+  background: -ms-radial-gradient(center, circle cover, #f7fbfc 0%, #add9e4 100%);
+  background: radial-gradient(center, circle cover, #f7fbfc 0%, #add9e4 100%);
+  background-color: #f7fbfc;
+}
+
+.reveal {
+  font-family: "Open Sans", sans-serif;
+  font-size: 32px;
+  font-weight: 200;
+  letter-spacing: -0.02em;
+  color: #333333;
+}
+
+::selection {
+  color: white;
+  background: #134674;
+  text-shadow: none;
+}
+
+/*********************************************
+ * HEADERS
+ *********************************************/
+.reveal h1,
+.reveal h2,
+.reveal h3,
+.reveal h4,
+.reveal h5,
+.reveal h6 {
+  margin: 0 0 40px 0;
+  color: #333333;
+  font-family: "Quicksand", sans-serif;
+  line-height: 0.9em;
+  letter-spacing: -0.08em;
+  text-transform: uppercase;
+  text-shadow: none;
+}
+
+.reveal h1 {
+  text-shadow: 0px 0px 6px rgba(0, 0, 0, 0.2);
+}
+
+/*********************************************
+ * LINKS
+ *********************************************/
+.reveal a:not(.image) {
+  color: #3b759e;
+  text-decoration: none;
+  -webkit-transition: color .15s ease;
+  -moz-transition: color .15s ease;
+  -ms-transition: color .15s ease;
+  -o-transition: color .15s ease;
+  transition: color .15s ease;
+}
+
+.reveal a:not(.image):hover {
+  color: #74a7cb;
+  text-shadow: none;
+  border: none;
+}
+
+.reveal .roll span:after {
+  color: #fff;
+  background: #264c66;
+}
+
+/*********************************************
+ * IMAGES
+ *********************************************/
+.reveal section img {
+  margin: 15px;
+  background: rgba(255, 255, 255, 0.12);
+  border: 4px solid #333333;
+  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
+  -webkit-transition: all .2s linear;
+  -moz-transition: all .2s linear;
+  -ms-transition: all .2s linear;
+  -o-transition: all .2s linear;
+  transition: all .2s linear;
+}
+
+.reveal a:hover img {
+  background: rgba(255, 255, 255, 0.2);
+  border-color: #3b759e;
+  box-shadow: 0 0 20px rgba(0, 0, 0, 0.55);
+}
+
+/*********************************************
+ * NAVIGATION CONTROLS
+ *********************************************/
+.reveal .controls div.left,
+.reveal .controls div.left.enabled {
+  border-right-color: #3b759e;
+}
+
+.reveal .controls div.right,
+.reveal .controls div.right.enabled {
+  border-left-color: #3b759e;
+}
+
+.reveal .controls div.up,
+.reveal .controls div.up.enabled {
+  border-bottom-color: #3b759e;
+}
+
+.reveal .controls div.down,
+.reveal .controls div.down.enabled {
+  border-top-color: #3b759e;
+}
+
+.reveal .controls div.left.enabled:hover {
+  border-right-color: #74a7cb;
+}
+
+.reveal .controls div.right.enabled:hover {
+  border-left-color: #74a7cb;
+}
+
+.reveal .controls div.up.enabled:hover {
+  border-bottom-color: #74a7cb;
+}
+
+.reveal .controls div.down.enabled:hover {
+  border-top-color: #74a7cb;
+}
+
+/*********************************************
+ * PROGRESS BAR
+ *********************************************/
+.reveal .progress {
+  background: rgba(0, 0, 0, 0.2);
+}
+
+.reveal .progress span {
+  background: #3b759e;
+  -webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
+  -moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
+  -ms-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
+  -o-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
+  transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
+}
+
+.reveal .code {
+}
+
diff --git a/slides/reveal.js/css/theme/source/beige.scss b/slides/reveal.js/css/theme/source/beige.scss
new file mode 100644 (file)
index 0000000..177216f
--- /dev/null
@@ -0,0 +1,50 @@
+/**
+ * Beige theme for reveal.js.
+ * 
+ * Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
+ */
+
+
+// Default mixins and settings -----------------
+@import "../template/mixins";
+@import "../template/settings";
+// ---------------------------------------------
+
+
+
+// Include theme-specific fonts
+@font-face {
+       font-family: 'League Gothic';
+       src: url('../../lib/font/league_gothic-webfont.eot');
+       src: url('../../lib/font/league_gothic-webfont.eot?#iefix') format('embedded-opentype'),
+                url('../../lib/font/league_gothic-webfont.woff') format('woff'),
+                url('../../lib/font/league_gothic-webfont.ttf') format('truetype'),
+                url('../../lib/font/league_gothic-webfont.svg#LeagueGothicRegular') format('svg');
+
+       font-weight: normal;
+       font-style: normal;
+}
+
+@import url(http://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic);
+
+
+// Override theme settings (see ../template/settings.scss)
+$mainColor: #333;
+$headingColor: #333;
+$headingTextShadow: none;
+$backgroundColor: #f7f3de;
+$linkColor: #8b743d;
+$linkColorHover: lighten( $linkColor, 20% );
+$selectionBackgroundColor: rgba(79, 64, 28, 0.99);
+$heading1TextShadow: 0 1px 0 #ccc, 0 2px 0 #c9c9c9, 0 3px 0 #bbb, 0 4px 0 #b9b9b9, 0 5px 0 #aaa, 0 6px 1px rgba(0,0,0,.1), 0 0 5px rgba(0,0,0,.1), 0 1px 3px rgba(0,0,0,.3), 0 3px 5px rgba(0,0,0,.2), 0 5px 10px rgba(0,0,0,.25), 0 20px 20px rgba(0,0,0,.15);
+
+// Background generator
+@mixin bodyBackground() {
+       @include radial-gradient( rgba(247,242,211,1), rgba(255,255,255,1) );
+}
+
+
+
+// Theme template ------------------------------
+@import "../template/theme";
+// ---------------------------------------------
\ No newline at end of file
diff --git a/slides/reveal.js/css/theme/source/default.scss b/slides/reveal.js/css/theme/source/default.scss
new file mode 100644 (file)
index 0000000..da9b268
--- /dev/null
@@ -0,0 +1,42 @@
+/**
+ * Default theme for reveal.js.
+ * 
+ * Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
+ */
+
+
+// Default mixins and settings -----------------
+@import "../template/mixins";
+@import "../template/settings";
+// ---------------------------------------------
+
+
+
+// Include theme-specific fonts
+@font-face {
+       font-family: 'League Gothic';
+       src: url('../../lib/font/league_gothic-webfont.eot');
+       src: url('../../lib/font/league_gothic-webfont.eot?#iefix') format('embedded-opentype'),
+                url('../../lib/font/league_gothic-webfont.woff') format('woff'),
+                url('../../lib/font/league_gothic-webfont.ttf') format('truetype'),
+                url('../../lib/font/league_gothic-webfont.svg#LeagueGothicRegular') format('svg');
+
+       font-weight: normal;
+       font-style: normal;
+}
+
+@import url(http://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic);
+
+// Override theme settings (see ../template/settings.scss)
+$heading1TextShadow: 0 1px 0 #ccc, 0 2px 0 #c9c9c9, 0 3px 0 #bbb, 0 4px 0 #b9b9b9, 0 5px 0 #aaa, 0 6px 1px rgba(0,0,0,.1), 0 0 5px rgba(0,0,0,.1), 0 1px 3px rgba(0,0,0,.3), 0 3px 5px rgba(0,0,0,.2), 0 5px 10px rgba(0,0,0,.25), 0 20px 20px rgba(0,0,0,.15);
+
+// Background generator
+@mixin bodyBackground() {
+       @include radial-gradient( rgba(28,30,32,1), rgba(85,90,95,1) );
+}
+
+
+
+// Theme template ------------------------------
+@import "../template/theme";
+// ---------------------------------------------
\ No newline at end of file
diff --git a/slides/reveal.js/css/theme/source/serif.scss b/slides/reveal.js/css/theme/source/serif.scss
new file mode 100644 (file)
index 0000000..dc0935f
--- /dev/null
@@ -0,0 +1,33 @@
+/**
+ * A simple theme for reveal.js presentations, similar 
+ * to the default theme. The accent color is darkblue.
+ * 
+ * This theme is Copyright (C) 2012 Owen Versteeg, https://github.com/StereotypicalApps. It is MIT licensed.
+ * reveal.js is Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se; so is the theme - beige.css - that this is based off of.
+ */
+
+
+// Default mixins and settings -----------------
+@import "../template/mixins";
+@import "../template/settings";
+// ---------------------------------------------
+
+
+
+// Override theme settings (see ../template/settings.scss)
+$mainFont: 'Palatino Linotype', 'Book Antiqua', Palatino, FreeSerif, serif;
+$mainColor: #000;
+$headingFont: 'Palatino Linotype', 'Book Antiqua', Palatino, FreeSerif, serif;
+$headingColor: #383D3D;
+$headingTextShadow: none;
+$headingTextTransform: none;
+$backgroundColor: #F0F1EB;
+$linkColor: #51483D;
+$linkColorHover: lighten( $linkColor, 20% );
+$selectionBackgroundColor: #26351C;
+
+
+
+// Theme template ------------------------------
+@import "../template/theme";
+// ---------------------------------------------
\ No newline at end of file
diff --git a/slides/reveal.js/css/theme/source/simple.scss b/slides/reveal.js/css/theme/source/simple.scss
new file mode 100644 (file)
index 0000000..713ab44
--- /dev/null
@@ -0,0 +1,38 @@
+/**
+ * A simple theme for reveal.js presentations, similar 
+ * to the default theme. The accent color is darkblue.
+ * 
+ * This theme is Copyright (C) 2012 Owen Versteeg, https://github.com/StereotypicalApps. It is MIT licensed.
+ * reveal.js is Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
+ */
+
+
+// Default mixins and settings -----------------
+@import "../template/mixins";
+@import "../template/settings";
+// ---------------------------------------------
+
+
+
+// Include theme-specific fonts
+@import url(http://fonts.googleapis.com/css?family=News+Cycle:400,700);
+@import url(http://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic);
+
+
+// Override theme settings (see ../template/settings.scss)
+$mainFont: 'Lato', Times, 'Times New Roman', serif;
+$mainColor: #000;
+$headingFont: 'News Cycle', Impact, sans-serif;
+$headingColor: #000;
+$headingTextShadow: none;
+$headingTextTransform: none;
+$backgroundColor: #fff;
+$linkColor: #00008B;
+$linkColorHover: lighten( $linkColor, 20% );
+$selectionBackgroundColor: rgba(0, 0, 0, 0.99);
+
+
+
+// Theme template ------------------------------
+@import "../template/theme";
+// ---------------------------------------------
\ No newline at end of file
diff --git a/slides/reveal.js/css/theme/source/sky.scss b/slides/reveal.js/css/theme/source/sky.scss
new file mode 100644 (file)
index 0000000..77fd230
--- /dev/null
@@ -0,0 +1,41 @@
+/**
+ * Sky theme for reveal.js.
+ * 
+ * Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
+ */
+
+
+// Default mixins and settings -----------------
+@import "../template/mixins";
+@import "../template/settings";
+// ---------------------------------------------
+
+
+
+// Include theme-specific fonts
+@import url(http://fonts.googleapis.com/css?family=Quicksand:400,700,400italic,700italic);
+@import url(http://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700);
+
+
+// Override theme settings (see ../template/settings.scss)
+$mainFont: 'Open Sans', sans-serif;
+$mainColor: #333;
+$headingFont: 'Quicksand', sans-serif;
+$headingColor: #333;
+$headingLetterSpacing: -0.08em;
+$headingTextShadow: none;
+$backgroundColor: #f7fbfc;
+$linkColor: #3b759e;
+$linkColorHover: lighten( $linkColor, 20% );
+$selectionBackgroundColor: #134674;
+
+// Background generator
+@mixin bodyBackground() {
+       @include radial-gradient( #add9e4, #f7fbfc );
+}
+
+
+
+// Theme template ------------------------------
+@import "../template/theme";
+// ---------------------------------------------
\ No newline at end of file
diff --git a/slides/reveal.js/css/theme/template/mixins.scss b/slides/reveal.js/css/theme/template/mixins.scss
new file mode 100644 (file)
index 0000000..e0c5606
--- /dev/null
@@ -0,0 +1,29 @@
+@mixin vertical-gradient( $top, $bottom ) {
+       background: $top;
+       background: -moz-linear-gradient( top, $top 0%, $bottom 100% );
+       background: -webkit-gradient( linear, left top, left bottom, color-stop(0%,$top), color-stop(100%,$bottom) );
+       background: -webkit-linear-gradient( top, $top 0%, $bottom 100% );
+       background: -o-linear-gradient( top, $top 0%, $bottom 100% );
+       background: -ms-linear-gradient( top, $top 0%, $bottom 100% );
+       background: linear-gradient( top, $top 0%, $bottom 100% );
+}
+
+@mixin horizontal-gradient( $top, $bottom ) {
+       background: $top;
+       background: -moz-linear-gradient( left, $top 0%, $bottom 100% );
+       background: -webkit-gradient( linear, left top, right top, color-stop(0%,$top), color-stop(100%,$bottom) );
+       background: -webkit-linear-gradient( left, $top 0%, $bottom 100% );
+       background: -o-linear-gradient( left, $top 0%, $bottom 100% );
+       background: -ms-linear-gradient( left, $top 0%, $bottom 100% );
+       background: linear-gradient( left, $top 0%, $bottom 100% );
+}
+
+@mixin radial-gradient( $outer, $inner, $type: circle ) {
+       background: $outer;
+       background: -moz-radial-gradient( center, $type cover,  $inner 0%, $outer 100% );
+       background: -webkit-gradient( radial, center center, 0px, center center, 100%, color-stop(0%,$inner), color-stop(100%,$outer) );
+       background: -webkit-radial-gradient( center, $type cover,  $inner 0%, $outer 100% );
+       background: -o-radial-gradient( center, $type cover,  $inner 0%, $outer 100% );
+       background: -ms-radial-gradient( center, $type cover,  $inner 0%, $outer 100% );
+       background: radial-gradient( center, $type cover,  $inner 0%, $outer 100% );
+}
\ No newline at end of file
diff --git a/slides/reveal.js/css/theme/template/settings.scss b/slides/reveal.js/css/theme/template/settings.scss
new file mode 100644 (file)
index 0000000..bc9f138
--- /dev/null
@@ -0,0 +1,33 @@
+// Base settings for all themes that can optionally be 
+// overridden by the super-theme
+
+// Background of the presentation
+$backgroundColor: #2b2b2b;
+
+// Primary/body text
+$mainFont: 'Lato', Times, 'Times New Roman', serif;
+$mainFontSize: 36px;
+$mainColor: #eee;
+
+// Headings
+$headingFont: 'League Gothic', Impact, sans-serif;
+$headingColor: #eee;
+$headingLineHeight: 0.9em;
+$headingLetterSpacing: 0.02em;
+$headingTextTransform: uppercase;
+$headingTextShadow: 0px 0px 6px rgba(0,0,0,0.2);
+$heading1TextShadow: $headingTextShadow;
+
+// Links and actions
+$linkColor: #13DAEC;
+$linkColorHover: lighten( $linkColor, 20% );
+
+// Text selection
+$selectionBackgroundColor: #FF5E99;
+$selectionColor: #fff;
+
+// Generates the presentation background, can be overridden
+// to return a background image or gradient
+@mixin bodyBackground() {
+       background: $backgroundColor;
+}
\ No newline at end of file
diff --git a/slides/reveal.js/css/theme/template/theme.scss b/slides/reveal.js/css/theme/template/theme.scss
new file mode 100644 (file)
index 0000000..6a80b62
--- /dev/null
@@ -0,0 +1,163 @@
+// Base theme template for reveal.js
+
+/*********************************************
+ * GLOBAL STYLES
+ *********************************************/
+
+body {
+       @include bodyBackground();
+       background-color: $backgroundColor;
+}
+
+.reveal {
+       font-family: $mainFont;
+       font-size: $mainFontSize;
+       font-weight: 200;
+       letter-spacing: -0.02em;
+       color: $mainColor;
+}
+
+::selection { 
+       color: $selectionColor; 
+       background: $selectionBackgroundColor; 
+       text-shadow: none; 
+}
+
+/*********************************************
+ * HEADERS
+ *********************************************/
+
+.reveal h1, 
+.reveal h2, 
+.reveal h3, 
+.reveal h4, 
+.reveal h5, 
+.reveal h6 {
+       margin: 0 0 20px 0;
+       color: $headingColor;
+
+       font-family: $headingFont;
+       line-height: $headingLineHeight;
+       letter-spacing: $headingLetterSpacing;
+       
+       text-transform: $headingTextTransform;
+       text-shadow: $headingTextShadow;
+}
+
+.reveal h1 {
+       text-shadow: $heading1TextShadow;
+}
+
+
+/*********************************************
+ * LINKS
+ *********************************************/
+
+.reveal a:not(.image) {
+       color: $linkColor;
+       text-decoration: none;
+
+       -webkit-transition: color .15s ease;
+          -moz-transition: color .15s ease;
+           -ms-transition: color .15s ease;
+            -o-transition: color .15s ease;
+               transition: color .15s ease;
+}
+       .reveal a:not(.image):hover {
+               color: $linkColorHover;
+               
+               text-shadow: none;
+               border: none;
+       }
+
+.reveal .roll span:after {
+       color: #fff;
+       background: darken( $linkColor, 15% );
+}
+
+
+/*********************************************
+ * IMAGES
+ *********************************************/
+
+.reveal section img {
+       margin: 15px;
+       background: rgba(255,255,255,0.12);
+       border: 4px solid $mainColor;
+       
+       box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
+       
+       -webkit-transition: all .2s linear;
+          -moz-transition: all .2s linear;
+           -ms-transition: all .2s linear;
+            -o-transition: all .2s linear;
+               transition: all .2s linear;
+}
+
+       .reveal a:hover img {
+               background: rgba(255,255,255,0.2);
+               border-color: $linkColor;
+               
+               box-shadow: 0 0 20px rgba(0, 0, 0, 0.55);
+       }
+
+
+/*********************************************
+ * NAVIGATION CONTROLS
+ *********************************************/
+
+.reveal .controls div.left,
+.reveal .controls div.left.enabled {
+       border-right-color: $linkColor;
+}
+
+.reveal .controls div.right,
+.reveal .controls div.right.enabled {
+       border-left-color: $linkColor;
+}
+
+.reveal .controls div.up,
+.reveal .controls div.up.enabled {
+       border-bottom-color: $linkColor;
+}
+
+.reveal .controls div.down,
+.reveal .controls div.down.enabled {
+       border-top-color: $linkColor;
+}
+
+.reveal .controls div.left.enabled:hover {
+       border-right-color: $linkColorHover;
+}
+
+.reveal .controls div.right.enabled:hover {
+       border-left-color: $linkColorHover;
+}
+
+.reveal .controls div.up.enabled:hover {
+       border-bottom-color: $linkColorHover;
+}
+
+.reveal .controls div.down.enabled:hover {
+       border-top-color: $linkColorHover;
+}
+
+
+/*********************************************
+ * PROGRESS BAR
+ *********************************************/
+
+.reveal .progress {
+       background: rgba(0,0,0,0.2);
+}
+       .reveal .progress span {
+               background: $linkColor;
+
+               -webkit-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
+                  -moz-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
+                   -ms-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
+                    -o-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
+                       transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
+       }
+
+
diff --git a/slides/reveal.js/index.html b/slides/reveal.js/index.html
new file mode 100644 (file)
index 0000000..de0637c
--- /dev/null
@@ -0,0 +1,371 @@
+<!doctype html>
+<html lang="en">
+
+       <head>
+               <meta charset="utf-8">
+
+               <title>reveal.js - The HTML Presentation Framework</title>
+
+               <meta name="description" content="A framework for easily creating beautiful presentations using HTML">
+               <meta name="author" content="Hakim El Hattab">
+
+               <meta name="apple-mobile-web-app-capable" content="yes" />
+               <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
+
+               <link rel="stylesheet" href="css/reveal.css">
+               <link rel="stylesheet" href="css/theme/default.css" id="theme">
+
+               <!-- For syntax highlighting -->
+               <link rel="stylesheet" href="lib/css/zenburn.css">
+
+               <!-- If the query includes 'print-pdf', use the PDF print sheet -->
+               <script>
+                       document.write( '<link rel="stylesheet" href="css/print/' + ( window.location.search.match( /print-pdf/gi ) ? 'pdf' : 'paper' ) + '.css" type="text/css" media="print">' );
+               </script>
+
+               <!--[if lt IE 9]>
+               <script src="lib/js/html5shiv.js"></script>
+               <![endif]-->
+       </head>
+
+       <body>
+
+               <div class="reveal">
+
+                       <!-- Any section element inside of this container is displayed as a slide -->
+                       <div class="slides">
+
+                               <section>
+                                       <h1>Reveal.js</h1>
+                                       <h3>HTML Presentations Made Easy</h3>
+                                       <p>
+                                               <small>Created by <a href="http://hakim.se">Hakim El Hattab</a> / <a href="http://twitter.com/hakimel">@hakimel</a></small>
+                                       </p>
+                               </section>
+
+                               <section>
+                                       <h2>Heads Up</h2>
+                                       <p>
+                                               reveal.js is a framework for easily creating beautiful presentations using HTML. You'll need a browser with
+                                               support for CSS 3D transforms to see it in its full glory.
+                                       </p>
+
+                                       <aside class="notes">
+                                               Oh hey, these are some notes. They'll be hidden in your presentation, but you can see them if you open the speaker notes window (hit 's' on your keyboard).
+                                       </aside>
+                               </section>
+
+                               <!-- Example of nested vertical slides -->
+                               <section>
+                                       <section>
+                                               <h2>Vertical Slides</h2>
+                                               <p>
+                                                       Slides can be nested inside of other slides,
+                                                       try pressing <a href="#/2/1">down</a>.
+                                               </p>
+                                               <a href="#/2/1" class="image">
+                                                       <img width="178" height="238" src="https://s3.amazonaws.com/hakim-static/reveal-js/arrow.png" alt="Down arrow">
+                                               </a>
+                                       </section>
+                                       <section>
+                                               <h2>Basement Level 1</h2>
+                                               <p>Press down or up to navigate.</p>
+                                       </section>
+                                       <section>
+                                               <h2>Basement Level 2</h2>
+                                               <p>Cornify</p>
+                                               <a class="test" href="http://cornify.com">
+                                                       <img width="280" height="326" src="https://s3.amazonaws.com/hakim-static/reveal-js/cornify.gif" alt="Unicorn">
+                                               </a>
+                                       </section>
+                                       <section>
+                                               <h2>Basement Level 3</h2>
+                                               <p>That's it, time to go back up.</p>
+                                               <a href="#/2" class="image">
+                                                       <img width="178" height="238" src="https://s3.amazonaws.com/hakim-static/reveal-js/arrow.png" alt="Up arrow" style="-webkit-transform: rotate(180deg);">
+                                               </a>
+                                       </section>
+                               </section>
+
+                               <section>
+                                       <h2>Point of View</h2>
+                                       <p>
+                                               Press <strong>ESC</strong> to enter the slide overview. Hold down alt and click on any element to zoom in on it using <a href="http://lab.hakim.se/zoom-js">zoom.js</a>. Alt + click anywhere to zoom back out.
+                                       </p>
+                               </section>
+
+                               <section>
+                                       <h2>rvl.io</h2>
+                                       <p>
+                                               If you don't like writing slides in HTML you can use the online editor <a href="http://www.rvl.io" target="_blank">rvl.io</a>.
+                                       </p>
+                               </section>
+
+                               <section>
+                                       <h2>Works in Mobile Safari</h2>
+                                       <p>
+                                               Try it out! You can swipe through the slides and pinch your way to the overview.
+                                       </p>
+                               </section>
+
+                               <section>
+                                       <h2>Marvelous Unordered List</h2>
+                                       <ul>
+                                               <li>No order here</li>
+                                               <li>Or here</li>
+                                               <li>Or here</li>
+                                               <li>Or here</li>
+                                       </ul>
+                               </section>
+
+                               <section>
+                                       <h2>Fantastic Ordered List</h2>
+                                       <ol>
+                                               <li>One is smaller than...</li>
+                                               <li>Two is smaller than...</li>
+                                               <li>Three!</li>
+                                       </ol>
+                               </section>
+
+                               <section data-markdown>
+                                       <script type="text/template">
+                                               ## Markdown support
+
+                                               For those of you who like that sort of thing. Instructions and a bit more info available [here](https://github.com/hakimel/reveal.js#markdown).
+
+                                                       <section data-markdown>
+                                                         ## Markdown support
+
+                                                         For those of you who like that sort of thing.
+                                                         Instructions and a bit more info available [here](https://github.com/hakimel/reveal.js#markdown).
+                                                       </section>
+                                       </script>
+                               </section>
+
+                               <section id="transitions">
+                                       <h2>Transition Styles</h2>
+                                       <p>
+                                               You can select from different transitions, like: <br>
+                                               <a href="?transition=cube#/transitions">Cube</a> -
+                                               <a href="?transition=page#/transitions">Page</a> -
+                                               <a href="?transition=concave#/transitions">Concave</a> -
+                                               <a href="?transition=zoom#/transitions">Zoom</a> -
+                                               <a href="?transition=linear#/transitions">Linear</a> -
+                                               <a href="?transition=none#/transitions">None</a> -
+                                               <a href="?#/transitions">Default</a>
+                                       </p>
+                               </section>
+
+                               <section id="themes">
+                                       <h2>Themes</h2>
+                                       <p>
+                                               Reveal.js comes with a few themes built in: <br>
+                                               <a href="?theme=sky#/themes">Sky</a> -
+                                               <a href="?theme=beige#/themes">Beige</a> -
+                                               <a href="?theme=simple#/themes">Simple</a> -
+                                               <a href="?theme=serif#/themes">Serif</a> -
+                                               <a href="?#/themes">Default</a>
+                                       </p>
+                                       <p>
+                                               <small>
+                                                       * Theme demos are loaded after the presentation which leads to flicker. In production you should load your theme in the <code>&lt;head&gt;</code> using a <code>&lt;link&gt;</code>.
+                                               </small>
+                                       </p>
+                               </section>
+
+                               <section>
+                                       <section data-state="alert">
+                                               <h2>Global State</h2>
+                                               <p>
+                                                       Set <code>data-state="something"</code> on a slide and <code>"something"</code>
+                                                       will be added as a class to the document element when the slide is open. This lets you
+                                                       apply broader style changes, like switching the background.
+                                               </p>
+                                               <a href="#/7/1" class="image">
+                                                       <img width="178" height="238" src="https://s3.amazonaws.com/hakim-static/reveal-js/arrow.png" alt="Down arrow">
+                                               </a>
+                                       </section>
+                                       <section data-state="blackout">
+                                               <h2>"blackout"</h2>
+                                               <a href="#/7/2" class="image">
+                                                       <img width="178" height="238" src="https://s3.amazonaws.com/hakim-static/reveal-js/arrow.png" alt="Down arrow">
+                                               </a>
+                                       </section>
+                                       <section data-state="soothe">
+                                               <h2>"soothe"</h2>
+                                               <a href="#/7/0" class="image">
+                                                       <img width="178" height="238" src="https://s3.amazonaws.com/hakim-static/reveal-js/arrow.png" alt="Up arrow" style="-webkit-transform: rotate(180deg);">
+                                               </a>
+                                       </section>
+                               </section>
+
+                               <section data-state="customevent">
+                                       <h2>Custom Events</h2>
+                                       <p>
+                                               Additionally custom events can be triggered on a per slide basis by binding to the <code>data-state</code> name.
+                                       </p>
+                                       <pre><code contenteditable style="font-size: 18px; margin-top: 20px;">Reveal.addEventListener( 'customevent', function() {
+       console.log( '"customevent" has fired' );
+} );
+                                       </code></pre>
+                               </section>
+
+                               <section>
+                                       <h2>Clever Quotes</h2>
+                                       <p>
+                                               These guys come in two forms, inline: <q cite="http://searchservervirtualization.techtarget.com/definition/Our-Favorite-Technology-Quotations">
+                                               The nice thing about standards is that there are so many to choose from</q> and block:
+                                       </p>
+                                       <blockquote cite="http://searchservervirtualization.techtarget.com/definition/Our-Favorite-Technology-Quotations">
+                                               For years there has been a theory that millions of monkeys typing at random on millions of typewriters would
+                                               reproduce the entire works of Shakespeare. The Internet has proven this theory to be untrue.
+                                       </blockquote>
+                               </section>
+
+                               <section>
+                                       <h2>Pretty Code</h2>
+                                       <pre><code contenteditable>
+function linkify( selector ) {
+  if( supports3DTransforms ) {
+
+    var nodes = document.querySelectorAll( selector );
+
+    for( var i = 0, len = nodes.length; i &lt; len; i++ ) {
+      var node = nodes[i];
+
+      if( !node.className ) ) {
+        node.className += ' roll';
+      }
+    };
+  }
+}
+                                       </code></pre>
+                                       <p>Courtesy of <a href="http://softwaremaniacs.org/soft/highlight/en/description/">highlight.js</a>.</p>
+                               </section>
+
+                               <section>
+                                       <h2>Intergalactic Interconnections</h2>
+                                       <p>
+                                               You can link between slides internally,
+                                               <a href="#/2/3">like this</a>.
+                                       </p>
+                               </section>
+
+                               <section>
+                                       <section>
+                                               <h2>Fragmented Views</h2>
+                                               <p>Hit the next arrow...</p>
+                                               <p class="fragment">... to step through ...</p>
+                                               <ol>
+                                                       <li class="fragment"><code>any type</code></li>
+                                                       <li class="fragment"><em>of view</em></li>
+                                                       <li class="fragment"><strong>fragments</strong></li>
+                                               </ol>
+
+                                               <aside class="notes">
+                                                       This slide has fragments which are also stepped through in the notes window.
+                                               </aside>
+                                       </section>
+                                       <section>
+                                               <h2>Fragment Styles</h2>
+                                               <p>There's a few styles of fragments, like:</p>
+                                               <p class="fragment grow">grow</p>
+                                               <p class="fragment shrink">shrink</p>
+                                               <p class="fragment roll-in">roll-in</p>
+                                               <p class="fragment fade-out">fade-out</p>
+                                               <p class="fragment highlight-red">highlight-red</p>
+                                               <p class="fragment highlight-green">highlight-green</p>
+                                               <p class="fragment highlight-blue">highlight-blue</p>
+                                       </section>
+                               </section>
+
+                               <section>
+                                       <h2>Spectacular image!</h2>
+                                       <a class="image" href="http://lab.hakim.se/meny/" target="_blank">
+                                               <img width="320" height="299" src="http://s3.amazonaws.com/hakim-static/portfolio/images/meny.png" alt="Meny">
+                                       </a>
+                               </section>
+
+                               <section>
+                                       <h2>Export to PDF</h2>
+                                       <p>Presentations can be <a href="https://github.com/hakimel/reveal.js#pdf-export">exported to PDF</a>, below is an example that's been uploaded to SlideShare.</p>
+                                       <iframe id="slideshare" src="http://www.slideshare.net/slideshow/embed_code/13872948" width="455" height="356" style="margin:0;overflow:hidden;border:1px solid #CCC;border-width:1px 1px 0;margin-bottom:5px" allowfullscreen> </iframe>
+                                       <script>
+                                               document.getElementById('slideshare').attributeName = 'allowfullscreen';
+                                       </script>
+                               </section>
+
+                               <section>
+                                       <h2>Take a Moment</h2>
+                                       <p>
+                                               Press b or period on your keyboard to enter the 'paused' mode. This mode is helpful when you want to take disctracting slides off the screen
+                                               during a presentation.
+                                       </p>
+                               </section>
+
+                               <section>
+                                       <h2>Stellar Links</h2>
+                                       <ul>
+                                               <li><a href="https://github.com/hakimel/reveal.js">Source code on GitHub</a></li>
+                                               <li><a href="http://hakim.se/projects/reveal-js">Leave feedback on my site</a></li>
+                                               <li><a href="http://twitter.com/hakimel">Follow me on Twitter</a></li>
+                                       </ul>
+                               </section>
+
+                               <section>
+                                       <h2>It's free</h2>
+                                       <p>
+                                               reveal.js and <a href="http://www.rvl.io">rvl.io</a> are entirely free but if you'd like to support the projects you can donate below.
+                                               Donations will go towards hosting and domain costs.
+                                       </p>
+                                       <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
+                                               <input type="hidden" name="cmd" value="_donations">
+                                               <input type="hidden" name="business" value="hakim.elhattab@gmail.com">
+                                               <input type="hidden" name="lc" value="US">
+                                               <input type="hidden" name="item_name" value="reveal.js / rvl.io">
+                                               <input type="hidden" name="no_note" value="0">
+                                               <input type="hidden" name="currency_code" value="USD">
+                                               <input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHostedGuest">
+                                               <input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
+                                       </form>
+                               </section>
+
+                               <section>
+                                       <h1>THE END</h1>
+                                       <h3>BY Hakim El Hattab / hakim.se</h3>
+                               </section>
+
+                       </div>
+
+               </div>
+
+               <script src="lib/js/head.min.js"></script>
+               <script src="js/reveal.min.js"></script>
+
+               <script>
+
+                       // Full list of configuration options available here:
+                       // https://github.com/hakimel/reveal.js#configuration
+                       Reveal.initialize({
+                               controls: true,
+                               progress: true,
+                               history: true,
+
+                               theme: Reveal.getQueryHash().theme, // available themes are in /css/theme
+                               transition: Reveal.getQueryHash().transition || 'default', // default/cube/page/concave/zoom/linear/none
+
+                               // Optional libraries used to extend on reveal.js
+                               dependencies: [
+                                       { src: 'lib/js/classList.js', condition: function() { return !document.body.classList; } },
+                                       { src: 'plugin/markdown/showdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
+                                       { src: 'plugin/markdown/markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
+                                       { src: 'plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } },
+                                       { src: 'plugin/zoom-js/zoom.js', async: true, condition: function() { return !!document.body.classList; } },
+                                       { src: 'plugin/notes/notes.js', async: true, condition: function() { return !!document.body.classList; } }
+                               ]
+                       });
+
+               </script>
+
+       </body>
+</html>
diff --git a/slides/reveal.js/js/reveal.js b/slides/reveal.js/js/reveal.js
new file mode 100644 (file)
index 0000000..d92ee76
--- /dev/null
@@ -0,0 +1,1385 @@
+/*!
+ * reveal.js 2.1 r37
+ * http://lab.hakim.se/reveal-js
+ * MIT licensed
+ *
+ * Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
+ */
+var Reveal = (function(){
+
+       'use strict';
+
+       var HORIZONTAL_SLIDES_SELECTOR = '.reveal .slides>section',
+               VERTICAL_SLIDES_SELECTOR = '.reveal .slides>section.present>section',
+
+               // Configurations defaults, can be overridden at initialization time
+               config = {
+                       // Display controls in the bottom right corner
+                       controls: true,
+
+                       // Display a presentation progress bar
+                       progress: true,
+
+                       // Push each slide change to the browser history
+                       history: false,
+
+                       // Enable keyboard shortcuts for navigation
+                       keyboard: true,
+
+                       // Enable the slide overview mode
+                       overview: true,
+
+                       // Loop the presentation
+                       loop: false,
+
+                       // Number of milliseconds between automatically proceeding to the
+                       // next slide, disabled when set to 0, this value can be overwritten
+                       // by using a data-autoslide attribute on your slides
+                       autoSlide: 0,
+
+                       // Enable slide navigation via mouse wheel
+                       mouseWheel: true,
+
+                       // Apply a 3D roll to links on hover
+                       rollingLinks: true,
+
+                       // Transition style (see /css/theme)
+                       theme: null,
+
+                       // Transition style
+                       transition: 'default', // default/cube/page/concave/zoom/linear/none
+
+                       // Script dependencies to load
+                       dependencies: []
+               },
+
+               // Stores if the next slide should be shown automatically
+               // after n milliseconds
+               autoSlide = config.autoSlide,
+
+               // The horizontal and verical index of the currently active slide
+               indexh = 0,
+               indexv = 0,
+
+               // The previous and current slide HTML elements
+               previousSlide,
+               currentSlide,
+
+               // Slides may hold a data-state attribute which we pick up and apply
+               // as a class to the body. This list contains the combined state of
+               // all current slides.
+               state = [],
+
+               // Cached references to DOM elements
+               dom = {},
+
+               // Detect support for CSS 3D transforms
+               supports3DTransforms =  'WebkitPerspective' in document.body.style ||
+                                                               'MozPerspective' in document.body.style ||
+                                                               'msPerspective' in document.body.style ||
+                                                               'OPerspective' in document.body.style ||
+                                                               'perspective' in document.body.style,
+
+               supports2DTransforms =  'WebkitTransform' in document.body.style ||
+                                                               'MozTransform' in document.body.style ||
+                                                               'msTransform' in document.body.style ||
+                                                               'OTransform' in document.body.style ||
+                                                               'transform' in document.body.style,
+
+               // Throttles mouse wheel navigation
+               mouseWheelTimeout = 0,
+
+               // An interval used to automatically move on to the next slide
+               autoSlideTimeout = 0,
+
+               // Delays updates to the URL due to a Chrome thumbnailer bug
+               writeURLTimeout = 0,
+
+               // Holds information about the currently ongoing touch input
+               touch = {
+                       startX: 0,
+                       startY: 0,
+                       startSpan: 0,
+                       startCount: 0,
+                       handled: false,
+                       threshold: 80
+               };
+
+       /**
+        * Starts up the presentation if the client is capable.
+        */
+       function initialize( options ) {
+               if( ( !supports2DTransforms && !supports3DTransforms ) ) {
+                       document.body.setAttribute( 'class', 'no-transforms' );
+
+                       // If the browser doesn't support core features we won't be
+                       // using JavaScript to control the presentation
+                       return;
+               }
+
+               // Copy options over to our config object
+               extend( config, options );
+
+               // Hide the address bar in mobile browsers
+               hideAddressBar();
+
+               // Loads the dependencies and continues to #start() once done
+               load();
+
+       }
+
+       /**
+        * Finds and stores references to DOM elements which are
+        * required by the presentation. If a required element is
+        * not found, it is created.
+        */
+       function setupDOM() {
+               // Cache references to key DOM elements
+               dom.theme = document.querySelector( '#theme' );
+               dom.wrapper = document.querySelector( '.reveal' );
+
+               // Progress bar
+               if( !dom.wrapper.querySelector( '.progress' ) && config.progress ) {
+                       var progressElement = document.createElement( 'div' );
+                       progressElement.classList.add( 'progress' );
+                       progressElement.innerHTML = '<span></span>';
+                       dom.wrapper.appendChild( progressElement );
+               }
+
+               // Arrow controls
+               if( !dom.wrapper.querySelector( '.controls' ) && config.controls ) {
+                       var controlsElement = document.createElement( 'aside' );
+                       controlsElement.classList.add( 'controls' );
+                       controlsElement.innerHTML = '<div class="left"></div>' +
+                                                                               '<div class="right"></div>' +
+                                                                               '<div class="up"></div>' +
+                                                                               '<div class="down"></div>';
+                       dom.wrapper.appendChild( controlsElement );
+               }
+
+               // Presentation background element
+               if( !dom.wrapper.querySelector( '.state-background' ) ) {
+                       var backgroundElement = document.createElement( 'div' );
+                       backgroundElement.classList.add( 'state-background' );
+                       dom.wrapper.appendChild( backgroundElement );
+               }
+
+               // Overlay graphic which is displayed during the paused mode
+               if( !dom.wrapper.querySelector( '.pause-overlay' ) ) {
+                       var pausedElement = document.createElement( 'div' );
+                       pausedElement.classList.add( 'pause-overlay' );
+                       dom.wrapper.appendChild( pausedElement );
+               }
+
+               // Cache references to elements
+               dom.progress = document.querySelector( '.reveal .progress' );
+               dom.progressbar = document.querySelector( '.reveal .progress span' );
+
+               if ( config.controls ) {
+                       dom.controls = document.querySelector( '.reveal .controls' );
+                       dom.controlsLeft = document.querySelector( '.reveal .controls .left' );
+                       dom.controlsRight = document.querySelector( '.reveal .controls .right' );
+                       dom.controlsUp = document.querySelector( '.reveal .controls .up' );
+                       dom.controlsDown = document.querySelector( '.reveal .controls .down' );
+               }
+       }
+
+       /**
+        * Hides the address bar if we're on a mobile device.
+        */
+       function hideAddressBar() {
+               if( navigator.userAgent.match( /(iphone|ipod|android)/i ) ) {
+                       // Give the page some scrollable overflow
+                       document.documentElement.style.overflow = 'scroll';
+                       document.body.style.height = '120%';
+
+                       // Events that should trigger the address bar to hide
+                       window.addEventListener( 'load', removeAddressBar, false );
+                       window.addEventListener( 'orientationchange', removeAddressBar, false );
+               }
+       }
+
+       /**
+        * Loads the dependencies of reveal.js. Dependencies are
+        * defined via the configuration option 'dependencies'
+        * and will be loaded prior to starting/binding reveal.js.
+        * Some dependencies may have an 'async' flag, if so they
+        * will load after reveal.js has been started up.
+        */
+       function load() {
+               var scripts = [],
+                       scriptsAsync = [];
+
+               for( var i = 0, len = config.dependencies.length; i < len; i++ ) {
+                       var s = config.dependencies[i];
+
+                       // Load if there's no condition or the condition is truthy
+                       if( !s.condition || s.condition() ) {
+                               if( s.async ) {
+                                       scriptsAsync.push( s.src );
+                               }
+                               else {
+                                       scripts.push( s.src );
+                               }
+
+                               // Extension may contain callback functions
+                               if( typeof s.callback === 'function' ) {
+                                       head.ready( s.src.match( /([\w\d_\-]*)\.?[^\\\/]*$/i )[0], s.callback );
+                               }
+                       }
+               }
+
+               // Called once synchronous scritps finish loading
+               function proceed() {
+                       if( scriptsAsync.length ) {
+                               // Load asynchronous scripts
+                               head.js.apply( null, scriptsAsync );
+                       }
+
+                       start();
+               }
+
+               if( scripts.length ) {
+                       head.ready( proceed );
+
+                       // Load synchronous scripts
+                       head.js.apply( null, scripts );
+               }
+               else {
+                       proceed();
+               }
+       }
+
+       /**
+        * Starts up reveal.js by binding input events and navigating
+        * to the current URL deeplink if there is one.
+        */
+       function start() {
+               // Make sure we've got all the DOM elements we need
+               setupDOM();
+
+               // Subscribe to input
+               addEventListeners();
+
+               // Updates the presentation to match the current configuration values
+               configure();
+
+               // Read the initial hash
+               readURL();
+
+               // Start auto-sliding if it's enabled
+               cueAutoSlide();
+
+               // Notify listeners that the presentation is ready but use a 1ms
+               // timeout to ensure it's not fired synchronously after #initialize()
+               setTimeout( function() {
+                       dispatchEvent( 'ready', {
+                               'indexh': indexh,
+                               'indexv': indexv,
+                               'currentSlide': currentSlide
+                       } );
+               }, 1 );
+       }
+
+       /**
+        * Applies the configuration settings from the config object.
+        */
+       function configure() {
+               if( supports3DTransforms === false ) {
+                       config.transition = 'linear';
+               }
+
+               if( config.controls && dom.controls ) {
+                       dom.controls.style.display = 'block';
+               }
+
+               if( config.progress && dom.progress ) {
+                       dom.progress.style.display = 'block';
+               }
+
+               if( config.transition !== 'default' ) {
+                       dom.wrapper.classList.add( config.transition );
+               }
+
+               if( config.mouseWheel ) {
+                       document.addEventListener( 'DOMMouseScroll', onDocumentMouseScroll, false ); // FF
+                       document.addEventListener( 'mousewheel', onDocumentMouseScroll, false );
+               }
+
+               // 3D links
+               if( config.rollingLinks ) {
+                       linkify();
+               }
+
+               // Load the theme in the config, if it's not already loaded
+               if( config.theme && dom.theme ) {
+                       var themeURL = dom.theme.getAttribute( 'href' );
+                       var themeFinder = /[^\/]*?(?=\.css)/;
+                       var themeName = themeURL.match(themeFinder)[0];
+
+                       if(  config.theme !== themeName ) {
+                               themeURL = themeURL.replace(themeFinder, config.theme);
+                               dom.theme.setAttribute( 'href', themeURL );
+                       }
+               }
+       }
+
+       /**
+        * Binds all event listeners.
+        */
+       function addEventListeners() {
+               document.addEventListener( 'touchstart', onDocumentTouchStart, false );
+               document.addEventListener( 'touchmove', onDocumentTouchMove, false );
+               document.addEventListener( 'touchend', onDocumentTouchEnd, false );
+               window.addEventListener( 'hashchange', onWindowHashChange, false );
+
+               if( config.keyboard ) {
+                       document.addEventListener( 'keydown', onDocumentKeyDown, false );
+               }
+
+               if ( config.progress && dom.progress ) {
+                       dom.progress.addEventListener( 'click', preventAndForward( onProgressClick ), false );
+               }
+
+               if ( config.controls && dom.controls ) {
+                       dom.controlsLeft.addEventListener( 'click', preventAndForward( navigateLeft ), false );
+                       dom.controlsRight.addEventListener( 'click', preventAndForward( navigateRight ), false );
+                       dom.controlsUp.addEventListener( 'click', preventAndForward( navigateUp ), false );
+                       dom.controlsDown.addEventListener( 'click', preventAndForward( navigateDown ), false );
+               }
+       }
+
+       /**
+        * Unbinds all event listeners.
+        */
+       function removeEventListeners() {
+               document.removeEventListener( 'keydown', onDocumentKeyDown, false );
+               document.removeEventListener( 'touchstart', onDocumentTouchStart, false );
+               document.removeEventListener( 'touchmove', onDocumentTouchMove, false );
+               document.removeEventListener( 'touchend', onDocumentTouchEnd, false );
+               window.removeEventListener( 'hashchange', onWindowHashChange, false );
+
+               if ( config.progress && dom.progress ) {
+                       dom.progress.removeEventListener( 'click', preventAndForward( onProgressClick ), false );
+               }
+
+               if ( config.controls && dom.controls ) {
+                       dom.controlsLeft.removeEventListener( 'click', preventAndForward( navigateLeft ), false );
+                       dom.controlsRight.removeEventListener( 'click', preventAndForward( navigateRight ), false );
+                       dom.controlsUp.removeEventListener( 'click', preventAndForward( navigateUp ), false );
+                       dom.controlsDown.removeEventListener( 'click', preventAndForward( navigateDown ), false );
+               }
+       }
+
+       /**
+        * Extend object a with the properties of object b.
+        * If there's a conflict, object b takes precedence.
+        */
+       function extend( a, b ) {
+               for( var i in b ) {
+                       a[ i ] = b[ i ];
+               }
+       }
+
+       /**
+        * Measures the distance in pixels between point a
+        * and point b.
+        *
+        * @param {Object} a point with x/y properties
+        * @param {Object} b point with x/y properties
+        */
+       function distanceBetween( a, b ) {
+               var dx = a.x - b.x,
+                       dy = a.y - b.y;
+
+               return Math.sqrt( dx*dx + dy*dy );
+       }
+
+       /**
+        * Prevents an events defaults behavior calls the
+        * specified delegate.
+        *
+        * @param {Function} delegate The method to call
+        * after the wrapper has been executed
+        */
+       function preventAndForward( delegate ) {
+               return function( event ) {
+                       event.preventDefault();
+                       delegate.call( null, event );
+               };
+       }
+
+       /**
+        * Causes the address bar to hide on mobile devices,
+        * more vertical space ftw.
+        */
+       function removeAddressBar() {
+               setTimeout( function() {
+                       window.scrollTo( 0, 1 );
+               }, 0 );
+       }
+
+       /**
+        * Dispatches an event of the specified type from the
+        * reveal DOM element.
+        */
+       function dispatchEvent( type, properties ) {
+               var event = document.createEvent( "HTMLEvents", 1, 2 );
+               event.initEvent( type, true, true );
+               extend( event, properties );
+               dom.wrapper.dispatchEvent( event );
+       }
+
+       /**
+        * Wrap all links in 3D goodness.
+        */
+       function linkify() {
+               if( supports3DTransforms && !( 'msPerspective' in document.body.style ) ) {
+                       var nodes = document.querySelectorAll( '.reveal .slides section a:not(.image)' );
+
+                       for( var i = 0, len = nodes.length; i < len; i++ ) {
+                               var node = nodes[i];
+
+                               if( node.textContent && !node.querySelector( 'img' ) && ( !node.className || !node.classList.contains( node, 'roll' ) ) ) {
+                                       node.classList.add( 'roll' );
+                                       node.innerHTML = '<span data-title="'+ node.text +'">' + node.innerHTML + '</span>';
+                               }
+                       }
+               }
+       }
+
+       /**
+        * Displays the overview of slides (quick nav) by
+        * scaling down and arranging all slide elements.
+        *
+        * Experimental feature, might be dropped if perf
+        * can't be improved.
+        */
+       function activateOverview() {
+
+               // Only proceed if enabled in config
+               if( config.overview ) {
+
+                       dom.wrapper.classList.add( 'overview' );
+
+                       var horizontalSlides = document.querySelectorAll( HORIZONTAL_SLIDES_SELECTOR );
+
+                       for( var i = 0, len1 = horizontalSlides.length; i < len1; i++ ) {
+                               var hslide = horizontalSlides[i],
+                                       htransform = 'translateZ(-2500px) translate(' + ( ( i - indexh ) * 105 ) + '%, 0%)';
+
+                               hslide.setAttribute( 'data-index-h', i );
+                               hslide.style.display = 'block';
+                               hslide.style.WebkitTransform = htransform;
+                               hslide.style.MozTransform = htransform;
+                               hslide.style.msTransform = htransform;
+                               hslide.style.OTransform = htransform;
+                               hslide.style.transform = htransform;
+
+                               if( !hslide.classList.contains( 'stack' ) ) {
+                                       // Navigate to this slide on click
+                                       hslide.addEventListener( 'click', onOverviewSlideClicked, true );
+                               }
+
+                               var verticalSlides = hslide.querySelectorAll( 'section' );
+
+                               for( var j = 0, len2 = verticalSlides.length; j < len2; j++ ) {
+                                       var vslide = verticalSlides[j],
+                                               vtransform = 'translate(0%, ' + ( ( j - ( i === indexh ? indexv : 0 ) ) * 105 ) + '%)';
+
+                                       vslide.setAttribute( 'data-index-h', i );
+                                       vslide.setAttribute( 'data-index-v', j );
+                                       vslide.style.display = 'block';
+                                       vslide.style.WebkitTransform = vtransform;
+                                       vslide.style.MozTransform = vtransform;
+                                       vslide.style.msTransform = vtransform;
+                                       vslide.style.OTransform = vtransform;
+                                       vslide.style.transform = vtransform;
+
+                                       // Navigate to this slide on click
+                                       vslide.addEventListener( 'click', onOverviewSlideClicked, true );
+                               }
+
+                       }
+
+               }
+
+       }
+
+       /**
+        * Exits the slide overview and enters the currently
+        * active slide.
+        */
+       function deactivateOverview() {
+
+               // Only proceed if enabled in config
+               if( config.overview ) {
+
+                       dom.wrapper.classList.remove( 'overview' );
+
+                       // Select all slides
+                       var slides = Array.prototype.slice.call( document.querySelectorAll( '.reveal .slides section' ) );
+
+                       for( var i = 0, len = slides.length; i < len; i++ ) {
+                               var element = slides[i];
+
+                               // Resets all transforms to use the external styles
+                               element.style.WebkitTransform = '';
+                               element.style.MozTransform = '';
+                               element.style.msTransform = '';
+                               element.style.OTransform = '';
+                               element.style.transform = '';
+
+                               element.removeEventListener( 'click', onOverviewSlideClicked );
+                       }
+
+                       slide();
+
+               }
+       }
+
+       /**
+        * Toggles the slide overview mode on and off.
+        *
+        * @param {Boolean} override Optional flag which overrides the
+        * toggle logic and forcibly sets the desired state. True means
+        * overview is open, false means it's closed.
+        */
+       function toggleOverview( override ) {
+               if( typeof override === 'boolean' ) {
+                       override ? activateOverview() : deactivateOverview();
+               }
+               else {
+                       isOverviewActive() ? deactivateOverview() : activateOverview();
+               }
+       }
+
+       /**
+        * Checks if the overview is currently active.
+        *
+        * @return {Boolean} true if the overview is active,
+        * false otherwise
+        */
+       function isOverviewActive() {
+               return dom.wrapper.classList.contains( 'overview' );
+       }
+
+       /**
+        * Handling the fullscreen functionality via the fullscreen API
+        *
+        * @see http://fullscreen.spec.whatwg.org/
+        * @see https://developer.mozilla.org/en-US/docs/DOM/Using_fullscreen_mode
+        */
+       function enterFullscreen() {
+               var element = document.body;
+
+               // Check which implementation is available
+               var requestMethod = element.requestFullScreen ||
+                                                       element.webkitRequestFullScreen ||
+                                                       element.mozRequestFullScreen ||
+                                                       element.msRequestFullScreen;
+
+               if( requestMethod ) {
+                       requestMethod.apply( element );
+               }
+       }
+
+       /**
+        * Enters the paused mode which fades everything on screen to
+        * black.
+        */
+       function pause() {
+               dom.wrapper.classList.add( 'paused' );
+       }
+
+       /**
+        * Exits from the paused mode.
+        */
+       function resume() {
+               dom.wrapper.classList.remove( 'paused' );
+       }
+
+       /**
+        * Toggles the paused mode on and off.
+        */
+       function togglePause() {
+               if( isPaused() ) {
+                       resume();
+               }
+               else {
+                       pause();
+               }
+       }
+
+       /**
+        * Checks if we are currently in the paused mode.
+        */
+       function isPaused() {
+               return dom.wrapper.classList.contains( 'paused' );
+       }
+
+       /**
+        * Steps from the current point in the presentation to the
+        * slide which matches the specified horizontal and vertical
+        * indices.
+        *
+        * @param {int} h Horizontal index of the target slide
+        * @param {int} v Vertical index of the target slide
+        */
+       function slide( h, v ) {
+               // Remember where we were at before
+               previousSlide = currentSlide;
+
+               // Remember the state before this slide
+               var stateBefore = state.concat();
+
+               // Reset the state array
+               state.length = 0;
+
+               var indexhBefore = indexh,
+                       indexvBefore = indexv;
+
+               // Activate and transition to the new slide
+               indexh = updateSlides( HORIZONTAL_SLIDES_SELECTOR, h === undefined ? indexh : h );
+               indexv = updateSlides( VERTICAL_SLIDES_SELECTOR, v === undefined ? indexv : v );
+
+               // Apply the new state
+               stateLoop: for( var i = 0, len = state.length; i < len; i++ ) {
+                       // Check if this state existed on the previous slide. If it
+                       // did, we will avoid adding it repeatedly.
+                       for( var j = 0; j < stateBefore.length; j++ ) {
+                               if( stateBefore[j] === state[i] ) {
+                                       stateBefore.splice( j, 1 );
+                                       continue stateLoop;
+                               }
+                       }
+
+                       document.documentElement.classList.add( state[i] );
+
+                       // Dispatch custom event matching the state's name
+                       dispatchEvent( state[i] );
+               }
+
+               // Clean up the remaints of the previous state
+               while( stateBefore.length ) {
+                       document.documentElement.classList.remove( stateBefore.pop() );
+               }
+
+               // Update progress if enabled
+               if( config.progress && dom.progress ) {
+                       dom.progressbar.style.width = ( indexh / ( document.querySelectorAll( HORIZONTAL_SLIDES_SELECTOR ).length - 1 ) ) * window.innerWidth + 'px';
+               }
+
+               // If the overview is active, re-activate it to update positions
+               if( isOverviewActive() ) {
+                       activateOverview();
+               }
+
+               updateControls();
+
+               // Update the URL hash after a delay since updating it mid-transition
+               // is likely to cause visual lag
+               clearTimeout( writeURLTimeout );
+               writeURLTimeout = setTimeout( writeURL, 1500 );
+
+               // Query all horizontal slides in the deck
+               var horizontalSlides = document.querySelectorAll( HORIZONTAL_SLIDES_SELECTOR );
+
+               // Find the current horizontal slide and any possible vertical slides
+               // within it
+               var currentHorizontalSlide = horizontalSlides[ indexh ],
+                       currentVerticalSlides = currentHorizontalSlide.querySelectorAll( 'section' );
+
+               // Store references to the previous and current slides
+               currentSlide = currentVerticalSlides[ indexv ] || currentHorizontalSlide;
+
+               // Dispatch an event if the slide changed
+               if( indexh !== indexhBefore || indexv !== indexvBefore ) {
+                       dispatchEvent( 'slidechanged', {
+                               'indexh': indexh,
+                               'indexv': indexv,
+                               'previousSlide': previousSlide,
+                               'currentSlide': currentSlide
+                       } );
+               }
+               else {
+                       // Ensure that the previous slide is never the same as the current
+                       previousSlide = null;
+               }
+
+               // Solves an edge case where the previous slide maintains the
+               // 'present' class when navigating between adjacent vertical
+               // stacks
+               if( previousSlide ) {
+                       previousSlide.classList.remove( 'present' );
+               }
+       }
+
+       /**
+        * Updates one dimension of slides by showing the slide
+        * with the specified index.
+        *
+        * @param {String} selector A CSS selector that will fetch
+        * the group of slides we are working with
+        * @param {Number} index The index of the slide that should be
+        * shown
+        *
+        * @return {Number} The index of the slide that is now shown,
+        * might differ from the passed in index if it was out of
+        * bounds.
+        */
+       function updateSlides( selector, index ) {
+               // Select all slides and convert the NodeList result to
+               // an array
+               var slides = Array.prototype.slice.call( document.querySelectorAll( selector ) ),
+                       slidesLength = slides.length;
+
+               if( slidesLength ) {
+
+                       // Should the index loop?
+                       if( config.loop ) {
+                               index %= slidesLength;
+
+                               if( index < 0 ) {
+                                       index = slidesLength + index;
+                               }
+                       }
+
+                       // Enforce max and minimum index bounds
+                       index = Math.max( Math.min( index, slidesLength - 1 ), 0 );
+
+                       for( var i = 0; i < slidesLength; i++ ) {
+                               var element = slides[i];
+
+                               // Optimization; hide all slides that are three or more steps
+                               // away from the present slide
+                               if( isOverviewActive() === false ) {
+                                       // The distance loops so that it measures 1 between the first
+                                       // and last slides
+                                       var distance = Math.abs( ( index - i ) % ( slidesLength - 3 ) ) || 0;
+
+                                       element.style.display = distance > 3 ? 'none' : 'block';
+                               }
+
+                               slides[i].classList.remove( 'past' );
+                               slides[i].classList.remove( 'present' );
+                               slides[i].classList.remove( 'future' );
+
+                               if( i < index ) {
+                                       // Any element previous to index is given the 'past' class
+                                       slides[i].classList.add( 'past' );
+                               }
+                               else if( i > index ) {
+                                       // Any element subsequent to index is given the 'future' class
+                                       slides[i].classList.add( 'future' );
+                               }
+
+                               // If this element contains vertical slides
+                               if( element.querySelector( 'section' ) ) {
+                                       slides[i].classList.add( 'stack' );
+                               }
+                       }
+
+                       // Mark the current slide as present
+                       slides[index].classList.add( 'present' );
+
+                       // If this slide has a state associated with it, add it
+                       // onto the current state of the deck
+                       var slideState = slides[index].getAttribute( 'data-state' );
+                       if( slideState ) {
+                               state = state.concat( slideState.split( ' ' ) );
+                       }
+
+                       // If this slide has a data-autoslide attribtue associated use this as
+                       // autoSlide value otherwise use the global configured time
+                       var slideAutoSlide = slides[index].getAttribute( 'data-autoslide' );
+                       if( slideAutoSlide ) {
+                               autoSlide = parseInt( slideAutoSlide );
+                       } else {
+                               autoSlide = config.autoSlide
+                       }
+
+               }
+               else {
+                       // Since there are no slides we can't be anywhere beyond the
+                       // zeroth index
+                       index = 0;
+               }
+
+               return index;
+
+       }
+
+       /**
+        * Updates the state and link pointers of the controls.
+        */
+       function updateControls() {
+               if ( config.controls && dom.controls ) {
+
+                       var routes = availableRoutes();
+
+                       // Remove the 'enabled' class from all directions
+                       [ dom.controlsLeft, dom.controlsRight, dom.controlsUp, dom.controlsDown ].forEach( function( node ) {
+                               node.classList.remove( 'enabled' );
+                       } );
+
+                       // Add the 'enabled' class to the available routes
+                       if( routes.left ) dom.controlsLeft.classList.add( 'enabled' );
+                       if( routes.right ) dom.controlsRight.classList.add( 'enabled' );
+                       if( routes.up ) dom.controlsUp.classList.add( 'enabled' );
+                       if( routes.down ) dom.controlsDown.classList.add( 'enabled' );
+
+               }
+       }
+
+       /**
+        * Determine what available routes there are for navigation.
+        *
+        * @return {Object} containing four booleans: left/right/up/down
+        */
+       function availableRoutes() {
+               var horizontalSlides = document.querySelectorAll( HORIZONTAL_SLIDES_SELECTOR ),
+                       verticalSlides = document.querySelectorAll( VERTICAL_SLIDES_SELECTOR );
+
+               return {
+                       left: indexh > 0,
+                       right: indexh < horizontalSlides.length - 1,
+                       up: indexv > 0,
+                       down: indexv < verticalSlides.length - 1
+               };
+       }
+
+       /**
+        * Reads the current URL (hash) and navigates accordingly.
+        */
+       function readURL() {
+               var hash = window.location.hash;
+
+               // Attempt to parse the hash as either an index or name
+               var bits = hash.slice( 2 ).split( '/' ),
+                       name = hash.replace( /#|\//gi, '' );
+
+               // If the first bit is invalid and there is a name we can
+               // assume that this is a named link
+               if( isNaN( parseInt( bits[0], 10 ) ) && name.length ) {
+                       // Find the slide with the specified name
+                       var element = document.querySelector( '#' + name );
+
+                       if( element ) {
+                               // Find the position of the named slide and navigate to it
+                               var indices = Reveal.getIndices( element );
+                               slide( indices.h, indices.v );
+                       }
+                       // If the slide doesn't exist, navigate to the current slide
+                       else {
+                               slide( indexh, indexv );
+                       }
+               }
+               else {
+                       // Read the index components of the hash
+                       var h = parseInt( bits[0], 10 ) || 0,
+                               v = parseInt( bits[1], 10 ) || 0;
+
+                       slide( h, v );
+               }
+       }
+
+       /**
+        * Updates the page URL (hash) to reflect the current
+        * state.
+        */
+       function writeURL() {
+               if( config.history ) {
+                       var url = '/';
+
+                       // Only include the minimum possible number of components in
+                       // the URL
+                       if( indexh > 0 || indexv > 0 ) url += indexh;
+                       if( indexv > 0 ) url += '/' + indexv;
+
+                       window.location.hash = url;
+               }
+       }
+
+       /**
+        * Retrieves the h/v location of the current, or specified,
+        * slide.
+        *
+        * @param {HTMLElement} slide If specified, the returned
+        * index will be for this slide rather than the currently
+        * active one
+        *
+        * @return {Object} { h: <int>, v: <int> }
+        */
+       function getIndices( slide ) {
+               // By default, return the current indices
+               var h = indexh,
+                       v = indexv;
+
+               // If a slide is specified, return the indices of that slide
+               if( slide ) {
+                       var isVertical = !!slide.parentNode.nodeName.match( /section/gi );
+                       var slideh = isVertical ? slide.parentNode : slide;
+
+                       // Select all horizontal slides
+                       var horizontalSlides = Array.prototype.slice.call( document.querySelectorAll( HORIZONTAL_SLIDES_SELECTOR ) );
+
+                       // Now that we know which the horizontal slide is, get its index
+                       h = Math.max( horizontalSlides.indexOf( slideh ), 0 );
+
+                       // If this is a vertical slide, grab the vertical index
+                       if( isVertical ) {
+                               v = Math.max( Array.prototype.slice.call( slide.parentNode.children ).indexOf( slide ), 0 );
+                       }
+               }
+
+               return { h: h, v: v };
+       }
+
+       /**
+        * Navigate to the next slide fragment.
+        *
+        * @return {Boolean} true if there was a next fragment,
+        * false otherwise
+        */
+       function nextFragment() {
+               // Vertical slides:
+               if( document.querySelector( VERTICAL_SLIDES_SELECTOR + '.present' ) ) {
+                       var verticalFragments = document.querySelectorAll( VERTICAL_SLIDES_SELECTOR + '.present .fragment:not(.visible)' );
+                       if( verticalFragments.length ) {
+                               verticalFragments[0].classList.add( 'visible' );
+
+                               // Notify subscribers of the change
+                               dispatchEvent( 'fragmentshown', { fragment: verticalFragments[0] } );
+                               return true;
+                       }
+               }
+               // Horizontal slides:
+               else {
+                       var horizontalFragments = document.querySelectorAll( HORIZONTAL_SLIDES_SELECTOR + '.present .fragment:not(.visible)' );
+                       if( horizontalFragments.length ) {
+                               horizontalFragments[0].classList.add( 'visible' );
+
+                               // Notify subscribers of the change
+                               dispatchEvent( 'fragmentshown', { fragment: horizontalFragments[0] } );
+                               return true;
+                       }
+               }
+
+               return false;
+       }
+
+       /**
+        * Navigate to the previous slide fragment.
+        *
+        * @return {Boolean} true if there was a previous fragment,
+        * false otherwise
+        */
+       function previousFragment() {
+               // Vertical slides:
+               if( document.querySelector( VERTICAL_SLIDES_SELECTOR + '.present' ) ) {
+                       var verticalFragments = document.querySelectorAll( VERTICAL_SLIDES_SELECTOR + '.present .fragment.visible' );
+                       if( verticalFragments.length ) {
+                               verticalFragments[ verticalFragments.length - 1 ].classList.remove( 'visible' );
+
+                               // Notify subscribers of the change
+                               dispatchEvent( 'fragmenthidden', { fragment: verticalFragments[ verticalFragments.length - 1 ] } );
+                               return true;
+                       }
+               }
+               // Horizontal slides:
+               else {
+                       var horizontalFragments = document.querySelectorAll( HORIZONTAL_SLIDES_SELECTOR + '.present .fragment.visible' );
+                       if( horizontalFragments.length ) {
+                               horizontalFragments[ horizontalFragments.length - 1 ].classList.remove( 'visible' );
+
+                               // Notify subscribers of the change
+                               dispatchEvent( 'fragmenthidden', { fragment: horizontalFragments[ horizontalFragments.length - 1 ] } );
+                               return true;
+                       }
+               }
+
+               return false;
+       }
+
+       /**
+        * Cues a new automated slide if enabled in the config.
+        */
+       function cueAutoSlide() {
+               clearTimeout( autoSlideTimeout );
+
+               // Cue the next auto-slide if enabled
+               if( autoSlide ) {
+                       autoSlideTimeout = setTimeout( navigateNext, autoSlide );
+               }
+       }
+
+       function navigateLeft() {
+               // Prioritize hiding fragments
+               if( availableRoutes().left && ( isOverviewActive() || previousFragment() === false ) ) {
+                       slide( indexh - 1, 0 );
+               }
+       }
+
+       function navigateRight() {
+               // Prioritize revealing fragments
+               if( availableRoutes().right && ( isOverviewActive() || nextFragment() === false ) ) {
+                       slide( indexh + 1, 0 );
+               }
+       }
+
+       function navigateUp() {
+               // Prioritize hiding fragments
+               if( availableRoutes().up && ( isOverviewActive() || previousFragment() === false ) ) {
+                       slide( indexh, indexv - 1 );
+               }
+       }
+
+       function navigateDown() {
+               // Prioritize revealing fragments
+               if( availableRoutes().down && ( isOverviewActive() || nextFragment() === false ) ) {
+                       slide( indexh, indexv + 1 );
+               }
+       }
+
+       /**
+        * Navigates backwards, prioritized in the following order:
+        * 1) Previous fragment
+        * 2) Previous vertical slide
+        * 3) Previous horizontal slide
+        */
+       function navigatePrev() {
+               // Prioritize revealing fragments
+               if( previousFragment() === false ) {
+                       if( availableRoutes().up ) {
+                               navigateUp();
+                       }
+                       else {
+                               // Fetch the previous horizontal slide, if there is one
+                               var previousSlide = document.querySelector( '.reveal .slides>section.past:nth-child(' + indexh + ')' );
+
+                               if( previousSlide ) {
+                                       indexv = ( previousSlide.querySelectorAll( 'section' ).length + 1 ) || 0;
+                                       indexh --;
+                                       slide();
+                               }
+                       }
+               }
+       }
+
+       /**
+        * Same as #navigatePrev() but navigates forwards.
+        */
+       function navigateNext() {
+               // Prioritize revealing fragments
+               if( nextFragment() === false ) {
+                       availableRoutes().down ? navigateDown() : navigateRight();
+               }
+
+               // If auto-sliding is enabled we need to cue up
+               // another timeout
+               cueAutoSlide();
+       }
+
+
+       // --------------------------------------------------------------------//
+       // ----------------------------- EVENTS -------------------------------//
+       // --------------------------------------------------------------------//
+
+
+       /**
+        * Handler for the document level 'keydown' event.
+        *
+        * @param {Object} event
+        */
+       function onDocumentKeyDown( event ) {
+               // Check if there's a focused element that could be using 
+               // the keyboard
+               var activeElement = document.activeElement;
+       var hasFocus = !!( document.activeElement && ( document.activeElement.type || document.activeElement.href || document.activeElement.contentEditable !== 'inherit' ) );
+
+               // Disregard the event if there's a focused element or a 
+               // keyboard modifier key is present
+               if ( hasFocus || event.shiftKey || event.altKey || event.ctrlKey || event.metaKey ) return;
+
+               var triggered = true;
+
+               switch( event.keyCode ) {
+                       // p, page up
+                       case 80: case 33: navigatePrev(); break;
+                       // n, page down
+                       case 78: case 34: navigateNext(); break;
+                       // h, left
+                       case 72: case 37: navigateLeft(); break;
+                       // l, right
+                       case 76: case 39: navigateRight(); break;
+                       // k, up
+                       case 75: case 38: navigateUp(); break;
+                       // j, down
+                       case 74: case 40: navigateDown(); break;
+                       // home
+                       case 36: slide( 0 ); break;
+                       // end
+                       case 35: slide( Number.MAX_VALUE ); break;
+                       // space
+                       case 32: isOverviewActive() ? deactivateOverview() : navigateNext(); break;
+                       // return
+                       case 13: isOverviewActive() ? deactivateOverview() : triggered = false; break;
+                       // b, period
+                       case 66: case 190: togglePause(); break;
+                       // f
+                       case 70: enterFullscreen(); break;
+                       default:
+                               triggered = false;
+               }
+
+               // If the input resulted in a triggered action we should prevent
+               // the browsers default behavior
+               if( triggered ) {
+                       event.preventDefault();
+               }
+               else if ( event.keyCode === 27 && supports3DTransforms ) {
+                       toggleOverview();
+
+                       event.preventDefault();
+               }
+
+               // If auto-sliding is enabled we need to cue up
+               // another timeout
+               cueAutoSlide();
+
+       }
+
+       /**
+        * Handler for the document level 'touchstart' event,
+        * enables support for swipe and pinch gestures.
+        */
+       function onDocumentTouchStart( event ) {
+               touch.startX = event.touches[0].clientX;
+               touch.startY = event.touches[0].clientY;
+               touch.startCount = event.touches.length;
+
+               // If there's two touches we need to memorize the distance
+               // between those two points to detect pinching
+               if( event.touches.length === 2 && config.overview ) {
+                       touch.startSpan = distanceBetween( {
+                               x: event.touches[1].clientX,
+                               y: event.touches[1].clientY
+                       }, {
+                               x: touch.startX,
+                               y: touch.startY
+                       } );
+               }
+       }
+
+       /**
+        * Handler for the document level 'touchmove' event.
+        */
+       function onDocumentTouchMove( event ) {
+               // Each touch should only trigger one action
+               if( !touch.handled ) {
+                       var currentX = event.touches[0].clientX;
+                       var currentY = event.touches[0].clientY;
+
+                       // If the touch started off with two points and still has
+                       // two active touches; test for the pinch gesture
+                       if( event.touches.length === 2 && touch.startCount === 2 && config.overview ) {
+
+                               // The current distance in pixels between the two touch points
+                               var currentSpan = distanceBetween( {
+                                       x: event.touches[1].clientX,
+                                       y: event.touches[1].clientY
+                               }, {
+                                       x: touch.startX,
+                                       y: touch.startY
+                               } );
+
+                               // If the span is larger than the desire amount we've got
+                               // ourselves a pinch
+                               if( Math.abs( touch.startSpan - currentSpan ) > touch.threshold ) {
+                                       touch.handled = true;
+
+                                       if( currentSpan < touch.startSpan ) {
+                                               activateOverview();
+                                       }
+                                       else {
+                                               deactivateOverview();
+                                       }
+                               }
+
+                               event.preventDefault();
+
+                       }
+                       // There was only one touch point, look for a swipe
+                       else if( event.touches.length === 1 && touch.startCount !== 2 ) {
+
+                               var deltaX = currentX - touch.startX,
+                                       deltaY = currentY - touch.startY;
+
+                               if( deltaX > touch.threshold && Math.abs( deltaX ) > Math.abs( deltaY ) ) {
+                                       touch.handled = true;
+                                       navigateLeft();
+                               }
+                               else if( deltaX < -touch.threshold && Math.abs( deltaX ) > Math.abs( deltaY ) ) {
+                                       touch.handled = true;
+                                       navigateRight();
+                               }
+                               else if( deltaY > touch.threshold ) {
+                                       touch.handled = true;
+                                       navigateUp();
+                               }
+                               else if( deltaY < -touch.threshold ) {
+                                       touch.handled = true;
+                                       navigateDown();
+                               }
+
+                               event.preventDefault();
+
+                       }
+               }
+               // There's a bug with swiping on some Android devices unless
+               // the default action is always prevented
+               else if( navigator.userAgent.match( /android/gi ) ) {
+                       event.preventDefault();
+               }
+       }
+
+       /**
+        * Handler for the document level 'touchend' event.
+        */
+       function onDocumentTouchEnd( event ) {
+               touch.handled = false;
+       }
+
+       /**
+        * Handles mouse wheel scrolling, throttled to avoid skipping
+        * multiple slides.
+        */
+       function onDocumentMouseScroll( event ){
+               clearTimeout( mouseWheelTimeout );
+
+               mouseWheelTimeout = setTimeout( function() {
+                       var delta = event.detail || -event.wheelDelta;
+                       if( delta > 0 ) {
+                               navigateNext();
+                       }
+                       else {
+                               navigatePrev();
+                       }
+               }, 100 );
+       }
+
+       /**
+        * Clicking on the progress bar results in a navigation to the
+        * closest approximate horizontal slide using this equation:
+        *
+        * ( clickX / presentationWidth ) * numberOfSlides
+        */
+       function onProgressClick( event ) {
+               var slidesTotal = Array.prototype.slice.call( document.querySelectorAll( HORIZONTAL_SLIDES_SELECTOR ) ).length;
+               var slideIndex = Math.floor( ( event.clientX / dom.wrapper.offsetWidth ) * slidesTotal );
+
+               slide( slideIndex );
+       }
+
+       /**
+        * Handler for the window level 'hashchange' event.
+        *
+        * @param {Object} event
+        */
+       function onWindowHashChange( event ) {
+               readURL();
+       }
+
+       /**
+        * Invoked when a slide is and we're in the overview.
+        */
+       function onOverviewSlideClicked( event ) {
+               // TODO There's a bug here where the event listeners are not
+               // removed after deactivating the overview.
+               if( isOverviewActive() ) {
+                       event.preventDefault();
+
+                       deactivateOverview();
+
+                       indexh = this.getAttribute( 'data-index-h' );
+                       indexv = this.getAttribute( 'data-index-v' );
+
+                       slide();
+               }
+       }
+
+
+       // --------------------------------------------------------------------//
+       // ------------------------------- API --------------------------------//
+       // --------------------------------------------------------------------//
+
+
+       return {
+               initialize: initialize,
+
+               // Navigation methods
+               slide: slide,
+               left: navigateLeft,
+               right: navigateRight,
+               up: navigateUp,
+               down: navigateDown,
+               prev: navigatePrev,
+               next: navigateNext,
+               prevFragment: previousFragment,
+               nextFragment: nextFragment,
+
+               // Deprecated aliases
+               navigateTo: slide,
+               navigateLeft: navigateLeft,
+               navigateRight: navigateRight,
+               navigateUp: navigateUp,
+               navigateDown: navigateDown,
+               navigatePrev: navigatePrev,
+               navigateNext: navigateNext,
+
+               // Toggles the overview mode on/off
+               toggleOverview: toggleOverview,
+
+               // Adds or removes all internal event listeners (such as keyboard)
+               addEventListeners: addEventListeners,
+               removeEventListeners: removeEventListeners,
+
+               // Returns the indices of the current, or specified, slide
+               getIndices: getIndices,
+
+               // Returns the previous slide element, may be null
+               getPreviousSlide: function() {
+                       return previousSlide;
+               },
+
+               // Returns the current slide element
+               getCurrentSlide: function() {
+                       return currentSlide;
+               },
+
+               // Helper method, retrieves query string as a key/value hash
+               getQueryHash: function() {
+                       var query = {};
+
+                       location.search.replace( /[A-Z0-9]+?=(\w*)/gi, function(a) {
+                               query[ a.split( '=' ).shift() ] = a.split( '=' ).pop();
+                       } );
+
+                       return query;
+               },
+
+               // Forward event binding to the reveal DOM element
+               addEventListener: function( type, listener, useCapture ) {
+                       if( 'addEventListener' in window ) {
+                               ( dom.wrapper || document.querySelector( '.reveal' ) ).addEventListener( type, listener, useCapture );
+                       }
+               },
+               removeEventListener: function( type, listener, useCapture ) {
+                       if( 'addEventListener' in window ) {
+                               ( dom.wrapper || document.querySelector( '.reveal' ) ).removeEventListener( type, listener, useCapture );
+                       }
+               }
+       };
+
+})();
\ No newline at end of file
diff --git a/slides/reveal.js/js/reveal.min.js b/slides/reveal.js/js/reveal.min.js
new file mode 100644 (file)
index 0000000..e31d807
--- /dev/null
@@ -0,0 +1,83 @@
+/*!
+ * reveal.js 2.1 r37
+ * http://lab.hakim.se/reveal-js
+ * MIT licensed
+ *
+ * Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
+ */
+var Reveal=(function(){var l=".reveal .slides>section",b=".reveal .slides>section.present>section",R={controls:true,progress:true,history:false,keyboard:true,overview:true,loop:false,autoSlide:0,mouseWheel:true,rollingLinks:true,theme:null,transition:"default",dependencies:[]},Y=R.autoSlide,m=0,e=0,y,G,ak=[],f={},T="WebkitPerspective" in document.body.style||"MozPerspective" in document.body.style||"msPerspective" in document.body.style||"OPerspective" in document.body.style||"perspective" in document.body.style,n="WebkitTransform" in document.body.style||"MozTransform" in document.body.style||"msTransform" in document.body.style||"OTransform" in document.body.style||"transform" in document.body.style,z=0,k=0,D=0,ac={startX:0,startY:0,startSpan:0,startCount:0,handled:false,threshold:80};
+function i(al){if((!n&&!T)){document.body.setAttribute("class","no-transforms");return;}t(R,al);d();V();}function P(){f.theme=document.querySelector("#theme");
+f.wrapper=document.querySelector(".reveal");if(!f.wrapper.querySelector(".progress")&&R.progress){var ao=document.createElement("div");ao.classList.add("progress");
+ao.innerHTML="<span></span>";f.wrapper.appendChild(ao);}if(!f.wrapper.querySelector(".controls")&&R.controls){var an=document.createElement("aside");an.classList.add("controls");
+an.innerHTML='<div class="left"></div><div class="right"></div><div class="up"></div><div class="down"></div>';f.wrapper.appendChild(an);}if(!f.wrapper.querySelector(".state-background")){var am=document.createElement("div");
+am.classList.add("state-background");f.wrapper.appendChild(am);}if(!f.wrapper.querySelector(".pause-overlay")){var al=document.createElement("div");al.classList.add("pause-overlay");
+f.wrapper.appendChild(al);}f.progress=document.querySelector(".reveal .progress");f.progressbar=document.querySelector(".reveal .progress span");if(R.controls){f.controls=document.querySelector(".reveal .controls");
+f.controlsLeft=document.querySelector(".reveal .controls .left");f.controlsRight=document.querySelector(".reveal .controls .right");f.controlsUp=document.querySelector(".reveal .controls .up");
+f.controlsDown=document.querySelector(".reveal .controls .down");}}function d(){if(navigator.userAgent.match(/(iphone|ipod|android)/i)){document.documentElement.style.overflow="scroll";
+document.body.style.height="120%";window.addEventListener("load",ad,false);window.addEventListener("orientationchange",ad,false);}}function V(){var am=[],aq=[];
+for(var an=0,al=R.dependencies.length;an<al;an++){var ao=R.dependencies[an];if(!ao.condition||ao.condition()){if(ao.async){aq.push(ao.src);}else{am.push(ao.src);
+}if(typeof ao.callback==="function"){head.ready(ao.src.match(/([\w\d_\-]*)\.?[^\\\/]*$/i)[0],ao.callback);}}}function ap(){if(aq.length){head.js.apply(null,aq);
+}H();}if(am.length){head.ready(ap);head.js.apply(null,am);}else{ap();}}function H(){P();E();K();J();O();setTimeout(function(){r("ready",{indexh:m,indexv:e,currentSlide:G});
+},1);}function K(){if(T===false){R.transition="linear";}if(R.controls&&f.controls){f.controls.style.display="block";}if(R.progress&&f.progress){f.progress.style.display="block";
+}if(R.transition!=="default"){f.wrapper.classList.add(R.transition);}if(R.mouseWheel){document.addEventListener("DOMMouseScroll",o,false);document.addEventListener("mousewheel",o,false);
+}if(R.rollingLinks){N();}if(R.theme&&f.theme){var an=f.theme.getAttribute("href");var al=/[^\/]*?(?=\.css)/;var am=an.match(al)[0];if(R.theme!==am){an=an.replace(al,R.theme);
+f.theme.setAttribute("href",an);}}}function E(){document.addEventListener("touchstart",A,false);document.addEventListener("touchmove",af,false);document.addEventListener("touchend",W,false);
+window.addEventListener("hashchange",w,false);if(R.keyboard){document.addEventListener("keydown",ah,false);}if(R.progress&&f.progress){f.progress.addEventListener("click",q(ai),false);
+}if(R.controls&&f.controls){f.controlsLeft.addEventListener("click",q(B),false);f.controlsRight.addEventListener("click",q(j),false);f.controlsUp.addEventListener("click",q(u),false);
+f.controlsDown.addEventListener("click",q(F),false);}}function U(){document.removeEventListener("keydown",ah,false);document.removeEventListener("touchstart",A,false);
+document.removeEventListener("touchmove",af,false);document.removeEventListener("touchend",W,false);window.removeEventListener("hashchange",w,false);if(R.progress&&f.progress){f.progress.removeEventListener("click",q(ai),false);
+}if(R.controls&&f.controls){f.controlsLeft.removeEventListener("click",q(B),false);f.controlsRight.removeEventListener("click",q(j),false);f.controlsUp.removeEventListener("click",q(u),false);
+f.controlsDown.removeEventListener("click",q(F),false);}}function t(am,al){for(var an in al){am[an]=al[an];}}function S(an,al){var ao=an.x-al.x,am=an.y-al.y;
+return Math.sqrt(ao*ao+am*am);}function q(al){return function(am){am.preventDefault();al.call(null,am);};}function ad(){setTimeout(function(){window.scrollTo(0,1);
+},0);}function r(am,al){var an=document.createEvent("HTMLEvents",1,2);an.initEvent(am,true,true);t(an,al);f.wrapper.dispatchEvent(an);}function N(){if(T&&!("msPerspective" in document.body.style)){var am=document.querySelectorAll(".reveal .slides section a:not(.image)");
+for(var an=0,al=am.length;an<al;an++){var ao=am[an];if(ao.textContent&&!ao.querySelector("img")&&(!ao.className||!ao.classList.contains(ao,"roll"))){ao.classList.add("roll");
+ao.innerHTML='<span data-title="'+ao.text+'">'+ao.innerHTML+"</span>";}}}}function I(){if(R.overview){f.wrapper.classList.add("overview");var al=document.querySelectorAll(l);
+for(var aq=0,ao=al.length;aq<ao;aq++){var an=al[aq],av="translateZ(-2500px) translate("+((aq-m)*105)+"%, 0%)";an.setAttribute("data-index-h",aq);an.style.display="block";
+an.style.WebkitTransform=av;an.style.MozTransform=av;an.style.msTransform=av;an.style.OTransform=av;an.style.transform=av;if(!an.classList.contains("stack")){an.addEventListener("click",C,true);
+}var au=an.querySelectorAll("section");for(var ap=0,am=au.length;ap<am;ap++){var at=au[ap],ar="translate(0%, "+((ap-(aq===m?e:0))*105)+"%)";at.setAttribute("data-index-h",aq);
+at.setAttribute("data-index-v",ap);at.style.display="block";at.style.WebkitTransform=ar;at.style.MozTransform=ar;at.style.msTransform=ar;at.style.OTransform=ar;
+at.style.transform=ar;at.addEventListener("click",C,true);}}}}function ae(){if(R.overview){f.wrapper.classList.remove("overview");var ao=Array.prototype.slice.call(document.querySelectorAll(".reveal .slides section"));
+for(var an=0,al=ao.length;an<al;an++){var am=ao[an];am.style.WebkitTransform="";am.style.MozTransform="";am.style.msTransform="";am.style.OTransform="";
+am.style.transform="";am.removeEventListener("click",C);}a();}}function X(al){if(typeof al==="boolean"){al?I():ae();}else{L()?ae():I();}}function L(){return f.wrapper.classList.contains("overview");
+}function ab(){var al=document.body;var am=al.requestFullScreen||al.webkitRequestFullScreen||al.mozRequestFullScreen||al.msRequestFullScreen;if(am){am.apply(al);
+}}function c(){f.wrapper.classList.add("paused");}function p(){f.wrapper.classList.remove("paused");}function aa(){if(ag()){p();}else{c();}}function ag(){return f.wrapper.classList.contains("paused");
+}function a(ar,aw){y=G;var ao=ak.concat();ak.length=0;var av=m,am=e;m=aj(l,ar===undefined?m:ar);e=aj(b,aw===undefined?e:aw);stateLoop:for(var ap=0,at=ak.length;
+ap<at;ap++){for(var an=0;an<ao.length;an++){if(ao[an]===ak[ap]){ao.splice(an,1);continue stateLoop;}}document.documentElement.classList.add(ak[ap]);r(ak[ap]);
+}while(ao.length){document.documentElement.classList.remove(ao.pop());}if(R.progress&&f.progress){f.progressbar.style.width=(m/(document.querySelectorAll(l).length-1))*window.innerWidth+"px";
+}if(L()){I();}s();clearTimeout(D);D=setTimeout(h,1500);var al=document.querySelectorAll(l);var au=al[m],aq=au.querySelectorAll("section");G=aq[e]||au;if(m!==av||e!==am){r("slidechanged",{indexh:m,indexv:e,previousSlide:y,currentSlide:G});
+}else{y=null;}if(y){y.classList.remove("present");}}function aj(ao,au){var am=Array.prototype.slice.call(document.querySelectorAll(ao)),at=am.length;if(at){if(R.loop){au%=at;
+if(au<0){au=at+au;}}au=Math.max(Math.min(au,at-1),0);for(var aq=0;aq<at;aq++){var ar=am[aq];if(L()===false){var al=Math.abs((au-aq)%(at-3))||0;ar.style.display=al>3?"none":"block";
+}am[aq].classList.remove("past");am[aq].classList.remove("present");am[aq].classList.remove("future");if(aq<au){am[aq].classList.add("past");}else{if(aq>au){am[aq].classList.add("future");
+}}if(ar.querySelector("section")){am[aq].classList.add("stack");}}am[au].classList.add("present");var an=am[au].getAttribute("data-state");if(an){ak=ak.concat(an.split(" "));
+}var ap=am[au].getAttribute("data-autoslide");if(ap){Y=parseInt(ap);}else{Y=R.autoSlide;}}else{au=0;}return au;}function s(){if(R.controls&&f.controls){var al=g();
+[f.controlsLeft,f.controlsRight,f.controlsUp,f.controlsDown].forEach(function(am){am.classList.remove("enabled");});if(al.left){f.controlsLeft.classList.add("enabled");
+}if(al.right){f.controlsRight.classList.add("enabled");}if(al.up){f.controlsUp.classList.add("enabled");}if(al.down){f.controlsDown.classList.add("enabled");
+}}}function g(){var al=document.querySelectorAll(l),am=document.querySelectorAll(b);return{left:m>0,right:m<al.length-1,up:e>0,down:e<am.length-1};}function J(){var aq=window.location.hash;
+var ap=aq.slice(2).split("/"),am=aq.replace(/#|\//gi,"");if(isNaN(parseInt(ap[0],10))&&am.length){var an=document.querySelector("#"+am);if(an){var ar=Reveal.getIndices(an);
+a(ar.h,ar.v);}else{a(m,e);}}else{var ao=parseInt(ap[0],10)||0,al=parseInt(ap[1],10)||0;a(ao,al);}}function h(){if(R.history){var al="/";if(m>0||e>0){al+=m;
+}if(e>0){al+="/"+e;}window.location.hash=al;}}function M(al){var ap=m,an=e;if(al){var aq=!!al.parentNode.nodeName.match(/section/gi);var ao=aq?al.parentNode:al;
+var am=Array.prototype.slice.call(document.querySelectorAll(l));ap=Math.max(am.indexOf(ao),0);if(aq){an=Math.max(Array.prototype.slice.call(al.parentNode.children).indexOf(al),0);
+}}return{h:ap,v:an};}function v(){if(document.querySelector(b+".present")){var am=document.querySelectorAll(b+".present .fragment:not(.visible)");if(am.length){am[0].classList.add("visible");
+r("fragmentshown",{fragment:am[0]});return true;}}else{var al=document.querySelectorAll(l+".present .fragment:not(.visible)");if(al.length){al[0].classList.add("visible");
+r("fragmentshown",{fragment:al[0]});return true;}}return false;}function Q(){if(document.querySelector(b+".present")){var am=document.querySelectorAll(b+".present .fragment.visible");
+if(am.length){am[am.length-1].classList.remove("visible");r("fragmenthidden",{fragment:am[am.length-1]});return true;}}else{var al=document.querySelectorAll(l+".present .fragment.visible");
+if(al.length){al[al.length-1].classList.remove("visible");r("fragmenthidden",{fragment:al[al.length-1]});return true;}}return false;}function O(){clearTimeout(k);
+if(Y){k=setTimeout(x,Y);}}function B(){if(g().left&&(L()||Q()===false)){a(m-1,0);}}function j(){if(g().right&&(L()||v()===false)){a(m+1,0);}}function u(){if(g().up&&(L()||Q()===false)){a(m,e-1);
+}}function F(){if(g().down&&(L()||v()===false)){a(m,e+1);}}function Z(){if(Q()===false){if(g().up){u();}else{var al=document.querySelector(".reveal .slides>section.past:nth-child("+m+")");
+if(al){e=(al.querySelectorAll("section").length+1)||0;m--;a();}}}}function x(){if(v()===false){g().down?F():j();}O();}function ah(an){var am=document.activeElement;
+var ao=!!(document.activeElement&&(document.activeElement.type||document.activeElement.href||document.activeElement.contentEditable!=="inherit"));if(ao||an.shiftKey||an.altKey||an.ctrlKey||an.metaKey){return;
+}var al=true;switch(an.keyCode){case 80:case 33:Z();break;case 78:case 34:x();break;case 72:case 37:B();break;case 76:case 39:j();break;case 75:case 38:u();
+break;case 74:case 40:F();break;case 36:a(0);break;case 35:a(Number.MAX_VALUE);break;case 32:L()?ae():x();break;case 13:L()?ae():al=false;break;case 66:case 190:aa();
+break;case 70:ab();break;default:al=false;}if(al){an.preventDefault();}else{if(an.keyCode===27&&T){X();an.preventDefault();}}O();}function A(al){ac.startX=al.touches[0].clientX;
+ac.startY=al.touches[0].clientY;ac.startCount=al.touches.length;if(al.touches.length===2&&R.overview){ac.startSpan=S({x:al.touches[1].clientX,y:al.touches[1].clientY},{x:ac.startX,y:ac.startY});
+}}function af(aq){if(!ac.handled){var ao=aq.touches[0].clientX;var an=aq.touches[0].clientY;if(aq.touches.length===2&&ac.startCount===2&&R.overview){var ap=S({x:aq.touches[1].clientX,y:aq.touches[1].clientY},{x:ac.startX,y:ac.startY});
+if(Math.abs(ac.startSpan-ap)>ac.threshold){ac.handled=true;if(ap<ac.startSpan){I();}else{ae();}}aq.preventDefault();}else{if(aq.touches.length===1&&ac.startCount!==2){var am=ao-ac.startX,al=an-ac.startY;
+if(am>ac.threshold&&Math.abs(am)>Math.abs(al)){ac.handled=true;B();}else{if(am<-ac.threshold&&Math.abs(am)>Math.abs(al)){ac.handled=true;j();}else{if(al>ac.threshold){ac.handled=true;
+u();}else{if(al<-ac.threshold){ac.handled=true;F();}}}}aq.preventDefault();}}}else{if(navigator.userAgent.match(/android/gi)){aq.preventDefault();}}}function W(al){ac.handled=false;
+}function o(al){clearTimeout(z);z=setTimeout(function(){var am=al.detail||-al.wheelDelta;if(am>0){x();}else{Z();}},100);}function ai(am){var al=Array.prototype.slice.call(document.querySelectorAll(l)).length;
+var an=Math.floor((am.clientX/f.wrapper.offsetWidth)*al);a(an);}function w(al){J();}function C(al){if(L()){al.preventDefault();ae();m=this.getAttribute("data-index-h");
+e=this.getAttribute("data-index-v");a();}}return{initialize:i,slide:a,left:B,right:j,up:u,down:F,prev:Z,next:x,prevFragment:Q,nextFragment:v,navigateTo:a,navigateLeft:B,navigateRight:j,navigateUp:u,navigateDown:F,navigatePrev:Z,navigateNext:x,toggleOverview:X,addEventListeners:E,removeEventListeners:U,getIndices:M,getPreviousSlide:function(){return y;
+},getCurrentSlide:function(){return G;},getQueryHash:function(){var al={};location.search.replace(/[A-Z0-9]+?=(\w*)/gi,function(am){al[am.split("=").shift()]=am.split("=").pop();
+});return al;},addEventListener:function(am,an,al){if("addEventListener" in window){(f.wrapper||document.querySelector(".reveal")).addEventListener(am,an,al);
+}},removeEventListener:function(am,an,al){if("addEventListener" in window){(f.wrapper||document.querySelector(".reveal")).removeEventListener(am,an,al);
+}}};})();
\ No newline at end of file
diff --git a/slides/reveal.js/lib/css/zenburn.css b/slides/reveal.js/lib/css/zenburn.css
new file mode 100644 (file)
index 0000000..f4070ca
--- /dev/null
@@ -0,0 +1,115 @@
+/*
+
+Zenburn style from voldmar.ru (c) Vladimir Epifanov <voldmar@voldmar.ru>
+based on dark.css by Ivan Sagalaev
+
+*/
+
+pre code {
+  display: block; padding: 0.5em;
+  background: #3F3F3F;
+  color: #DCDCDC;
+}
+
+pre .keyword,
+pre .tag,
+pre .django .tag,
+pre .django .keyword,
+pre .css .class,
+pre .css .id,
+pre .lisp .title {
+  color: #E3CEAB;
+}
+
+pre .django .template_tag,
+pre .django .variable,
+pre .django .filter .argument {
+  color: #DCDCDC;
+}
+
+pre .number,
+pre .date {
+  color: #8CD0D3;
+}
+
+pre .dos .envvar,
+pre .dos .stream,
+pre .variable,
+pre .apache .sqbracket {
+  color: #EFDCBC;
+}
+
+pre .dos .flow,
+pre .diff .change,
+pre .python .exception,
+pre .python .built_in,
+pre .literal,
+pre .tex .special {
+  color: #EFEFAF;
+}
+
+pre .diff .chunk,
+pre .ruby .subst {
+  color: #8F8F8F;
+}
+
+pre .dos .keyword,
+pre .python .decorator,
+pre .class .title,
+pre .haskell .label,
+pre .function .title,
+pre .ini .title,
+pre .diff .header,
+pre .ruby .class .parent,
+pre .apache .tag,
+pre .nginx .built_in,
+pre .tex .command,
+pre .input_number {
+    color: #efef8f;
+}
+
+pre .dos .winutils,
+pre .ruby .symbol,
+pre .ruby .symbol .string,
+pre .ruby .symbol .keyword,
+pre .ruby .symbol .keymethods,
+pre .ruby .string,
+pre .ruby .instancevar {
+  color: #DCA3A3;
+}
+
+pre .diff .deletion,
+pre .string,
+pre .tag .value,
+pre .preprocessor,
+pre .built_in,
+pre .sql .aggregate,
+pre .javadoc,
+pre .smalltalk .class,
+pre .smalltalk .localvars,
+pre .smalltalk .array,
+pre .css .rules .value,
+pre .attr_selector,
+pre .pseudo,
+pre .apache .cbracket,
+pre .tex .formula {
+  color: #CC9393;
+}
+
+pre .shebang,
+pre .diff .addition,
+pre .comment,
+pre .java .annotation,
+pre .template_comment,
+pre .pi,
+pre .doctype {
+  color: #7F9F7F;
+}
+
+pre .xml .css,
+pre .xml .javascript,
+pre .xml .vbscript,
+pre .tex .formula {
+  opacity: 0.5;
+}
+
diff --git a/slides/reveal.js/lib/font/league_gothic-webfont.eot b/slides/reveal.js/lib/font/league_gothic-webfont.eot
new file mode 100755 (executable)
index 0000000..598dcbc
Binary files /dev/null and b/slides/reveal.js/lib/font/league_gothic-webfont.eot differ
diff --git a/slides/reveal.js/lib/font/league_gothic-webfont.svg b/slides/reveal.js/lib/font/league_gothic-webfont.svg
new file mode 100644 (file)
index 0000000..201cfe1
--- /dev/null
@@ -0,0 +1,230 @@
+<?xml version="1.0" standalone="no"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
+<svg xmlns="http://www.w3.org/2000/svg">
+<metadata></metadata>
+<defs>
+<font id="LeagueGothicRegular" horiz-adv-x="724" >
+<font-face units-per-em="2048" ascent="1505" descent="-543" />
+<missing-glyph horiz-adv-x="315" />
+<glyph horiz-adv-x="0" />
+<glyph horiz-adv-x="2048" />
+<glyph unicode="&#xd;" horiz-adv-x="682" />
+<glyph unicode=" "  horiz-adv-x="315" />
+<glyph unicode="&#x09;" horiz-adv-x="315" />
+<glyph unicode="&#xa0;" horiz-adv-x="315" />
+<glyph unicode="!" horiz-adv-x="387" d="M74 1505h239l-55 -1099h-129zM86 0v227h215v-227h-215z" />
+<glyph unicode="&#x22;" horiz-adv-x="329" d="M57 1505h215l-30 -551h-154z" />
+<glyph unicode="#" horiz-adv-x="1232" d="M49 438l27 195h198l37 258h-196l26 194h197l57 420h197l-57 -420h260l57 420h197l-58 -420h193l-27 -194h-192l-37 -258h190l-26 -195h-191l-59 -438h-197l60 438h-261l-59 -438h-197l60 438h-199zM471 633h260l37 258h-260z" />
+<glyph unicode="$" horiz-adv-x="692" d="M37 358l192 13q12 -186 129 -187q88 0 93 185q0 74 -61 175q-21 36 -34 53l-40 55q-28 38 -65.5 90t-70.5 101.5t-70.5 141.5t-37.5 170q4 293 215 342v131h123v-125q201 -23 235 -282l-192 -25q-14 129 -93 125q-80 -2 -84 -162q0 -102 94 -227l41 -59q30 -42 37 -52 t33 -48l37 -52q41 -57 68 -109l26 -55q43 -94 43 -186q-4 -338 -245 -369v-217h-123v221q-236 41 -250 352z" />
+<glyph unicode="%" horiz-adv-x="1001" d="M55 911v437q0 110 82 156q33 18 90.5 18t97.5 -44t44 -87l4 -43v-437q0 -107 -81 -157q-32 -19 -77 -19q-129 0 -156 135zM158 0l553 1505h131l-547 -1505h-137zM178 911q-4 -55 37 -55q16 0 25.5 14.5t9.5 26.5v451q2 55 -35 55q-18 0 -27.5 -13.5t-9.5 -27.5v-451z M631 158v436q0 108 81 156q33 20 79 20q125 0 153 -135l4 -41v-436q0 -110 -80 -156q-32 -18 -90.5 -18t-98.5 43t-44 88zM754 158q-4 -57 37 -58q37 0 34 58v436q2 55 -34 55q-18 0 -27.5 -13t-9.5 -28v-450z" />
+<glyph unicode="&#x26;" horiz-adv-x="854" d="M49 304q0 126 44 225.5t126 222.5q-106 225 -106 442v18q0 94 47 180q70 130 223 130q203 0 252 -215q14 -61 12 -113q0 -162 -205 -434q76 -174 148 -285q33 96 47 211l176 -33q-16 -213 -92 -358q55 -63 92 -76v-235q-23 0 -86 37.5t-123 101.5q-123 -139 -252 -139 t-216 97t-87 223zM263 325.5q1 -65.5 28.5 -107.5t78.5 -42t117 86q-88 139 -174 295q-18 -30 -34.5 -98t-15.5 -133.5zM305 1194q0 -111 55 -246q101 156 101 252q-2 2 0 15.5t-2 36t-11 42.5q-19 52 -61.5 52t-62 -38t-19.5 -75v-39z" />
+<glyph unicode="'" horiz-adv-x="309" d="M45 1012l72 266h-72v227h215v-227l-113 -266h-102z" />
+<glyph unicode="(" horiz-adv-x="561" d="M66 645q0 143 29.5 292.5t73.5 261.5q92 235 159 343l30 47l162 -84q-38 -53 -86.5 -148t-82.5 -189.5t-61.5 -238t-27.5 -284.5t26.5 -282.5t64.5 -240.5q80 -207 141 -296l26 -39l-162 -84q-41 61 -96 173t-94 217.5t-70.5 257t-31.5 294.5z" />
+<glyph unicode=")" horiz-adv-x="561" d="M41 -213q36 50 85.5 147t83.5 190t61.5 236.5t27.5 284.5t-26.5 282.5t-64.5 240.5q-78 205 -140 298l-27 39l162 84q41 -61 96 -173.5t94 -217t71 -257.5t32 -296t-30 -292.5t-74 -260.5q-92 -233 -159 -342l-30 -47z" />
+<glyph unicode="*" horiz-adv-x="677" d="M74 1251l43 148l164 -70l-19 176h154l-19 -176l164 70l43 -148l-172 -34l115 -138l-131 -80l-78 152l-76 -152l-131 80l115 138z" />
+<glyph unicode="+" horiz-adv-x="1060" d="M74 649v172h370v346h172v-346h371v-172h-371v-346h-172v346h-370z" />
+<glyph unicode="," horiz-adv-x="309" d="M45 0v227h215v-227l-113 -266h-102l72 266h-72z" />
+<glyph unicode="-" horiz-adv-x="444" d="M74 455v194h297v-194h-297z" />
+<glyph unicode="." horiz-adv-x="321" d="M53 0v227h215v-227h-215z" />
+<glyph unicode="/" horiz-adv-x="720" d="M8 -147l543 1652h162l-537 -1652h-168z" />
+<glyph unicode="0" d="M68 309v887q0 42 17 106t45 107t88.5 78t144 35t144 -34t88.5 -81q55 -93 60 -178l2 -33v-887q0 -42 -17 -106t-45 -107t-88.5 -77.5t-144 -34.5t-144 33.5t-88.5 81.5q-55 94 -60 175zM289 309q0 -46 19.5 -78t54 -32t53 27.5t18.5 56.5l2 26v887q0 46 -19.5 78.5 t-54 32.5t-53 -28t-18.5 -54l-2 -29v-887z" />
+<glyph unicode="1" horiz-adv-x="475" d="M25 1180v141q129 25 205 130q16 21 30 54h133v-1505h-221v1180h-147z" />
+<glyph unicode="2" horiz-adv-x="731" d="M55 0v219l39 62q25 39 88.5 152.5t112.5 220t91 241.5t44 238q0 184 -73.5 184t-73.5 -184v-105h-222v105q0 389 295 389t295 -375q0 -336 -346 -928h350v-219h-600z" />
+<glyph unicode="3" horiz-adv-x="686" d="M45 1071q0 249 63 343q29 42 84.5 75t134.5 33t136 -31t84.5 -71t44.5 -92q22 -71 22 -130q0 -291 -108 -399q127 -100 127 -414q0 -68 -19.5 -145.5t-47 -128t-85 -89t-136.5 -38.5t-135 31.5t-86 75.5t-48 113q-23 91 -23 230h217q2 -150 17.5 -203t59.5 -53t56.5 50.5 t12.5 104.5t1 102t0 63q-6 82 -14 95l-18 33q-12 22 -29 29q-55 22 -108 25h-19v184q133 7 156 73q12 34 12 91v105q0 146 -29 177q-16 17 -40 17q-41 0 -52.5 -49t-13.5 -207h-217z" />
+<glyph unicode="4" horiz-adv-x="684" d="M25 328v194l323 983h221v-983h103v-194h-103v-328h-202v328h-342zM213 522h154v516h-13z" />
+<glyph unicode="5" horiz-adv-x="704" d="M74 438h221v-59q0 -115 14.5 -159t52 -44t53 45t15.5 156v336q0 111 -70 110q-33 0 -59.5 -40t-26.5 -70h-186v792h535v-219h-344v-313q74 55 127 51q78 0 133 -40t77 -100q35 -98 35 -171v-336q0 -393 -289 -393q-78 0 -133 29.5t-84.5 71.5t-46.5 109q-24 98 -24 244z " />
+<glyph unicode="6" horiz-adv-x="700" d="M66 309v856q0 356 288.5 356.5t288.5 -356.5v-94h-221q0 162 -11.5 210t-53.5 48t-56 -37t-14 -127v-268q59 37 124.5 37t119 -36t75.5 -93q37 -92 37 -189v-307q0 -90 -42 -187q-26 -61 -89 -99.5t-157.5 -38.5t-158 38.5t-88.5 99.5q-42 98 -42 187zM287 244 q0 -20 17.5 -44t49 -24t50 24.5t18.5 43.5v450q0 18 -18.5 43t-49 25t-48 -20.5t-19.5 -41.5v-456z" />
+<glyph unicode="7" horiz-adv-x="589" d="M8 1286v219h557v-221l-221 -1284h-229l225 1286h-332z" />
+<glyph unicode="8" horiz-adv-x="696" d="M53 322v176q0 188 115 297q-102 102 -102 276v127q0 213 147 293q57 31 135 31t135.5 -31t84 -71t42.5 -93q21 -66 21 -129v-127q0 -174 -103 -276q115 -109 115 -297v-176q0 -222 -153 -306q-60 -32 -142 -32t-141.5 32.5t-88 73.5t-44.5 96q-21 69 -21 136zM269 422 q1 -139 16.5 -187.5t57.5 -48.5t59.5 30t21.5 71t4 158t-13.5 174t-66.5 57t-66.5 -57.5t-12.5 -196.5zM284 1116q-1 -123 11 -173t53 -50t53.5 50t12.5 170t-12.5 167t-51.5 47t-52 -44t-14 -167z" />
+<glyph unicode="9" horiz-adv-x="700" d="M57 340v94h222q0 -162 11 -210t53 -48t56.5 37t14.5 127v283q-59 -37 -125 -37t-119 35.5t-76 92.5q-37 96 -37 189v293q0 87 43 188q25 60 88.5 99t157.5 39t157.5 -39t88.5 -99q43 -101 43 -188v-856q0 -356 -289 -356t-289 356zM279 825q0 -18 18 -42.5t49 -24.5 t48.5 20.5t19.5 40.5v443q0 20 -17.5 43.5t-49.5 23.5t-50 -24.5t-18 -42.5v-437z" />
+<glyph unicode=":" horiz-adv-x="362" d="M74 0v227h215v-227h-215zM74 893v227h215v-227h-215z" />
+<glyph unicode=";" horiz-adv-x="362" d="M74 0v227h215v-227l-113 -266h-102l71 266h-71zM74 893v227h215v-227h-215z" />
+<glyph unicode="&#x3c;" horiz-adv-x="1058" d="M74 649v160l911 475v-199l-698 -356l698 -356v-199z" />
+<glyph unicode="=" horiz-adv-x="1058" d="M74 477v172h911v-172h-911zM74 864v172h911v-172h-911z" />
+<glyph unicode="&#x3e;" horiz-adv-x="1058" d="M74 174v199l698 356l-698 356v199l911 -475v-160z" />
+<glyph unicode="?" horiz-adv-x="645" d="M25 1260q24 67 78 131q105 128 235 122q82 -2 138 -33.5t82 -81.5q46 -88 46 -170.5t-80 -219.5l-57 -96q-18 -32 -42 -106.5t-24 -143.5v-256h-190v256q0 102 24.5 195t48 140t65.5 118t50 105t-9 67.5t-60 34.5t-78 -48t-49 -98zM199 0h215v227h-215v-227z" />
+<glyph unicode="@" horiz-adv-x="872" d="M66 303v889q0 97 73 200q39 56 117 93t184.5 37t184 -37t116.5 -93q74 -105 74 -200v-793h-164l-20 56q-14 -28 -46 -48t-67 -20q-145 0 -145 172v485q0 170 145 170q71 0 113 -67v45q0 51 -45 104.5t-145.5 53.5t-145.5 -53.5t-45 -104.5v-889q0 -53 44 -103t153.5 -50 t160.5 63l152 -86q-109 -143 -320 -143q-106 0 -184 35.5t-117 90.5q-73 102 -73 193zM535 573q0 -53 48 -53t48 53v455q0 53 -48 53t-48 -53v-455z" />
+<glyph unicode="A" horiz-adv-x="765" d="M20 0l228 1505h270l227 -1505h-215l-41 307h-213l-40 -307h-216zM307 541h152l-64 475l-6 39h-12z" />
+<glyph unicode="B" horiz-adv-x="745" d="M82 0v1505h194q205 0 304.5 -91t99.5 -308q0 -106 -29.5 -175t-107.5 -136q14 -5 47 -38.5t54 -71.5q52 -97 52 -259q0 -414 -342 -426h-272zM303 219q74 0 109 31q55 56 55 211t-63 195q-42 26 -93 26h-8v-463zM303 885q87 0 119 39q45 55 45 138t-14.5 124t-30.5 60.5 t-45 28.5q-35 11 -74 11v-401z" />
+<glyph unicode="C" horiz-adv-x="708" d="M68 309v887q0 42 17 106t45 107t88.5 78t144 35t144 -34t88.5 -81q55 -93 60 -178l2 -33v-207h-206v207q-2 0 0 11.5t-3.5 27.5t-12.5 33q-17 39 -68 39q-70 -10 -78 -111v-887q0 -43 21.5 -76.5t59.5 -33.5t59.5 27.5t21.5 56.5v233h206v-207q0 -42 -17 -106t-45 -107 t-88.5 -77.5t-144 -34.5t-144 33.5t-88.5 81.5q-55 94 -60 175z" />
+<glyph unicode="D" horiz-adv-x="761" d="M82 0v1505h174q270 0 346 -113q31 -46 50.5 -95.5t28.5 -139.5t12 -177t3 -228.5t-3 -228.5t-12 -176t-28.5 -138t-50.5 -95t-80 -68q-106 -46 -266 -46h-174zM303 221q117 0 140.5 78t23.5 399v111q0 322 -23.5 398.5t-140.5 76.5v-1063z" />
+<glyph unicode="E" horiz-adv-x="628" d="M82 0v1505h506v-227h-285v-395h205v-242h-205v-414h285v-227h-506z" />
+<glyph unicode="F" horiz-adv-x="616" d="M82 0v1505h526v-227h-305v-395h205v-228h-205v-655h-221z" />
+<glyph unicode="G" horiz-adv-x="737" d="M67 271.5q0 26.5 1 37.5v887q0 42 17 106t45 107t88.5 78t144 35t144 -34t88.5 -81q55 -93 60 -178l2 -33v-231h-221v231q0 46 -19.5 78.5t-54 32.5t-53 -28t-18.5 -54l-2 -29v-905q0 -46 19.5 -78.5t54 -32.5t53 28t18.5 54l2 29v272h-88v187h309v-750h-131l-26 72 q-70 -88 -172 -88q-203 0 -250 213q-11 48 -11 74.5z" />
+<glyph unicode="H" horiz-adv-x="778" d="M82 0v1505h221v-622h172v622h221v-1505h-221v655h-172v-655h-221z" />
+<glyph unicode="I" horiz-adv-x="385" d="M82 0v1505h221v-1505h-221z" />
+<glyph unicode="J" horiz-adv-x="423" d="M12 -14v217q4 0 12.5 -1t29 2t35.5 12t28.5 34.5t13.5 62.5v1192h221v-1226q0 -137 -74 -216q-74 -78 -223 -78h-4q-19 0 -39 1z" />
+<glyph unicode="K" horiz-adv-x="768" d="M82 0v1505h221v-526h8l195 526h215l-203 -495l230 -1010h-216l-153 655l-6 31h-6l-64 -154v-532h-221z" />
+<glyph unicode="L" horiz-adv-x="604" d="M82 0v1505h221v-1300h293v-205h-514z" />
+<glyph unicode="M" horiz-adv-x="991" d="M82 0v1505h270l131 -688l11 -80h4l10 80l131 688h270v-1505h-204v1010h-13l-149 -1010h-94l-142 946l-8 64h-12v-1010h-205z" />
+<glyph unicode="N" horiz-adv-x="808" d="M82 0v1505h197l215 -784l18 -70h12v854h203v-1505h-197l-215 784l-18 70h-12v-854h-203z" />
+<glyph unicode="O" d="M68 309v887q0 42 17 106t45 107t88.5 78t144 35t144 -34t88.5 -81q55 -93 60 -178l2 -33v-887q0 -42 -17 -106t-45 -107t-88.5 -77.5t-144 -34.5t-144 33.5t-88.5 81.5q-55 94 -60 175zM289 309q0 -46 19.5 -78t54 -32t53 27.5t18.5 56.5l2 26v887q0 46 -19.5 78.5 t-54 32.5t-53 -28t-18.5 -54l-2 -29v-887z" />
+<glyph unicode="P" horiz-adv-x="720" d="M82 0v1505h221q166 0 277.5 -105.5t111.5 -345t-111.5 -346t-277.5 -106.5v-602h-221zM303 827q102 0 134 45.5t32 175.5t-33 181t-133 51v-453z" />
+<glyph unicode="Q" horiz-adv-x="729" d="M68 309v887q0 42 17 106t45 107t88.5 78t144 35t144 -34t88.5 -81q55 -93 60 -178l2 -33v-887q0 -94 -45 -182q33 -43 88 -53v-189q-160 0 -227 117q-55 -18 -125 -18t-130 33.5t-88 81.5q-55 94 -60 175zM289 309q0 -46 19.5 -78t54 -32t53 27.5t18.5 56.5l2 26v887 q0 46 -19.5 78.5t-54 32.5t-53 -28t-18.5 -54l-2 -29v-887z" />
+<glyph unicode="R" horiz-adv-x="739" d="M82 0v1505h221q377 0 377 -434q0 -258 -123 -342l141 -729h-221l-115 635h-59v-635h-221zM303 840q117 0 149 98q15 49 15 125t-15.5 125t-45.5 68q-44 30 -103 30v-446z" />
+<glyph unicode="S" horiz-adv-x="702" d="M37 422l217 20q0 -256 104 -256q90 0 91 166q0 59 -32 117.5t-45 79.5l-54 79q-40 58 -77 113t-73.5 117t-68 148.5t-31.5 162.5q0 139 71.5 245t216.5 108h10q88 0 152 -36t94 -100q54 -120 54 -264l-217 -20q0 217 -89 217q-75 -2 -75 -146q0 -59 23 -105 q32 -66 58 -104l197 -296q31 -49 67 -139.5t36 -166.5q0 -378 -306 -378h-2q-229 0 -290 188q-31 99 -31 250z" />
+<glyph unicode="T" horiz-adv-x="647" d="M4 1278v227h639v-227h-209v-1278h-221v1278h-209z" />
+<glyph unicode="U" horiz-adv-x="749" d="M80 309v1196h221v-1196q0 -46 19.5 -78t54.5 -32t53 27.5t18 56.5l3 26v1196h221v-1196q0 -42 -17.5 -106t-45 -107t-88 -77.5t-144.5 -34.5t-144.5 33.5t-88.5 81.5q-55 97 -60 175z" />
+<glyph unicode="V" horiz-adv-x="716" d="M18 1505h215l111 -827l8 -64h13l118 891h215l-229 -1505h-221z" />
+<glyph unicode="W" horiz-adv-x="1036" d="M25 1505h204l88 -782l5 -49h16l100 831h160l100 -831h17l92 831h205l-203 -1505h-172l-115 801h-8l-115 -801h-172z" />
+<glyph unicode="X" horiz-adv-x="737" d="M16 0l244 791l-240 714h218l120 -381l7 -18h8l127 399h217l-240 -714l244 -791h-217l-127 449l-4 18h-8l-132 -467h-217z" />
+<glyph unicode="Y" horiz-adv-x="700" d="M14 1505h217l111 -481l6 -14h4l6 14l111 481h217l-225 -864v-641h-221v641z" />
+<glyph unicode="Z" horiz-adv-x="626" d="M20 0v238l347 1048h-297v219h536v-219l-352 -1067h352v-219h-586z" />
+<glyph unicode="[" horiz-adv-x="538" d="M82 -213v1718h399v-196h-202v-1325h202v-197h-399z" />
+<glyph unicode="\" horiz-adv-x="792" d="M8 1692h162l614 -1872h-168z" />
+<glyph unicode="]" horiz-adv-x="538" d="M57 -16h203v1325h-203v196h400v-1718h-400v197z" />
+<glyph unicode="^" horiz-adv-x="1101" d="M53 809l381 696h234l381 -696h-199l-299 543l-299 -543h-199z" />
+<glyph unicode="_" horiz-adv-x="1210" d="M74 -154h1063v-172h-1063v172z" />
+<glyph unicode="`" horiz-adv-x="1024" d="M293 1489h215l106 -184h-159z" />
+<glyph unicode="a" horiz-adv-x="681" d="M49 235q0 131 34 212t83 124t98 73t88 50.5t43 36.5v123q0 102 -57 102q-41 0 -50 -42t-9 -84v-39h-207v47q0 123 80.5 211t190 88t184.5 -74t75 -180v-688q0 -109 14 -195h-202q-18 20 -19 90h-14q-20 -37 -65.5 -71.5t-102.5 -34.5t-110.5 60t-53.5 191zM252 291 q0 -104 57 -105q35 0 60.5 19.5t25.5 48.5v287q-143 -62 -143 -250z" />
+<glyph unicode="b" horiz-adv-x="686" d="M82 0v1505h207v-458q88 90 165 90t117.5 -69t40.5 -150v-715q0 -82 -41 -150.5t-118 -68.5q-33 0 -74 22.5t-66 44.5l-24 23v-74h-207zM289 246q0 -29 19.5 -48.5t42 -19.5t39 19.5t16.5 48.5v628q0 29 -16.5 48.5t-39 19.5t-42 -21.5t-19.5 -46.5v-628z" />
+<glyph unicode="c" horiz-adv-x="645" d="M66 315v490q0 332 264 332q137 0 201.5 -71t64.5 -251v-88h-207v135q0 51 -12 70.5t-47 19.5q-58 0 -58 -90v-604q0 -90 58 -90q35 0 47 19.5t12 70.5v156h207v-109q0 -180 -64.5 -250.5t-201.5 -70.5q-264 0 -264 331z" />
+<glyph unicode="d" horiz-adv-x="686" d="M74 203v715q0 82 41 150.5t118 68.5q33 0 74 -22.5t66 -45.5l24 -22v458h207v-1505h-207v74q-88 -90 -165 -90t-117.5 68.5t-40.5 150.5zM281 246q0 -29 16 -48.5t38.5 -19.5t42 19.5t19.5 48.5v628q0 25 -19.5 46.5t-42 21.5t-38.5 -19.5t-16 -48.5v-628z" />
+<glyph unicode="e" horiz-adv-x="659" d="M66 279v563q0 36 16 94.5t42 97.5t81 71t129 32q199 0 252 -197q14 -51 14 -92v-326h-342v-256q0 -59 39 -88q16 -12 37 -12q70 10 74 113v122h192v-129q0 -37 -16.5 -93t-41 -95t-79.5 -69.5t-130 -30.5t-130.5 30.5t-80.5 73.5q-49 87 -54 160zM258 684h150v158 q0 48 -19.5 81t-53.5 33t-53.5 -28.5t-21.5 -57.5l-2 -28v-158z" />
+<glyph unicode="f" horiz-adv-x="475" d="M20 934v186h105v31q0 190 51 270q23 35 71 63.5t115 28.5l97 -14v-178q-27 8 -62 8q-65 0 -65 -175v-5v-29h104v-186h-104v-934h-207v934h-105z" />
+<glyph unicode="g" horiz-adv-x="700" d="M12 -184q0 94 162 170q-125 35 -125 149q0 45 40 93t89 75q-51 35 -80.5 95.5t-34.5 105.5l-4 43v305q0 35 16.5 91t41 94t79 69t126.5 31q135 0 206 -103q102 102 170 103v-185q-72 0 -120 -24l10 -70v-317q0 -37 -17.5 -90.5t-42 -90t-79 -66.5t-104.5 -30t-62 2 q-29 -25 -29 -46t11 -33.5t42 -20.5t45.5 -10t65.5 -10.5t95 -21.5t89 -41q96 -60 96 -205t-103 -212q-100 -65 -250 -65h-9q-156 2 -240 50t-84 165zM213 -150q0 -77 132 -77h3q59 0 108.5 19t49.5 54t-20.5 52.5t-90.5 29.5l-106 21q-76 -43 -76 -99zM262 509 q0 -17 15.5 -45t44.5 -28q63 6 63 101v307q-2 0 0 10q1 3 1 7q0 8 -3 19q-4 15 -9 30q-11 36 -46 36t-50.5 -25.5t-15.5 -52.5v-359z" />
+<glyph unicode="h" horiz-adv-x="690" d="M82 0v1505h207v-479l32 32q79 79 145.5 79t106 -69t39.5 -150v-918h-206v887q-1 49 -50 49q-41 0 -67 -53v-883h-207z" />
+<glyph unicode="i" horiz-adv-x="370" d="M82 0v1120h207v-1120h-207zM82 1298v207h207v-207h-207z" />
+<glyph unicode="j" horiz-adv-x="364" d="M-45 -182q29 -8 57 -8q64 0 64 142v1168h207v-1149q0 -186 -51 -266q-23 -35 -71 -62.5t-115 -27.5t-91 12v191zM76 1298v207h207v-207h-207z" />
+<glyph unicode="k" horiz-adv-x="641" d="M82 0v1505h207v-714h10l113 329h186l-149 -364l188 -756h-199l-102 453l-4 16h-10l-33 -82v-387h-207z" />
+<glyph unicode="l" horiz-adv-x="370" d="M82 0v1505h207v-1505h-207z" />
+<glyph unicode="m" horiz-adv-x="1021" d="M82 0v1120h207v-94q2 0 33 30q80 81 139 81q100 0 139 -125q125 125 194.5 125t109.5 -69t40 -150v-918h-194v887q-1 49 -56 49q-41 0 -78 -53v-883h-194v887q0 49 -55 49q-41 0 -78 -53v-883h-207z" />
+<glyph unicode="n" horiz-adv-x="690" d="M82 0v1120h207v-94l32 32q79 79 145.5 79t106 -69t39.5 -150v-918h-206v887q-1 49 -50 49q-41 0 -67 -53v-883h-207z" />
+<glyph unicode="o" horiz-adv-x="657" d="M63 279v563q0 40 15.5 96.5t40 95.5t80 71t129.5 32q199 0 252 -197q14 -51 14 -92v-576q0 -102 -56 -188q-26 -39 -80.5 -69.5t-129 -30.5t-130 30.5t-80.5 73.5q-52 92 -52 160zM257 259q0 -17 9 -44q18 -49 62 -49q70 10 71 113v563l1 19q0 19 -10 45q-18 50 -62 50 q-68 -10 -70 -114v-563q1 -1 1 -4z" />
+<glyph unicode="p" horiz-adv-x="686" d="M82 -385v1505h207v-73q88 90 165 90t117.5 -69t40.5 -150v-715q0 -82 -41 -150.5t-118 -68.5q-33 0 -74 22.5t-66 44.5l-24 23v-459h-207zM289 246q0 -25 19.5 -46.5t42 -21.5t39 19.5t16.5 48.5v628q0 29 -16.5 48.5t-39 19.5t-42 -19.5t-19.5 -48.5v-628z" />
+<glyph unicode="q" horiz-adv-x="686" d="M74 203v715q0 82 41 150.5t118 68.5q33 0 74 -22.5t66 -45.5l24 -22v73h207v-1505h-207v459q-88 -90 -165 -90t-117.5 68.5t-40.5 150.5zM281 246q0 -29 16 -48.5t38.5 -19.5t42 21.5t19.5 46.5v628q0 29 -19.5 48.5t-42 19.5t-38.5 -19.5t-16 -48.5v-628z" />
+<glyph unicode="r" horiz-adv-x="503" d="M82 0v1120h207v-125q8 41 58.5 91.5t148.5 50.5v-230q-34 11 -77 11t-86.5 -39t-43.5 -101v-778h-207z" />
+<glyph unicode="s" horiz-adv-x="630" d="M37 326h192q0 -170 97 -170q71 0 71 131q0 78 -129 202q-68 66 -98.5 99t-64 101.5t-33.5 134t12 114.5t39 95q59 100 201 104h11q161 0 211 -105q42 -86 42 -198h-193q0 131 -67 131q-63 -2 -64 -131q0 -33 23.5 -73t45 -62.5t66.5 -65.5q190 -182 191 -342 q0 -123 -64.5 -215t-199.5 -92q-197 0 -260 170q-29 76 -29 172z" />
+<glyph unicode="t" horiz-adv-x="501" d="M20 934v186h105v277h207v-277h141v-186h-141v-557q0 -184 65 -184l76 8v-203q-45 -14 -112 -14t-114.5 28.5t-70 64.5t-34.5 96q-17 79 -17 187v574h-105z" />
+<glyph unicode="u" horiz-adv-x="690" d="M78 203v917h207v-887q0 -49 49 -49q41 0 67 54v882h207v-1120h-207v94l-31 -32q-78 -78 -145.5 -78t-107 68.5t-39.5 150.5z" />
+<glyph unicode="v" horiz-adv-x="602" d="M16 1120h201l68 -649l8 -72h16l76 721h201l-183 -1120h-204z" />
+<glyph unicode="w" horiz-adv-x="905" d="M20 1120h189l65 -585l9 -64h12l96 649h123l86 -585l10 -64h13l73 649h189l-166 -1120h-172l-80 535l-10 63h-8l-91 -598h-172z" />
+<glyph unicode="x" horiz-adv-x="618" d="M16 0l193 578l-176 542h194l74 -262l6 -31h4l6 31l74 262h195l-176 -542l192 -578h-201l-84 283l-6 30h-4l-6 -30l-84 -283h-201z" />
+<glyph unicode="y" horiz-adv-x="634" d="M25 1120h202l82 -688l4 -57h9l4 57l82 688h202l-198 -1204q-16 -127 -94 -222t-193 -95l-92 4v184q16 -4 49 -4q61 6 97 61.5t36 122.5z" />
+<glyph unicode="z" horiz-adv-x="532" d="M12 0v168l285 764h-240v188h459v-168l-285 -764h285v-188h-504z" />
+<glyph unicode="{" horiz-adv-x="688" d="M61 453v163q72 0 102 49.5t30 90.5v397q0 223 96 298t342 71v-172q-135 2 -188.5 -38t-53.5 -159v-397q0 -143 -127 -221q127 -82 127 -222v-397q0 -119 53.5 -159t188.5 -38v-172q-246 -4 -342 71t-96 298v397q0 57 -41 97.5t-91 42.5z" />
+<glyph unicode="|" horiz-adv-x="356" d="M82 -512v2204h192v-2204h-192z" />
+<glyph unicode="}" horiz-adv-x="688" d="M57 -281q135 -2 188.5 38t53.5 159v397q0 139 127 222q-127 78 -127 221v397q0 119 -53 159t-189 38v172q246 4 342.5 -71t96.5 -298v-397q0 -63 41 -101.5t90 -38.5v-163q-72 -4 -101.5 -52.5t-29.5 -87.5v-397q0 -223 -96.5 -298t-342.5 -71v172z" />
+<glyph unicode="~" horiz-adv-x="1280" d="M113 1352q35 106 115 200q34 41 94.5 74t121 33t116.5 -18.5t82 -33t83 -51.5q106 -72 174 -71q109 0 178 153l13 29l135 -57q-63 -189 -206 -276q-56 -34 -120 -34q-121 0 -272 101q-115 74 -178.5 74t-113.5 -45.5t-69 -90.5l-18 -45z" />
+<glyph unicode="&#xa1;" horiz-adv-x="387" d="M74 -385l55 1100h129l55 -1100h-239zM86 893v227h215v-227h-215z" />
+<glyph unicode="&#xa2;" horiz-adv-x="636" d="M66 508v489q0 297 208 328v242h123v-244q98 -16 144.5 -88t46.5 -227v-88h-189v135q0 90 -72.5 90t-72.5 -90v-604q0 -90 72 -91q74 0 73 91v155h189v-108q0 -156 -46 -228.5t-145 -89.5v-303h-123v301q-209 31 -208 330z" />
+<glyph unicode="&#xa3;" horiz-adv-x="817" d="M4 63q8 20 23.5 53.5t70 91.5t117.5 68q37 111 37 189t-31 184h-188v137h147l-6 21q-78 254 -78 333t15.5 140t48.5 116q72 122 231 126q190 4 267 -126q65 -108 65 -276h-213q0 201 -115 197q-47 -2 -68.5 -51t-21.5 -139.5t70 -315.5l6 -25h211v-137h-174 q25 -100 24.5 -189t-57.5 -204q16 -8 44 -24q59 -35 89 -35q74 4 82 190l188 -22q-12 -182 -81.5 -281.5t-169.5 -99.5q-51 0 -143.5 51t-127.5 51t-63.5 -25.5t-40.5 -52.5l-12 -24z" />
+<glyph unicode="&#xa5;" horiz-adv-x="720" d="M25 1505h217l110 -481l6 -14h4l7 14l110 481h217l-196 -753h147v-138h-176v-137h176v-137h-176v-340h-221v340h-176v137h176v137h-176v138h147z" />
+<glyph unicode="&#xa8;" horiz-adv-x="1024" d="M272 1305v200h191v-200h-191zM561 1305v200h191v-200h-191z" />
+<glyph unicode="&#xa9;" horiz-adv-x="1644" d="M53 751.5q0 317.5 225.5 544t543 226.5t543.5 -226.5t226 -544t-226 -542.5t-543.5 -225t-543 225t-225.5 542.5zM172 751.5q0 -266.5 191.5 -458t457.5 -191.5t459 191.5t193 459t-191.5 459t-459 191.5t-459 -192.5t-191.5 -459zM627 487v531q0 122 97 174q40 22 95 22 q147 0 182 -147l7 -49v-125h-138v142q0 11 -12 28.5t-37 17.5q-47 -2 -49 -63v-531q0 -63 49 -63q53 2 49 63v125h138v-125q0 -68 -40 -127q-18 -26 -57 -47.5t-108.5 -21.5t-117.5 49t-54 98z" />
+<glyph unicode="&#xaa;" horiz-adv-x="681" d="M49 235q0 131 34 212t83 124t98 73t88 50.5t43 36.5v123q0 102 -57 102q-41 0 -50 -42t-9 -84v-39h-207v47q0 123 80.5 211t190 88t184.5 -74t75 -180v-688q0 -109 14 -195h-202q-18 20 -19 90h-14q-20 -37 -65.5 -71.5t-102.5 -34.5t-110.5 60t-53.5 191zM252 291 q0 -104 57 -105q35 0 60.5 19.5t25.5 48.5v287q-143 -62 -143 -250z" />
+<glyph unicode="&#xad;" horiz-adv-x="444" d="M74 455v194h297v-194h-297z" />
+<glyph unicode="&#xae;" horiz-adv-x="1644" d="M53 751.5q0 317.5 225.5 544t543 226.5t543.5 -226.5t226 -544t-226 -542.5t-543.5 -225t-543 225t-225.5 542.5zM172 751.5q0 -266.5 191.5 -458t457.5 -191.5t459 191.5t193 459t-191.5 459t-459 191.5t-459 -192.5t-191.5 -459zM625 313v879h196q231 0 232 -258 q0 -76 -16.5 -125t-71.5 -96l106 -400h-151l-95 365h-55v-365h-145zM770 805h45q43 0 65.5 21.5t27.5 45t5 61.5t-5 62.5t-27.5 46t-65.5 21.5h-45v-258z" />
+<glyph unicode="&#xaf;" horiz-adv-x="1024" d="M313 1315v162h398v-162h-398z" />
+<glyph unicode="&#xb2;" horiz-adv-x="731" d="M55 0v219l39 62q25 39 88.5 152.5t112.5 220t91 241.5t44 238q0 184 -73.5 184t-73.5 -184v-105h-222v105q0 389 295 389t295 -375q0 -336 -346 -928h350v-219h-600z" />
+<glyph unicode="&#xb3;" horiz-adv-x="686" d="M45 1071q0 249 63 343q29 42 84.5 75t134.5 33t136 -31t84.5 -71t44.5 -92q22 -71 22 -130q0 -291 -108 -399q127 -100 127 -414q0 -68 -19.5 -145.5t-47 -128t-85 -89t-136.5 -38.5t-135 31.5t-86 75.5t-48 113q-23 91 -23 230h217q2 -150 17.5 -203t59.5 -53t56.5 50.5 t12.5 104.5t1 102t0 63q-6 82 -14 95l-18 33q-12 22 -29 29q-55 22 -108 25h-19v184q133 7 156 73q12 34 12 91v105q0 146 -29 177q-16 17 -40 17q-41 0 -52.5 -49t-13.5 -207h-217z" />
+<glyph unicode="&#xb4;" horiz-adv-x="1024" d="M410 1305l106 184h215l-162 -184h-159z" />
+<glyph unicode="&#xb7;" horiz-adv-x="215" d="M0 649v228h215v-228h-215z" />
+<glyph unicode="&#xb8;" horiz-adv-x="1024" d="M426 -111h172v-141l-45 -133h-104l40 133h-63v141z" />
+<glyph unicode="&#xb9;" horiz-adv-x="475" d="M25 1180v141q129 25 205 130q16 21 30 54h133v-1505h-221v1180h-147z" />
+<glyph unicode="&#xba;" horiz-adv-x="657" d="M63 279v563q0 40 15.5 96.5t40 95.5t80 71t129.5 32q199 0 252 -197q14 -51 14 -92v-576q0 -102 -56 -188q-26 -39 -80.5 -69.5t-129 -30.5t-130 30.5t-80.5 73.5q-52 92 -52 160zM257 259q0 -17 9 -44q18 -49 62 -49q70 10 71 113v563l1 19q0 19 -10 45q-18 50 -62 50 q-68 -10 -70 -114v-563q1 -1 1 -4z" />
+<glyph unicode="&#xbf;" horiz-adv-x="645" d="M41 -106q0 82 80 219l57 95q18 32 42 106.5t24 144.5v256h190v-256q0 -102 -24.5 -195.5t-48 -140.5t-65.5 -118t-50 -104.5t9 -67.5t60 -35t78 48.5t49 98.5l179 -84q-24 -66 -78 -132q-104 -126 -236 -122q-163 4 -220 115q-46 90 -46 172zM231 893v227h215v-227h-215z " />
+<glyph unicode="&#xc0;" horiz-adv-x="765" d="M20 0l228 1505h270l227 -1505h-215l-41 307h-213l-40 -307h-216zM141 1823h215l107 -185h-160zM307 541h152l-64 475l-6 39h-12z" />
+<glyph unicode="&#xc1;" horiz-adv-x="765" d="M20 0l228 1505h270l227 -1505h-215l-41 307h-213l-40 -307h-216zM293 1638l106 185h215l-161 -185h-160zM307 541h152l-64 475l-6 39h-12z" />
+<glyph unicode="&#xc2;" horiz-adv-x="765" d="M20 0l228 1505h270l227 -1505h-215l-41 307h-213l-40 -307h-216zM133 1638l141 185h220l141 -185h-189l-63 72l-61 -72h-189zM307 541h152l-64 475l-6 39h-12z" />
+<glyph unicode="&#xc3;" horiz-adv-x="765" d="M20 0l228 1505h270l227 -1505h-215l-41 307h-213l-40 -307h-216zM184 1632v152q49 39 95.5 39t104.5 -18.5t100.5 -19.5t97.5 32v-152q-51 -39 -95.5 -39t-102.5 19.5t-98 19.5t-102 -33zM307 541h152l-64 475l-6 39h-12z" />
+<glyph unicode="&#xc4;" horiz-adv-x="765" d="M20 0l228 1505h270l227 -1505h-215l-41 307h-213l-40 -307h-216zM143 1638v201h191v-201h-191zM307 541h152l-64 475l-6 39h-12zM432 1638v201h191v-201h-191z" />
+<glyph unicode="&#xc5;" horiz-adv-x="765" d="M20 0l228 1505h270l227 -1505h-215l-41 307h-213l-40 -307h-216zM231 1761.5q0 61.5 45.5 102.5t109 41t107.5 -41t44 -102.5t-44 -102.5t-107.5 -41t-109 41t-45.5 102.5zM307 541h152l-64 475l-6 39h-12zM309 1761.5q0 -28.5 23.5 -50t52.5 -21.5t52.5 21.5t23.5 50 t-23.5 50t-52.5 21.5t-52.5 -21.5t-23.5 -50z" />
+<glyph unicode="&#xc6;" horiz-adv-x="1099" d="M16 0l420 1505h623v-227h-285v-395h205v-242h-205v-414h285v-227h-506v307h-227l-90 -307h-220zM393 541h160v514h-10z" />
+<glyph unicode="&#xc7;" horiz-adv-x="708" d="M68 309v887q0 42 17 106t45 107t88.5 78t144 35t144 -34t88.5 -81q55 -93 60 -178l2 -33v-207h-206v207q-2 0 0 11.5t-3.5 27.5t-12.5 33q-17 39 -68 39q-70 -10 -78 -111v-887q0 -43 21.5 -76.5t59.5 -33.5t59.5 27.5t21.5 56.5v233h206v-207q0 -42 -17 -106t-45 -107 t-88.5 -77.5t-144 -34.5t-144 33.5t-88.5 81.5q-55 94 -60 175zM268 -111v-141h64l-41 -133h104l45 133v141h-172z" />
+<glyph unicode="&#xc8;" horiz-adv-x="628" d="M82 0v1505h506v-227h-285v-395h205v-242h-205v-414h285v-227h-506zM111 1823h215l106 -185h-160z" />
+<glyph unicode="&#xc9;" horiz-adv-x="628" d="M82 0v1505h506v-227h-285v-395h205v-242h-205v-414h285v-227h-506zM236 1638l106 185h215l-162 -185h-159z" />
+<glyph unicode="&#xca;" horiz-adv-x="628" d="M82 0v1505h506v-227h-285v-395h205v-242h-205v-414h285v-227h-506zM84 1638l141 185h219l142 -185h-189l-63 72l-62 -72h-188z" />
+<glyph unicode="&#xcb;" horiz-adv-x="628" d="M82 0v1505h506v-227h-285v-395h205v-242h-205v-414h285v-227h-506zM94 1638v201h191v-201h-191zM383 1638v201h190v-201h-190z" />
+<glyph unicode="&#xcc;" horiz-adv-x="401" d="M-6 1823h215l106 -185h-159zM98 0v1505h221v-1505h-221z" />
+<glyph unicode="&#xcd;" horiz-adv-x="401" d="M82 0v1505h221v-1505h-221zM86 1638l107 185h215l-162 -185h-160z" />
+<glyph unicode="&#xce;" horiz-adv-x="370" d="M-66 1638l142 185h219l141 -185h-188l-64 72l-61 -72h-189zM74 0v1505h221v-1505h-221z" />
+<glyph unicode="&#xcf;" horiz-adv-x="372" d="M-53 1638v201h190v-201h-190zM76 0v1505h221v-1505h-221zM236 1638v201h190v-201h-190z" />
+<glyph unicode="&#xd0;" horiz-adv-x="761" d="M20 655v228h62v622h174q270 0 346 -113q31 -46 50.5 -95.5t28.5 -139.5t12 -177t3 -228.5t-3 -228.5t-12 -176t-28.5 -138t-50.5 -95t-80 -68q-106 -46 -266 -46h-174v655h-62zM303 221q117 0 141.5 81t22.5 452q2 371 -22.5 450.5t-141.5 79.5v-401h84v-228h-84v-434z " />
+<glyph unicode="&#xd1;" horiz-adv-x="808" d="M82 0v1505h197l215 -784l18 -70h12v854h203v-1505h-197l-215 784l-18 70h-12v-854h-203zM207 1632v152q49 39 95 39t104.5 -18.5t102.5 -19.5t95 32v-152q-51 -39 -95 -39t-102.5 19.5t-100 19.5t-99.5 -33z" />
+<glyph unicode="&#xd2;" d="M68 309v887q0 42 17 106t45 107t88.5 78t144 35t144 -34t88.5 -81q55 -93 60 -178l2 -33v-887q0 -42 -17 -106t-45 -107t-88.5 -77.5t-144 -34.5t-144 33.5t-88.5 81.5q-55 94 -60 175zM121 1823h215l106 -185h-159zM289 309q0 -46 19.5 -78t54 -32t53 27.5t18.5 56.5 l2 26v887q0 46 -19.5 78.5t-54 32.5t-53 -28t-18.5 -54l-2 -29v-887z" />
+<glyph unicode="&#xd3;" d="M68 309v887q0 42 17 106t45 107t88.5 78t144 35t144 -34t88.5 -81q55 -93 60 -178l2 -33v-887q0 -42 -17 -106t-45 -107t-88.5 -77.5t-144 -34.5t-144 33.5t-88.5 81.5q-55 94 -60 175zM285 1638l106 185h215l-162 -185h-159zM289 309q0 -46 19.5 -78t54 -32t53 27.5 t18.5 56.5l2 26v887q0 46 -19.5 78.5t-54 32.5t-53 -28t-18.5 -54l-2 -29v-887z" />
+<glyph unicode="&#xd4;" d="M68 309v887q0 42 17 106t45 107t88.5 78t144 35t144 -34t88.5 -81q55 -93 60 -178l2 -33v-887q0 -42 -17 -106t-45 -107t-88.5 -77.5t-144 -34.5t-144 33.5t-88.5 81.5q-55 94 -60 175zM113 1638l141 185h219l141 -185h-188l-64 72l-61 -72h-188zM289 309q0 -46 19.5 -78 t54 -32t53 27.5t18.5 56.5l2 26v887q0 46 -19.5 78.5t-54 32.5t-53 -28t-18.5 -54l-2 -29v-887z" />
+<glyph unicode="&#xd5;" d="M68 309v887q0 42 17 106t45 107t88.5 78t144 35t144 -34t88.5 -81q55 -93 60 -178l2 -33v-887q0 -42 -17 -106t-45 -107t-88.5 -77.5t-144 -34.5t-144 33.5t-88.5 81.5q-55 94 -60 175zM164 1632v152q49 39 95 39t104.5 -18.5t102.5 -19.5t95 32v-152q-51 -39 -95 -39 t-102.5 19.5t-100 19.5t-99.5 -33zM289 309q0 -46 19.5 -78t54 -32t53 27.5t18.5 56.5l2 26v887q0 46 -19.5 78.5t-54 32.5t-53 -28t-18.5 -54l-2 -29v-887z" />
+<glyph unicode="&#xd6;" d="M68 309v887q0 42 17 106t45 107t88.5 78t144 35t144 -34t88.5 -81q55 -93 60 -178l2 -33v-887q0 -42 -17 -106t-45 -107t-88.5 -77.5t-144 -34.5t-144 33.5t-88.5 81.5q-55 94 -60 175zM123 1638v201h190v-201h-190zM289 309q0 -46 19.5 -78t54 -32t53 27.5t18.5 56.5 l2 26v887q0 46 -19.5 78.5t-54 32.5t-53 -28t-18.5 -54l-2 -29v-887zM412 1638v201h190v-201h-190z" />
+<glyph unicode="&#xd8;" d="M59 -20l47 157q-36 74 -36 148l-2 24v887q0 42 17 106t45 107t88.5 78t148 35t153.5 -43l15 47h122l-45 -150q43 -84 43 -155l2 -25v-887q0 -42 -17 -106t-45 -107t-88.5 -77.5t-150.5 -34.5t-153 43l-15 -47h-129zM289 309q0 -46 19.5 -78t54 -32t53 27.5t18.5 56.5 l2 26v488zM289 727l147 479q-8 100 -74 101q-35 0 -53 -28t-18 -54l-2 -29v-469z" />
+<glyph unicode="&#xd9;" horiz-adv-x="749" d="M80 309q0 -42 17.5 -106t45 -107t88 -77.5t144.5 -34.5t144.5 33.5t88.5 81.5q55 97 60 175l2 35v1196h-221v-1196q0 -44 -19.5 -77t-54.5 -33t-53.5 27.5t-18.5 56.5l-2 26v1196h-221v-1196zM145 1823h215l107 -185h-160z" />
+<glyph unicode="&#xda;" horiz-adv-x="749" d="M80 309q0 -42 17.5 -106t45 -107t88 -77.5t144.5 -34.5t144.5 33.5t88.5 81.5q55 97 60 175l2 35v1196h-221v-1196q0 -44 -19.5 -77t-54.5 -33t-53.5 27.5t-18.5 56.5l-2 26v1196h-221v-1196zM307 1638l107 185h215l-162 -185h-160z" />
+<glyph unicode="&#xdb;" horiz-adv-x="749" d="M80 309q0 -42 17.5 -106t45 -107t88 -77.5t144.5 -34.5t144.5 33.5t88.5 81.5q55 97 60 175l2 35v1196h-221v-1196q0 -44 -19.5 -77t-54.5 -33t-53.5 27.5t-18.5 56.5l-2 26v1196h-221v-1196zM125 1638l141 185h219l142 -185h-189l-63 72l-62 -72h-188z" />
+<glyph unicode="&#xdc;" horiz-adv-x="749" d="M80 309v1196h221v-1196q0 -46 19.5 -78t54.5 -32t53 27.5t18 56.5l3 26v1196h221v-1196q0 -42 -17.5 -106t-45 -107t-88 -77.5t-144.5 -34.5t-144.5 33.5t-88.5 81.5q-55 97 -60 175zM135 1638v201h191v-201h-191zM424 1638v201h190v-201h-190z" />
+<glyph unicode="&#xdd;" horiz-adv-x="704" d="M16 1505l226 -864v-641h221v641l225 864h-217l-111 -481l-6 -14h-4l-6 14l-111 481h-217zM254 1638l106 185h215l-161 -185h-160z" />
+<glyph unicode="&#xde;" d="M82 0v1505h219v-241h2q166 0 277.5 -105.5t111.5 -345.5t-111.5 -346.5t-277.5 -106.5v-360h-221zM303 586q102 0 134 45t32 175t-33 181t-133 51v-452z" />
+<glyph unicode="&#xdf;" horiz-adv-x="733" d="M66 0v1235q0 123 70.5 205t206.5 82t204.5 -81t68.5 -197t-88 -181q152 -88 152 -488q0 -362 -87 -475q-46 -59 -102.5 -79.5t-144.5 -20.5v193q45 0 70 25q57 57 57 357q0 316 -57 377q-25 27 -70 27v141q35 0 60.5 33t25.5 84q0 100 -86 100q-74 0 -74 -102v-1235h-206 z" />
+<glyph unicode="&#xe0;" horiz-adv-x="681" d="M49 235q0 131 34 212t83 124t98 73t88 50.5t43 36.5v123q0 102 -57 102q-41 0 -50 -42t-9 -84v-39h-207v47q0 123 80.5 211t190 88t184.5 -74t75 -180v-688q0 -109 14 -195h-202q-18 20 -19 90h-14q-20 -37 -65.5 -71.5t-102.5 -34.5t-110.5 60t-53.5 191zM102 1489h215 l107 -184h-160zM252 291q0 -104 57 -105q35 0 60.5 19.5t25.5 48.5v287q-143 -62 -143 -250z" />
+<glyph unicode="&#xe1;" horiz-adv-x="681" d="M49 235q0 131 34 212t83 124t98 73t88 50.5t43 36.5v123q0 102 -57 102q-41 0 -50 -42t-9 -84v-39h-207v47q0 123 80.5 211t190 88t184.5 -74t75 -180v-688q0 -109 14 -195h-202q-18 20 -19 90h-14q-20 -37 -65.5 -71.5t-102.5 -34.5t-110.5 60t-53.5 191zM252 291 q0 -104 57 -105q35 0 60.5 19.5t25.5 48.5v287q-143 -62 -143 -250zM264 1305l107 184h215l-162 -184h-160z" />
+<glyph unicode="&#xe2;" horiz-adv-x="681" d="M49 235q0 131 34 212t83 124t98 73t88 50.5t43 36.5v123q0 102 -57 102q-41 0 -50 -42t-9 -84v-39h-207v47q0 123 80.5 211t190 88t184.5 -74t75 -180v-688q0 -109 14 -195h-202q-18 20 -19 90h-14q-20 -37 -65.5 -71.5t-102.5 -34.5t-110.5 60t-53.5 191zM90 1305 l141 184h220l141 -184h-189l-63 71l-61 -71h-189zM252 291q0 -104 57 -105q35 0 60.5 19.5t25.5 48.5v287q-143 -62 -143 -250z" />
+<glyph unicode="&#xe3;" horiz-adv-x="681" d="M49 235q0 131 34 212t83 124t98 73t88 50.5t43 36.5v123q0 102 -57 102q-41 0 -50 -42t-9 -84v-39h-207v47q0 123 80.5 211t190 88t184.5 -74t75 -180v-688q0 -109 14 -195h-202q-18 20 -19 90h-14q-20 -37 -65.5 -71.5t-102.5 -34.5t-110.5 60t-53.5 191zM143 1305v151 q49 39 95.5 39t104.5 -18.5t97 -19.5t101 32v-152q-51 -39 -95.5 -39t-102.5 19.5t-99 19.5t-101 -32zM252 291q0 -104 57 -105q35 0 60.5 19.5t25.5 48.5v287q-143 -62 -143 -250z" />
+<glyph unicode="&#xe4;" horiz-adv-x="681" d="M49 235q0 131 34 212t83 124t98 73t88 50.5t43 36.5v123q0 102 -57 102q-41 0 -50 -42t-9 -84v-39h-207v47q0 123 80.5 211t190 88t184.5 -74t75 -180v-688q0 -109 14 -195h-202q-18 20 -19 90h-14q-20 -37 -65.5 -71.5t-102.5 -34.5t-110.5 60t-53.5 191zM102 1305v200 h191v-200h-191zM252 291q0 -104 57 -105q35 0 60.5 19.5t25.5 48.5v287q-143 -62 -143 -250zM391 1305v200h191v-200h-191z" />
+<glyph unicode="&#xe5;" horiz-adv-x="681" d="M49 235q0 131 34 212t83 124t98 73t88 50.5t43 36.5v123q0 102 -57 102q-41 0 -50 -42t-9 -84v-39h-207v47q0 123 80.5 211t190 88t184.5 -74t75 -180v-688q0 -109 14 -195h-202q-18 20 -19 90h-14q-20 -37 -65.5 -71.5t-102.5 -34.5t-110.5 60t-53.5 191zM188 1421.5 q0 61.5 45.5 102.5t109 41t107.5 -41t44 -102.5t-44 -102.5t-107.5 -41t-109 41t-45.5 102.5zM252 291q0 -104 57 -105q35 0 60.5 19.5t25.5 48.5v287q-143 -62 -143 -250zM266 1421.5q0 -28.5 23.5 -50t52.5 -21.5t52.5 21.5t23.5 50t-23.5 50t-52.5 21.5t-52.5 -21.5 t-23.5 -50z" />
+<glyph unicode="&#xe6;" horiz-adv-x="989" d="M49 235q0 131 34 212t83 124t98 73t88 50.5t43 36.5v123q0 102 -57 102q-41 0 -50 -42t-9 -84v-39h-207v47q0 123 80.5 211t197.5 88q84 0 152 -52q66 51 162 52q199 0 251 -197q14 -51 15 -92v-326h-342v-256q0 -60 38 -88q17 -12 38 -12q70 10 73 113v122h193v-129 q0 -37 -16.5 -93t-41 -95t-80 -69.5t-130.5 -30.5q-158 0 -226 131q-102 -131 -221 -131q-59 0 -112.5 60t-53.5 191zM252 291q0 -104 57 -105q35 0 60.5 19.5t25.5 48.5v287q-143 -62 -143 -250zM588 684h149v158q0 48 -19.5 81t-53 33t-53 -28.5t-21.5 -57.5l-2 -28v-158z " />
+<glyph unicode="&#xe7;" horiz-adv-x="645" d="M66 315v490q0 332 264 332q137 0 201.5 -71t64.5 -251v-88h-207v135q0 51 -12 70.5t-47 19.5q-58 0 -58 -90v-604q0 -90 58 -90q35 0 47 19.5t12 70.5v156h207v-109q0 -180 -64.5 -250.5t-201.5 -70.5q-264 0 -264 331zM238 -111v-141h63l-41 -133h105l45 133v141h-172z " />
+<glyph unicode="&#xe8;" horiz-adv-x="659" d="M66 279v563q0 36 16 94.5t42 97.5t81 71t129 32q199 0 252 -197q14 -51 14 -92v-326h-342v-256q0 -59 39 -88q16 -12 37 -12q70 10 74 113v122h192v-129q0 -37 -16.5 -93t-41 -95t-79.5 -69.5t-130 -30.5t-130.5 30.5t-80.5 73.5q-49 87 -54 160zM102 1489h215l107 -184 h-160zM258 684h150v158q0 48 -19.5 81t-53.5 33t-53.5 -28.5t-21.5 -57.5l-2 -28v-158z" />
+<glyph unicode="&#xe9;" horiz-adv-x="659" d="M66 279v563q0 36 16 94.5t42 97.5t81 71t129 32q199 0 252 -197q14 -51 14 -92v-326h-342v-256q0 -59 39 -88q16 -12 37 -12q70 10 74 113v122h192v-129q0 -37 -16.5 -93t-41 -95t-79.5 -69.5t-130 -30.5t-130.5 30.5t-80.5 73.5q-49 87 -54 160zM258 684h150v158 q0 48 -19.5 81t-53.5 33t-53.5 -28.5t-21.5 -57.5l-2 -28v-158zM264 1305l107 184h215l-162 -184h-160z" />
+<glyph unicode="&#xea;" horiz-adv-x="659" d="M66 279v563q0 36 16 94.5t42 97.5t81 71t129 32q199 0 252 -197q14 -51 14 -92v-326h-342v-256q0 -59 39 -88q16 -12 37 -12q70 10 74 113v122h192v-129q0 -37 -16.5 -93t-41 -95t-79.5 -69.5t-130 -30.5t-130.5 30.5t-80.5 73.5q-49 87 -54 160zM80 1305l141 184h219 l142 -184h-189l-63 71l-62 -71h-188zM258 684h150v158q0 48 -19.5 81t-53.5 33t-53.5 -28.5t-21.5 -57.5l-2 -28v-158z" />
+<glyph unicode="&#xeb;" horiz-adv-x="659" d="M66 279v563q0 36 16 94.5t42 97.5t81 71t129 32q199 0 252 -197q14 -51 14 -92v-326h-342v-256q0 -59 39 -88q16 -12 37 -12q70 10 74 113v122h192v-129q0 -37 -16.5 -93t-41 -95t-79.5 -69.5t-130 -30.5t-130.5 30.5t-80.5 73.5q-49 87 -54 160zM90 1305v200h191v-200 h-191zM258 684h150v158q0 48 -19.5 81t-53.5 33t-53.5 -28.5t-21.5 -57.5l-2 -28v-158zM379 1305v200h190v-200h-190z" />
+<glyph unicode="&#xec;" horiz-adv-x="370" d="M-33 1489h215l107 -184h-160zM82 0h207v1120h-207v-1120z" />
+<glyph unicode="&#xed;" horiz-adv-x="370" d="M82 0h207v1120h-207v-1120zM82 1305l106 184h215l-161 -184h-160z" />
+<glyph unicode="&#xee;" horiz-adv-x="370" d="M-66 1305l142 184h219l141 -184h-188l-64 71l-61 -71h-189zM82 0h207v1120h-207v-1120z" />
+<glyph unicode="&#xef;" horiz-adv-x="372" d="M-53 1305v200h190v-200h-190zM82 0v1120h207v-1120h-207zM236 1305v200h190v-200h-190z" />
+<glyph unicode="&#xf0;" horiz-adv-x="673" d="M76 279v579q0 279 172 279q63 0 155 -78q-12 109 -51 203l-82 -72l-55 63l100 88l-45 66l109 100q25 -27 53 -61l94 82l56 -66l-101 -88q125 -201 125 -446v-656q0 -102 -56 -188q-26 -39 -80 -69.5t-129 -30.5t-130 30.5t-80 73.5q-53 91 -53 160zM270 267.5 q-2 -11.5 2 -29t10 -34.5q16 -38 58 -38q70 10 72 113v563q-2 0 0 11t-2 28.5t-10 34.5q-16 40 -60 40q-68 -10 -70 -114v-563q2 0 0 -11.5z" />
+<glyph unicode="&#xf1;" horiz-adv-x="690" d="M82 0v1120h207v-94l32 32q79 79 145.5 79t106 -69t39.5 -150v-918h-206v887q-1 49 -50 49q-41 0 -67 -53v-883h-207zM147 1305v151q49 39 95.5 39t105 -18.5t97 -19.5t100.5 32v-152q-51 -39 -95.5 -39t-102.5 19.5t-99 19.5t-101 -32z" />
+<glyph unicode="&#xf2;" horiz-adv-x="657" d="M63 279v563q0 40 15.5 96.5t40 95.5t80 71t129.5 32q199 0 252 -197q14 -51 14 -92v-576q0 -102 -56 -188q-26 -39 -80.5 -69.5t-129 -30.5t-130 30.5t-80.5 73.5q-52 92 -52 160zM98 1489h215l107 -184h-160zM258 267.5q-2 -11.5 2 -29t10 -34.5q14 -38 58 -38 q70 10 71 113v563q-2 0 0 11t-2 28.5t-10 34.5q-15 40 -59 40q-68 -10 -70 -114v-563q2 0 0 -11.5z" />
+<glyph unicode="&#xf3;" horiz-adv-x="657" d="M63 279v563q0 40 15.5 96.5t40 95.5t80 71t129.5 32q199 0 252 -197q14 -51 14 -92v-576q0 -102 -56 -188q-26 -39 -80.5 -69.5t-129 -30.5t-130 30.5t-80.5 73.5q-52 92 -52 160zM258 267.5q-2 -11.5 2 -29t10 -34.5q14 -38 58 -38q70 10 71 113v563q-2 0 0 11t-2 28.5 t-10 34.5q-15 40 -59 40q-68 -10 -70 -114v-563q2 0 0 -11.5zM260 1305l107 184h215l-162 -184h-160z" />
+<glyph unicode="&#xf4;" horiz-adv-x="657" d="M63 279v563q0 40 15.5 96.5t40 95.5t80 71t129.5 32q199 0 252 -197q14 -51 14 -92v-576q0 -102 -56 -188q-26 -39 -80.5 -69.5t-129 -30.5t-130 30.5t-80.5 73.5q-52 92 -52 160zM78 1305l141 184h219l142 -184h-189l-63 71l-62 -71h-188zM258 267.5q-2 -11.5 2 -29 t10 -34.5q14 -38 58 -38q70 10 71 113v563q-2 0 0 11t-2 28.5t-10 34.5q-15 40 -59 40q-68 -10 -70 -114v-563q2 0 0 -11.5z" />
+<glyph unicode="&#xf5;" horiz-adv-x="657" d="M63 279v563q0 40 15.5 96.5t40 95.5t80 71t129.5 32q199 0 252 -197q14 -51 14 -92v-576q0 -102 -56 -188q-26 -39 -80.5 -69.5t-129 -30.5t-130 30.5t-80.5 73.5q-52 92 -52 160zM131 1305v151q49 39 95.5 39t104.5 -18.5t98.5 -19.5t98.5 32v-152q-51 -39 -95 -39 t-102 19.5t-101 19.5t-99 -32zM258 267.5q-2 -11.5 2 -29t10 -34.5q14 -38 58 -38q70 10 71 113v563q-2 0 0 11t-2 28.5t-10 34.5q-15 40 -59 40q-68 -10 -70 -114v-563q2 0 0 -11.5z" />
+<glyph unicode="&#xf6;" horiz-adv-x="657" d="M63 279v563q0 40 15.5 96.5t40 95.5t80 71t129.5 32q199 0 252 -197q14 -51 14 -92v-576q0 -102 -56 -188q-26 -39 -80.5 -69.5t-129 -30.5t-130 30.5t-80.5 73.5q-52 92 -52 160zM90 1305v200h191v-200h-191zM258 267.5q-2 -11.5 2 -29t10 -34.5q14 -38 58 -38 q70 10 71 113v563q-2 0 0 11t-2 28.5t-10 34.5q-15 40 -59 40q-68 -10 -70 -114v-563q2 0 0 -11.5zM379 1305v200h190v-200h-190z" />
+<glyph unicode="&#xf8;" horiz-adv-x="657" d="M63 279v563q0 40 15.5 96.5t40 95.5t80 71t118 32t117.5 -19l21 80h75l-30 -121q88 -84 94 -229v-576q0 -102 -56 -188q-26 -39 -80.5 -69.5t-120.5 -30.5t-112 16l-20 -78h-80l31 121q-41 39 -64.5 97.5t-25.5 97.5zM258 436l125 486q-18 35 -55 34q-68 -10 -70 -114 v-406zM274 197q17 -31 54 -31q70 10 71 113v403z" />
+<glyph unicode="&#xf9;" horiz-adv-x="690" d="M78 203v917h207v-887q0 -49 49 -49q41 0 67 54v882h207v-1120h-207v94l-31 -32q-78 -78 -145.5 -78t-107 68.5t-39.5 150.5zM113 1489h215l106 -184h-160z" />
+<glyph unicode="&#xfa;" horiz-adv-x="690" d="M78 203v917h207v-887q0 -49 49 -49q41 0 67 54v882h207v-1120h-207v94l-31 -32q-78 -78 -145.5 -78t-107 68.5t-39.5 150.5zM274 1305l107 184h215l-162 -184h-160z" />
+<glyph unicode="&#xfb;" horiz-adv-x="690" d="M78 203v917h207v-887q0 -49 49 -49q41 0 67 54v882h207v-1120h-207v94l-31 -32q-78 -78 -145.5 -78t-107 68.5t-39.5 150.5zM94 1305l142 184h219l141 -184h-188l-64 71l-61 -71h-189z" />
+<glyph unicode="&#xfc;" horiz-adv-x="690" d="M78 203v917h207v-887q0 -49 49 -49q41 0 67 54v882h207v-1120h-207v94l-31 -32q-78 -78 -145.5 -78t-107 68.5t-39.5 150.5zM106 1305v200h191v-200h-191zM395 1305v200h191v-200h-191z" />
+<glyph unicode="&#xfd;" horiz-adv-x="634" d="M25 1120l190 -1153q0 -68 -36 -123t-97 -61l-49 4v-184q70 -4 92 -4q115 0 192.5 95t94.5 222l198 1204h-202l-82 -688l-4 -57h-9l-4 57l-82 688h-202zM231 1305l107 184h215l-162 -184h-160z" />
+<glyph unicode="&#xfe;" horiz-adv-x="686" d="M82 -385v1890h207v-458q88 90 165 90t117.5 -69t40.5 -150v-715q0 -82 -41 -150.5t-118 -68.5q-33 0 -74 22.5t-66 44.5l-24 23v-459h-207zM289 246q0 -25 19.5 -46.5t42 -21.5t39 19.5t16.5 48.5v628q0 29 -16.5 48.5t-39 19.5t-42 -19.5t-19.5 -48.5v-628z" />
+<glyph unicode="&#xff;" horiz-adv-x="634" d="M25 1120h202l82 -688l4 -57h9l4 57l82 688h202l-198 -1204q-16 -127 -94 -222t-193 -95l-92 4v184q16 -4 49 -4q61 6 97 61.5t36 122.5zM78 1305v200h190v-200h-190zM367 1305v200h190v-200h-190z" />
+<glyph unicode="&#x152;" horiz-adv-x="983" d="M68 309v887q0 41 17 101.5t45 100.5t88.5 73.5t143.5 33.5h580v-227h-285v-395h205v-242h-205v-414h285v-227h-580q-84 0 -144 31.5t-88 78.5q-55 91 -60 169zM289 309q0 -46 19.5 -78t54 -32t53 27.5t18.5 56.5l2 26v901q-6 96 -74 97q-35 0 -53 -28t-18 -54l-2 -29 v-887z" />
+<glyph unicode="&#x153;" horiz-adv-x="995" d="M63 279v563q0 40 15.5 96.5t40 95.5t80 71t145.5 32t156 -60q66 59 170 60q199 0 252 -197q14 -51 14 -92v-326h-342v-250q0 -46 22.5 -76t53.5 -30q70 10 73 113v122h193v-129q0 -37 -16.5 -93t-41 -95t-80 -69.5t-146 -30.5t-154.5 57q-68 -57 -156 -57t-143.5 30.5 t-80.5 73.5q-52 92 -52 160zM258 267.5q-2 -11.5 2 -29t10 -34.5q14 -38 58 -38q70 10 71 113v563q-2 0 0 11t-2 28.5t-10 34.5q-15 40 -59 40q-68 -10 -70 -114v-563q2 0 0 -11.5zM594 684h149v158q0 48 -19 81t-58 33t-55.5 -37.5t-16.5 -70.5v-164z" />
+<glyph unicode="&#x178;" horiz-adv-x="704" d="M16 1505h217l111 -481l6 -14h4l6 14l111 481h217l-225 -864v-641h-221v641zM113 1638v201h190v-201h-190zM401 1638v201h191v-201h-191z" />
+<glyph unicode="&#x2c6;" horiz-adv-x="1021" d="M260 1305l141 184h220l141 -184h-189l-63 71l-61 -71h-189z" />
+<glyph unicode="&#x2dc;" horiz-adv-x="1024" d="M313 1305v151q49 39 95.5 39t104.5 -18.5t97 -19.5t101 32v-152q-51 -39 -95.5 -39t-102.5 19.5t-99 19.5t-101 -32z" />
+<glyph unicode="&#x2000;" horiz-adv-x="952" />
+<glyph unicode="&#x2001;" horiz-adv-x="1905" />
+<glyph unicode="&#x2002;" horiz-adv-x="952" />
+<glyph unicode="&#x2003;" horiz-adv-x="1905" />
+<glyph unicode="&#x2004;" horiz-adv-x="635" />
+<glyph unicode="&#x2005;" horiz-adv-x="476" />
+<glyph unicode="&#x2006;" horiz-adv-x="317" />
+<glyph unicode="&#x2007;" horiz-adv-x="317" />
+<glyph unicode="&#x2008;" horiz-adv-x="238" />
+<glyph unicode="&#x2009;" horiz-adv-x="381" />
+<glyph unicode="&#x200a;" horiz-adv-x="105" />
+<glyph unicode="&#x2010;" horiz-adv-x="444" d="M74 455v194h297v-194h-297z" />
+<glyph unicode="&#x2011;" horiz-adv-x="444" d="M74 455v194h297v-194h-297z" />
+<glyph unicode="&#x2012;" horiz-adv-x="444" d="M74 455v194h297v-194h-297z" />
+<glyph unicode="&#x2013;" horiz-adv-x="806" d="M74 649v195h659v-195h-659z" />
+<glyph unicode="&#x2014;" horiz-adv-x="972" d="M74 649v195h825v-195h-825z" />
+<glyph unicode="&#x2018;" horiz-adv-x="309" d="M49 1012v227l113 266h102l-71 -266h71v-227h-215z" />
+<glyph unicode="&#x2019;" horiz-adv-x="309" d="M45 1012l72 266h-72v227h215v-227l-113 -266h-102z" />
+<glyph unicode="&#x201a;" horiz-adv-x="309" d="M45 0v227h215v-227l-113 -266h-102l72 266h-72z" />
+<glyph unicode="&#x201c;" horiz-adv-x="624" d="M53 1012v227l113 266h102l-71 -266h71v-227h-215zM356 1012v227l113 266h102l-71 -266h71v-227h-215z" />
+<glyph unicode="&#x201d;" horiz-adv-x="624" d="M53 1012l72 266h-72v227h215v-227l-112 -266h-103zM356 1012l72 266h-72v227h215v-227l-112 -266h-103z" />
+<glyph unicode="&#x201e;" horiz-adv-x="624" d="M53 0v227h215v-227l-112 -266h-103l72 266h-72zM356 0v227h215v-227l-112 -266h-103l72 266h-72z" />
+<glyph unicode="&#x2022;" horiz-adv-x="663" d="M82 815q0 104 72.5 177t177 73t177.5 -72.5t73 -177t-73 -177.5t-177 -73t-177 73t-73 177z" />
+<glyph unicode="&#x2026;" horiz-adv-x="964" d="M53 0v227h215v-227h-215zM375 0v227h215v-227h-215zM696 0v227h215v-227h-215z" />
+<glyph unicode="&#x202f;" horiz-adv-x="381" />
+<glyph unicode="&#x2039;" horiz-adv-x="1058" d="M74 649v160l911 475v-199l-698 -356l698 -356v-199z" />
+<glyph unicode="&#x203a;" horiz-adv-x="1058" d="M74 174v199l698 356l-698 356v199l911 -475v-160z" />
+<glyph unicode="&#x205f;" horiz-adv-x="476" />
+<glyph unicode="&#x20ac;" horiz-adv-x="813" d="M53 547v137h107v137h-107v137h107v238q0 42 17.5 106t45 107t88 78t144.5 35t144 -34t88 -81q53 -90 61 -178l2 -33v-84h-207v84q-2 0 0 11.5t-3 27.5t-12 33q-18 39 -69 39q-70 -10 -78 -111v-238h233v-137h-233v-137h233v-137h-233v-238q0 -43 21.5 -76.5t59.5 -33.5 t58.5 27.5t20.5 56.5l2 26v84h207v-84q0 -38 -17.5 -104t-45.5 -109t-88 -77.5t-144 -34.5t-144.5 33.5t-88.5 81.5q-55 97 -60 175l-2 35v238h-107z" />
+<glyph unicode="&#x2122;" horiz-adv-x="937" d="M74 1401v104h321v-104h-104v-580h-113v580h-104zM440 821v684h138l67 -319h6l68 319h137v-684h-104v449l-78 -449h-51l-80 449v-449h-103z" />
+<glyph unicode="&#xe000;" horiz-adv-x="1120" d="M0 0v1120h1120v-1120h-1120z" />
+<glyph unicode="&#xfb01;" horiz-adv-x="772" d="M20 934v186h105v31q0 172 31 231q16 31 42 67q53 71 181 71q59 0 127 -13l20 -2v-184q-41 12 -91 12t-69.5 -18.5t-25.5 -58.5q-8 -52 -8 -107v-29h358v-1120h-207v934h-151v-934h-207v934h-105z" />
+<glyph unicode="&#xfb02;" horiz-adv-x="772" d="M20 934v186h105v31q0 172 31 231q16 31 42 67q53 71 181 71q59 0 127 -13l20 -2h164v-1505h-207v1329q-37 4 -67.5 4t-50 -18.5t-25.5 -58.5q-8 -52 -8 -107v-29h104v-186h-104v-934h-207v934h-105z" />
+<glyph unicode="&#xfb03;" horiz-adv-x="1320" d="M20 934v186h105v31q0 190 51 270q23 35 71 63.5t115 28.5l97 -14v-178q-27 8 -62 8q-66 0 -65 -180v-29h104v-186h-104v-934h-207v934h-105zM495 934v186h105v31q0 190 51 270q23 35 71 63.5t115 28.5l97 -14v-178q-27 8 -62 8q-66 0 -65 -180v-29h104v-186h-104v-934 h-207v934h-105zM1032 0v1120h207v-1120h-207zM1032 1298v207h207v-207h-207z" />
+<glyph unicode="&#xfb04;" horiz-adv-x="1320" d="M20 934v186h105v31q0 190 51 270q23 35 71 63.5t115 28.5l97 -14v-178q-27 8 -62 8q-66 0 -65 -180v-29h104v-186h-104v-934h-207v934h-105zM495 934v186h105v31q0 190 51 270q23 35 71 63.5t115 28.5l97 -14v-178q-27 8 -62 8q-66 0 -65 -180v-29h104v-186h-104v-934 h-207v934h-105zM1032 0v1505h207v-1505h-207z" />
+</font>
+</defs></svg> 
\ No newline at end of file
diff --git a/slides/reveal.js/lib/font/league_gothic-webfont.ttf b/slides/reveal.js/lib/font/league_gothic-webfont.ttf
new file mode 100644 (file)
index 0000000..29f896a
Binary files /dev/null and b/slides/reveal.js/lib/font/league_gothic-webfont.ttf differ
diff --git a/slides/reveal.js/lib/font/league_gothic-webfont.woff b/slides/reveal.js/lib/font/league_gothic-webfont.woff
new file mode 100644 (file)
index 0000000..71117fb
Binary files /dev/null and b/slides/reveal.js/lib/font/league_gothic-webfont.woff differ
diff --git a/slides/reveal.js/lib/font/league_gothic_license b/slides/reveal.js/lib/font/league_gothic_license
new file mode 100644 (file)
index 0000000..29513e9
--- /dev/null
@@ -0,0 +1,2 @@
+SIL Open Font License (OFL)
+http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=OFL
diff --git a/slides/reveal.js/lib/js/classList.js b/slides/reveal.js/lib/js/classList.js
new file mode 100644 (file)
index 0000000..44f2b4c
--- /dev/null
@@ -0,0 +1,2 @@
+/*! @source http://purl.eligrey.com/github/classList.js/blob/master/classList.js*/
+if(typeof document!=="undefined"&&!("classList" in document.createElement("a"))){(function(j){var a="classList",f="prototype",m=(j.HTMLElement||j.Element)[f],b=Object,k=String[f].trim||function(){return this.replace(/^\s+|\s+$/g,"")},c=Array[f].indexOf||function(q){var p=0,o=this.length;for(;p<o;p++){if(p in this&&this[p]===q){return p}}return -1},n=function(o,p){this.name=o;this.code=DOMException[o];this.message=p},g=function(p,o){if(o===""){throw new n("SYNTAX_ERR","An invalid or illegal string was specified")}if(/\s/.test(o)){throw new n("INVALID_CHARACTER_ERR","String contains an invalid character")}return c.call(p,o)},d=function(s){var r=k.call(s.className),q=r?r.split(/\s+/):[],p=0,o=q.length;for(;p<o;p++){this.push(q[p])}this._updateClassName=function(){s.className=this.toString()}},e=d[f]=[],i=function(){return new d(this)};n[f]=Error[f];e.item=function(o){return this[o]||null};e.contains=function(o){o+="";return g(this,o)!==-1};e.add=function(o){o+="";if(g(this,o)===-1){this.push(o);this._updateClassName()}};e.remove=function(p){p+="";var o=g(this,p);if(o!==-1){this.splice(o,1);this._updateClassName()}};e.toggle=function(o){o+="";if(g(this,o)===-1){this.add(o)}else{this.remove(o)}};e.toString=function(){return this.join(" ")};if(b.defineProperty){var l={get:i,enumerable:true,configurable:true};try{b.defineProperty(m,a,l)}catch(h){if(h.number===-2146823252){l.enumerable=false;b.defineProperty(m,a,l)}}}else{if(b[f].__defineGetter__){m.__defineGetter__(a,i)}}}(self))};
\ No newline at end of file
diff --git a/slides/reveal.js/lib/js/head.min.js b/slides/reveal.js/lib/js/head.min.js
new file mode 100644 (file)
index 0000000..6242b0f
--- /dev/null
@@ -0,0 +1,8 @@
+/**
+    Head JS     The only script in your <HEAD>
+    Copyright   Tero Piirainen (tipiirai)
+    License     MIT / http://bit.ly/mit-license
+    Version     0.96
+
+    http://headjs.com
+*/(function(a){function z(){d||(d=!0,s(e,function(a){p(a)}))}function y(c,d){var e=a.createElement("script");e.type="text/"+(c.type||"javascript"),e.src=c.src||c,e.async=!1,e.onreadystatechange=e.onload=function(){var a=e.readyState;!d.done&&(!a||/loaded|complete/.test(a))&&(d.done=!0,d())},(a.body||b).appendChild(e)}function x(a,b){if(a.state==o)return b&&b();if(a.state==n)return k.ready(a.name,b);if(a.state==m)return a.onpreload.push(function(){x(a,b)});a.state=n,y(a.url,function(){a.state=o,b&&b(),s(g[a.name],function(a){p(a)}),u()&&d&&s(g.ALL,function(a){p(a)})})}function w(a,b){a.state===undefined&&(a.state=m,a.onpreload=[],y({src:a.url,type:"cache"},function(){v(a)}))}function v(a){a.state=l,s(a.onpreload,function(a){a.call()})}function u(a){a=a||h;var b;for(var c in a){if(a.hasOwnProperty(c)&&a[c].state!=o)return!1;b=!0}return b}function t(a){return Object.prototype.toString.call(a)=="[object Function]"}function s(a,b){if(!!a){typeof a=="object"&&(a=[].slice.call(a));for(var c=0;c<a.length;c++)b.call(a,a[c],c)}}function r(a){var b;if(typeof a=="object")for(var c in a)a[c]&&(b={name:c,url:a[c]});else b={name:q(a),url:a};var d=h[b.name];if(d&&d.url===b.url)return d;h[b.name]=b;return b}function q(a){var b=a.split("/"),c=b[b.length-1],d=c.indexOf("?");return d!=-1?c.substring(0,d):c}function p(a){a._done||(a(),a._done=1)}var b=a.documentElement,c,d,e=[],f=[],g={},h={},i=a.createElement("script").async===!0||"MozAppearance"in a.documentElement.style||window.opera,j=window.head_conf&&head_conf.head||"head",k=window[j]=window[j]||function(){k.ready.apply(null,arguments)},l=1,m=2,n=3,o=4;i?k.js=function(){var a=arguments,b=a[a.length-1],c={};t(b)||(b=null),s(a,function(d,e){d!=b&&(d=r(d),c[d.name]=d,x(d,b&&e==a.length-2?function(){u(c)&&p(b)}:null))});return k}:k.js=function(){var a=arguments,b=[].slice.call(a,1),d=b[0];if(!c){f.push(function(){k.js.apply(null,a)});return k}d?(s(b,function(a){t(a)||w(r(a))}),x(r(a[0]),t(d)?d:function(){k.js.apply(null,b)})):x(r(a[0]));return k},k.ready=function(b,c){if(b==a){d?p(c):e.push(c);return k}t(b)&&(c=b,b="ALL");if(typeof b!="string"||!t(c))return k;var f=h[b];if(f&&f.state==o||b=="ALL"&&u()&&d){p(c);return k}var i=g[b];i?i.push(c):i=g[b]=[c];return k},k.ready(a,function(){u()&&s(g.ALL,function(a){p(a)}),k.feature&&k.feature("domloaded",!0)});if(window.addEventListener)a.addEventListener("DOMContentLoaded",z,!1),window.addEventListener("load",z,!1);else if(window.attachEvent){a.attachEvent("onreadystatechange",function(){a.readyState==="complete"&&z()});var A=1;try{A=window.frameElement}catch(B){}!A&&b.doScroll&&function(){try{b.doScroll("left"),z()}catch(a){setTimeout(arguments.callee,1);return}}(),window.attachEvent("onload",z)}!a.readyState&&a.addEventListener&&(a.readyState="loading",a.addEventListener("DOMContentLoaded",handler=function(){a.removeEventListener("DOMContentLoaded",handler,!1),a.readyState="complete"},!1)),setTimeout(function(){c=!0,s(f,function(a){a()})},300)})(document)
\ No newline at end of file
diff --git a/slides/reveal.js/lib/js/html5shiv.js b/slides/reveal.js/lib/js/html5shiv.js
new file mode 100644 (file)
index 0000000..50649b9
--- /dev/null
@@ -0,0 +1,7 @@
+document.createElement('header');
+document.createElement('nav');
+document.createElement('section');
+document.createElement('article');
+document.createElement('aside');
+document.createElement('footer');
+document.createElement('hgroup');
\ No newline at end of file
diff --git a/slides/reveal.js/package.json b/slides/reveal.js/package.json
new file mode 100644 (file)
index 0000000..ea6045a
--- /dev/null
@@ -0,0 +1,20 @@
+{
+       "author": "Hakim El Hattab",
+       "name": "reveal.js",
+       "description": "HTML5 Slideware with Presenter Notes",
+       "version": "1.5.0",
+       "repository": {
+               "type": "git",
+               "url": "git://github.com/hakimel/reveal.js.git"
+       },
+       "engines": {
+               "node": "~0.8.0"
+       },
+       "dependencies": {
+               "underscore" : "~1.3.3",
+               "express" : "~2.5.9",
+               "socket.io" : "~0.9.6",
+               "mustache" : "~0.4.0"
+       },
+       "devDependencies": {}
+}
diff --git a/slides/reveal.js/plugin/highlight/highlight.js b/slides/reveal.js/plugin/highlight/highlight.js
new file mode 100644 (file)
index 0000000..9a4458a
--- /dev/null
@@ -0,0 +1,14 @@
+// START CUSTOM REVEAL.JS INTEGRATION
+[].slice.call( document.querySelectorAll( 'pre code' ) ).forEach( function( element ) {
+       element.addEventListener( 'focusout', function( event ) {
+               hljs.highlightBlock( event.currentTarget );
+       }, false );
+} );
+// END CUSTOM REVEAL.JS INTEGRATION
+
+
+/*
+Syntax highlighting with language autodetection.
+http://softwaremaniacs.org/soft/highlight/
+*/
+var hljs=new function(){function m(p){return p.replace(/</gm,"&lt;")}function c(r,q,p){return RegExp(q,"m"+(r.cI?"i":"")+(p?"g":""))}function j(r){for(var p=0;p<r.childNodes.length;p++){var q=r.childNodes[p];if(q.nodeName=="CODE"){return q}if(!(q.nodeType==3&&q.nodeValue.match(/\s+/))){break}}}function g(t,s){var r="";for(var q=0;q<t.childNodes.length;q++){if(t.childNodes[q].nodeType==3){var p=t.childNodes[q].nodeValue;if(s){p=p.replace(/\n/g,"")}r+=p}else{if(t.childNodes[q].nodeName=="BR"){r+="\n"}else{r+=g(t.childNodes[q])}}}if(/MSIE [678]/.test(navigator.userAgent)){r=r.replace(/\r/g,"\n")}return r}function a(s){var q=s.className.split(/\s+/);q=q.concat(s.parentNode.className.split(/\s+/));for(var p=0;p<q.length;p++){var r=q[p].replace(/^language-/,"");if(d[r]||r=="no-highlight"){return r}}}function b(p){var q=[];(function(s,t){for(var r=0;r<s.childNodes.length;r++){if(s.childNodes[r].nodeType==3){t+=s.childNodes[r].nodeValue.length}else{if(s.childNodes[r].nodeName=="BR"){t+=1}else{q.push({event:"start",offset:t,node:s.childNodes[r]});t=arguments.callee(s.childNodes[r],t);q.push({event:"stop",offset:t,node:s.childNodes[r]})}}}return t})(p,0);return q}function l(y,z,x){var r=0;var w="";var t=[];function u(){if(y.length&&z.length){if(y[0].offset!=z[0].offset){return(y[0].offset<z[0].offset)?y:z}else{return z[0].event=="start"?y:z}}else{return y.length?y:z}}function s(C){var D="<"+C.nodeName.toLowerCase();for(var A=0;A<C.attributes.length;A++){var B=C.attributes[A];D+=" "+B.nodeName.toLowerCase();if(B.nodeValue!=undefined&&B.nodeValue!=false&&B.nodeValue!=null){D+='="'+m(B.nodeValue)+'"'}}return D+">"}while(y.length||z.length){var v=u().splice(0,1)[0];w+=m(x.substr(r,v.offset-r));r=v.offset;if(v.event=="start"){w+=s(v.node);t.push(v.node)}else{if(v.event=="stop"){var q=t.length;do{q--;var p=t[q];w+=("</"+p.nodeName.toLowerCase()+">")}while(p!=v.node);t.splice(q,1);while(q<t.length){w+=s(t[q]);q++}}}}w+=x.substr(r);return w}function i(){function p(u,t,v){if(u.compiled){return}if(!v){u.bR=c(t,u.b?u.b:"\\B|\\b");if(!u.e&&!u.eW){u.e="\\B|\\b"}if(u.e){u.eR=c(t,u.e)}}if(u.i){u.iR=c(t,u.i)}if(u.r==undefined){u.r=1}if(u.k){u.lR=c(t,u.l||hljs.IR,true)}for(var s in u.k){if(!u.k.hasOwnProperty(s)){continue}if(u.k[s] instanceof Object){u.kG=u.k}else{u.kG={keyword:u.k}}break}if(!u.c){u.c=[]}u.compiled=true;for(var r=0;r<u.c.length;r++){p(u.c[r],t,false)}if(u.starts){p(u.starts,t,false)}}for(var q in d){if(!d.hasOwnProperty(q)){continue}p(d[q].dM,d[q],true)}}function e(J,D){if(!i.called){i();i.called=true}function z(r,M){for(var L=0;L<M.c.length;L++){if(M.c[L].bR.test(r)){return M.c[L]}}}function w(L,r){if(C[L].e&&C[L].eR.test(r)){return 1}if(C[L].eW){var M=w(L-1,r);return M?M+1:0}return 0}function x(r,L){return L.iR&&L.iR.test(r)}function A(O,N){var M=[];for(var L=0;L<O.c.length;L++){M.push(O.c[L].b)}var r=C.length-1;do{if(C[r].e){M.push(C[r].e)}r--}while(C[r+1].eW);if(O.i){M.push(O.i)}return c(N,"("+M.join("|")+")",true)}function s(M,L){var N=C[C.length-1];if(!N.t){N.t=A(N,H)}N.t.lastIndex=L;var r=N.t.exec(M);if(r){return[M.substr(L,r.index-L),r[0],false]}else{return[M.substr(L),"",true]}}function p(O,r){var L=H.cI?r[0].toLowerCase():r[0];for(var N in O.kG){if(!O.kG.hasOwnProperty(N)){continue}var M=O.kG[N].hasOwnProperty(L);if(M){return[N,M]}}return false}function F(M,O){if(!O.k){return m(M)}var N="";var P=0;O.lR.lastIndex=0;var L=O.lR.exec(M);while(L){N+=m(M.substr(P,L.index-P));var r=p(O,L);if(r){t+=r[1];N+='<span class="'+r[0]+'">'+m(L[0])+"</span>"}else{N+=m(L[0])}P=O.lR.lastIndex;L=O.lR.exec(M)}N+=m(M.substr(P,M.length-P));return N}function K(r,M){if(M.sL&&d[M.sL]){var L=e(M.sL,r);t+=L.keyword_count;return L.value}else{return F(r,M)}}function I(M,r){var L=M.cN?'<span class="'+M.cN+'">':"";if(M.rB){q+=L;M.buffer=""}else{if(M.eB){q+=m(r)+L;M.buffer=""}else{q+=L;M.buffer=r}}C.push(M);B+=M.r}function E(O,L,Q){var R=C[C.length-1];if(Q){q+=K(R.buffer+O,R);return false}var M=z(L,R);if(M){q+=K(R.buffer+O,R);I(M,L);return M.rB}var r=w(C.length-1,L);if(r){var N=R.cN?"</span>":"";if(R.rE){q+=K(R.buffer+O,R)+N}else{if(R.eE){q+=K(R.buffer+O,R)+N+m(L)}else{q+=K(R.buffer+O+L,R)+N}}while(r>1){N=C[C.length-2].cN?"</span>":"";q+=N;r--;C.length--}var P=C[C.length-1];C.length--;C[C.length-1].buffer="";if(P.starts){I(P.starts,"")}return R.rE}if(x(L,R)){throw"Illegal"}}var H=d[J];var C=[H.dM];var B=0;var t=0;var q="";try{var v=0;H.dM.buffer="";do{var y=s(D,v);var u=E(y[0],y[1],y[2]);v+=y[0].length;if(!u){v+=y[1].length}}while(!y[2]);if(C.length>1){throw"Illegal"}return{r:B,keyword_count:t,value:q}}catch(G){if(G=="Illegal"){return{r:0,keyword_count:0,value:m(D)}}else{throw G}}}function f(t){var r={keyword_count:0,r:0,value:m(t)};var q=r;for(var p in d){if(!d.hasOwnProperty(p)){continue}var s=e(p,t);s.language=p;if(s.keyword_count+s.r>q.keyword_count+q.r){q=s}if(s.keyword_count+s.r>r.keyword_count+r.r){q=r;r=s}}if(q.language){r.second_best=q}return r}function h(r,q,p){if(q){r=r.replace(/^((<[^>]+>|\t)+)/gm,function(t,w,v,u){return w.replace(/\t/g,q)})}if(p){r=r.replace(/\n/g,"<br>")}return r}function o(u,x,q){var y=g(u,q);var s=a(u);if(s=="no-highlight"){return}if(s){var w=e(s,y)}else{var w=f(y);s=w.language}var p=b(u);if(p.length){var r=document.createElement("pre");r.innerHTML=w.value;w.value=l(p,b(r),y)}w.value=h(w.value,x,q);var t=u.className;if(!t.match("(\\s|^)(language-)?"+s+"(\\s|$)")){t=t?(t+" "+s):s}if(/MSIE [678]/.test(navigator.userAgent)&&u.tagName=="CODE"&&u.parentNode.tagName=="PRE"){var r=u.parentNode;var v=document.createElement("div");v.innerHTML="<pre><code>"+w.value+"</code></pre>";u=v.firstChild.firstChild;v.firstChild.cN=r.cN;r.parentNode.replaceChild(v.firstChild,r)}else{u.innerHTML=w.value}u.className=t;u.result={language:s,kw:w.keyword_count,re:w.r};if(w.second_best){u.second_best={language:w.second_best.language,kw:w.second_best.keyword_count,re:w.second_best.r}}}function k(){if(k.called){return}k.called=true;var r=document.getElementsByTagName("pre");for(var p=0;p<r.length;p++){var q=j(r[p]);if(q){o(q,hljs.tabReplace)}}}function n(){if(window.addEventListener){window.addEventListener("DOMContentLoaded",k,false);window.addEventListener("load",k,false)}else{if(window.attachEvent){window.attachEvent("onload",k)}else{window.onload=k}}}var d={};this.LANGUAGES=d;this.highlight=e;this.highlightAuto=f;this.fixMarkup=h;this.highlightBlock=o;this.initHighlighting=k;this.initHighlightingOnLoad=n;this.IR="[a-zA-Z][a-zA-Z0-9_]*";this.UIR="[a-zA-Z_][a-zA-Z0-9_]*";this.NR="\\b\\d+(\\.\\d+)?";this.CNR="\\b(0x[A-Za-z0-9]+|\\d+(\\.\\d+)?)";this.RSR="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|\\.|-|-=|/|/=|:|;|<|<<|<<=|<=|=|==|===|>|>=|>>|>>=|>>>|>>>=|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~";this.BE={b:"\\\\.",r:0};this.ASM={cN:"string",b:"'",e:"'",i:"\\n",c:[this.BE],r:0};this.QSM={cN:"string",b:'"',e:'"',i:"\\n",c:[this.BE],r:0};this.CLCM={cN:"comment",b:"//",e:"$"};this.CBLCLM={cN:"comment",b:"/\\*",e:"\\*/"};this.HCM={cN:"comment",b:"#",e:"$"};this.NM={cN:"number",b:this.NR,r:0};this.CNM={cN:"number",b:this.CNR,r:0};this.inherit=function(p,s){var r={};for(var q in p){r[q]=p[q]}if(s){for(var q in s){r[q]=s[q]}}return r}}();hljs.LANGUAGES.cs={dM:{k:{"abstract":1,as:1,base:1,bool:1,"break":1,"byte":1,"case":1,"catch":1,"char":1,checked:1,"class":1,"const":1,"continue":1,decimal:1,"default":1,delegate:1,"do":1,"do":1,"double":1,"else":1,"enum":1,event:1,explicit:1,extern:1,"false":1,"finally":1,fixed:1,"float":1,"for":1,foreach:1,"goto":1,"if":1,implicit:1,"in":1,"int":1,"interface":1,internal:1,is:1,lock:1,"long":1,namespace:1,"new":1,"null":1,object:1,operator:1,out:1,override:1,params:1,"private":1,"protected":1,"public":1,readonly:1,ref:1,"return":1,sbyte:1,sealed:1,"short":1,sizeof:1,stackalloc:1,"static":1,string:1,struct:1,"switch":1,"this":1,"throw":1,"true":1,"try":1,"typeof":1,uint:1,ulong:1,unchecked:1,unsafe:1,ushort:1,using:1,virtual:1,"volatile":1,"void":1,"while":1,ascending:1,descending:1,from:1,get:1,group:1,into:1,join:1,let:1,orderby:1,partial:1,select:1,set:1,value:1,"var":1,where:1,yield:1},c:[{cN:"comment",b:"///",e:"$",rB:true,c:[{cN:"xmlDocTag",b:"///|<!--|-->"},{cN:"xmlDocTag",b:"</?",e:">"}]},hljs.CLCM,hljs.CBLCLM,{cN:"string",b:'@"',e:'"',c:[{b:'""'}]},hljs.ASM,hljs.QSM,hljs.CNM]}};hljs.LANGUAGES.ruby=function(){var g="[a-zA-Z_][a-zA-Z0-9_]*(\\!|\\?)?";var a="[a-zA-Z_]\\w*[!?=]?|[-+~]\\@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?";var n={keyword:{and:1,"false":1,then:1,defined:1,module:1,"in":1,"return":1,redo:1,"if":1,BEGIN:1,retry:1,end:1,"for":1,"true":1,self:1,when:1,next:1,until:1,"do":1,begin:1,unless:1,END:1,rescue:1,nil:1,"else":1,"break":1,undef:1,not:1,"super":1,"class":1,"case":1,require:1,yield:1,alias:1,"while":1,ensure:1,elsif:1,or:1,def:1},keymethods:{__id__:1,__send__:1,abort:1,abs:1,"all?":1,allocate:1,ancestors:1,"any?":1,arity:1,assoc:1,at:1,at_exit:1,autoload:1,"autoload?":1,"between?":1,binding:1,binmode:1,"block_given?":1,call:1,callcc:1,caller:1,capitalize:1,"capitalize!":1,casecmp:1,"catch":1,ceil:1,center:1,chomp:1,"chomp!":1,chop:1,"chop!":1,chr:1,"class":1,class_eval:1,"class_variable_defined?":1,class_variables:1,clear:1,clone:1,close:1,close_read:1,close_write:1,"closed?":1,coerce:1,collect:1,"collect!":1,compact:1,"compact!":1,concat:1,"const_defined?":1,const_get:1,const_missing:1,const_set:1,constants:1,count:1,crypt:1,"default":1,default_proc:1,"delete":1,"delete!":1,delete_at:1,delete_if:1,detect:1,display:1,div:1,divmod:1,downcase:1,"downcase!":1,downto:1,dump:1,dup:1,each:1,each_byte:1,each_index:1,each_key:1,each_line:1,each_pair:1,each_value:1,each_with_index:1,"empty?":1,entries:1,eof:1,"eof?":1,"eql?":1,"equal?":1,"eval":1,exec:1,exit:1,"exit!":1,extend:1,fail:1,fcntl:1,fetch:1,fileno:1,fill:1,find:1,find_all:1,first:1,flatten:1,"flatten!":1,floor:1,flush:1,for_fd:1,foreach:1,fork:1,format:1,freeze:1,"frozen?":1,fsync:1,getc:1,gets:1,global_variables:1,grep:1,gsub:1,"gsub!":1,"has_key?":1,"has_value?":1,hash:1,hex:1,id:1,include:1,"include?":1,included_modules:1,index:1,indexes:1,indices:1,induced_from:1,inject:1,insert:1,inspect:1,instance_eval:1,instance_method:1,instance_methods:1,"instance_of?":1,"instance_variable_defined?":1,instance_variable_get:1,instance_variable_set:1,instance_variables:1,"integer?":1,intern:1,invert:1,ioctl:1,"is_a?":1,isatty:1,"iterator?":1,join:1,"key?":1,keys:1,"kind_of?":1,lambda:1,last:1,length:1,lineno:1,ljust:1,load:1,local_variables:1,loop:1,lstrip:1,"lstrip!":1,map:1,"map!":1,match:1,max:1,"member?":1,merge:1,"merge!":1,method:1,"method_defined?":1,method_missing:1,methods:1,min:1,module_eval:1,modulo:1,name:1,nesting:1,"new":1,next:1,"next!":1,"nil?":1,nitems:1,"nonzero?":1,object_id:1,oct:1,open:1,pack:1,partition:1,pid:1,pipe:1,pop:1,popen:1,pos:1,prec:1,prec_f:1,prec_i:1,print:1,printf:1,private_class_method:1,private_instance_methods:1,"private_method_defined?":1,private_methods:1,proc:1,protected_instance_methods:1,"protected_method_defined?":1,protected_methods:1,public_class_method:1,public_instance_methods:1,"public_method_defined?":1,public_methods:1,push:1,putc:1,puts:1,quo:1,raise:1,rand:1,rassoc:1,read:1,read_nonblock:1,readchar:1,readline:1,readlines:1,readpartial:1,rehash:1,reject:1,"reject!":1,remainder:1,reopen:1,replace:1,require:1,"respond_to?":1,reverse:1,"reverse!":1,reverse_each:1,rewind:1,rindex:1,rjust:1,round:1,rstrip:1,"rstrip!":1,scan:1,seek:1,select:1,send:1,set_trace_func:1,shift:1,singleton_method_added:1,singleton_methods:1,size:1,sleep:1,slice:1,"slice!":1,sort:1,"sort!":1,sort_by:1,split:1,sprintf:1,squeeze:1,"squeeze!":1,srand:1,stat:1,step:1,store:1,strip:1,"strip!":1,sub:1,"sub!":1,succ:1,"succ!":1,sum:1,superclass:1,swapcase:1,"swapcase!":1,sync:1,syscall:1,sysopen:1,sysread:1,sysseek:1,system:1,syswrite:1,taint:1,"tainted?":1,tell:1,test:1,"throw":1,times:1,to_a:1,to_ary:1,to_f:1,to_hash:1,to_i:1,to_int:1,to_io:1,to_proc:1,to_s:1,to_str:1,to_sym:1,tr:1,"tr!":1,tr_s:1,"tr_s!":1,trace_var:1,transpose:1,trap:1,truncate:1,"tty?":1,type:1,ungetc:1,uniq:1,"uniq!":1,unpack:1,unshift:1,untaint:1,untrace_var:1,upcase:1,"upcase!":1,update:1,upto:1,"value?":1,values:1,values_at:1,warn:1,write:1,write_nonblock:1,"zero?":1,zip:1}};var h={cN:"yardoctag",b:"@[A-Za-z]+"};var d={cN:"comment",b:"#",e:"$",c:[h]};var c={cN:"comment",b:"^\\=begin",e:"^\\=end",c:[h],r:10};var b={cN:"comment",b:"^__END__",e:"\\n$"};var u={cN:"subst",b:"#\\{",e:"}",l:g,k:n};var p=[hljs.BE,u];var s={cN:"string",b:"'",e:"'",c:p,r:0};var r={cN:"string",b:'"',e:'"',c:p,r:0};var q={cN:"string",b:"%[qw]?\\(",e:"\\)",c:p,r:10};var o={cN:"string",b:"%[qw]?\\[",e:"\\]",c:p,r:10};var m={cN:"string",b:"%[qw]?{",e:"}",c:p,r:10};var l={cN:"string",b:"%[qw]?<",e:">",c:p,r:10};var k={cN:"string",b:"%[qw]?/",e:"/",c:p,r:10};var j={cN:"string",b:"%[qw]?%",e:"%",c:p,r:10};var i={cN:"string",b:"%[qw]?-",e:"-",c:p,r:10};var t={cN:"string",b:"%[qw]?\\|",e:"\\|",c:p,r:10};var e={cN:"function",b:"\\bdef\\s+",e:" |$|;",l:g,k:n,c:[{cN:"title",b:a,l:g,k:n},{cN:"params",b:"\\(",e:"\\)",l:g,k:n},d,c,b]};var f={cN:"identifier",b:g,l:g,k:n,r:0};var v=[d,c,b,s,r,q,o,m,l,k,j,i,t,{cN:"class",b:"\\b(class|module)\\b",e:"$|;",k:{"class":1,module:1},c:[{cN:"title",b:"[A-Za-z_]\\w*(::\\w+)*(\\?|\\!)?",r:0},{cN:"inheritance",b:"<\\s*",c:[{cN:"parent",b:"("+hljs.IR+"::)?"+hljs.IR}]},d,c,b]},e,{cN:"constant",b:"(::)?([A-Z]\\w*(::)?)+",r:0},{cN:"symbol",b:":",c:[s,r,q,o,m,l,k,j,i,t,f],r:0},{cN:"number",b:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",r:0},{cN:"number",b:"\\?\\w"},{cN:"variable",b:"(\\$\\W)|((\\$|\\@\\@?)(\\w+))"},f,{b:"("+hljs.RSR+")\\s*",c:[d,c,b,{cN:"regexp",b:"/",e:"/[a-z]*",i:"\\n",c:[hljs.BE]}],r:0}];u.c=v;e.c[1].c=v;return{dM:{l:g,k:n,c:v}}}();hljs.LANGUAGES.javascript={dM:{k:{keyword:{"in":1,"if":1,"for":1,"while":1,"finally":1,"var":1,"new":1,"function":1,"do":1,"return":1,"void":1,"else":1,"break":1,"catch":1,"instanceof":1,"with":1,"throw":1,"case":1,"default":1,"try":1,"this":1,"switch":1,"continue":1,"typeof":1,"delete":1},literal:{"true":1,"false":1,"null":1}},c:[hljs.ASM,hljs.QSM,hljs.CLCM,hljs.CBLCLM,hljs.CNM,{b:"("+hljs.RSR+"|case|return|throw)\\s*",k:{"return":1,"throw":1,"case":1},c:[hljs.CLCM,hljs.CBLCLM,{cN:"regexp",b:"/",e:"/[gim]*",c:[{b:"\\\\/"}]}],r:0},{cN:"function",b:"\\bfunction\\b",e:"{",k:{"function":1},c:[{cN:"title",b:"[A-Za-z$_][0-9A-Za-z$_]*"},{cN:"params",b:"\\(",e:"\\)",c:[hljs.ASM,hljs.QSM,hljs.CLCM,hljs.CBLCLM]}]}]}};hljs.LANGUAGES.css=function(){var a={cN:"function",b:hljs.IR+"\\(",e:"\\)",c:[{eW:true,eE:true,c:[hljs.NM,hljs.ASM,hljs.QSM]}]};return{cI:true,dM:{i:"[=/|']",c:[hljs.CBLCLM,{cN:"id",b:"\\#[A-Za-z0-9_-]+"},{cN:"class",b:"\\.[A-Za-z0-9_-]+",r:0},{cN:"attr_selector",b:"\\[",e:"\\]",i:"$"},{cN:"pseudo",b:":(:)?[a-zA-Z0-9\\_\\-\\+\\(\\)\\\"\\']+"},{cN:"at_rule",b:"@(font-face|page)",l:"[a-z-]+",k:{"font-face":1,page:1}},{cN:"at_rule",b:"@",e:"[{;]",eE:true,k:{"import":1,page:1,media:1,charset:1},c:[a,hljs.ASM,hljs.QSM,hljs.NM]},{cN:"tag",b:hljs.IR,r:0},{cN:"rules",b:"{",e:"}",i:"[^\\s]",r:0,c:[hljs.CBLCLM,{cN:"rule",b:"[^\\s]",rB:true,e:";",eW:true,c:[{cN:"attribute",b:"[A-Z\\_\\.\\-]+",e:":",eE:true,i:"[^\\s]",starts:{cN:"value",eW:true,eE:true,c:[a,hljs.NM,hljs.QSM,hljs.ASM,hljs.CBLCLM,{cN:"hexcolor",b:"\\#[0-9A-F]+"},{cN:"important",b:"!important"}]}}]}]}]}}}();hljs.LANGUAGES.xml=function(){var b="[A-Za-z0-9\\._:-]+";var a={eW:true,c:[{cN:"attribute",b:b,r:0},{b:'="',rB:true,e:'"',c:[{cN:"value",b:'"',eW:true}]},{b:"='",rB:true,e:"'",c:[{cN:"value",b:"'",eW:true}]},{b:"=",c:[{cN:"value",b:"[^\\s/>]+"}]}]};return{cI:true,dM:{c:[{cN:"pi",b:"<\\?",e:"\\?>",r:10},{cN:"doctype",b:"<!DOCTYPE",e:">",r:10,c:[{b:"\\[",e:"\\]"}]},{cN:"comment",b:"<!--",e:"-->",r:10},{cN:"cdata",b:"<\\!\\[CDATA\\[",e:"\\]\\]>",r:10},{cN:"tag",b:"<style",e:">",k:{title:{style:1}},c:[a],starts:{cN:"css",e:"</style>",rE:true,sL:"css"}},{cN:"tag",b:"<script",e:">",k:{title:{script:1}},c:[a],starts:{cN:"javascript",e:"<\/script>",rE:true,sL:"javascript"}},{cN:"vbscript",b:"<%",e:"%>",sL:"vbscript"},{cN:"tag",b:"</?",e:"/?>",c:[{cN:"title",b:"[^ />]+"},a]}]}}}();hljs.LANGUAGES.java={dM:{k:{"false":1,"synchronized":1,"int":1,"abstract":1,"float":1,"private":1,"char":1,"interface":1,"boolean":1,"static":1,"null":1,"if":1,"const":1,"for":1,"true":1,"while":1,"long":1,"throw":1,strictfp:1,"finally":1,"protected":1,"extends":1,"import":1,"native":1,"final":1,"implements":1,"return":1,"void":1,"enum":1,"else":1,"break":1,"transient":1,"new":1,"catch":1,"instanceof":1,"byte":1,"super":1,"class":1,"volatile":1,"case":1,assert:1,"short":1,"package":1,"default":1,"double":1,"public":1,"try":1,"this":1,"switch":1,"continue":1,"throws":1},c:[{cN:"javadoc",b:"/\\*\\*",e:"\\*/",c:[{cN:"javadoctag",b:"@[A-Za-z]+"}],r:10},hljs.CLCM,hljs.CBLCLM,hljs.ASM,hljs.QSM,{cN:"class",b:"(class |interface )",e:"{",k:{"class":1,"interface":1},i:":",c:[{b:"(implements|extends)",k:{"extends":1,"implements":1},r:10},{cN:"title",b:hljs.UIR}]},hljs.CNM,{cN:"annotation",b:"@[A-Za-z]+"}]}};hljs.LANGUAGES.php={cI:true,dM:{k:{and:1,include_once:1,list:1,"abstract":1,global:1,"private":1,echo:1,"interface":1,as:1,"static":1,endswitch:1,array:1,"null":1,"if":1,endwhile:1,or:1,"const":1,"for":1,endforeach:1,self:1,"var":1,"while":1,isset:1,"public":1,"protected":1,exit:1,foreach:1,"throw":1,elseif:1,"extends":1,include:1,__FILE__:1,empty:1,require_once:1,"function":1,"do":1,xor:1,"return":1,"implements":1,parent:1,clone:1,use:1,__CLASS__:1,__LINE__:1,"else":1,"break":1,print:1,"eval":1,"new":1,"catch":1,__METHOD__:1,"class":1,"case":1,exception:1,php_user_filter:1,"default":1,die:1,require:1,__FUNCTION__:1,enddeclare:1,"final":1,"try":1,"this":1,"switch":1,"continue":1,endfor:1,endif:1,declare:1,unset:1,"true":1,"false":1,namespace:1},c:[hljs.CLCM,hljs.HCM,{cN:"comment",b:"/\\*",e:"\\*/",c:[{cN:"phpdoc",b:"\\s@[A-Za-z]+",r:10}]},hljs.CNM,hljs.inherit(hljs.ASM,{i:null}),hljs.inherit(hljs.QSM,{i:null}),{cN:"variable",b:"\\$[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*"},{cN:"preprocessor",b:"<\\?php",r:10},{cN:"preprocessor",b:"\\?>"}]}};hljs.LANGUAGES.python=function(){var c={cN:"string",b:"(u|b)?r?'''",e:"'''",r:10};var b={cN:"string",b:'(u|b)?r?"""',e:'"""',r:10};var a={cN:"string",b:"(u|r|ur|b|br)'",e:"'",c:[hljs.BE],r:10};var f={cN:"string",b:'(u|r|ur|b|br)"',e:'"',c:[hljs.BE],r:10};var d={cN:"title",b:hljs.UIR};var e={cN:"params",b:"\\(",e:"\\)",c:[c,b,a,f,hljs.ASM,hljs.QSM]};return{dM:{k:{keyword:{and:1,elif:1,is:1,global:1,as:1,"in":1,"if":1,from:1,raise:1,"for":1,except:1,"finally":1,print:1,"import":1,pass:1,"return":1,exec:1,"else":1,"break":1,not:1,"with":1,"class":1,assert:1,yield:1,"try":1,"while":1,"continue":1,del:1,or:1,def:1,lambda:1,nonlocal:10},built_in:{None:1,True:1,False:1,Ellipsis:1,NotImplemented:1}},i:"(</|->|\\?)",c:[hljs.HCM,c,b,a,f,hljs.ASM,hljs.QSM,{cN:"function",b:"\\bdef ",e:":",i:"$",k:{def:1},c:[d,e],r:10},{cN:"class",b:"\\bclass ",e:":",i:"[${]",k:{"class":1},c:[d,e],r:10},hljs.CNM,{cN:"decorator",b:"@",e:"$"}]}}}();hljs.LANGUAGES.perl=function(){var c={getpwent:1,getservent:1,quotemeta:1,msgrcv:1,scalar:1,kill:1,dbmclose:1,undef:1,lc:1,ma:1,syswrite:1,tr:1,send:1,umask:1,sysopen:1,shmwrite:1,vec:1,qx:1,utime:1,local:1,oct:1,semctl:1,localtime:1,readpipe:1,"do":1,"return":1,format:1,read:1,sprintf:1,dbmopen:1,pop:1,getpgrp:1,not:1,getpwnam:1,rewinddir:1,qq:1,fileno:1,qw:1,endprotoent:1,wait:1,sethostent:1,bless:1,s:1,opendir:1,"continue":1,each:1,sleep:1,endgrent:1,shutdown:1,dump:1,chomp:1,connect:1,getsockname:1,die:1,socketpair:1,close:1,flock:1,exists:1,index:1,shmget:1,sub:1,"for":1,endpwent:1,redo:1,lstat:1,msgctl:1,setpgrp:1,abs:1,exit:1,select:1,print:1,ref:1,gethostbyaddr:1,unshift:1,fcntl:1,syscall:1,"goto":1,getnetbyaddr:1,join:1,gmtime:1,symlink:1,semget:1,splice:1,x:1,getpeername:1,recv:1,log:1,setsockopt:1,cos:1,last:1,reverse:1,gethostbyname:1,getgrnam:1,study:1,formline:1,endhostent:1,times:1,chop:1,length:1,gethostent:1,getnetent:1,pack:1,getprotoent:1,getservbyname:1,rand:1,mkdir:1,pos:1,chmod:1,y:1,substr:1,endnetent:1,printf:1,next:1,open:1,msgsnd:1,readdir:1,use:1,unlink:1,getsockopt:1,getpriority:1,rindex:1,wantarray:1,hex:1,system:1,getservbyport:1,endservent:1,"int":1,chr:1,untie:1,rmdir:1,prototype:1,tell:1,listen:1,fork:1,shmread:1,ucfirst:1,setprotoent:1,"else":1,sysseek:1,link:1,getgrgid:1,shmctl:1,waitpid:1,unpack:1,getnetbyname:1,reset:1,chdir:1,grep:1,split:1,require:1,caller:1,lcfirst:1,until:1,warn:1,"while":1,values:1,shift:1,telldir:1,getpwuid:1,my:1,getprotobynumber:1,"delete":1,and:1,sort:1,uc:1,defined:1,srand:1,accept:1,"package":1,seekdir:1,getprotobyname:1,semop:1,our:1,rename:1,seek:1,"if":1,q:1,chroot:1,sysread:1,setpwent:1,no:1,crypt:1,getc:1,chown:1,sqrt:1,write:1,setnetent:1,setpriority:1,foreach:1,tie:1,sin:1,msgget:1,map:1,stat:1,getlogin:1,unless:1,elsif:1,truncate:1,exec:1,keys:1,glob:1,tied:1,closedir:1,ioctl:1,socket:1,readlink:1,"eval":1,xor:1,readline:1,binmode:1,setservent:1,eof:1,ord:1,bind:1,alarm:1,pipe:1,atan2:1,getgrent:1,exp:1,time:1,push:1,setgrent:1,gt:1,lt:1,or:1,ne:1,m:1};var d={cN:"subst",b:"[$@]\\{",e:"}",k:c,r:10};var b={cN:"variable",b:"\\$\\d"};var a={cN:"variable",b:"[\\$\\%\\@\\*](\\^\\w\\b|#\\w+(\\:\\:\\w+)*|[^\\s\\w{]|{\\w+}|\\w+(\\:\\:\\w*)*)"};var g=[hljs.BE,d,b,a];var f={b:"->",c:[{b:hljs.IR},{b:"{",e:"}"}]};var e=[b,a,hljs.HCM,{cN:"comment",b:"^(__END__|__DATA__)",e:"\\n$",r:5},f,{cN:"string",b:"q[qwxr]?\\s*\\(",e:"\\)",c:g,r:5},{cN:"string",b:"q[qwxr]?\\s*\\[",e:"\\]",c:g,r:5},{cN:"string",b:"q[qwxr]?\\s*\\{",e:"\\}",c:g,r:5},{cN:"string",b:"q[qwxr]?\\s*\\|",e:"\\|",c:g,r:5},{cN:"string",b:"q[qwxr]?\\s*\\<",e:"\\>",c:g,r:5},{cN:"string",b:"qw\\s+q",e:"q",c:g,r:5},{cN:"string",b:"'",e:"'",c:[hljs.BE],r:0},{cN:"string",b:'"',e:'"',c:g,r:0},{cN:"string",b:"`",e:"`",c:[hljs.BE]},{cN:"string",b:"{\\w+}",r:0},{cN:"string",b:"-?\\w+\\s*\\=\\>",r:0},{cN:"number",b:"(\\b0[0-7_]+)|(\\b0x[0-9a-fA-F_]+)|(\\b[1-9][0-9_]*(\\.[0-9_]+)?)|[0_]\\b",r:0},{cN:"regexp",b:"(s|tr|y)/(\\\\.|[^/])*/(\\\\.|[^/])*/[a-z]*",r:10},{cN:"regexp",b:"(m|qr)?/",e:"/[a-z]*",c:[hljs.BE],r:0},{cN:"sub",b:"\\bsub\\b",e:"(\\s*\\(.*?\\))?[;{]",k:{sub:1},r:5},{cN:"operator",b:"-\\w\\b",r:0},{cN:"pod",b:"\\=\\w",e:"\\=cut"}];d.c=e;f.c[1].c=e;return{dM:{k:c,c:e}}}();hljs.LANGUAGES.cpp=function(){var b={keyword:{"false":1,"int":1,"float":1,"while":1,"private":1,"char":1,"catch":1,"export":1,virtual:1,operator:2,sizeof:2,dynamic_cast:2,typedef:2,const_cast:2,"const":1,struct:1,"for":1,static_cast:2,union:1,namespace:1,unsigned:1,"long":1,"throw":1,"volatile":2,"static":1,"protected":1,bool:1,template:1,mutable:1,"if":1,"public":1,friend:2,"do":1,"return":1,"goto":1,auto:1,"void":2,"enum":1,"else":1,"break":1,"new":1,extern:1,using:1,"true":1,"class":1,asm:1,"case":1,typeid:1,"short":1,reinterpret_cast:2,"default":1,"double":1,register:1,explicit:1,signed:1,typename:1,"try":1,"this":1,"switch":1,"continue":1,wchar_t:1,inline:1,"delete":1,alignof:1,char16_t:1,char32_t:1,constexpr:1,decltype:1,noexcept:1,nullptr:1,static_assert:1,thread_local:1},built_in:{std:1,string:1,cin:1,cout:1,cerr:1,clog:1,stringstream:1,istringstream:1,ostringstream:1,auto_ptr:1,deque:1,list:1,queue:1,stack:1,vector:1,map:1,set:1,bitset:1,multiset:1,multimap:1,unordered_set:1,unordered_map:1,unordered_multiset:1,unordered_multimap:1,array:1,shared_ptr:1}};var a={cN:"stl_container",b:"\\b(deque|list|queue|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array)\\s*<",e:">",k:b,r:10};a.c=[a];return{dM:{k:b,i:"</",c:[hljs.CLCM,hljs.CBLCLM,hljs.QSM,{cN:"string",b:"'",e:"[^\\\\]'",i:"[^\\\\][^']"},hljs.CNM,{cN:"preprocessor",b:"#",e:"$"},a]}}}();
\ No newline at end of file
diff --git a/slides/reveal.js/plugin/markdown/markdown.js b/slides/reveal.js/plugin/markdown/markdown.js
new file mode 100644 (file)
index 0000000..07ffd80
--- /dev/null
@@ -0,0 +1,32 @@
+// From https://gist.github.com/1343518
+// Modified by Hakim to handle Markdown indented with tabs
+(function(){
+
+    if( typeof Showdown === 'undefined' ) {
+        throw 'The reveal.js Markdown plugin requires Showdown to be loaded';
+    }
+
+    var sections = document.querySelectorAll( '[data-markdown]' );
+
+    for( var i = 0, len = sections.length; i < len; i++ ) {
+        var section = sections[i];
+
+        var template = section.querySelector( 'script' );
+
+        // strip leading whitespace so it isn't evaluated as code
+        var text = ( template || section ).innerHTML;
+
+        var leadingWs = text.match(/^\n?(\s*)/)[1].length,
+            leadingTabs = text.match(/^\n?(\t*)/)[1].length;
+
+        if( leadingTabs > 0 ) {
+            text = text.replace( new RegExp('\\n?\\t{' + leadingTabs + '}','g'), '\n' );
+        }
+        else if( leadingWs > 1 ) {
+            text = text.replace( new RegExp('\\n? {' + leadingWs + '}','g'), '\n' );
+        }
+
+        section.innerHTML = (new Showdown.converter()).makeHtml(text);
+    }
+
+})();
\ No newline at end of file
diff --git a/slides/reveal.js/plugin/markdown/showdown.js b/slides/reveal.js/plugin/markdown/showdown.js
new file mode 100644 (file)
index 0000000..3f280f4
--- /dev/null
@@ -0,0 +1,62 @@
+//
+// showdown.js -- A javascript port of Markdown.
+//
+// Copyright (c) 2007 John Fraser.
+//
+// Original Markdown Copyright (c) 2004-2005 John Gruber
+//   <http://daringfireball.net/projects/markdown/>
+//
+// Redistributable under a BSD-style open source license.
+// See license.txt for more information.
+//
+// The full source distribution is at:
+//
+//                             A A L
+//                             T C A
+//                             T K B
+//
+//   <http://www.attacklab.net/>
+//
+//
+// Wherever possible, Showdown is a straight, line-by-line port
+// of the Perl version of Markdown.
+//
+// This is not a normal parser design; it's basically just a
+// series of string substitutions.  It's hard to read and
+// maintain this way,  but keeping Showdown close to the original
+// design makes it easier to port new features.
+//
+// More importantly, Showdown behaves like markdown.pl in most
+// edge cases.  So web applications can do client-side preview
+// in Javascript, and then build identical HTML on the server.
+//
+// This port needs the new RegExp functionality of ECMA 262,
+// 3rd Edition (i.e. Javascript 1.5).  Most modern web browsers
+// should do fine.  Even with the new regular expression features,
+// We do a lot of work to emulate Perl's regex functionality.
+// The tricky changes in this file mostly have the "attacklab:"
+// label.  Major or self-explanatory changes don't.
+//
+// Smart diff tools like Araxis Merge will be able to match up
+// this file with markdown.pl in a useful way.  A little tweaking
+// helps: in a copy of markdown.pl, replace "#" with "//" and
+// replace "$text" with "text".  Be sure to ignore whitespace
+// and line endings.
+//
+//
+// Showdown usage:
+//
+//   var text = "Markdown *rocks*.";
+//
+//   var converter = new Showdown.converter();
+//   var html = converter.makeHtml(text);
+//
+//   alert(html);
+//
+// Note: move the sample code to the bottom of this
+// file before uncommenting it.
+//
+//
+// Showdown namespace
+//
+var Showdown={};Showdown.converter=function(){var a,b,c,d=0;this.makeHtml=function(d){return a=new Array,b=new Array,c=new Array,d=d.replace(/~/g,"~T"),d=d.replace(/\$/g,"~D"),d=d.replace(/\r\n/g,"\n"),d=d.replace(/\r/g,"\n"),d="\n\n"+d+"\n\n",d=F(d),d=d.replace(/^[ \t]+$/mg,""),d=f(d),d=e(d),d=h(d),d=D(d),d=d.replace(/~D/g,"$$"),d=d.replace(/~T/g,"~"),d};var e=function(c){var c=c.replace(/^[ ]{0,3}\[(.+)\]:[ \t]*\n?[ \t]*<?(\S+?)>?[ \t]*\n?[ \t]*(?:(\n*)["(](.+?)[")][ \t]*)?(?:\n+|\Z)/gm,function(c,d,e,f,g){return d=d.toLowerCase(),a[d]=z(e),f?f+g:(g&&(b[d]=g.replace(/"/g,"&quot;")),"")});return c},f=function(a){a=a.replace(/\n/g,"\n\n");var b="p|div|h[1-6]|blockquote|pre|table|dl|ol|ul|script|noscript|form|fieldset|iframe|math|ins|del",c="p|div|h[1-6]|blockquote|pre|table|dl|ol|ul|script|noscript|form|fieldset|iframe|math";return a=a.replace(/^(<(p|div|h[1-6]|blockquote|pre|table|dl|ol|ul|script|noscript|form|fieldset|iframe|math|ins|del)\b[^\r]*?\n<\/\2>[ \t]*(?=\n+))/gm,g),a=a.replace(/^(<(p|div|h[1-6]|blockquote|pre|table|dl|ol|ul|script|noscript|form|fieldset|iframe|math)\b[^\r]*?.*<\/\2>[ \t]*(?=\n+)\n)/gm,g),a=a.replace(/(\n[ ]{0,3}(<(hr)\b([^<>])*?\/?>)[ \t]*(?=\n{2,}))/g,g),a=a.replace(/(\n\n[ ]{0,3}<!(--[^\r]*?--\s*)+>[ \t]*(?=\n{2,}))/g,g),a=a.replace(/(?:\n\n)([ ]{0,3}(?:<([?%])[^\r]*?\2>)[ \t]*(?=\n{2,}))/g,g),a=a.replace(/\n\n/g,"\n"),a},g=function(a,b){var d=b;return d=d.replace(/\n\n/g,"\n"),d=d.replace(/^\n/,""),d=d.replace(/\n+$/g,""),d="\n\n~K"+(c.push(d)-1)+"K\n\n",d},h=function(a){a=o(a);var b=t("<hr />");return a=a.replace(/^[ ]{0,2}([ ]?\*[ ]?){3,}[ \t]*$/gm,b),a=a.replace(/^[ ]{0,2}([ ]?\-[ ]?){3,}[ \t]*$/gm,b),a=a.replace(/^[ ]{0,2}([ ]?\_[ ]?){3,}[ \t]*$/gm,b),a=q(a),a=s(a),a=r(a),a=x(a),a=f(a),a=y(a),a},i=function(a){return a=u(a),a=j(a),a=A(a),a=m(a),a=k(a),a=B(a),a=z(a),a=w(a),a=a.replace(/  +\n/g," <br />\n"),a},j=function(a){var b=/(<[a-z\/!$]("[^"]*"|'[^']*'|[^'">])*>|<!(--.*?--\s*)+>)/gi;return a=a.replace(b,function(a){var b=a.replace(/(.)<\/?code>(?=.)/g,"$1`");return b=G(b,"\\`*_"),b}),a},k=function(a){return a=a.replace(/(\[((?:\[[^\]]*\]|[^\[\]])*)\][ ]?(?:\n[ ]*)?\[(.*?)\])()()()()/g,l),a=a.replace(/(\[((?:\[[^\]]*\]|[^\[\]])*)\]\([ \t]*()<?(.*?)>?[ \t]*((['"])(.*?)\6[ \t]*)?\))/g,l),a=a.replace(/(\[([^\[\]]+)\])()()()()()/g,l),a},l=function(c,d,e,f,g,h,i,j){j==undefined&&(j="");var k=d,l=e,m=f.toLowerCase(),n=g,o=j;if(n==""){m==""&&(m=l.toLowerCase().replace(/ ?\n/g," ")),n="#"+m;if(a[m]!=undefined)n=a[m],b[m]!=undefined&&(o=b[m]);else{if(!(k.search(/\(\s*\)$/m)>-1))return k;n=""}}n=G(n,"*_");var p='<a href="'+n+'"';return o!=""&&(o=o.replace(/"/g,"&quot;"),o=G(o,"*_"),p+=' title="'+o+'"'),p+=">"+l+"</a>",p},m=function(a){return a=a.replace(/(!\[(.*?)\][ ]?(?:\n[ ]*)?\[(.*?)\])()()()()/g,n),a=a.replace(/(!\[(.*?)\]\s?\([ \t]*()<?(\S+?)>?[ \t]*((['"])(.*?)\6[ \t]*)?\))/g,n),a},n=function(c,d,e,f,g,h,i,j){var k=d,l=e,m=f.toLowerCase(),n=g,o=j;o||(o="");if(n==""){m==""&&(m=l.toLowerCase().replace(/ ?\n/g," ")),n="#"+m;if(a[m]==undefined)return k;n=a[m],b[m]!=undefined&&(o=b[m])}l=l.replace(/"/g,"&quot;"),n=G(n,"*_");var p='<img src="'+n+'" alt="'+l+'"';return o=o.replace(/"/g,"&quot;"),o=G(o,"*_"),p+=' title="'+o+'"',p+=" />",p},o=function(a){function b(a){return a.replace(/[^\w]/g,"").toLowerCase()}return a=a.replace(/^(.+)[ \t]*\n=+[ \t]*\n+/gm,function(a,c){return t('<h1 id="'+b(c)+'">'+i(c)+"</h1>")}),a=a.replace(/^(.+)[ \t]*\n-+[ \t]*\n+/gm,function(a,c){return t('<h2 id="'+b(c)+'">'+i(c)+"</h2>")}),a=a.replace(/^(\#{1,6})[ \t]*(.+?)[ \t]*\#*\n+/gm,function(a,c,d){var e=c.length;return t("<h"+e+' id="'+b(d)+'">'+i(d)+"</h"+e+">")}),a},p,q=function(a){a+="~0";var b=/^(([ ]{0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(~0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/gm;return d?a=a.replace(b,function(a,b,c){var d=b,e=c.search(/[*+-]/g)>-1?"ul":"ol";d=d.replace(/\n{2,}/g,"\n\n\n");var f=p(d);return f=f.replace(/\s+$/,""),f="<"+e+">"+f+"</"+e+">\n",f}):(b=/(\n\n|^\n?)(([ ]{0,3}([*+-]|\d+[.])[ \t]+)[^\r]+?(~0|\n{2,}(?=\S)(?![ \t]*(?:[*+-]|\d+[.])[ \t]+)))/g,a=a.replace(b,function(a,b,c,d){var e=b,f=c,g=d.search(/[*+-]/g)>-1?"ul":"ol",f=f.replace(/\n{2,}/g,"\n\n\n"),h=p(f);return h=e+"<"+g+">\n"+h+"</"+g+">\n",h})),a=a.replace(/~0/,""),a};p=function(a){return d++,a=a.replace(/\n{2,}$/,"\n"),a+="~0",a=a.replace(/(\n)?(^[ \t]*)([*+-]|\d+[.])[ \t]+([^\r]+?(\n{1,2}))(?=\n*(~0|\2([*+-]|\d+[.])[ \t]+))/gm,function(a,b,c,d,e){var f=e,g=b,j=c;return g||f.search(/\n{2,}/)>-1?f=h(E(f)):(f=q(E(f)),f=f.replace(/\n$/,""),f=i(f)),"<li>"+f+"</li>\n"}),a=a.replace(/~0/g,""),d--,a};var r=function(a){return a+="~0",a=a.replace(/(?:\n\n|^)((?:(?:[ ]{4}|\t).*\n+)+)(\n*[ ]{0,3}[^ \t\n]|(?=~0))/g,function(a,b,c){var d=b,e=c;return d=v(E(d)),d=F(d),d=d.replace(/^\n+/g,""),d=d.replace(/\n+$/g,""),d="<pre><code>"+d+"\n</code></pre>",t(d)+e}),a=a.replace(/~0/,""),a},s=function(a){return a+="~0",a=a.replace(/\n```(.*)\n([^`]+)\n```/g,function(a,b,c){var d=b,e=c;return e=v(e),e=F(e),e=e.replace(/^\n+/g,""),e=e.replace(/\n+$/g,""),e="<pre><code class="+d+">"+e+"\n</code></pre>",t(e)}),a=a.replace(/~0/,""),a},t=function(a){return a=a.replace(/(^\n+|\n+$)/g,""),"\n\n~K"+(c.push(a)-1)+"K\n\n"},u=function(a){return a=a.replace(/(^|[^\\])(`+)([^\r]*?[^`])\2(?!`)/gm,function(a,b,c,d,e){var f=d;return f=f.replace(/^([ \t]*)/g,""),f=f.replace(/[ \t]*$/g,""),f=v(f),b+"<code>"+f+"</code>"}),a},v=function(a){return a=a.replace(/&/g,"&amp;"),a=a.replace(/</g,"&lt;"),a=a.replace(/>/g,"&gt;"),a=G(a,"*_{}[]\\",!1),a},w=function(a){return a=a.replace(/(\*\*|__)(?=\S)([^\r]*?\S[*_]*)\1/g,"<strong>$2</strong>"),a=a.replace(/(\*|_)(?=\S)([^\r]*?\S)\1/g,"<em>$2</em>"),a},x=function(a){return a=a.replace(/((^[ \t]*>[ \t]?.+\n(.+\n)*\n*)+)/gm,function(a,b){var c=b;return c=c.replace(/^[ \t]*>[ \t]?/gm,"~0"),c=c.replace(/~0/g,""),c=c.replace(/^[ \t]+$/gm,""),c=h(c),c=c.replace(/(^|\n)/g,"$1  "),c=c.replace(/(\s*<pre>[^\r]+?<\/pre>)/gm,function(a,b){var c=b;return c=c.replace(/^  /mg,"~0"),c=c.replace(/~0/g,""),c}),t("<blockquote>\n"+c+"\n</blockquote>")}),a},y=function(a){a=a.replace(/^\n+/g,""),a=a.replace(/\n+$/g,"");var b=a.split(/\n{2,}/g),d=new Array,e=b.length;for(var f=0;f<e;f++){var g=b[f];g.search(/~K(\d+)K/g)>=0?d.push(g):g.search(/\S/)>=0&&(g=i(g),g=g.replace(/^([ \t]*)/g,"<p>"),g+="</p>",d.push(g))}e=d.length;for(var f=0;f<e;f++)while(d[f].search(/~K(\d+)K/)>=0){var h=c[RegExp.$1];h=h.replace(/\$/g,"$$$$"),d[f]=d[f].replace(/~K\d+K/,h)}return d.join("\n\n")},z=function(a){return a=a.replace(/&(?!#?[xX]?(?:[0-9a-fA-F]+|\w+);)/g,"&amp;"),a=a.replace(/<(?![a-z\/?\$!])/gi,"&lt;"),a},A=function(a){return a=a.replace(/\\(\\)/g,H),a=a.replace(/\\([`*_{}\[\]()>#+-.!])/g,H),a},B=function(a){return a=a.replace(/<((https?|ftp|dict):[^'">\s]+)>/gi,'<a href="$1">$1</a>'),a=a.replace(/<(?:mailto:)?([-.\w]+\@[-a-z0-9]+(\.[-a-z0-9]+)*\.[a-z]+)>/gi,function(a,b){return C(D(b))}),a},C=function(a){function b(a){var b="0123456789ABCDEF",c=a.charCodeAt(0);return b.charAt(c>>4)+b.charAt(c&15)}var c=[function(a){return"&#"+a.charCodeAt(0)+";"},function(a){return"&#x"+b(a)+";"},function(a){return a}];return a="mailto:"+a,a=a.replace(/./g,function(a){if(a=="@")a=c[Math.floor(Math.random()*2)](a);else if(a!=":"){var b=Math.random();a=b>.9?c[2](a):b>.45?c[1](a):c[0](a)}return a}),a='<a href="'+a+'">'+a+"</a>",a=a.replace(/">.+:/g,'">'),a},D=function(a){return a=a.replace(/~E(\d+)E/g,function(a,b){var c=parseInt(b);return String.fromCharCode(c)}),a},E=function(a){return a=a.replace(/^(\t|[ ]{1,4})/gm,"~0"),a=a.replace(/~0/g,""),a},F=function(a){return a=a.replace(/\t(?=\t)/g,"    "),a=a.replace(/\t/g,"~A~B"),a=a.replace(/~B(.+?)~A/g,function(a,b,c){var d=b,e=4-d.length%4;for(var f=0;f<e;f++)d+=" ";return d}),a=a.replace(/~A/g,"    "),a=a.replace(/~B/g,""),a},G=function(a,b,c){var d="(["+b.replace(/([\[\]\\])/g,"\\$1")+"])";c&&(d="\\\\"+d);var e=new RegExp(d,"g");return a=a.replace(e,H),a},H=function(a,b){var c=b.charCodeAt(0);return"~E"+c+"E"}},typeof exports!="undefined"&&(exports=Showdown);
\ No newline at end of file
diff --git a/slides/reveal.js/plugin/notes-server/client.js b/slides/reveal.js/plugin/notes-server/client.js
new file mode 100644 (file)
index 0000000..156cb9a
--- /dev/null
@@ -0,0 +1,57 @@
+(function() {
+       // don't emit events from inside the previews themselves
+       if ( window.location.search.match( /receiver/gi ) ) { return; }
+
+       var socket = io.connect(window.location.origin);
+       var socketId = Math.random().toString().slice(2);
+       
+       console.log('View slide notes at ' + window.location.origin + '/notes/' + socketId);
+       window.open(window.location.origin + '/notes/' + socketId, 'notes-' + socketId);
+
+       // Fires when a fragment is shown
+       Reveal.addEventListener( 'fragmentshown', function( event ) {
+               var fragmentData = {
+                       fragment : 'next',
+                       socketId : socketId
+               };
+               socket.emit('fragmentchanged', fragmentData);
+       } );
+
+       // Fires when a fragment is hidden
+       Reveal.addEventListener( 'fragmenthidden', function( event ) {
+               var fragmentData = {
+                       fragment : 'previous',
+                       socketId : socketId
+               };
+               socket.emit('fragmentchanged', fragmentData);
+       } );
+
+       // Fires when slide is changed
+       Reveal.addEventListener( 'slidechanged', function( event ) {
+               var nextindexh;
+               var nextindexv;
+               var slideElement = event.currentSlide;
+
+               if (slideElement.nextElementSibling && slideElement.parentNode.nodeName == 'SECTION') {
+                       nextindexh = event.indexh;
+                       nextindexv = event.indexv + 1;
+               } else {
+                       nextindexh = event.indexh + 1;
+                       nextindexv = 0;
+               }
+
+               var notes = slideElement.querySelector('aside.notes');
+               var slideData = {
+                       notes : notes ? notes.innerHTML : '',
+                       indexh : event.indexh,
+                       indexv : event.indexv,
+                       nextindexh : nextindexh,
+                       nextindexv : nextindexv,
+                       socketId : socketId,
+                       markdown : notes ? typeof notes.getAttribute('data-markdown') === 'string' : false
+
+               };
+
+               socket.emit('slidechanged', slideData);
+       } );
+}());
diff --git a/slides/reveal.js/plugin/notes-server/index.js b/slides/reveal.js/plugin/notes-server/index.js
new file mode 100644 (file)
index 0000000..8643f5d
--- /dev/null
@@ -0,0 +1,58 @@
+var express   = require('express');
+var fs        = require('fs');
+var io        = require('socket.io');
+var _         = require('underscore');
+var Mustache  = require('mustache');
+
+var app       = express.createServer();
+var staticDir = express.static;
+
+io            = io.listen(app);
+
+var opts = {
+       port :      1947,
+       baseDir :   __dirname + '/../../'
+};
+
+io.sockets.on('connection', function(socket) {
+       socket.on('slidechanged', function(slideData) {
+               socket.broadcast.emit('slidedata', slideData);
+       });
+       socket.on('fragmentchanged', function(fragmentData) {
+               socket.broadcast.emit('fragmentdata', fragmentData);
+       });
+});
+
+app.configure(function() {
+       [ 'css', 'js', 'images', 'plugin', 'lib' ].forEach(function(dir) {
+               app.use('/' + dir, staticDir(opts.baseDir + dir));
+       });
+});
+
+app.get("/", function(req, res) {
+       fs.createReadStream(opts.baseDir + '/index.html').pipe(res);
+});
+
+app.get("/notes/:socketId", function(req, res) {
+
+       fs.readFile(opts.baseDir + 'plugin/notes-server/notes.html', function(err, data) {
+               res.send(Mustache.to_html(data.toString(), {
+                       socketId : req.params.socketId
+               }));
+       });
+       // fs.createReadStream(opts.baseDir + 'notes-server/notes.html').pipe(res);
+});
+
+// Actually listen
+app.listen(opts.port || null);
+
+var brown = '\033[33m',
+       green = '\033[32m',
+       reset = '\033[0m';
+
+var slidesLocation = "http://localhost" + ( opts.port ? ( ':' + opts.port ) : '' );
+
+console.log( brown + "reveal.js - Speaker Notes" + reset );
+console.log( "1. Open the slides at " + green + slidesLocation + reset );
+console.log( "2. Click on the link your JS console to go to the notes page" );
+console.log( "3. Advance through your slides and your notes will advance automatically" );
diff --git a/slides/reveal.js/plugin/notes-server/notes.html b/slides/reveal.js/plugin/notes-server/notes.html
new file mode 100644 (file)
index 0000000..053cb5e
--- /dev/null
@@ -0,0 +1,139 @@
+<!doctype html>
+<html lang="en">
+       <head>
+               <meta charset="utf-8">
+
+               <title>reveal.js - Slide Notes</title>
+
+               <style>
+                       body {
+                               font-family: Helvetica;
+                       }
+
+                       #notes {
+                               font-size: 24px;
+                               width: 640px;
+                               margin-top: 5px;
+                       }
+
+                       #wrap-current-slide {
+                               width: 640px;
+                               height: 512px;
+                               float: left;
+                               overflow: hidden;
+                       }
+
+                       #current-slide {
+                               width: 1280px;
+                               height: 1024px;
+                               border: none;
+                               
+                               -webkit-transform-origin: 0 0;
+                                  -moz-transform-origin: 0 0;
+                                   -ms-transform-origin: 0 0;
+                                    -o-transform-origin: 0 0;
+                                       transform-origin: 0 0;
+                                
+                               -webkit-transform: scale(0.5);
+                                  -moz-transform: scale(0.5);
+                                   -ms-transform: scale(0.5);
+                                    -o-transform: scale(0.5);
+                                       transform: scale(0.5);
+                       }
+
+                       #wrap-next-slide {
+                               width: 448px;
+                               height: 358px;
+                               float: left;
+                               margin: 0 0 0 10px;
+                               overflow: hidden;
+                       }
+
+                       #next-slide {
+                               width: 1280px;
+                               height: 1024px;
+                               border: none;
+                               
+                               -webkit-transform-origin: 0 0;
+                                  -moz-transform-origin: 0 0;
+                                   -ms-transform-origin: 0 0;
+                                    -o-transform-origin: 0 0;
+                                       transform-origin: 0 0;
+
+                               -webkit-transform: scale(0.35);
+                                  -moz-transform: scale(0.35);
+                                   -ms-transform: scale(0.35);
+                                    -o-transform: scale(0.35);
+                                       transform: scale(0.35);
+                       }
+
+                       .slides {
+                               position: relative;
+                               margin-bottom: 10px;
+                               border: 1px solid black;
+                               border-radius: 2px;
+                               background: rgb(28, 30, 32);
+                       }
+
+                       .slides span {
+                               position: absolute;
+                               top: 3px;
+                               left: 3px;
+                               font-weight: bold;
+                               font-size: 14px;
+                               color: rgba( 255, 255, 255, 0.9 );
+                       }
+               </style>
+       </head>
+
+       <body>
+
+               <div id="wrap-current-slide" class="slides">
+                       <iframe src="/?receiver" width="1280" height="1024" id="current-slide"></iframe>
+               </div>
+
+               <div id="wrap-next-slide" class="slides">
+                       <iframe src="/?receiver" width="640" height="512" id="next-slide"></iframe>
+                       <span>UPCOMING:</span>
+               </div>
+               <div id="notes"></div>
+
+               <script src="/socket.io/socket.io.js"></script>
+               <script src="/plugin/markdown/showdown.js"></script>
+
+               <script>
+               var socketId = '{{socketId}}';
+               var socket = io.connect(window.location.origin);
+               var notes = document.getElementById('notes');
+               var currentSlide = document.getElementById('current-slide');
+               var nextSlide = document.getElementById('next-slide');
+
+               socket.on('slidedata', function(data) {
+                       // ignore data from sockets that aren't ours
+                       if (data.socketId !== socketId) { return; }
+
+                       if (data.markdown) {
+                               notes.innerHTML = (new Showdown.converter()).makeHtml(data.notes);
+                       }
+                       else {
+                               notes.innerHTML = data.notes;
+                       }
+
+                       currentSlide.contentWindow.Reveal.slide(data.indexh, data.indexv);
+                       nextSlide.contentWindow.Reveal.slide(data.nextindexh, data.nextindexv);
+               });
+               socket.on('fragmentdata', function(data) {
+                       // ignore data from sockets that aren't ours
+                       if (data.socketId !== socketId) { return; }
+
+                       if (data.fragment === 'next') {
+                               currentSlide.contentWindow.Reveal.nextFragment();
+                       }
+                       else if (data.fragment === 'previous') {
+                               currentSlide.contentWindow.Reveal.prevFragment();
+                       }
+               });
+               </script>
+
+       </body>
+</html>
diff --git a/slides/reveal.js/plugin/notes/notes.html b/slides/reveal.js/plugin/notes/notes.html
new file mode 100644 (file)
index 0000000..8763056
--- /dev/null
@@ -0,0 +1,142 @@
+<!doctype html>
+<html lang="en">
+       <head>
+               <meta charset="utf-8">
+
+               <title>reveal.js - Slide Notes</title>
+
+               <style>
+                       body {
+                               font-family: Helvetica;
+                       }
+
+                       #notes {
+                               font-size: 24px;
+                               width: 640px;
+                               margin-top: 5px;
+                       }
+
+                       #wrap-current-slide {
+                               width: 640px;
+                               height: 512px;
+                               float: left;
+                               overflow: hidden;
+                       }
+
+                       #current-slide {
+                               width: 1280px;
+                               height: 1024px;
+                               border: none;
+
+                               -webkit-transform-origin: 0 0;
+                                        -moz-transform-origin: 0 0;
+                                               -ms-transform-origin: 0 0;
+                                                -o-transform-origin: 0 0;
+                                                               transform-origin: 0 0;
+
+                               -webkit-transform: scale(0.5);
+                                        -moz-transform: scale(0.5);
+                                               -ms-transform: scale(0.5);
+                                                -o-transform: scale(0.5);
+                                                               transform: scale(0.5);
+                       }
+
+                       #wrap-next-slide {
+                               width: 448px;
+                               height: 358px;
+                               float: left;
+                               margin: 0 0 0 10px;
+                               overflow: hidden;
+                       }
+
+                       #next-slide {
+                               width: 1280px;
+                               height: 1024px;
+                               border: none;
+
+                               -webkit-transform-origin: 0 0;
+                                        -moz-transform-origin: 0 0;
+                                               -ms-transform-origin: 0 0;
+                                                -o-transform-origin: 0 0;
+                                                               transform-origin: 0 0;
+
+                               -webkit-transform: scale(0.35);
+                                        -moz-transform: scale(0.35);
+                                               -ms-transform: scale(0.35);
+                                                -o-transform: scale(0.35);
+                                                               transform: scale(0.35);
+                       }
+
+                       .slides {
+                               position: relative;
+                               margin-bottom: 10px;
+                               border: 1px solid black;
+                               border-radius: 2px;
+                               background: rgb(28, 30, 32);
+                       }
+
+                       .slides span {
+                               position: absolute;
+                               top: 3px;
+                               left: 3px;
+                               font-weight: bold;
+                               font-size: 14px;
+                               color: rgba( 255, 255, 255, 0.9 );
+                       }
+               </style>
+       </head>
+
+       <body>
+
+               <div id="wrap-current-slide" class="slides">
+                       <iframe src="../../index.html" width="1280" height="1024" id="current-slide"></iframe>
+               </div>
+
+               <div id="wrap-next-slide" class="slides">
+                       <iframe src="../../index.html" width="640" height="512" id="next-slide"></iframe>
+                       <span>UPCOMING:</span>
+               </div>
+               <div id="notes"></div>
+
+               <script src="../../plugin/markdown/showdown.js"></script>
+               <script>
+                       window.addEventListener( 'load', function() {
+
+                               (function( window, undefined ) {
+                                       var notes = document.getElementById( 'notes' ),
+                                               currentSlide = document.getElementById( 'current-slide' ),
+                                               nextSlide = document.getElementById( 'next-slide' );
+
+                                       window.addEventListener( 'message', function( event ) {
+                                               var data = JSON.parse( event.data );
+                                               // No need for updating the notes in case of fragment changes
+                                               if ( data.notes !== undefined) {
+                                                       if( data.markdown ) {
+                                                               notes.innerHTML = (new Showdown.converter()).makeHtml( data.notes );
+                                                       }
+                                                       else {
+                                                               notes.innerHTML = data.notes;
+                                                       }
+                                               }
+
+                                               // Update the note slides
+                                               currentSlide.contentWindow.Reveal.slide( data.indexh, data.indexv );
+                                               nextSlide.contentWindow.Reveal.slide( data.nextindexh, data.nextindexv );
+
+                                               // Showing and hiding fragments
+                                               if( data.fragment === 'next' ) {
+                                                       currentSlide.contentWindow.Reveal.nextFragment();
+                                               }
+                                               else if( data.fragment === 'prev' ) {
+                                                       currentSlide.contentWindow.Reveal.prevFragment();
+                                               }
+
+                                       }, false );
+
+                               })( window );
+
+                       }, false );
+
+               </script>
+       </body>
+</html>
diff --git a/slides/reveal.js/plugin/notes/notes.js b/slides/reveal.js/plugin/notes/notes.js
new file mode 100644 (file)
index 0000000..7c83366
--- /dev/null
@@ -0,0 +1,98 @@
+/**
+ * Handles opening of and synchronization with the reveal.js
+ * notes window.
+ */
+var RevealNotes = (function() {
+
+       function openNotes() {
+               var notesPopup = window.open( 'plugin/notes/notes.html', 'reveal.js - Notes', 'width=1120,height=850' );
+
+               // Fires when slide is changed
+               Reveal.addEventListener( 'slidechanged', function( event ) {
+                       post('slidechanged');
+               } );
+
+               // Fires when a fragment is shown
+               Reveal.addEventListener( 'fragmentshown', function( event ) {
+                       post('fragmentshown');
+               } );
+
+               // Fires when a fragment is hidden
+               Reveal.addEventListener( 'fragmenthidden', function( event ) {
+                       post('fragmenthidden');
+               } );
+
+               /**
+                * Posts the current slide data to the notes window
+                *
+                * @param {String} eventType Expecting 'slidechanged', 'fragmentshown' 
+                * or 'fragmenthidden' set in the events above to define the needed 
+                * slideDate.
+                */
+               function post( eventType ) {
+                       var slideElement = Reveal.getCurrentSlide(),
+                               messageData;
+
+                       if( eventType === 'slidechanged' ) {
+                               var notes = slideElement.querySelector( 'aside.notes' ),
+                                       indexh = Reveal.getIndices().h,
+                                       indexv = Reveal.getIndices().v,
+                                       nextindexh,
+                                       nextindexv;
+
+                               if( slideElement.nextElementSibling && slideElement.parentNode.nodeName == 'SECTION' ) {
+                                       nextindexh = indexh;
+                                       nextindexv = indexv + 1;
+                               } else {
+                                       nextindexh = indexh + 1;
+                                       nextindexv = 0;
+                               }
+
+                               messageData = {
+                                       notes : notes ? notes.innerHTML : '',
+                                       indexh : indexh,
+                                       indexv : indexv,
+                                       nextindexh : nextindexh,
+                                       nextindexv : nextindexv,
+                                       markdown : notes ? typeof notes.getAttribute( 'data-markdown' ) === 'string' : false
+                               };
+                       }
+                       else if( eventType === 'fragmentshown' ) {
+                               messageData = {
+                                       fragment : 'next'
+                               };
+                       }
+                       else if( eventType === 'fragmenthidden' ) {
+                               messageData = {
+                                       fragment : 'prev'
+                               };
+                       }
+
+                       notesPopup.postMessage( JSON.stringify( messageData ), '*' );
+               }
+
+               // Navigate to the current slide when the notes are loaded
+               notesPopup.addEventListener( 'load', function( event ) {
+                       post('slidechanged');
+               }, false );
+       }
+
+       // If the there's a 'notes' query set, open directly
+       if( window.location.search.match( /(\?|\&)notes/gi ) !== null ) {
+               openNotes();
+       }
+
+       // Open the notes when the 's' key is hit
+       document.addEventListener( 'keydown', function( event ) {
+               // Disregard the event if the target is editable or a
+               // modifier is present
+               if ( document.querySelector( ':focus' ) !== null || event.shiftKey || event.altKey || event.ctrlKey || event.metaKey ) return;
+
+               if( event.keyCode === 83 ) {
+                       event.preventDefault();
+                       openNotes();
+               }
+       }, false );
+
+       return { open: openNotes };
+})();
diff --git a/slides/reveal.js/plugin/zoom-js/zoom.js b/slides/reveal.js/plugin/zoom-js/zoom.js
new file mode 100644 (file)
index 0000000..6b29f56
--- /dev/null
@@ -0,0 +1,251 @@
+// Custom reveal.js integration
+(function(){
+       document.querySelector( '.reveal' ).addEventListener( 'click', function( event ) {
+               if( event.altKey ) {
+                       event.preventDefault();
+                       zoom.to({ element: event.target, pan: false });
+               }
+       } );
+})();
+
+/*!
+ * zoom.js 0.2 (modified version for use with reveal.js)
+ * http://lab.hakim.se/zoom-js
+ * MIT licensed
+ * 
+ * Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
+ */
+var zoom = (function(){
+
+       // The current zoom level (scale)
+       var level = 1;
+       
+       // The current mouse position, used for panning
+       var mouseX = 0,
+               mouseY = 0;
+       
+       // Timeout before pan is activated
+       var panEngageTimeout = -1,
+               panUpdateInterval = -1;
+
+       var currentOptions = null;
+
+       // Check for transform support so that we can fallback otherwise
+       var supportsTransforms =        'WebkitTransform' in document.body.style ||
+                                                               'MozTransform' in document.body.style ||
+                                                               'msTransform' in document.body.style ||
+                                                               'OTransform' in document.body.style ||
+                                                               'transform' in document.body.style;
+    
+       if( supportsTransforms ) {
+               // The easing that will be applied when we zoom in/out
+               document.body.style.transition = 'transform 0.8s ease';
+               document.body.style.OTransition = '-o-transform 0.8s ease';
+               document.body.style.msTransition = '-ms-transform 0.8s ease';
+               document.body.style.MozTransition = '-moz-transform 0.8s ease';
+               document.body.style.WebkitTransition = '-webkit-transform 0.8s ease';
+       }
+       
+       // Zoom out if the user hits escape
+       document.addEventListener( 'keyup', function( event ) {
+               if( level !== 1 && event.keyCode === 27 ) {
+                       zoom.out();
+               }
+       }, false );
+
+       // Monitor mouse movement for panning
+       document.addEventListener( 'mousemove', function( event ) {
+               if( level !== 1 ) {
+                       mouseX = event.clientX;
+                       mouseY = event.clientY;
+               }
+       }, false );
+
+       /**
+        * Applies the CSS required to zoom in, prioritizes use of CSS3 
+        * transforms but falls back on zoom for IE.
+        * 
+        * @param {Number} pageOffsetX 
+        * @param {Number} pageOffsetY 
+        * @param {Number} elementOffsetX 
+        * @param {Number} elementOffsetY 
+        * @param {Number} scale 
+        */
+       function magnify( pageOffsetX, pageOffsetY, elementOffsetX, elementOffsetY, scale ) {
+
+               if( supportsTransforms ) {
+                       var origin = pageOffsetX +'px '+ pageOffsetY +'px',
+                               transform = 'translate('+ -elementOffsetX +'px,'+ -elementOffsetY +'px) scale('+ scale +')';
+                       
+                       document.body.style.transformOrigin = origin;
+                       document.body.style.OTransformOrigin = origin;
+                       document.body.style.msTransformOrigin = origin;
+                       document.body.style.MozTransformOrigin = origin;
+                       document.body.style.WebkitTransformOrigin = origin;
+
+                       document.body.style.transform = transform;
+                       document.body.style.OTransform = transform;
+                       document.body.style.msTransform = transform;
+                       document.body.style.MozTransform = transform;
+                       document.body.style.WebkitTransform = transform;
+               }
+               else {
+                       // Reset all values
+                       if( scale === 1 ) {
+                               document.body.style.position = '';
+                               document.body.style.left = '';
+                               document.body.style.top = '';
+                               document.body.style.width = '';
+                               document.body.style.height = '';
+                               document.body.style.zoom = '';
+                       }
+                       // Apply scale
+                       else {
+                               document.body.style.position = 'relative';
+                               document.body.style.left = ( - ( pageOffsetX + elementOffsetX ) / scale ) + 'px';
+                               document.body.style.top = ( - ( pageOffsetY + elementOffsetY ) / scale ) + 'px';
+                               document.body.style.width = ( scale * 100 ) + '%';
+                               document.body.style.height = ( scale * 100 ) + '%';
+                               document.body.style.zoom = scale;
+                       }
+               }
+
+               level = scale;
+
+               if( level !== 1 && document.documentElement.classList ) {
+                       document.documentElement.classList.add( 'zoomed' );
+               }
+               else {
+                       document.documentElement.classList.remove( 'zoomed' );
+               }
+       }
+
+       /**
+        * Pan the document when the mosue cursor approaches the edges 
+        * of the window.
+        */
+       function pan() {
+               var range = 0.12,
+                       rangeX = window.innerWidth * range,
+                       rangeY = window.innerHeight * range,
+                       scrollOffset = getScrollOffset();
+               
+               // Up
+               if( mouseY < rangeY ) {
+                       window.scroll( scrollOffset.x, scrollOffset.y - ( 1 - ( mouseY / rangeY ) ) * ( 14 / level ) );
+               }
+               // Down
+               else if( mouseY > window.innerHeight - rangeY ) {
+                       window.scroll( scrollOffset.x, scrollOffset.y + ( 1 - ( window.innerHeight - mouseY ) / rangeY ) * ( 14 / level ) );
+               }
+
+               // Left
+               if( mouseX < rangeX ) {
+                       window.scroll( scrollOffset.x - ( 1 - ( mouseX / rangeX ) ) * ( 14 / level ), scrollOffset.y );
+               }
+               // Right
+               else if( mouseX > window.innerWidth - rangeX ) {
+                       window.scroll( scrollOffset.x + ( 1 - ( window.innerWidth - mouseX ) / rangeX ) * ( 14 / level ), scrollOffset.y );
+               }
+       }
+
+       function getScrollOffset() {
+               return {
+                       x: window.scrollX !== undefined ? window.scrollX : window.pageXOffset,
+                       y: window.scrollY !== undefined ? window.scrollY : window.pageXYffset
+               }
+       }
+
+       return {
+               /**
+                * Zooms in on either a rectangle or HTML element.
+                * 
+                * @param {Object} options
+                *   - element: HTML element to zoom in on
+                *   OR
+                *   - x/y: coordinates in non-transformed space to zoom in on
+                *   - width/height: the portion of the screen to zoom in on
+                *   - scale: can be used instead of width/height to explicitly set scale
+                */
+               to: function( options ) {
+                       // Due to an implementation limitation we can't zoom in
+                       // to another element without zooming out first
+                       if( level !== 1 ) {
+                               zoom.out();
+                       }
+                       else {
+                               options.x = options.x || 0;
+                               options.y = options.y || 0;
+
+                               // If an element is set, that takes precedence
+                               if( !!options.element ) {
+                                       // Space around the zoomed in element to leave on screen
+                                       var padding = 20;
+
+                                       options.width = options.element.getBoundingClientRect().width + ( padding * 2 );
+                                       options.height = options.element.getBoundingClientRect().height + ( padding * 2 );
+                                       options.x = options.element.getBoundingClientRect().left - padding;
+                                       options.y = options.element.getBoundingClientRect().top - padding;
+                               }
+
+                               // If width/height values are set, calculate scale from those values
+                               if( options.width !== undefined && options.height !== undefined ) {
+                                       options.scale = Math.max( Math.min( window.innerWidth / options.width, window.innerHeight / options.height ), 1 );
+                               }
+
+                               if( options.scale > 1 ) {
+                                       options.x *= options.scale;
+                                       options.y *= options.scale;
+
+                                       var scrollOffset = getScrollOffset();
+
+                                       if( options.element ) {
+                                               scrollOffset.x -= ( window.innerWidth - ( options.width * options.scale ) ) / 2;
+                                       }
+
+                                       magnify( scrollOffset.x, scrollOffset.y, options.x, options.y, options.scale );
+
+                                       if( options.pan !== false ) {
+
+                                               // Wait with engaging panning as it may conflict with the
+                                               // zoom transition
+                                               panEngageTimeout = setTimeout( function() {
+                                                       panUpdateInterval = setInterval( pan, 1000 / 60 );
+                                               }, 800 );
+
+                                       }
+                               }
+
+                               currentOptions = options;
+                       }
+               },
+
+               /**
+                * Resets the document zoom state to its default.
+                */
+               out: function() {
+                       clearTimeout( panEngageTimeout );
+                       clearInterval( panUpdateInterval );
+
+                       var scrollOffset = getScrollOffset();
+
+                       if( currentOptions && currentOptions.element ) {
+                               scrollOffset.x -= ( window.innerWidth - ( currentOptions.width * currentOptions.scale ) ) / 2;
+                       }
+                       
+                       magnify( scrollOffset.x, scrollOffset.y, 0, 0, 1 );
+
+                       level = 1;
+               },
+
+               // Alias
+               magnify: function( options ) { this.to( options ) },
+               reset: function() { this.out() },
+               
+               zoomLevel: function() {
+                       return level;
+               }
+       }
+       
+})();
+
similarity index 100%
rename from stallman.jpg
rename to slides/stallman.jpg
similarity index 100%
rename from visual_studio.jpg
rename to slides/visual_studio.jpg