diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..dbbe355 --- /dev/null +++ b/LICENSE @@ -0,0 +1,661 @@ + GNU AFFERO GENERAL PUBLIC LICENSE + Version 3, 19 November 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU Affero General Public License is a free, copyleft license for +software and other kinds of works, specifically designed to ensure +cooperation with the community in the case of network server software. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +our General Public Licenses are intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. + + 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 +them 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. + + Developers that use our General Public Licenses protect your rights +with two steps: (1) assert copyright on the software, and (2) offer +you this License which gives you legal permission to copy, distribute +and/or modify the software. + + A secondary benefit of defending all users' freedom is that +improvements made in alternate versions of the program, if they +receive widespread use, become available for other developers to +incorporate. Many developers of free software are heartened and +encouraged by the resulting cooperation. However, in the case of +software used on network servers, this result may fail to come about. +The GNU General Public License permits making a modified version and +letting the public access it on a server without ever releasing its +source code to the public. + + The GNU Affero General Public License is designed specifically to +ensure that, in such cases, the modified source code becomes available +to the community. It requires the operator of a network server to +provide the source code of the modified version running there to the +users of that server. Therefore, public use of a modified version, on +a publicly accessible server, gives the public access to the source +code of the modified version. + + An older license, called the Affero General Public License and +published by Affero, was designed to accomplish similar goals. This is +a different license, not a version of the Affero GPL, but Affero has +released a new version of the Affero GPL which permits relicensing under +this license. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU Affero General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey 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; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If 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 convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Remote Network Interaction; Use with the GNU General Public License. + + Notwithstanding any other provision of this License, if you modify the +Program, your modified version must prominently offer all users +interacting with it remotely through a computer network (if your version +supports such interaction) an opportunity to receive the Corresponding +Source of your version by providing access to the Corresponding Source +from a network server at no charge, through some standard or customary +means of facilitating copying of software. This Corresponding Source +shall include the Corresponding Source for any work covered by version 3 +of the GNU General Public License that is incorporated pursuant to the +following paragraph. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the work with which it is combined will remain governed by version +3 of the GNU General Public License. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU Affero 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 that a certain numbered version of the GNU Affero General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU Affero General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU Affero General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + 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. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +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. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + + Copyright (C) + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU Affero General Public License as published + by the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Affero General Public License for more details. + + You should have received a copy of the GNU Affero General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If your software can interact with users remotely through a computer +network, you should also make sure that it provides a way for users to +get its source. For example, if your program is a web application, its +interface could display a "Source" link that leads users to an archive +of the code. There are many ways you could offer source, and different +solutions will be better for different programs; see section 13 for the +specific requirements. + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU AGPL, see +. diff --git a/README.md b/README.md index be1bab4..5d6727a 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,14 @@ strut_ynh Strut package for YunoHost +## IMPORTANT NOTE ABOUT THIS PACKAGE +This package doesn't contained the exact sources of the upstream https://github.com/tantaman/Strut. + +Initial Strut software includes Google Analytics and is bind to Imgur to upload images. This kind of trackers or external services are not accepted by the package team of YunoHost. So this trackers are removed from sources, a pull request has been done and merged but has finally be removed from the strut upstream with no explanation. In more, Strut developers don't deliver builded versions. To build a version it needs grunt, that can't be removed easily. + +To avoid to take time to build this html/js app, this package setups a builded version of Strut with the patch that remove Google Analytics and Imgur dependencies. It is a build of this version https://github.com/tantaman/Strut/commits/6761b141ee7aa622916e2d23cced84ee95618cce . So it's not the more recent version. + + ## Official Website: http://strut.io ## About Strut diff --git a/check_process b/check_process index e207dd1..2bf8ee3 100644 --- a/check_process +++ b/check_process @@ -1,9 +1,10 @@ +# See here for more informations +# https://github.com/YunoHost/package_check#syntax-check_process-file ;; Test complet - auto_remove=1 ; Manifest domain="domain.tld" (DOMAIN) path="/path" (PATH) - public_site="Yes" (PUBLIC|public=Yes|private=No) + is_public=1 (PUBLIC|public=1|private=0) ; Checks pkg_linter=1 setup_sub_dir=1 @@ -14,22 +15,22 @@ upgrade=1 backup_restore=1 multi_instance=1 - wrong_user=1 - wrong_path=1 incorrect_path=1 - corrupt_source=0 - fail_download_source=0 port_already_use=0 - final_path_already_use=0 + change_url=1 ;;; Levels Level 1=auto Level 2=auto Level 3=auto -# Niveau 4 ignoré, mais c'est à confirmé par le mainteneur de l'application. - Level 4=na +# Level 4: + Level 4=1 +# Level 5: Level 5=auto Level 6=auto Level 7=auto - Level 8=0 - Level 9=0 + Level 8=1 + Level 9=1 Level 10=0 +;;; Options +Email=ljf+ynh-strut@grimaud.me +Notification=down diff --git a/conf/app.src b/conf/app.src new file mode 100644 index 0000000..b03335a --- /dev/null +++ b/conf/app.src @@ -0,0 +1,6 @@ +SOURCE_URL=https://github.com/YunoHost-Apps/strut_ynh/archive/ebd1e859cb1ecc0cc3166969fc1db649f3ddb61c.tar.gz +SOURCE_SUM=6178b9b614c16167945804bdc460101324245b232215d993a5ae3b3bc38b8db6 +SOURCE_SUM_PRG=sha256sum +SOURCE_FORMAT=tar.gz +SOURCE_IN_SUBDIR=true +SOURCE_FILENAME=strut-20160915-1.tar.gz diff --git a/conf/nginx.conf b/conf/nginx.conf index 89840c5..076d2f1 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,10 +1,13 @@ -location PATHTOCHANGE { - alias ALIASTOCHANGE; - index index.html; - try_files $uri $uri/ /index.html; - include conf.d/yunohost_panel.conf.inc; +location __PATH__ { + alias __FINALPATH__/; + if ($scheme = http) { + rewrite ^ https://$server_name$request_uri? permanent; + } + index index.html; + try_files $uri $uri/ /index.html; + include conf.d/yunohost_panel.conf.inc; } -location ~ ^PATHTOCHANGE/(data|config|\.ht|db_structure\.xml|README) { - deny all; +location ~ ^__PATH__/(data|config|\.ht|db_structure\.xml|README) { + deny all; } diff --git a/manifest.json b/manifest.json index b0034af..4c7df1e 100644 --- a/manifest.json +++ b/manifest.json @@ -2,8 +2,11 @@ "name": "Strut", "id": "strut", "packaging_format": 1, + "version": "20160915-2", + "url": "http://strut.io", + "license": "AGPL-3.0", "requirements": { - "yunohost": ">= 2.4.0" + "yunohost": ">= 2.7.2" }, "description": { "en": "Strut is a slide editor creating impress.js presentations.", @@ -11,9 +14,9 @@ }, "maintainer": { "name": "zamentur", - "email": "valentin@grimaud.me" + "email": "ljf+yunohost@grimaud.me" }, - "multi_instance": "true", + "multi_instance": true, "services": [ "nginx" ], @@ -26,7 +29,7 @@ "en": "Choose a domain for Strut", "fr": "Choisissez un nom de domaine pour Strut" }, - "example": "domain.org" + "example": "example.com" }, { "name": "path", @@ -39,13 +42,13 @@ "default": "/strut" }, { - "name": "public_site", + "name": "is_public", + "type": "boolean", "ask": { "en": "Could non member create presentations ?", "fr": "Une personne non membre peut elle créer une présentation ?" }, - "choices": ["Yes", "No"], - "default": "Yes" + "default": true } diff --git a/scripts/_future.sh b/scripts/_future.sh new file mode 100644 index 0000000..2fa9421 --- /dev/null +++ b/scripts/_future.sh @@ -0,0 +1,45 @@ + +log() { + echo "${1}" +} + +info() { + log "[INFO] ${1}" +} + +warn() { + log "[WARN] ${1}" +} + +err() { + log "[ERR] ${1}" +} +to_logs() { + + # When yunohost --verbose or bash -x + if $_ISVERBOSE; then + cat + else + cat > /dev/null + fi +} + +read_json () { + sudo python3 -c "import sys, json;print(json.load(open('$1'))['$2'])" +} + +read_manifest () { + if [ -f '../manifest.json' ] ; then + read_json '../manifest.json' "$1" + else + read_json '../settings/manifest.json' "$1" + fi +} +abort_if_up_to_date () { + version=$(read_json "/etc/yunohost/apps/$YNH_APP_INSTANCE_NAME/manifest.json" 'version' 2> /dev/null || echo '20160501-7') + last_version=$(read_manifest 'version') + if [ "${version}" = "${last_version}" ]; then + info "Up-to-date, nothing to do" + ynh_die "" 0 + fi +} diff --git a/scripts/backup b/scripts/backup index 00f6fc3..49c218f 100644 --- a/scripts/backup +++ b/scripts/backup @@ -1,21 +1,37 @@ #!/bin/bash -# causes the shell to exit if any subcommand or pipeline returns a non-zero status -set -e +#================================================= +# GENERIC START +#================================================= +# IMPORT GENERIC HELPERS +#================================================= +source /usr/share/yunohost/helpers -# Source YNH helpers -. /usr/share/yunohost/helpers +#================================================= +# MANAGE SCRIPT FAILURE +#================================================= + +ynh_abort_if_errors + +#================================================= +# LOAD SETTINGS +#================================================= -# Get app instance name app=$YNH_APP_INSTANCE_NAME -# Retrieve arguments -domain=$(sudo yunohost app setting $app domain) -path=$(sudo yunohost app setting $app path) -public_site=$(sudo yunohost app setting $app public_site) +final_path=$(ynh_app_setting_get $app final_path) +domain=$(ynh_app_setting_get $app domain) -# Copy the app files -ynh_backup "/var/www/$app" "sources" +#================================================= +# STANDARD BACKUP STEPS +#================================================= +# BACKUP THE APP MAIN DIR +#================================================= -# Copy the conf files -ynh_backup "/etc/nginx/conf.d/$domain.d/$app.conf" "conf/nginx.conf" +ynh_backup "$final_path" + +#================================================= +# BACKUP THE NGINX CONFIGURATION +#================================================= + +ynh_backup "/etc/nginx/conf.d/$domain.d/$app.conf" diff --git a/scripts/change_url b/scripts/change_url new file mode 100644 index 0000000..84ce565 --- /dev/null +++ b/scripts/change_url @@ -0,0 +1,95 @@ +#!/bin/bash + +#================================================= +# GENERIC STARTING +#================================================= +# IMPORT GENERIC HELPERS +#================================================= + +source _future.sh +source /usr/share/yunohost/helpers + +#================================================= +# RETRIEVE ARGUMENTS +#================================================= + +old_domain=$YNH_APP_OLD_DOMAIN +old_path=$YNH_APP_OLD_PATH + +new_domain=$YNH_APP_NEW_DOMAIN +new_path=$YNH_APP_NEW_PATH + +app=$YNH_APP_INSTANCE_NAME + +#================================================= +# CHECK THE SYNTAX OF THE PATHS +#================================================= + +test -n "$old_path" || old_path="/" +test -n "$new_path" || new_path="/" +new_path=$(ynh_normalize_url_path $new_path) +old_path=$(ynh_normalize_url_path $old_path) + +#================================================= +# CHECK WHICH PARTS SHOULD BE CHANGED +#================================================= + +change_domain=0 +if [ "$old_domain" != "$new_domain" ] +then + change_domain=1 +fi + +change_path=0 +if [ "$old_path" != "$new_path" ] +then + change_path=1 +fi + +#================================================= +# BACKUP BEFORE UPGRADE THEN ACTIVE TRAP +#================================================= + +#ynh_backup_before_upgrade # Backup the current version of the app +#ynh_clean_setup () { +# ynh_restore_upgradebackup # restore it if the upgrade fails +#} +#ynh_abort_if_errors # Exit if an error occurs during the execution of the script + +#================================================= +# STANDARD MODIFICATIONS +#================================================= +# MODIFY URL IN NGINX CONF +#================================================= + +nginx_conf_path=/etc/nginx/conf.d/$old_domain.d/$app.conf + +# Change the path in the nginx config file +if [ $change_path -eq 1 ] +then + # Replace locations starting with old_path + # Look for every location possible patterns (see https://nginx.org/en/docs/http/ngx_http_core_module.html#location) + sed --in-place "s@location\( \(=\|~\|~\*\|\^~\)\)\? $old_path@location\1 $new_path@" "$nginx_conf_path" + # Replace path in "return" directives + sed --in-place "s@return \([[:digit:]]\{3\}\) $old_path@return \1 $new_path@" "$nginx_conf_path" +fi + +# Change the domain for nginx +if [ $change_domain -eq 1 ] +then + mv $nginx_conf_path /etc/nginx/conf.d/$new_domain.d/$app.conf +fi + +#================================================= +# SPECIFIC MODIFICATIONS +#================================================= +# ... +#================================================= + +#================================================= +# GENERIC FINALISATION +#================================================= +# RELOAD NGINX +#================================================= + +systemctl reload nginx diff --git a/scripts/install b/scripts/install index aaf8bab..c58db57 100644 --- a/scripts/install +++ b/scripts/install @@ -1,43 +1,81 @@ #!/bin/bash +#================================================= +# GENERIC START +#================================================= +# IMPORT GENERIC HELPERS +#================================================= +#source _common.sh +source /usr/share/yunohost/helpers -# causes the shell to exit if any subcommand or pipeline returns a non-zero status -set -e +#================================================= +# MANAGE SCRIPT FAILURE +#================================================= +# Exit if an error occurs during the execution of the script +ynh_abort_if_errors + +#================================================= +# RETRIEVE ARGUMENTS FROM THE MANIFEST +#================================================= +domain=$YNH_APP_ARG_DOMAIN +path_url=$YNH_APP_ARG_PATH +is_public=$YNH_APP_ARG_IS_PUBLIC -# Get app instance name app=$YNH_APP_INSTANCE_NAME -# Retrieve arguments -domain=$YNH_APP_ARG_DOMAIN -path=$YNH_APP_ARG_PATH -public_site=$YNH_APP_ARG_PUBLIC_SITE - -sudo yunohost app setting $app public_site -v $public_site - -# Check domain/path availability -sudo yunohost app checkurl $domain$path -a $app -if [[ ! $? -eq 0 ]]; then - exit 1 -fi - - -# Copy files to the right place +#================================================= +# CHECK IF THE APP CAN BE INSTALLED WITH THESE ARGS +#================================================= final_path=/var/www/$app -sudo mkdir -p $final_path -sudo cp -a ../sources/* $final_path +test ! -e "$final_path" || ynh_die "This path already contains a folder" -# Set permissions to roundcube directory -sudo chown -R www-data: $final_path +# Register (book) web path +ynh_webpath_register $app $domain $path_url +#================================================= +# STORE SETTINGS FROM MANIFEST +#================================================= +ynh_app_setting_set $app is_public $is_public -# Modify Nginx configuration file and copy it to Nginx conf directory -sed -i "s@PATHTOCHANGE@$path@g" ../conf/nginx.conf -sed -i "s@ALIASTOCHANGE@$final_path/@g" ../conf/nginx.conf -sudo cp ../conf/nginx.conf /etc/nginx/conf.d/$domain.d/$app.conf -# Reload Nginx and regenerate SSOwat conf -sudo service nginx reload -sudo yunohost app setting $app skipped_uris -v "/" -if [ "$public_site" = "No" ]; -then - sudo yunohost app setting $app protected_uris -v "/index.html,/scripts" +#================================================= +# DOWNLOAD, CHECK AND UNPACK SOURCE +#================================================= +ynh_app_setting_set $app final_path $final_path +# Download, check integrity, uncompress and patch the source from app.src +# For this app sources are in app subdirectory +tmp_dir=$(mktemp -d) +ynh_clean_setup () { + rm -Rf "$tmp_dir" +} +ynh_setup_source "$tmp_dir" +mv "$tmp_dir/sources" "$final_path" +ynh_secure_remove "$tmp_dir" +#================================================= +# NGINX CONFIGURATION +#================================================= +# Create a dedicated nginx config +ynh_add_nginx_config + +#================================================= +# GENERIC FINALIZATION +#================================================= +# SECURE FILES AND DIRECTORIES +#================================================= +# Set strong right permissions to app files +chown -R root:www-data "$final_path" +chmod -R 640 "$final_path" +find "$final_path" -type d -print0 | xargs -0 chmod 750 + +#================================================= +# SETUP SSOWAT +#================================================= + +# Make app public if necessary or protect it +if [ $is_public -eq 1 ] +then + ynh_app_setting_set $app skipped_uris "/" fi -sudo yunohost app ssowatconf + +#================================================= +# RELOAD NGINX +#================================================= +systemctl reload nginx diff --git a/scripts/remove b/scripts/remove index f277c53..d57b7a1 100644 --- a/scripts/remove +++ b/scripts/remove @@ -1,10 +1,34 @@ #!/bin/bash -# Get app instance name +#================================================= +# GENERIC START +#================================================= +# IMPORT GENERIC HELPERS +#================================================= + +source /usr/share/yunohost/helpers + +#================================================= +# LOAD SETTINGS +#================================================= + app=$YNH_APP_INSTANCE_NAME -# Retrieve arguments -domain=$(sudo yunohost app setting $app domain) +domain=$(ynh_app_setting_get $app domain) +final_path=$(ynh_app_setting_get $app final_path) -sudo rm -rf /var/www/$app -sudo rm -f /etc/nginx/conf.d/$domain.d/$app.conf +#================================================= +# STANDARD REMOVE +#================================================= +# REMOVE APP MAIN DIR +#================================================= + +# Remove the app directory securely +ynh_secure_remove "$final_path" + +#================================================= +# REMOVE NGINX CONFIGURATION +#================================================= + +# Remove the dedicated nginx config +ynh_remove_nginx_config diff --git a/scripts/restore b/scripts/restore index ed193b5..53cac08 100644 --- a/scripts/restore +++ b/scripts/restore @@ -1,50 +1,63 @@ #!/bin/bash -# causes the shell to exit if any subcommand or pipeline returns a non-zero status -set -e +#================================================= +# GENERIC START +#================================================= +# IMPORT GENERIC HELPERS +#================================================= -# Source YNH helpers -. /usr/share/yunohost/helpers +#source ../settings/scripts/_common.sh +source /usr/share/yunohost/helpers + +#================================================= +# MANAGE SCRIPT FAILURE +#================================================= +# Exit on command errors and treat access to unset variables as an error +ynh_abort_if_errors + +#================================================= +# LOAD SETTINGS +#================================================= -# Get app instance name app=$YNH_APP_INSTANCE_NAME -# Retrieve arguments -domain=$(sudo yunohost app setting $app domain) -path=$(sudo yunohost app setting $app path) -public_site=$(sudo yunohost app setting $app public_site) +domain=$(ynh_app_setting_get $app domain) +path_url=$(ynh_app_setting_get $app path) +final_path=$(ynh_app_setting_get $app final_path) -# Check domain/path availability -sudo yunohost app checkurl $domain$path -a $app -if [[ ! $? -eq 0 ]]; then - echo "There is already an app on this URL : $domain$path" | sudo tee /dev/stderr - exit 1 -fi +#================================================= +# CHECK IF THE APP CAN BE RESTORED +#================================================= -# Restore the app files -final_path=/var/www/$app -if [ -d $final_path ]; then - echo "There is already a directory: $final_path " | sudo tee /dev/stderr - exit 1 -fi -sudo cp -a "sources" $final_path -sudo chown -R www-data: $final_path +ynh_webpath_available $domain $path_url \ + || ynh_die "Path not available: ${domain}${path_url}" +test ! -d $final_path \ + || ynh_die "There is already a directory: $final_path " +conf="/etc/nginx/conf.d/$domain.d/$app.conf" +test ! -f $conf \ + || ynh_die "There is already a nginx conf file at this path: $conf " -# Restore the conf files -conf=/etc/nginx/conf.d/$domain.d/$app.conf -if [ -f $conf ]; then - echo "There is already a nginx conf file at this path: $conf " | sudo tee /dev/stderr - exit 1 -fi -sudo cp -a "conf/nginx.conf" $conf +#================================================= +# STANDARD RESTORATION STEPS +#================================================= +# RESTORE BACKUP FILES +#================================================= -# Reload Nginx -sudo service nginx reload +ynh_restore -# Set ssowat config -sudo yunohost app setting $app skipped_uris -v "/" -if [ "$public_site" = "No" ]; -then - sudo yunohost app setting $app protected_uris -v "/index.html,/scripts" -fi -sudo yunohost app ssowatconf +#================================================= +# RESTORE USER RIGHTS +#================================================= + +# Restore permissions on app files +chown -R root:www-data "$final_path" +chmod -R 640 "$final_path" +find "$final_path" -type d -print0 | xargs -0 chmod 750 + +#================================================= +# GENERIC FINALIZATION +#================================================= +# RELOAD NGINX +#================================================= + +systemctl reload nginx diff --git a/scripts/upgrade b/scripts/upgrade index d9b65ef..3a6c623 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -1,37 +1,114 @@ #!/bin/bash -# causes the shell to exit if any subcommand or pipeline returns a non-zero status -set -e +#================================================= +# GENERIC START +#================================================= +# IMPORT GENERIC HELPERS +#================================================= + +source _future.sh +source /usr/share/yunohost/helpers + +#================================================= +# LOAD SETTINGS +#================================================= -# Get app instance name app=$YNH_APP_INSTANCE_NAME -# Retrieve arguments -domain=$(sudo yunohost app setting $app domain) -path=$(sudo yunohost app setting $app path) -public_site=$(sudo yunohost app setting $app public_site) +domain=$(ynh_app_setting_get $app domain) +path_url=$(ynh_app_setting_get $app path) +is_public=$(ynh_app_setting_get $app is_public) +final_path=$(ynh_app_setting_get $app final_path) -# Copy files to the right place -final_path=/var/www/$app -sudo mkdir -p $final_path -sudo cp -a ../sources/* $final_path +#================================================= +# Check version +#================================================= +abort_if_up_to_date -# Set permissions to roundcube directory -sudo chown -R www-data: $final_path +#================================================= +# BACKUP BEFORE UPGRADE THEN ACTIVE TRAP +#================================================= -# Modify Nginx configuration file and copy it to Nginx conf directory -sed -i "s@PATHTOCHANGE@$path@g" ../conf/nginx.conf* -sed -i "s@ALIASTOCHANGE@$final_path/@g" ../conf/nginx.conf* +ynh_backup_before_upgrade # Backup the current version of the app +ynh_clean_setup () { + ynh_restore_upgradebackup # restore it if the upgrade fails +} +ynh_abort_if_errors # Exit if an error occurs during the execution of the script -sudo cp ../conf/nginx.conf /etc/nginx/conf.d/$domain.d/$app.conf +#================================================= +# ENSURE DOWNWARD COMPATIBILITY +#================================================= -# Reload Nginx -sudo service nginx reload - -# SSO configuration -sudo yunohost app setting $app skipped_uris -v "/" -if [ "$public_site" = "No" ]; -then - sudo yunohost app setting $app protected_uris -v "/index.html,/scripts" +if [ "${version}" = "20160501-7" ]; then + public_site=$(ynh_app_setting_get $app public_site) + # Fix is_public as a boolean value + if [ "$public_site" = "Yes" ]; then + ynh_app_setting_set $app is_public 1 + is_public=1 + elif [ "$public_site" = "No" ]; then + ynh_app_setting_set $app is_public 0 + is_public=0 + fi + ynh_app_setting_delete $app public_site + + # If final_path doesn't exist, create it + if [ -z $final_path ]; then + final_path=/var/www/$app + ynh_app_setting_set $app final_path $final_path + fi fi -sudo yunohost app ssowatconf + +#================================================= +# CHECK THE PATH +#================================================= + +# Normalize the URL path syntax +path_url=$(ynh_normalize_url_path $path_url) + +#================================================= +# STANDARD UPGRADE STEPS +#================================================= +# DOWNLOAD, CHECK AND UNPACK SOURCE +#================================================= + +# Download, check integrity, uncompress and patch the source from app.src +# For this app sources are in app subdirectory +tmp_dir=$(mktemp -d) +ynh_setup_source "$tmp_dir" +cp -R "$tmp_dir/sources/." "$final_path/" +ynh_secure_remove "$tmp_dir" + +#================================================= +# NGINX CONFIGURATION +#================================================= + +# Create a dedicated nginx config +ynh_add_nginx_config + +#================================================= +# GENERIC FINALIZATION +#================================================= +# SECURE FILES AND DIRECTORIES +#================================================= + +# Set strong right permissions +chown -R root:www-data "$final_path" +chmod -R 640 "$final_path" +find "$final_path" -type d -print0 | xargs -0 chmod 750 + +#================================================= +# SETUP SSOWAT +#================================================= + +# Make app public if necessary or protect it +if [ $is_public -eq 1 ] +then + ynh_app_setting_set $app skipped_uris "/" +else + ynh_app_setting_set $app protected_uris "/" +fi + +#================================================= +# RELOAD NGINX +#================================================= +systemctl reload nginx diff --git a/sources/empty.html b/sources/empty.html deleted file mode 100644 index bad3b27..0000000 --- a/sources/empty.html +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - \ No newline at end of file diff --git a/sources/index.html b/sources/index.html deleted file mode 100644 index 3973d75..0000000 --- a/sources/index.html +++ /dev/null @@ -1,120 +0,0 @@ - - - - - - - - - - Strut - Beta - - - - - - - - - - - - - - -
-
- - diff --git a/sources/preview_export/bespoke.html b/sources/preview_export/bespoke.html deleted file mode 100644 index b4cea90..0000000 --- a/sources/preview_export/bespoke.html +++ /dev/null @@ -1,76 +0,0 @@ - - - - Deck Title - - - - - - - - - - - - - - - - - -
- - diff --git a/sources/preview_export/bespoke/css/demo.css b/sources/preview_export/bespoke/css/demo.css deleted file mode 100644 index 5770c76..0000000 --- a/sources/preview_export/bespoke/css/demo.css +++ /dev/null @@ -1,71 +0,0 @@ -* { - box-sizing: border-box; - -webkit-font-smoothing: antialiased; - font-smoothing: antialiased; - margin: 0; - padding: 0; -} - -body { - font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; - min-height: 740px; - - background: rgb(215, 215, 215); - background: -webkit-gradient(radial, 50% 50%, 0, 50% 50%, 500, from(rgb(240, 240, 240)), to(rgb(190, 190, 190))); - background: -webkit-radial-gradient(rgb(240, 240, 240), rgb(190, 190, 190)); - background: -moz-radial-gradient(rgb(240, 240, 240), rgb(190, 190, 190)); - background: -ms-radial-gradient(rgb(240, 240, 240), rgb(190, 190, 190)); - background: -o-radial-gradient(rgb(240, 240, 240), rgb(190, 190, 190)); - background: radial-gradient(rgb(240, 240, 240), rgb(190, 190, 190)); -} - -#main { - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; -} - -article { - -webkit-perspective: 600px; - -moz-perspective: 600px; - -ms-perspective: 600px; - -o-perspective: 600px; - perspective: 600px; - position: absolute; - top: 0; - right: 0; - left: 0; - bottom: 0; -} - -section { - -webkit-transform: none; - -moz-transform: none; - -ms-transform: none; - -o-transform: none; - transform: none; - position: absolute; - top: 50%; - left: 50%; - margin-left: -512px; - margin-top: -384px; - opacity: 0; -} - -body, -section.bespoke-slide { - -webkit-transition: -webkit-transform .7s ease, opacity .7s ease, background-color .7s ease; - -moz-transition: -moz-transform .7s ease, opacity .7s ease, background-color .7s ease; - -ms-transition: -ms-transform .7s ease, opacity .7s ease, background-color .7s ease; - -o-transition: -o-transform .7s ease, opacity .7s ease, background-color .7s ease; - transition: transform .7s ease, opacity .7s ease, background-color .7s ease; -} -section.bespoke-active { - opacity: 1; - z-index: 1; -} -section.bespoke-inactive { - pointer-events: none; -} diff --git a/sources/preview_export/bespoke/css/themes.css b/sources/preview_export/bespoke/css/themes.css deleted file mode 100644 index 228d1e1..0000000 --- a/sources/preview_export/bespoke/css/themes.css +++ /dev/null @@ -1,362 +0,0 @@ -/*! - * Bespoke.js Demo Themes - * - * These styles are hard-coded to be pre-processor agnostic. - * In reality, you should probably use -prefix-free or LESS / SCSS / Stylus. - * - * This is only scratching the surfact of what can be done. - * Be creative and make something that surprises people! ;) - * - */ - -/* Cube Theme */ -.cube { - /*background: rgba(86, 174, 231, 0.3);*/ -} -.cube section, -.cube .arrow:hover { - /*background: rgb(86, 174, 231);*/ -} -.cube a { - color: rgb(86, 174, 231); -} -.cube section.bespoke-before { - -webkit-transform: translateX(-662px) rotateY(-70deg) translateX(-1304px) rotateY(-110deg) translateX(-1060px); - -moz-transform: translateX(-662px) rotateY(-70deg) translateX(-1304px) rotateY(-110deg) translateX(-1060px); - -ms-transform: translateX(-662px) rotateY(-70deg) translateX(-1304px) rotateY(-110deg) translateX(-1060px); - -o-transform: translateX(-662px) rotateY(-70deg) translateX(-1304px) rotateY(-110deg) translateX(-1060px); - transform: translateX(-662px) rotateY(-70deg) translateX(-1304px) rotateY(-110deg) translateX(-1060px); -} -.cube section.bespoke-before-1 { - -webkit-transform: translateX(-700px) rotateY(-70deg) translateX(-800px); - -moz-transform: translateX(-700px) rotateY(-70deg) translateX(-800px); - -ms-transform: translateX(-700px) rotateY(-70deg) translateX(-800px); - -o-transform: translateX(-700px) rotateY(-70deg) translateX(-800px); - transform: translateX(-700px) rotateY(-70deg) translateX(-800px); - opacity: 0.5; -} -.cube section.bespoke-after { - -webkit-transform: translateX(662px) rotateY(70deg) translateX(1304px) rotateY(110deg) translateX(1060px); - -moz-transform: translateX(662px) rotateY(70deg) translateX(1304px) rotateY(110deg) translateX(1060px); - -ms-transform: translateX(662px) rotateY(70deg) translateX(1304px) rotateY(110deg) translateX(1060px); - -o-transform: translateX(662px) rotateY(70deg) translateX(1304px) rotateY(110deg) translateX(1060px); - transform: translateX(662px) rotateY(70deg) translateX(1304px) rotateY(110deg) translateX(1060px); -} -.cube section.bespoke-after-1 { - -webkit-transform: translateX(700px) rotateY(70deg) translateX(800px); - -moz-transform: translateX(700px) rotateY(70deg) translateX(800px); - -ms-transform: translateX(700px) rotateY(70deg) translateX(800px); - -o-transform: translateX(700px) rotateY(70deg) translateX(800px); - transform: translateX(700px) rotateY(70deg) translateX(800px); - opacity: 0.5; -} - -/* Concave Theme */ -.concave { - /*background: rgba(235, 156, 184, 0.3);*/ -} -.concave section, -.concave .arrow:hover { - /*background: rgb(235, 156, 184);*/ -} -.concave a { - color: rgb(235, 156, 184); -} -.concave section.bespoke-before { - -webkit-transform: translateX(-800px) rotateY(90deg) translateX(-800px); - -moz-transform: translateX(-800px) rotateY(90deg) translateX(-800px); - -ms-transform: translateX(-800px) rotateY(90deg) translateX(-800px); - -o-transform: translateX(-800px) rotateY(90deg) translateX(-800px); - transform: translateX(-800px) rotateY(90deg) translateX(-800px); -} -.concave section.bespoke-before-1 { - -webkit-transform: translateX(-620px) rotateY(58deg) translateX(-480px); - -moz-transform: translateX(-620px) rotateY(58deg) translateX(-480px); - -ms-transform: translateX(-620px) rotateY(58deg) translateX(-480px); - -o-transform: translateX(-620px) rotateY(58deg) translateX(-480px); - transform: translateX(-620px) rotateY(58deg) translateX(-480px); - opacity: 0.4 -} -.concave section.bespoke-after { - -webkit-transform: translateX(800px) rotateY(-90deg) translateX(800px); - -moz-transform: translateX(800px) rotateY(-90deg) translateX(800px); - -ms-transform: translateX(800px) rotateY(-90deg) translateX(800px); - -o-transform: translateX(800px) rotateY(-90deg) translateX(800px); - transform: translateX(800px) rotateY(-90deg) translateX(800px); -} -.concave section.bespoke-after-1 { - -webkit-transform: translateX(620px) rotateY(-58deg) translateX(480px); - -moz-transform: translateX(620px) rotateY(-58deg) translateX(480px); - -ms-transform: translateX(620px) rotateY(-58deg) translateX(480px); - -o-transform: translateX(620px) rotateY(-58deg) translateX(480px); - transform: translateX(620px) rotateY(-58deg) translateX(480px); - opacity: 0.4 -} - -/* Coverflow Theme */ -.coverflow { - /*background: rgba(42, 206, 185, 0.2);*/ -} -.coverflow section, -.coverflow .arrow:hover { - /*background: rgb(42, 206, 185);*/ -} -.coverflow a { - color: rgb(42, 206, 185); -} -.coverflow section.bespoke-before { - -webkit-transform: translateX(-270px) rotateY(45deg) scale(0.6); - -moz-transform: translateX(-270px) rotateY(45deg) scale(0.6); - -ms-transform: translateX(-270px) rotateY(45deg) scale(0.6); - -o-transform: translateX(-270px) rotateY(45deg) scale(0.6); - transform: translateX(-270px) rotateY(45deg) scale(0.6); - z-index: 6; -} -.coverflow section.bespoke-before-3 { - -webkit-transform: translateX(-230px) rotateY(45deg) scale(0.6); - -moz-transform: translateX(-230px) rotateY(45deg) scale(0.6); - -ms-transform: translateX(-230px) rotateY(45deg) scale(0.6); - -o-transform: translateX(-230px) rotateY(45deg) scale(0.6); - transform: translateX(-230px) rotateY(45deg) scale(0.6); - opacity: 0.1; - z-index: 7; -} -.coverflow section.bespoke-before-2 { - -webkit-transform: translateX(-190px) rotateY(45deg) scale(0.6); - -moz-transform: translateX(-190px) rotateY(45deg) scale(0.6); - -ms-transform: translateX(-190px) rotateY(45deg) scale(0.6); - -o-transform: translateX(-190px) rotateY(45deg) scale(0.6); - transform: translateX(-190px) rotateY(45deg) scale(0.6); - opacity: 0.2; - z-index: 8; -} -.coverflow section.bespoke-before-1 { - -webkit-transform: translateX(-150px) rotateY(45deg) scale(0.6); - -moz-transform: translateX(-150px) rotateY(45deg) scale(0.6); - -ms-transform: translateX(-150px) rotateY(45deg) scale(0.6); - -o-transform: translateX(-150px) rotateY(45deg) scale(0.6); - transform: translateX(-150px) rotateY(45deg) scale(0.6); - opacity: 0.3; - z-index: 9; -} -.coverflow section.bespoke-active { - z-index: 10; -} -.coverflow section.bespoke-after { - -webkit-transform: translateX(270px) rotateY(-45deg) scale(0.6); - -moz-transform: translateX(270px) rotateY(-45deg) scale(0.6); - -ms-transform: translateX(270px) rotateY(-45deg) scale(0.6); - -o-transform: translateX(270px) rotateY(-45deg) scale(0.6); - transform: translateX(270px) rotateY(-45deg) scale(0.6); - z-index: 6; -} -.coverflow section.bespoke-after-1 { - -webkit-transform: translateX(150px) rotateY(-45deg) scale(0.6); - -moz-transform: translateX(150px) rotateY(-45deg) scale(0.6); - -ms-transform: translateX(150px) rotateY(-45deg) scale(0.6); - -o-transform: translateX(150px) rotateY(-45deg) scale(0.6); - transform: translateX(150px) rotateY(-45deg) scale(0.6); - opacity: 0.3; - z-index: 9; -} -.coverflow section.bespoke-after-2 { - -webkit-transform: translateX(190px) rotateY(-45deg) scale(0.6); - -moz-transform: translateX(190px) rotateY(-45deg) scale(0.6); - -ms-transform: translateX(190px) rotateY(-45deg) scale(0.6); - -o-transform: translateX(190px) rotateY(-45deg) scale(0.6); - transform: translateX(190px) rotateY(-45deg) scale(0.6); - opacity: 0.2; - z-index: 8; -} -.coverflow section.bespoke-after-3 { - -webkit-transform: translateX(230px) rotateY(-45deg) scale(0.6); - -moz-transform: translateX(230px) rotateY(-45deg) scale(0.6); - -ms-transform: translateX(230px) rotateY(-45deg) scale(0.6); - -o-transform: translateX(230px) rotateY(-45deg) scale(0.6); - transform: translateX(230px) rotateY(-45deg) scale(0.6); - opacity: 0.1; - z-index: 7; -} - -/* Classic Theme */ -.classic { - /*background: rgba(243, 111, 86, 0.2);*/ -} -.classic section, -.classic .arrow:hover { -/* background: rgb(243, 111, 86);*/ -} -.classic a { - color: rgb(243, 111, 86); -} -.classic section.bespoke-before { - -webkit-transform: translate3d(-4000px, 0, 0); - -moz-transform: translate3d(-4000px, 0, 0); - -ms-transform: translate3d(-4000px, 0, 0); - -o-transform: translate3d(-4000px, 0, 0); - transform: translate3d(-4000px, 0, 0); -} -.classic section.bespoke-before-2 { - -webkit-transform: translate3d(-2088px, 0, 0); - -moz-transform: translate3d(-2088px, 0, 0); - -ms-transform: translate3d(-2088px, 0, 0); - -o-transform: translate3d(-2088px, 0, 0); - transform: translate3d(-2088px, 0, 0); - opacity: 0.1; -} -.classic section.bespoke-before-1 { - -webkit-transform: translate3d(-1044px, 0, 0); - -moz-transform: translate3d(-1044px, 0, 0); - -ms-transform: translate3d(-1044px, 0, 0); - -o-transform: translate3d(-1044px, 0, 0); - transform: translate3d(-1044px, 0, 0); - opacity: 0.3; -} -.classic section.bespoke-after { - -webkit-transform: translate3d(4000px, 0, 0); - -moz-transform: translate3d(4000px, 0, 0); - -ms-transform: translate3d(4000px, 0, 0); - -o-transform: translate3d(4000px, 0, 0); - transform: translate3d(4000px, 0, 0); -} -.classic section.bespoke-after-2 { - -webkit-transform: translate3d(2088px, 0, 0); - -moz-transform: translate3d(2088px, 0, 0); - -ms-transform: translate3d(2088px, 0, 0); - -o-transform: translate3d(2088px, 0, 0); - transform: translate3d(2088px, 0, 0); - opacity: 0.1; -} -.classic section.bespoke-after-1 { - -webkit-transform: translate3d(1044px, 0, 0); - -moz-transform: translate3d(1044px, 0, 0); - -ms-transform: translate3d(1044px, 0, 0); - -o-transform: translate3d(1044px, 0, 0); - transform: translate3d(1044px, 0, 0); - opacity: 0.3; -} - -/* Carousel Theme */ -.carousel { - /*background: rgba(121, 255, 0, 0.2);*/ -} -.carousel section, -.carousel .arrow:hover { - /*background: rgb(131, 199, 69);*/ -} -.carousel a { - color: rgb(131, 199, 69); -} -.carousel section.bespoke-before { - -webkit-transform: translateX(-1960px) rotateY(-72deg) translateX(-1580px); - -moz-transform: translateX(-1960px) rotateY(-72deg) translateX(-1580px); - -ms-transform: translateX(-1960px) rotateY(-72deg) translateX(-1580px); - -o-transform: translateX(-1960px) rotateY(-72deg) translateX(-1580px); - transform: translateX(-1960px) rotateY(-72deg) translateX(-1580px); - opacity: 0; -} -.carousel section.bespoke-before-2 { - -webkit-transform: translateX(-1180px) rotateY(-52deg) translateX(-1560px); - -moz-transform: translateX(-1180px) rotateY(-52deg) translateX(-1560px); - -ms-transform: translateX(-1180px) rotateY(-52deg) translateX(-1560px); - -o-transform: translateX(-1180px) rotateY(-52deg) translateX(-1560px); - transform: translateX(-1180px) rotateY(-52deg) translateX(-1560px); - opacity: 0.3; -} -.carousel section.bespoke-before-1 { - -webkit-transform: translateX(-520px) rotateY(-30deg) translateX(-540px); - -moz-transform: translateX(-520px) rotateY(-30deg) translateX(-540px); - -ms-transform: translateX(-520px) rotateY(-30deg) translateX(-540px); - -o-transform: translateX(-520px) rotateY(-30deg) translateX(-540px); - transform: translateX(-520px) rotateY(-30deg) translateX(-540px); - opacity: 0.5; -} -.carousel section.bespoke-after { - -webkit-transform: translateX(1960px) rotateY(72deg) translateX(1580px); - -moz-transform: translateX(1960px) rotateY(72deg) translateX(1580px); - -ms-transform: translateX(1960px) rotateY(72deg) translateX(1580px); - -o-transform: translateX(1960px) rotateY(72deg) translateX(1580px); - transform: translateX(1960px) rotateY(72deg) translateX(1580px); - opacity: 0; -} -.carousel section.bespoke-after-1 { - -webkit-transform: translateX(520px) rotateY(30deg) translateX(540px); - -moz-transform: translateX(520px) rotateY(30deg) translateX(540px); - -ms-transform: translateX(520px) rotateY(30deg) translateX(540px); - -o-transform: translateX(520px) rotateY(30deg) translateX(540px); - transform: translateX(520px) rotateY(30deg) translateX(540px); - opacity: 0.5; -} -.carousel section.bespoke-after-2 { - -webkit-transform: translateX(1180px) rotateY(52deg) translateX(1560px); - -moz-transform: translateX(1180px) rotateY(52deg) translateX(1560px); - -ms-transform: translateX(1180px) rotateY(52deg) translateX(1560px); - -o-transform: translateX(1180px) rotateY(52deg) translateX(1560px); - transform: translateX(1180px) rotateY(52deg) translateX(1560px); - opacity: 0.3; -} - -.cubeb section.bespoke-slide { - -o-transform-origin: 50% 50% -512px; - -ms-transform-origin: 50% 50% -512px; - -moz-transform-origin: 50% 50% -512px; - -webkit-transform-origin: 50% 50% -512px; - transform-origin: 50% 50% -512px; -} - -.cubeb section { - -o-backface-visibility: hidden; - -ms-backface-visibility: hidden; - -moz-backface-visibility: hidden; - -webkit-backface-visibility: hidden; - backface-visibility: hidden; -} - -.cubeb section.bespoke-before { - -o-transform: rotateY(-90deg); - -ms-transform: rotateY(-90deg); - -moz-transform: rotateY(-90deg); - -webkit-transform: rotateY(-90deg); - transform: rotateY(-90deg); -} - -.cubeb section.bespoke-after { - -o-transform: rotateY(90deg); - -ms-transform: rotateY(90deg); - -moz-transform: rotateY(90deg); - -webkit-transform: rotateY(90deg); - transform: rotateY(90deg); -} - -.cards section.bespoke-before { - -moz-transform: translateZ(40px) rotateY(-60deg) translateX(-400px) rotateZ(120deg); - -ms-transform: translateZ(40px) rotateY(-60deg) translateX(-400px) rotateZ(120deg); - -o-transform: translateZ(40px) rotateY(-60deg) translateX(-400px) rotateZ(120deg); - -webkit-transform: translateZ(40px) rotateY(-60deg) translateX(-400px) rotateZ(120deg); - transform: translateZ(40px) rotateY(-60deg) translateX(-400px) rotateZ(120deg); -} - -.cards section.bespoke-slide { - -o-transform-origin: 0 100% 0; - -ms-transform-origin: 0 100% 0; - -moz-transform-origin: 0 100% 0; - -webkit-transform-origin: 0 100% 0; - transform-origin: 0 100% 0; -} - -.cards section.bespoke-active { - opacity: 1; -} - -.cards section.bespoke-inactive { - opacity: 0; -} - -.cards section.bespoke-after { - -o-transform: translate3d(50px, 0, -100px); - -ms-transform: translate3d(50px, 0, -100px); - -moz-transform: translate3d(50px, 0, -100px); - -webkit-transform: translate3d(50px, 0, -100px); - transform: translate3d(50px, 0, -100px); -} - diff --git a/sources/preview_export/bespoke/scripts/bespoke-plugins.js b/sources/preview_export/bespoke/scripts/bespoke-plugins.js deleted file mode 100644 index d79e0ce..0000000 --- a/sources/preview_export/bespoke/scripts/bespoke-plugins.js +++ /dev/null @@ -1,75 +0,0 @@ -/*! - * bespoke-hash v0.1.2 - * - * Copyright 2013, Mark Dalgleish - * This content is released under the MIT license - * http://mit-license.org/markdalgleish - */ - -(function(bespoke) { - - bespoke.plugins.hash = function(deck) { - var activeIndex, - - parseHash = function() { - var hash = window.location.hash.slice(1), - slideNumberOrName = parseInt(hash, 10); - - if (hash) { - if (slideNumberOrName) { - activateSlide(slideNumberOrName - 1); - } else { - deck.slides.forEach(function(slide, i) { - slide.getAttribute('data-bespoke-hash') === hash && activateSlide(i); - }); - } - } - }, - - activateSlide = function(index) { - if (index !== activeIndex) { - deck.slide(index); - } - }; - - setTimeout(function() { - parseHash(); - - deck.on('activate', function(e) { - var slideName = e.slide.getAttribute('data-bespoke-hash'); - window.location.hash = slideName || e.index + 1; - activeIndex = e.index; - }); - - window.addEventListener('hashchange', parseHash); - }, 0); - }; - -}(bespoke)); - -/*! - * bespoke-state v0.2.2 - * - * Copyright 2013, Mark Dalgleish - * This content is released under the MIT license - * http://mit-license.org/markdalgleish - */ - -(function(bespoke) { - - bespoke.plugins.state = function(deck) { - var modifyState = function(method, event) { - var attr = event.slide.getAttribute('data-bespoke-state'); - - if (attr) { - attr.split(' ').forEach(function(state) { - state && deck.parent.classList[method](state); - }); - } - }; - - deck.on('activate', modifyState.bind(null, 'add')); - deck.on('deactivate', modifyState.bind(null, 'remove')); - }; - -}(bespoke)); \ No newline at end of file diff --git a/sources/preview_export/bespoke/scripts/bespoke.js b/sources/preview_export/bespoke/scripts/bespoke.js deleted file mode 100644 index 3ede9c6..0000000 --- a/sources/preview_export/bespoke/scripts/bespoke.js +++ /dev/null @@ -1,187 +0,0 @@ -/*! - * Bespoke.js v0.3.1 - * - * Copyright 2013, Mark Dalgleish - * This content is released under the MIT license - * http://mit-license.org/markdalgleish - */ - -(function(moduleName, window) { - var from = function(selectorOrElement, selectedPlugins) { - var parent = selectorOrElement.blur ? selectorOrElement : document.querySelector(selectorOrElement), - slides = [].slice.call(parent.children, 0), - activeSlide = slides[0], - listeners = {}, - - activate = function(index, customData) { - if (!slides[index]) { - return; - } - - fire('deactivate', createEventData(activeSlide, customData)); - - activeSlide = slides[index]; - - slides.map(deactivate); - - fire('activate', createEventData(activeSlide, customData)); - - addClass(activeSlide, 'active'); - removeClass(activeSlide, 'inactive'); - }, - - deactivate = function(slide, index) { - var offset = index - slides.indexOf(activeSlide), - offsetClass = offset > 0 ? 'after' : 'before'; - - ['before(-\\d+)?', 'after(-\\d+)?', 'active', 'inactive'].map(removeClass.bind(0, slide)); - - slide != activeSlide && - ['inactive', offsetClass, offsetClass + '-' + Math.abs(offset)].map(addClass.bind(0, slide)); - }, - - slide = function(index, customData) { - fire('slide', createEventData(slides[index], customData)) && activate(index, customData); - }, - - step = function(offset, customData) { - var slideIndex = slides.indexOf(activeSlide) + offset; - - fire(offset > 0 ? 'next' : 'prev', createEventData(activeSlide, customData)) && activate(slideIndex, customData); - }, - - on = function(eventName, callback) { - (listeners[eventName] || (listeners[eventName] = [])).push(callback); - - return function() { - listeners[eventName] = listeners[eventName].filter(function(listener) { - return listener != callback; - }); - }; - }, - - fire = function(eventName, eventData) { - return (listeners[eventName] || []) - .reduce(function(notCancelled, callback) { - return notCancelled && callback(eventData) !== false; - }, true); - }, - - createEventData = function(slide, eventData) { - eventData = eventData || {}; - eventData.index = slides.indexOf(slide); - eventData.slide = slide; - return eventData; - }, - - deck = { - on: on, - fire: fire, - slide: slide, - next: step.bind(0, 1), - prev: step.bind(0, -1), - parent: parent, - slides: slides - }; - - addClass(parent, 'parent'); - - slides.map(function(slide) { - addClass(slide, 'slide'); - }); - - for (var pluginName in selectedPlugins) { - plugins[pluginName](deck, selectedPlugins[pluginName]); - } - - activate(0); - - decks.push(deck); - - return deck; - }, - - decks = [], - - addClass = function(el, cls) { - el.classList.add(moduleName + '-' + cls); - }, - - removeClass = function(el, cls) { - el.className = el.className - .replace(RegExp(moduleName + '-' + cls +'(\\s|$)', 'g'), ' ') - .trim(); - }, - - callOnAllDecks = function(method) { - return function(arg) { - decks.map(function(deck) { - deck[method](arg); - }); - }; - }, - - bindPlugin = function(pluginName) { - return { - from: function(selectorOrElement, selectedPlugins) { - (selectedPlugins = selectedPlugins || {})[pluginName] = true; - return from(selectorOrElement, selectedPlugins); - } - }; - }, - - makePluginForAxis = function(axis) { - return function(deck) { - var startPosition, - delta; - - document.addEventListener('keydown', function(e) { - ( - e.which == 34 || // PAGE DOWN - e.which == 32 || // SPACE - axis == 'X' && e.which == 39 || // RIGHT - axis == 'Y' && e.which == 40 // BOTTOM - ) && deck.next(); - ( - e.which == 33 || // PAGE UP - axis == 'X' && e.which == 37 || // LEFT - axis == 'Y' && e.which == 38 // TOP - ) && deck.prev(); - }); - - deck.parent.addEventListener('touchstart', function(e) { - if (e.touches.length == 1) { - startPosition = e.touches[0]['page' + axis]; - delta = 0; - } - }); - - deck.parent.addEventListener('touchmove', function(e) { - if (e.touches.length == 1) { - e.preventDefault(); - delta = e.touches[0]['page' + axis] - startPosition; - } - }); - - deck.parent.addEventListener('touchend', function() { - Math.abs(delta) > 50 && (delta > 0 ? deck.prev() : deck.next()); - }); - }; - }, - - plugins = { - horizontal: makePluginForAxis('X'), - vertical: makePluginForAxis('Y') - }; - - window[moduleName] = { - from: from, - slide: callOnAllDecks('slide'), - next: callOnAllDecks('next'), - prev: callOnAllDecks('prev'), - horizontal: bindPlugin('horizontal'), - vertical: bindPlugin('vertical'), - plugins: plugins - }; - -}('bespoke', window)); \ No newline at end of file diff --git a/sources/preview_export/css/AbrilFatface-Regular.woff b/sources/preview_export/css/AbrilFatface-Regular.woff deleted file mode 100644 index 4521dcc..0000000 Binary files a/sources/preview_export/css/AbrilFatface-Regular.woff and /dev/null differ diff --git a/sources/preview_export/css/Droid-Sans-Mono.woff b/sources/preview_export/css/Droid-Sans-Mono.woff deleted file mode 100644 index 235d3df..0000000 Binary files a/sources/preview_export/css/Droid-Sans-Mono.woff and /dev/null differ diff --git a/sources/preview_export/css/FredokaOne-Regular.woff b/sources/preview_export/css/FredokaOne-Regular.woff deleted file mode 100644 index 5bb06d1..0000000 Binary files a/sources/preview_export/css/FredokaOne-Regular.woff and /dev/null differ diff --git a/sources/preview_export/css/Gorditas-Regular.woff b/sources/preview_export/css/Gorditas-Regular.woff deleted file mode 100644 index e7bb666..0000000 Binary files a/sources/preview_export/css/Gorditas-Regular.woff and /dev/null differ diff --git a/sources/preview_export/css/HammersmithOne.woff b/sources/preview_export/css/HammersmithOne.woff deleted file mode 100644 index d2939a5..0000000 Binary files a/sources/preview_export/css/HammersmithOne.woff and /dev/null differ diff --git a/sources/preview_export/css/Lato-Bold.woff b/sources/preview_export/css/Lato-Bold.woff deleted file mode 100644 index 35934a9..0000000 Binary files a/sources/preview_export/css/Lato-Bold.woff and /dev/null differ diff --git a/sources/preview_export/css/Lato-BoldItalic.woff b/sources/preview_export/css/Lato-BoldItalic.woff deleted file mode 100644 index 993810e..0000000 Binary files a/sources/preview_export/css/Lato-BoldItalic.woff and /dev/null differ diff --git a/sources/preview_export/css/Lato-Regular.woff b/sources/preview_export/css/Lato-Regular.woff deleted file mode 100644 index ad1a467..0000000 Binary files a/sources/preview_export/css/Lato-Regular.woff and /dev/null differ diff --git a/sources/preview_export/css/PressStart2P-Regular.woff b/sources/preview_export/css/PressStart2P-Regular.woff deleted file mode 100644 index 92f1d9d..0000000 Binary files a/sources/preview_export/css/PressStart2P-Regular.woff and /dev/null differ diff --git a/sources/preview_export/css/README.txt b/sources/preview_export/css/README.txt deleted file mode 100644 index 88bdbbb..0000000 --- a/sources/preview_export/css/README.txt +++ /dev/null @@ -1,4 +0,0 @@ -When adding fonts: -1. Reference them in web-fonts.css -2. Add the image hack for the given font to ImpressTemplate.bar (GH-43) -3. Add the base-64 version of the font to preview_export/base64/fonts \ No newline at end of file diff --git a/sources/preview_export/css/Ubuntu-Bold.woff b/sources/preview_export/css/Ubuntu-Bold.woff deleted file mode 100644 index 80a3fc2..0000000 Binary files a/sources/preview_export/css/Ubuntu-Bold.woff and /dev/null differ diff --git a/sources/preview_export/css/Ubuntu.woff b/sources/preview_export/css/Ubuntu.woff deleted file mode 100644 index 87dc2c3..0000000 Binary files a/sources/preview_export/css/Ubuntu.woff and /dev/null differ diff --git a/sources/preview_export/css/main.css b/sources/preview_export/css/main.css deleted file mode 100644 index d0d0d4c..0000000 --- a/sources/preview_export/css/main.css +++ /dev/null @@ -1,342 +0,0 @@ -html, body, div, span, applet, object, iframe, -h1, h2, h3, h4, h5, h6, p, blockquote, pre, -a, abbr, acronym, address, big, cite, code, -del, dfn, em, img, ins, kbd, q, s, samp, -small, strike, strong, sub, sup, tt, var, u, i, center, -dl, dt, dd, ol, ul, li, -fieldset, form, label, legend, -table, caption, tbody, tfoot, thead, tr, th, td, -article, aside, canvas, details, embed, -figure, figcaption, footer, header, hgroup, -menu, nav, output, ruby, section, summary, -time, mark, audio, video { - margin: 0; - padding: 0; - border: 0; - font-size: 100%; - font: inherit; - vertical-align: baseline; -} - -/* HTML5 display-role reset for older browsers */ -article, aside, details, figcaption, figure, -footer, header, hgroup, menu, nav, section { - display: block; -} - -body { - line-height: 1; -} - -ol, ul { - /*list-style: none;*/ -} -blockquote, q { - quotes: none; -} -blockquote:before, blockquote:after, -q:before, q:after { - content: ''; - content: none; -} - -table { - border-collapse: collapse; - border-spacing: 0; -} - -/*.antialias { - -webkit-transform: translate3d(0,0,0); - -moz-transform: translate3d(0,0,0); - transform: translate3d(0,0,0); -} -*/ - -body { - min-height: 740px; - - background: rgb(215, 215, 215); - background: -webkit-gradient(radial, 50% 50%, 0, 50% 50%, 500, from(rgb(240, 240, 240)), to(rgb(190, 190, 190))); - background: -webkit-radial-gradient(rgb(240, 240, 240), rgb(190, 190, 190)); - background: -moz-radial-gradient(rgb(240, 240, 240), rgb(190, 190, 190)); - background: -ms-radial-gradient(rgb(240, 240, 240), rgb(190, 190, 190)); - background: -o-radial-gradient(rgb(240, 240, 240), rgb(190, 190, 190)); - background: radial-gradient(rgb(240, 240, 240), rgb(190, 190, 190)); -} - - -/* - Because the main point behind the impress.js demo is to demo impress.js - we display a fallback message for users with browsers that don't support - all the features required by it. - - All of the content will be still fully accessible for them, but I want - them to know that they are missing something - that's what the demo is - about, isn't it? - - And then we hide the message, when support is detected in the browser. -*/ - -.fallback-message { - font-family: sans-serif; - line-height: 1.3; - - width: 780px; - padding: 10px 10px 0; - margin: 20px auto; - - border: 1px solid #E4C652; - border-radius: 10px; - background: #EEDC94; -} - -.fallback-message p { - margin-bottom: 10px; -} - -.impress-supported .fallback-message { - display: none; -} - -/* - Now let's style the presentation steps. - - We start with basics to make sure it displays correctly in everywhere ... -*/ - -.step { - position: relative; - /*width: 900px; - padding: 40px;*/ - /*margin: 20px auto;*/ - - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - -ms-box-sizing: border-box; - -o-box-sizing: border-box; - box-sizing: border-box; -} - -/* - ... and we enhance the styles for impress.js. - - Basically we remove the margin and make inactive steps a little bit transparent. -*/ -.impress-enabled .step { - margin: 0; - opacity: 0.3; - - -webkit-transition: opacity 1s; - -moz-transition: opacity 1s; - -ms-transition: opacity 1s; - -o-transition: opacity 1s; - transition: opacity 1s; -} - -.impress-enabled .step.active { opacity: 1 } - - -/* - And now we start to style each step separately. - - I agree that this may be not the most efficient, object-oriented and - scalable way of styling, but most of steps have quite a custom look - and typography tricks here and there, so they had to be styles separately. - - First is the title step with a big

(no room for padding) and some - 3D positioning along Z axis. -*/ - - - -/* - The last step is an overview. - There is no content in it, so we make sure it's not visible because we want - to be able to click on other steps. - -*/ -#overview { display: none } - -/* - We also make other steps visible and give them a pointer cursor using the - `impress-on-` class. -*/ -.impress-on-overview .step { - opacity: 1; - cursor: pointer; -} - - -/* - Now, when we have all the steps styled let's give users a hint how to navigate - around the presentation. - - The best way to do this would be to use JavaScript, show a delayed hint for a - first time users, then hide it and store a status in cookie or localStorage... - - But I wanted to have some CSS fun and avoid additional scripting... - - Let me explain it first, so maybe the transition magic will be more readable - when you read the code. - - First of all I wanted the hint to appear only when user is idle for a while. - You can't detect the 'idle' state in CSS, but I delayed a appearing of the - hint by 5s using transition-delay. - - You also can't detect in CSS if the user is a first-time visitor, so I had to - make an assumption that I'll only show the hint on the first step. And when - the step is changed hide the hint, because I can assume that user already - knows how to navigate. - - To summarize it - hint is shown when the user is on the first step for longer - than 5 seconds. - - The other problem I had was caused by the fact that I wanted the hint to fade - in and out. It can be easily achieved by transitioning the opacity property. - But that also meant that the hint was always on the screen, even if totally - transparent. It covered part of the screen and you couldn't correctly clicked - through it. - Unfortunately you cannot transition between display `block` and `none` in pure - CSS, so I needed a way to not only fade out the hint but also move it out of - the screen. - - I solved this problem by positioning the hint below the bottom of the screen - with CSS transform and moving it up to show it. But I also didn't want this move - to be visible. I wanted the hint only to fade in and out visually, so I delayed - the fade in transition, so it starts when the hint is already in its correct - position on the screen. - - I know, it sounds complicated ... maybe it would be easier with the code? -*/ - -.hint { - /* - We hide the hint until presentation is started and from browsers not supporting - impress.js, as they will have a linear scrollable view ... - */ - display: none; - - /* - ... and give it some fixed position and nice styles. - */ - position: fixed; - left: 0; - right: 0; - bottom: 200px; - - background: rgba(0,0,0,0.5); - color: #EEE; - text-align: center; - - font-size: 50px; - padding: 20px; - - z-index: 100; - - /* - By default we don't want the hint to be visible, so we make it transparent ... - */ - opacity: 0; - - /* - ... and position it below the bottom of the screen (relative to it's fixed position) - */ - -webkit-transform: translateY(400px); - -moz-transform: translateY(400px); - -ms-transform: translateY(400px); - -o-transform: translateY(400px); - transform: translateY(400px); - - /* - Now let's imagine that the hint is visible and we want to fade it out and move out - of the screen. - - So we define the transition on the opacity property with 1s duration and another - transition on transform property delayed by 1s so it will happen after the fade out - on opacity finished. - - This way user will not see the hint moving down. - */ - -webkit-transition: opacity 1s, -webkit-transform 0.5s 1s; - -moz-transition: opacity 1s, -moz-transform 0.5s 1s; - -ms-transition: opacity 1s, -ms-transform 0.5s 1s; - -o-transition: opacity 1s, -o-transform 0.5s 1s; - transition: opacity 1s, transform 0.5s 1s; -} - -/* - Now we 'enable' the hint when presentation is initialized ... -*/ -.impress-enabled .hint { display: block } - -/* - ... and we will show it when the first step (with id 'bored') is active. -*/ -.impress-on-bored .hint { - /* - We remove the transparency and position the hint in its default fixed - position. - */ - opacity: 1; - - -webkit-transform: translateY(0px); - -moz-transform: translateY(0px); - -ms-transform: translateY(0px); - -o-transform: translateY(0px); - transform: translateY(0px); - - /* - Now for fade in transition we have the oposite situation from the one - above. - - First after 4.5s delay we animate the transform property to move the hint - into its correct position and after that we fade it in with opacity - transition. - */ - -webkit-transition: opacity 1s 5s, -webkit-transform 0.5s 4.5s; - -moz-transition: opacity 1s 5s, -moz-transform 0.5s 4.5s; - -ms-transition: opacity 1s 5s, -ms-transform 0.5s 4.5s; - -o-transition: opacity 1s 5s, -o-transform 0.5s 4.5s; - transition: opacity 1s 5s, transform 0.5s 4.5s; -} - -/* - And as the last thing there is a workaround for quite strange bug. - It happens a lot in Chrome. I don't remember if I've seen it in Firefox. - - Sometimes the element positioned in 3D (especially when it's moved back - along Z axis) is not clickable, because it falls 'behind' the - element. - - To prevent this, I decided to make non clickable by setting - pointer-events property to `none` value. - Value if this property is inherited, so to make everything else clickable - I bring it back on the #impress element. - - If you want to know more about `pointer-events` here are some docs: - https://developer.mozilla.org/en/CSS/pointer-events - - There is one very important thing to notice about this workaround - it makes - everything 'unclickable' except what's in #impress element. - - So use it wisely ... or don't use at all. -*/ -.impress-enabled { pointer-events: none } -.impress-enabled #impress { pointer-events: auto } - -/* - There is one funny thing I just realized. - - Thanks to this workaround above everything except #impress element is invisible - for click events. That means that the hint element is also not clickable. - So basically all of this transforms and delayed transitions trickery was probably - not needed at all... - - But it was fun to learn about it, wasn't it? -*/ - -/* - That's all I have for you in this file. - Thanks for reading. I hope you enjoyed it at least as much as I enjoyed writing it - for you. -*/ \ No newline at end of file diff --git a/sources/preview_export/css/themes/default-reset.css b/sources/preview_export/css/themes/default-reset.css deleted file mode 100644 index 1ff3f24..0000000 --- a/sources/preview_export/css/themes/default-reset.css +++ /dev/null @@ -1,243 +0,0 @@ -.themedArea div, .themedArea span, .themedArea applet, .themedArea object, .themedArea iframe, -.themedArea h1, .themedArea h2, .themedArea h3, .themedArea h4, .themedArea h5, .themedArea h6, .themedArea p, .themedArea blockquote, .themedArea pre, -.themedArea a, .themedArea abbr, .themedArea acronym, .themedArea address, .themedArea big, .themedArea cite, .themedArea code, -.themedArea del, .themedArea dfn, .themedArea em, .themedArea img, .themedArea ins, .themedArea kbd, .themedArea q, .themedArea s, .themedArea samp, -.themedArea small, .themedArea strike, .themedArea strong, .themedArea sub, .themedArea sup, .themedArea tt, .themedArea var, -.themedArea b, .themedArea u, .themedArea i, .themedArea center, -.themedArea dl, .themedArea dt, .themedArea dd, .themedArea ol, .themedArea ul, .themedArea li, -.themedArea fieldset, .themedArea form, .themedArea label, .themedArea legend, -.themedArea table, .themedArea caption, .themedArea tbody, .themedArea tfoot, .themedArea thead, .themedArea tr, .themedArea th, .themedArea td, -.themedArea article, .themedArea aside, .themedArea canvas, .themedArea details, .themedArea embed, -.themedArea figure, .themedArea figcaption, .themedArea footer, .themedArea header, .themedArea hgroup, -.themedArea menu, .themedArea nav, .themedArea output, .themedArea ruby, .themedArea section, .themedArea summary, -.themedArea time, .themedArea mark, .themedArea audio, video { - margin: 0; - padding: 0; - border: 0; - font-size: 100%; - font: inherit; - vertical-align: baseline; -} - -.themedArea article, .themedArea aside, .themedArea details, .themedArea figcaption, .themedArea figure, -.themedArea footer, .themedArea header, .themedArea hgroup, .themedArea menu, .themedArea nav, .themedArea section { - display: block; -} - -.themedArea h1, -.themedArea h2, -.themedArea h3, -.themedArea h4, -.themedArea h5, -.themedArea h6 { - -webkit-hyphens: auto; - -moz-hyphens: auto; - hyphens: auto; - - word-wrap: break-word; - line-height: 1; -} - -.themedArea h1 { font-size: 3.77em; } -.themedArea h2 { font-size: 2.11em; } -.themedArea h3 { font-size: 1.55em; } -.themedArea h4 { font-size: 1em; } - -/* Fixes issue in Chrome where italic fonts did not appear when printing to PDF */ -.themedArea:after { - content: ''; - font-style: italic; -} - -.themedArea iframe { - z-index: 1; -} - -/** Prevents layering issues in certain browser/transition combinations */ -.themedArea a { - position: relative; -} - -.themedArea strong, -.themedArea b { - font-weight: bold; -} - -.themedArea em, -.themedArea i { - font-style: italic; -} - -.themedArea ol, -.themedArea ul { - display: inline-block; - - text-align: left; - margin: 0 0 0 1em; -} - -.themedArea ol { - list-style-type: decimal; -} - -.themedArea ul { - list-style-type: disc; -} - -.themedArea ul ul { - list-style-type: square; -} - -.themedArea ul ul ul { - list-style-type: circle; -} - -.themedArea ul ul, -.themedArea ul ol, -.themedArea ol ol, -.themedArea ol ul { - display: block; - margin-left: 40px; -} - -.themedArea p { - margin-bottom: 10px; - line-height: 1.2em; -} - -.themedArea q, -.themedArea blockquote { - quotes: none; -} - -.themedArea 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); -} -.themedArea blockquote p:first-child, -.themedArea blockquote p:last-child { - display: inline-block; -} - -.themedArea q { - font-style: italic; -} - -.themedArea 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); -} -.themedArea code { - font-family: monospace; -} -.themedArea pre code { - padding: 5px; - overflow: auto; - max-height: 400px; - word-wrap: normal; -} -.themedArea pre.stretch code { - height: 100%; - max-height: 100%; - - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} - -.themedArea table th, -.themedArea table td { - text-align: left; - padding-right: .3em; -} - -.themedArea table th { - text-shadow: rgb(255,255,255) 1px 1px 2px; -} - -.themedArea sup { - vertical-align: super; -} -.themedArea sub { - vertical-align: sub; -} - -.themedArea small { - display: inline-block; - font-size: 0.6em; - line-height: 1.2em; - vertical-align: top; -} - -.themedArea small * { - vertical-align: top; -} - -.themedArea .stretch { - max-width: none; - max-height: none; -} - -.themedArea { - text-align: center; - padding: 20px 0px 0px; - line-height: 1.2em; - font-weight: normal; -} - -/*.strut-surface::before, .strut-surface::after { - display: block; - position: absolute; - background-size: cover; - background-position: center; - background-repeat: no-repeat; - content: ""; - -webkit-filter: grayscale(0.3) brightness(0.3); - -moz-filter: grayscale(0.3) brightness(0.3); - filter: grayscale(0.3) brightness(0.3); -} - -.strut-surface::after { - z-index: 1; - top: 0; - left: 0; - width: 100%; - height: 100%; -}*/ - -.strut-surface, .innerBg { - background-size: cover; - background-position: center; - background-repeat: no-repeat; -} - -.slideContainer { - background-size: cover; - background-position: center; - background-repeat: no-repeat; -} - -.innerBg { - -webkit-transition: background-color .8s ease; - -moz-transition: background-color .8s ease; - -ms-transition: background-color .8s ease; - transition: background-color .8s ease; -} \ No newline at end of file diff --git a/sources/preview_export/css/web-fonts.css b/sources/preview_export/css/web-fonts.css deleted file mode 100644 index 083c340..0000000 --- a/sources/preview_export/css/web-fonts.css +++ /dev/null @@ -1,66 +0,0 @@ -@font-face { - font-family: 'Lato'; - font-style: normal; - font-weight: 700; - src: local('Lato Bold'), local('Lato-Bold'), url(Lato-Bold.woff) format('woff'); -} -@font-face { - font-family: 'Hammersmith One'; - font-style: normal; - font-weight: 400; - src: local('Hammersmith One'), local('HammersmithOne'), url(HammersmithOne.woff) format('woff'); -} -@font-face { - font-family: 'Gorditas'; - font-style: normal; - font-weight: 400; - src: local('Gorditas'), local('Gorditas-Regular'), url(Gorditas-Regular.woff) format('woff'); -} -@font-face { - font-family: 'Fredoka One'; - font-style: normal; - font-weight: 400; - src: local('Fredoka One'), local('FredokaOne-Regular'), url(FredokaOne-Regular.woff) format('woff'); -} -@font-face { - font-family: 'Ubuntu'; - font-style: normal; - font-weight: 400; - src: local('Ubuntu'), url(Ubuntu.woff) format('woff'); -} -@font-face { - font-family: 'Ubuntu'; - font-style: normal; - font-weight: 700; - src: local('Ubuntu Bold'), local('Ubuntu-Bold'), url(Ubuntu-Bold.woff) format('woff'); -} -@font-face { - font-family: 'Press Start 2P'; - font-style: normal; - font-weight: 400; - src: local('Press Start 2P'), local('PressStart2P-Regular'), url(PressStart2P-Regular.woff) format('woff'); -} -@font-face { - font-family: 'Lato'; - font-style: italic; - font-weight: 700; - src: local('Lato Bold Italic'), local('Lato-BoldItalic'), url(Lato-BoldItalic.woff) format('woff'); -} -@font-face { - font-family: 'Abril Fatface'; - font-style: normal; - font-weight: 400; - src: local('Abril Fatface'), local('AbrilFatface-Regular'), url(AbrilFatface-Regular.woff) format('woff'); -} -@font-face { - font-family: 'Lato'; - font-style: normal; - font-weight: 400; - src: local('Lato Regular'), local('Lato-Regular'), url(Lato-Regular.woff) format('woff'); -} -@font-face { - font-family: 'Droid Sans Mono'; - font-style: normal; - font-weight: 700; - src: local('Droid Sans Mono'), local('Droid-Sans-Mono'), url(Droid-Sans-Mono.woff) format('woff'); -} \ No newline at end of file diff --git a/sources/preview_export/download_assist/download.png b/sources/preview_export/download_assist/download.png deleted file mode 100644 index d2fabbf..0000000 Binary files a/sources/preview_export/download_assist/download.png and /dev/null differ diff --git a/sources/preview_export/download_assist/downloadify.min.js b/sources/preview_export/download_assist/downloadify.min.js deleted file mode 100644 index faf490c..0000000 --- a/sources/preview_export/download_assist/downloadify.min.js +++ /dev/null @@ -1,3 +0,0 @@ -/* Downloadify 0.2 (c) 2009 by Douglas Neiner. Licensed under the MIT license */ -/* See http://github.com/dcneiner/Downloadify for license and more info */ -(function(){Downloadify=window.Downloadify={queue:{},uid:new Date().getTime(),getTextForSave:function(a){var b=Downloadify.queue[a];if(b)return b.getData();return""},getFileNameForSave:function(a){var b=Downloadify.queue[a];if(b)return b.getFilename();return""},getDataTypeForSave:function(a){var b=Downloadify.queue[a];if(b)return b.getDataType();return""},saveComplete:function(a){var b=Downloadify.queue[a];if(b)b.complete();return true},saveCancel:function(a){var b=Downloadify.queue[a];if(b)b.cancel();return true},saveError:function(a){var b=Downloadify.queue[a];if(b)b.error();return true},addToQueue:function(a){Downloadify.queue[a.queue_name]=a},getUID:function(a){if(a.id=="")a.id='downloadify_'+Downloadify.uid++;return a.id}};Downloadify.create=function(a,b){var c=(typeof(a)=="string"?document.getElementById(a):a);return new Downloadify.Container(c,b)};Downloadify.Container=function(d,e){var f=this;f.el=d;f.enabled=true;f.dataCallback=null;f.filenameCallback=null;f.data=null;f.filename=null;var g=function(){f.options=e;if(!f.options.append)f.el.innerHTML="";f.flashContainer=document.createElement('span');f.el.appendChild(f.flashContainer);f.queue_name=Downloadify.getUID(f.flashContainer);if(typeof(f.options.filename)==="function")f.filenameCallback=f.options.filename;else if(f.options.filename)f.filename=f.options.filename;if(typeof(f.options.data)==="function")f.dataCallback=f.options.data;else if(f.options.data)f.data=f.options.data;var a={queue_name:f.queue_name,width:f.options.width,height:f.options.height};var b={allowScriptAccess:'always'};var c={id:f.flashContainer.id,name:f.flashContainer.id};if(f.options.enabled===false)f.enabled=false;if(f.options.transparent===true)b.wmode="transparent";if(f.options.downloadImage)a.downloadImage=f.options.downloadImage;swfobject.embedSWF(f.options.swf,f.flashContainer.id,f.options.width,f.options.height,"10",null,a,b,c);Downloadify.addToQueue(f)};f.enable=function(){var a=document.getElementById(f.flashContainer.id);a.setEnabled(true);f.enabled=true};f.disable=function(){var a=document.getElementById(f.flashContainer.id);a.setEnabled(false);f.enabled=false};f.getData=function(){if(!f.enabled)return"";if(f.dataCallback)return f.dataCallback();else if(f.data)return f.data;else return""};f.getFilename=function(){if(f.filenameCallback)return f.filenameCallback();else if(f.filename)return f.filename;else return""};f.getDataType=function(){if(f.options.dataType)return f.options.dataType;return"string"};f.complete=function(){if(typeof(f.options.onComplete)==="function")f.options.onComplete()};f.cancel=function(){if(typeof(f.options.onCancel)==="function")f.options.onCancel()};f.error=function(){if(typeof(f.options.onError)==="function")f.options.onError()};g()};Downloadify.defaultOptions={swf:'media/downloadify.swf',downloadImage:'images/download.png',width:100,height:30,transparent:true,append:false,dataType:"string"}})();if(typeof(jQuery)!="undefined"){(function($){$.fn.downloadify=function(b){return this.each(function(){b=$.extend({},Downloadify.defaultOptions,b);var a=Downloadify.create(this,b);$(this).data('Downloadify',a)})}})(jQuery)};if(typeof(MooTools)!='undefined'){Element.implement({downloadify:function(a){a=$merge(Downloadify.defaultOptions,a);return this.store('Downloadify',Downloadify.create(this,a))}})}; \ No newline at end of file diff --git a/sources/preview_export/download_assist/downloadify.swf b/sources/preview_export/download_assist/downloadify.swf deleted file mode 100644 index 2a2f01c..0000000 Binary files a/sources/preview_export/download_assist/downloadify.swf and /dev/null differ diff --git a/sources/preview_export/download_assist/swfobject.js b/sources/preview_export/download_assist/swfobject.js deleted file mode 100644 index 5669bf6..0000000 --- a/sources/preview_export/download_assist/swfobject.js +++ /dev/null @@ -1,6 +0,0 @@ -/*! SWFObject v2.3.20130521 - is released under the MIT License -*/ -var swfobject=function(){var D="undefined",r="object",T="Shockwave Flash",Z="ShockwaveFlash.ShockwaveFlash",q="application/x-shockwave-flash",S="SWFObjectExprInst",x="onreadystatechange",Q=window,h=document,t=navigator,V=false,X=[],o=[],P=[],K=[],I,p,E,B,L=false,a=false,m,G,j=true,l=false,O=function(){var ad=typeof h.getElementById!=D&&typeof h.getElementsByTagName!=D&&typeof h.createElement!=D,ak=t.userAgent.toLowerCase(),ab=t.platform.toLowerCase(),ah=ab?/win/.test(ab):/win/.test(ak),af=ab?/mac/.test(ab):/mac/.test(ak),ai=/webkit/.test(ak)?parseFloat(ak.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):false,aa=t.appName==="Microsoft Internet Explorer",aj=[0,0,0],ae=null;if(typeof t.plugins!=D&&typeof t.plugins[T]==r){ae=t.plugins[T].description;if(ae&&(typeof t.mimeTypes!=D&&t.mimeTypes[q]&&t.mimeTypes[q].enabledPlugin)){V=true;aa=false;ae=ae.replace(/^.*\s+(\S+\s+\S+$)/,"$1");aj[0]=n(ae.replace(/^(.*)\..*$/,"$1"));aj[1]=n(ae.replace(/^.*\.(.*)\s.*$/,"$1"));aj[2]=/[a-zA-Z]/.test(ae)?n(ae.replace(/^.*[a-zA-Z]+(.*)$/,"$1")):0}}else{if(typeof Q.ActiveXObject!=D){try{var ag=new ActiveXObject(Z);if(ag){ae=ag.GetVariable("$version");if(ae){aa=true;ae=ae.split(" ")[1].split(",");aj=[n(ae[0]),n(ae[1]),n(ae[2])]}}}catch(ac){}}}return{w3:ad,pv:aj,wk:ai,ie:aa,win:ah,mac:af}}(),i=function(){if(!O.w3){return}if((typeof h.readyState!=D&&(h.readyState==="complete"||h.readyState==="interactive"))||(typeof h.readyState==D&&(h.getElementsByTagName("body")[0]||h.body))){f()}if(!L){if(typeof h.addEventListener!=D){h.addEventListener("DOMContentLoaded",f,false)}if(O.ie){h.attachEvent(x,function aa(){if(h.readyState=="complete"){h.detachEvent(x,aa);f()}});if(Q==top){(function ac(){if(L){return}try{h.documentElement.doScroll("left")}catch(ad){setTimeout(ac,0);return}f()}())}}if(O.wk){(function ab(){if(L){return}if(!/loaded|complete/.test(h.readyState)){setTimeout(ab,0);return}f()}())}}}();function f(){if(L||!document.getElementsByTagName("body")[0]){return}try{var ac,ad=C("span");ad.style.display="none";ac=h.getElementsByTagName("body")[0].appendChild(ad);ac.parentNode.removeChild(ac);ac=null;ad=null}catch(ae){return}L=true;var aa=X.length;for(var ab=0;ab0){for(var ai=0;ai0){var ah=c(ab);if(ah){if(F(o[ai].swfVersion)&&!(O.wk&&O.wk<312)){w(ab,true);if(ae){ad.success=true;ad.ref=z(ab);ad.id=ab;ae(ad)}}else{if(o[ai].expressInstall&&A()){var al={};al.data=o[ai].expressInstall;al.width=ah.getAttribute("width")||"0";al.height=ah.getAttribute("height")||"0";if(ah.getAttribute("class")){al.styleclass=ah.getAttribute("class")}if(ah.getAttribute("align")){al.align=ah.getAttribute("align")}var ak={};var aa=ah.getElementsByTagName("param");var af=aa.length;for(var ag=0;ag"+ab+"";return ac.firstChild}function u(ai,ag,ab){var aa,ad=c(ab);ab=W(ab);if(O.wk&&O.wk<312){return aa}if(ad){var ac=(O.ie)?C("div"):C(r),af,ah,ae;if(typeof ai.id==D){ai.id=ab}for(ae in ag){if(ag.hasOwnProperty(ae)&&ae.toLowerCase()!=="movie"){e(ac,ae,ag[ae])}}if(O.ie){ac=k(ai.data,ac.innerHTML)}for(af in ai){if(ai.hasOwnProperty(af)){ah=af.toLowerCase();if(ah==="styleclass"){ac.setAttribute("class",ai[af])}else{if(ah!=="classid"&&ah!=="data"){ac.setAttribute(af,ai[af])}}}}if(O.ie){P[P.length]=ai.id}else{ac.setAttribute("type",q);ac.setAttribute("data",ai.data)}ad.parentNode.replaceChild(ac,ad);aa=ac}return aa}function e(ac,aa,ab){var ad=C("param");ad.setAttribute("name",aa);ad.setAttribute("value",ab);ac.appendChild(ad)}function y(ac){var ab=c(ac);if(ab&&ab.nodeName.toUpperCase()=="OBJECT"){if(O.ie){ab.style.display="none";(function aa(){if(ab.readyState==4){for(var ad in ab){if(typeof ab[ad]=="function"){ab[ad]=null}}ab.parentNode.removeChild(ab)}else{setTimeout(aa,10)}}())}else{ab.parentNode.removeChild(ab)}}}function U(aa){return(aa&&aa.nodeType&&aa.nodeType===1)}function W(aa){return(U(aa))?aa.id:aa}function c(ac){if(U(ac)){return ac}var aa=null;try{aa=h.getElementById(ac)}catch(ab){}return aa}function C(aa){return h.createElement(aa)}function n(aa){return parseInt(aa,10)}function g(ac,aa,ab){ac.attachEvent(aa,ab);K[K.length]=[ac,aa,ab]}function F(ac){ac+="";var ab=O.pv,aa=ac.split(".");aa[0]=n(aa[0]);aa[1]=n(aa[1])||0;aa[2]=n(aa[2])||0;return(ab[0]>aa[0]||(ab[0]==aa[0]&&ab[1]>aa[1])||(ab[0]==aa[0]&&ab[1]==aa[1]&&ab[2]>=aa[2]))?true:false}function v(af,ab,ag,ae){var ad=h.getElementsByTagName("head")[0];if(!ad){return}var aa=(typeof ag=="string")?ag:"screen";if(ae){m=null;G=null}if(!m||G!=aa){var ac=C("style");ac.setAttribute("type","text/css");ac.setAttribute("media",aa);m=ad.appendChild(ac);if(O.ie&&typeof h.styleSheets!=D&&h.styleSheets.length>0){m=h.styleSheets[h.styleSheets.length-1]}G=aa}if(m){if(typeof m.addRule!=D){m.addRule(af,ab)}else{if(typeof h.createTextNode!=D){m.appendChild(h.createTextNode(af+" {"+ab+"}"))}}}}function w(ad,aa){if(!j){return}var ab=aa?"visible":"hidden",ac=c(ad);if(L&&ac){ac.style.visibility=ab}else{if(typeof ad==="string"){v("#"+ad,"visibility:"+ab)}}}function N(ab){var ac=/[\\\"<>\.;]/;var aa=ac.exec(ab)!=null;return aa&&typeof encodeURIComponent!=D?encodeURIComponent(ab):ab}var d=function(){if(O.ie){window.attachEvent("onunload",function(){var af=K.length;for(var ae=0;ae - - - - -Deck Title - - - - - - - - - - - - - - - - - - -
- - diff --git a/sources/preview_export/impress.html b/sources/preview_export/impress.html deleted file mode 100644 index be29e36..0000000 --- a/sources/preview_export/impress.html +++ /dev/null @@ -1,79 +0,0 @@ - - - - - -Deck Title - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - diff --git a/sources/preview_export/index.html b/sources/preview_export/index.html deleted file mode 100644 index b55035b..0000000 --- a/sources/preview_export/index.html +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - - - - \ No newline at end of file diff --git a/sources/preview_export/reveal.html b/sources/preview_export/reveal.html deleted file mode 100644 index 975bf19..0000000 --- a/sources/preview_export/reveal.html +++ /dev/null @@ -1,129 +0,0 @@ - - - - - - Deck Title - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - diff --git a/sources/preview_export/reveal/LICENSE b/sources/preview_export/reveal/LICENSE deleted file mode 100644 index e1e8bf7..0000000 --- a/sources/preview_export/reveal/LICENSE +++ /dev/null @@ -1,19 +0,0 @@ -Copyright (C) 2013 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/sources/preview_export/reveal/css/print/paper.css b/sources/preview_export/reveal/css/print/paper.css deleted file mode 100644 index f902dea..0000000 --- a/sources/preview_export/reveal/css/print/paper.css +++ /dev/null @@ -1,176 +0,0 @@ -/* 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 .fragment { - opacity: 1 !important; - visibility: visible !important; - - -webkit-transform: none !important; - -moz-transform: none !important; - -ms-transform: none !important; - transform: none !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/sources/preview_export/reveal/css/print/pdf.css b/sources/preview_export/reveal/css/print/pdf.css deleted file mode 100644 index 9811096..0000000 --- a/sources/preview_export/reveal/css/print/pdf.css +++ /dev/null @@ -1,164 +0,0 @@ -/* 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; - padding: 0; - float: none !important; - overflow: visible; -} - -html { - width: 100%; - height: 100%; - overflow: visible; -} - -@page { - size: letter landscape; - margin: 0; -} - -/* 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-right: 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 { - - page-break-after: always !important; - - 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.stack { - margin: 0px !important; - padding: 0px !important; - page-break-after: avoid !important; -} -.reveal section .fragment { - opacity: 1 !important; - visibility: visible !important; - - -webkit-transform: none !important; - -moz-transform: none !important; - -ms-transform: none !important; - transform: none !important; -} -.reveal img { - box-shadow: none; -} -.reveal .roll { - overflow: visible; - line-height: 1em; -} -.reveal small a { - font-size: 16pt !important; -} diff --git a/sources/preview_export/reveal/css/reveal.css b/sources/preview_export/reveal/css/reveal.css deleted file mode 100644 index 2fd03f2..0000000 --- a/sources/preview_export/reveal/css/reveal.css +++ /dev/null @@ -1,1647 +0,0 @@ -@charset "UTF-8"; - -/*! - * reveal.js - * http://lab.hakim.se/reveal-js - * MIT licensed - * - * Copyright (C) 2013 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%; - overflow: hidden; -} - -body { - position: relative; - line-height: 1; -} - -::selection { - background: #FF5E99; - color: #fff; - text-shadow: none; -} - - -/********************************************* - * HEADERS - *********************************************/ - -.reveal h1, -.reveal h2, -.reveal h3, -.reveal h4, -.reveal h5, -.reveal h6 { - -webkit-hyphens: auto; - -moz-hyphens: auto; - hyphens: auto; - - word-wrap: break-word; - line-height: 1; -} - -.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.zoom-in { - opacity: 0; - - -webkit-transform: scale( 0.1 ); - -moz-transform: scale( 0.1 ); - -ms-transform: scale( 0.1 ); - -o-transform: scale( 0.1 ); - transform: scale( 0.1 ); -} - - .reveal .slides section .fragment.zoom-in.visible { - opacity: 1; - - -webkit-transform: scale( 1 ); - -moz-transform: scale( 1 ); - -ms-transform: scale( 1 ); - -o-transform: scale( 1 ); - transform: scale( 1 ); - } - -.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.semi-fade-out { - opacity: 1; -} - .reveal .slides section .fragment.semi-fade-out.visible { - opacity: 0.5; - } - -.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 - *********************************************/ - -/* Fixes issue in Chrome where italic fonts did not appear when printing to PDF */ -.reveal:after { - content: ''; - font-style: italic; -} - -.reveal iframe { - z-index: 1; -} - - -/** Prevents layering issues in certain browser/transition combinations */ -.reveal a { - position: relative; -} - -.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 p:first-child, - .reveal blockquote p:last-child { - display: inline-block; - } - -.reveal q { - font-style: italic; -} - -.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 code { - font-family: monospace; -} -.reveal pre code { - padding: 5px; - overflow: auto; - max-height: 400px; - word-wrap: normal; -} -.reveal pre.stretch code { - height: 100%; - max-height: 100%; - - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} - -.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; -} - -.reveal .stretch { - max-width: none; - max-height: none; -} - - -/********************************************* - * 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.05; - width: 0; - height: 0; - border: 12px solid transparent; - - -moz-transform: scale(.9999); - - -webkit-transition: all 0.2s ease; - -moz-transition: all 0.2s ease; - -ms-transition: all 0.2s ease; - -o-transition: all 0.2s ease; - transition: all 0.2s ease; -} - -.reveal .controls div.enabled { - opacity: 0.7; - cursor: pointer; -} - -.reveal .controls div.enabled:active { - margin-top: 1px; -} - - .reveal .controls div.navigate-left { - top: 42px; - - border-right-width: 22px; - border-right-color: #eee; - } - .reveal .controls div.navigate-left.fragmented { - opacity: 0.3; - } - - .reveal .controls div.navigate-right { - left: 74px; - top: 42px; - - border-left-width: 22px; - border-left-color: #eee; - } - .reveal .controls div.navigate-right.fragmented { - opacity: 0.3; - } - - .reveal .controls div.navigate-up { - left: 42px; - - border-bottom-width: 22px; - border-bottom-color: #eee; - } - .reveal .controls div.navigate-up.fragmented { - opacity: 0.3; - } - - .reveal .controls div.navigate-down { - left: 42px; - top: 74px; - - border-top-width: 22px; - border-top-color: #eee; - } - .reveal .controls div.navigate-down.fragmented { - opacity: 0.3; - } - - -/********************************************* - * 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); - } - - -/********************************************* - * SLIDES - *********************************************/ - -.reveal { - position: relative; - width: 100%; - height: 100%; - - -ms-touch-action: none; -} - -.reveal.themedArea, -.reveal .slides { - position: absolute; - width: 100%; - height: 100%; - left: 50%; - top: 50%; - - 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: 0px -100px; - -moz-perspective-origin: 0px -100px; - -ms-perspective-origin: 0px -100px; - perspective-origin: 0px -100px; -} - -.reveal .slides>section { - -ms-perspective: 600px; -} - -.reveal.themedArea, -.reveal .slides>section, -.reveal .slides>section>section { - display: none; - position: absolute; - width: 100%; - padding: 20px 0px; - - z-index: 10; - line-height: 1.2em; - font-weight: normal; - - -webkit-transform-style: preserve-3d; - -moz-transform-style: preserve-3d; - -ms-transform-style: preserve-3d; - transform-style: preserve-3d; - - -webkit-transition: -webkit-transform-origin 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985), - -webkit-transform 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985), - visibility 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985), - opacity 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985); - -moz-transition: -moz-transform-origin 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985), - -moz-transform 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985), - visibility 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985), - opacity 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985); - -ms-transition: -ms-transform-origin 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985), - -ms-transform 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985), - visibility 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985), - opacity 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985); - -o-transition: -o-transform-origin 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985), - -o-transform 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985), - visibility 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985), - opacity 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985); - transition: transform-origin 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985), - transform 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985), - visibility 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985), - opacity 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985); -} - -/* Global transition speed settings */ -.reveal[data-transition-speed="fast"] .slides section { - -webkit-transition-duration: 400ms; - -moz-transition-duration: 400ms; - -ms-transition-duration: 400ms; - transition-duration: 400ms; -} -.reveal[data-transition-speed="slow"] .slides section { - -webkit-transition-duration: 1200ms; - -moz-transition-duration: 1200ms; - -ms-transition-duration: 1200ms; - transition-duration: 1200ms; -} - -/* Slide-specific transition speed overrides */ -.reveal .slides section[data-transition-speed="fast"] { - -webkit-transition-duration: 400ms; - -moz-transition-duration: 400ms; - -ms-transition-duration: 400ms; - transition-duration: 400ms; -} -.reveal .slides section[data-transition-speed="slow"] { - -webkit-transition-duration: 1200ms; - -moz-transition-duration: 1200ms; - -ms-transition-duration: 1200ms; - transition-duration: 1200ms; -} - -.reveal .slides>section { - left: -50%; - top: -50%; -} - -.reveal .slides>section.stack { - padding-top: 0; - padding-bottom: 0; -} - -.reveal .slides>section.present, -.reveal .slides>section>section.present { - display: block; - z-index: 11; - opacity: 1; -} - -.reveal.center, -.reveal.center .slides, -.reveal.center .slides section { - min-height: auto !important; -} - -/* Don't allow interaction with invisible slides */ -.reveal .slides>section.future, -.reveal .slides>section>section.future, -.reveal .slides>section.past, -.reveal .slides>section>section.past { - pointer-events: none; -} - -.reveal.overview .slides>section, -.reveal.overview .slides>section>section { - pointer-events: auto; -} - - - -/********************************************* - * DEFAULT TRANSITION - *********************************************/ - -.reveal .slides>section[data-transition=default].past, -.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[data-transition=default].future, -.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[data-transition=default].past, -.reveal .slides>section>section.past { - display: block; - opacity: 0; - - -webkit-transform: translate3d(0, -300px, 0) rotateX(70deg) translate3d(0, -300px, 0); - -moz-transform: translate3d(0, -300px, 0) rotateX(70deg) translate3d(0, -300px, 0); - -ms-transform: translate3d(0, -300px, 0) rotateX(70deg) translate3d(0, -300px, 0); - transform: translate3d(0, -300px, 0) rotateX(70deg) translate3d(0, -300px, 0); -} -.reveal .slides>section>section[data-transition=default].future, -.reveal .slides>section>section.future { - display: block; - opacity: 0; - - -webkit-transform: translate3d(0, 300px, 0) rotateX(-70deg) translate3d(0, 300px, 0); - -moz-transform: translate3d(0, 300px, 0) rotateX(-70deg) translate3d(0, 300px, 0); - -ms-transform: translate3d(0, 300px, 0) rotateX(-70deg) translate3d(0, 300px, 0); - transform: translate3d(0, 300px, 0) rotateX(-70deg) translate3d(0, 300px, 0); -} - - -/********************************************* - * CONCAVE TRANSITION - *********************************************/ - -.reveal .slides>section[data-transition=concave].past, -.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 .slides>section[data-transition=concave].future, -.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 .slides>section>section[data-transition=concave].past, -.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 .slides>section>section[data-transition=concave].future, -.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 .slides>section[data-transition=zoom].past, -.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 .slides>section[data-transition=zoom].future, -.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 .slides>section>section[data-transition=zoom].past, -.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 .slides>section>section[data-transition=zoom].future, -.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 section { - -webkit-backface-visibility: hidden; - -moz-backface-visibility: hidden; - -ms-backface-visibility: hidden; - backface-visibility: hidden; -} - -.reveal .slides>section[data-transition=linear].past, -.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 .slides>section[data-transition=linear].future, -.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 .slides>section>section[data-transition=linear].past, -.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 .slides>section>section[data-transition=linear].future, -.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: 1300px; - -moz-perspective: 1300px; - -ms-perspective: 1300px; - perspective: 1300px; -} - -.reveal.cube .slides section { - padding: 30px; - min-height: 700px; - - -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.center.cube .slides section { - min-height: auto; - } - .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; - min-height: 700px; - - -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); -} - - -/********************************************* - * FADE TRANSITION - *********************************************/ - -.reveal .slides section[data-transition=fade], -.reveal.fade .slides section, -.reveal.fade .slides>section>section { - -webkit-transform: none; - -moz-transform: none; - -ms-transform: none; - -o-transform: none; - transform: none; - - -webkit-transition: opacity 0.5s; - -moz-transition: opacity 0.5s; - -ms-transition: opacity 0.5s; - -o-transition: opacity 0.5s; - transition: opacity 0.5s; -} - - -.reveal.fade.overview .slides section, -.reveal.fade.overview .slides>section>section, -.reveal.fade.overview-deactivating .slides section, -.reveal.fade.overview-deactivating .slides>section>section { - -webkit-transition: none; - -moz-transition: none; - -ms-transition: none; - -o-transition: none; - transition: none; -} - - -/********************************************* - * NO TRANSITION - *********************************************/ - -.reveal .slides section[data-transition=none], -.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-origin: 0% 0%; - -moz-perspective-origin: 0% 0%; - -ms-perspective-origin: 0% 0%; - perspective-origin: 0% 0%; - - -webkit-perspective: 700px; - -moz-perspective: 700px; - -ms-perspective: 700px; - perspective: 700px; -} - -.reveal.overview .slides section { - height: 600px; - top: -300px !important; - 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 { - padding: 0; - top: 0 !important; - background: none; - 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 .reveal .slides { - position: relative; - width: 80%; - height: auto !important; - top: 0; - left: 50%; - margin: 0; - text-align: center; -} - -.no-transforms .reveal .controls, -.no-transforms .reveal .progress { - display: none !important; -} - -.no-transforms .reveal .slides section { - display: block !important; - opacity: 1 !important; - position: relative !important; - height: auto; - min-height: auto; - top: 0; - left: -50%; - margin: 70px 0; - - -webkit-transform: none; - -moz-transform: none; - -ms-transform: none; - -o-transform: none; - transform: none; -} - -.no-transforms .reveal .slides section section { - left: 0; -} - -.reveal .no-transition, -.reveal .no-transition * { - -webkit-transition: none !important; - -moz-transition: none !important; - -ms-transition: none !important; - -o-transition: none !important; - transition: none !important; -} - - -/********************************************* - * BACKGROUND STATES [DEPRECATED] - *********************************************/ - -.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 ); -} -.whiteout .reveal .state-background { - background: rgba( 255, 255, 255, 0.6 ); -} -.cobalt .reveal .state-background { - background: rgba( 22, 152, 213, 0.6 ); -} -.mint .reveal .state-background { - background: rgba( 22, 213, 75, 0.6 ); -} -.submerge .reveal .state-background { - background: rgba( 12, 25, 77, 0.6); -} -.lila .reveal .state-background { - background: rgba( 180, 50, 140, 0.6 ); -} -.sunset .reveal .state-background { - background: rgba( 255, 122, 0, 0.6 ); -} - - -/********************************************* - * PER-SLIDE BACKGROUNDS - *********************************************/ - -.reveal>.backgrounds { - position: absolute; - width: 100%; - height: 100%; -} - .reveal .slide-background { - position: absolute; - width: 100%; - height: 100%; - opacity: 0; - visibility: hidden; - - background-color: rgba( 0, 0, 0, 0 ); - background-position: 50% 50%; - background-repeat: no-repeat; - background-size: cover; - - -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 .slide-background.present { - opacity: 1; - visibility: visible; - } - - .print-pdf .reveal .slide-background { - opacity: 1 !important; - visibility: visible !important; - } - -/* Immediate transition style */ -.reveal[data-background-transition=none]>.backgrounds .slide-background, -.reveal>.backgrounds .slide-background[data-background-transition=none] { - -webkit-transition: none; - -moz-transition: none; - -ms-transition: none; - -o-transition: none; - transition: none; -} - -/* Linear sliding transition style */ -.reveal[data-background-transition=slide]>.backgrounds .slide-background, -.reveal>.backgrounds .slide-background[data-background-transition=slide] { - opacity: 1; - - -webkit-backface-visibility: hidden; - -moz-backface-visibility: hidden; - -ms-backface-visibility: hidden; - backface-visibility: hidden; - - -webkit-transition-duration: 800ms; - -moz-transition-duration: 800ms; - -ms-transition-duration: 800ms; - -o-transition-duration: 800ms; - transition-duration: 800ms; -} - .reveal[data-background-transition=slide]>.backgrounds .slide-background.past, - .reveal>.backgrounds .slide-background.past[data-background-transition=slide] { - -webkit-transform: translate(-100%, 0); - -moz-transform: translate(-100%, 0); - -ms-transform: translate(-100%, 0); - -o-transform: translate(-100%, 0); - transform: translate(-100%, 0); - } - .reveal[data-background-transition=slide]>.backgrounds .slide-background.future, - .reveal>.backgrounds .slide-background.future[data-background-transition=slide] { - -webkit-transform: translate(100%, 0); - -moz-transform: translate(100%, 0); - -ms-transform: translate(100%, 0); - -o-transform: translate(100%, 0); - transform: translate(100%, 0); - } - - .reveal[data-background-transition=slide]>.backgrounds .slide-background>.slide-background.past, - .reveal>.backgrounds .slide-background>.slide-background.past[data-background-transition=slide] { - -webkit-transform: translate(0, -100%); - -moz-transform: translate(0, -100%); - -ms-transform: translate(0, -100%); - -o-transform: translate(0, -100%); - transform: translate(0, -100%); - } - .reveal[data-background-transition=slide]>.backgrounds .slide-background>.slide-background.future, - .reveal>.backgrounds .slide-background>.slide-background.future[data-background-transition=slide] { - -webkit-transform: translate(0, 100%); - -moz-transform: translate(0, 100%); - -ms-transform: translate(0, 100%); - -o-transform: translate(0, 100%); - transform: translate(0, 100%); - } - - -/* Global transition speed settings */ -.reveal[data-transition-speed="fast"]>.backgrounds .slide-background { - -webkit-transition-duration: 400ms; - -moz-transition-duration: 400ms; - -ms-transition-duration: 400ms; - transition-duration: 400ms; -} -.reveal[data-transition-speed="slow"]>.backgrounds .slide-background { - -webkit-transition-duration: 1200ms; - -moz-transition-duration: 1200ms; - -ms-transition-duration: 1200ms; - transition-duration: 1200ms; -} - - -/********************************************* - * RTL SUPPORT - *********************************************/ - -.reveal.rtl .slides, -.reveal.rtl .slides h1, -.reveal.rtl .slides h2, -.reveal.rtl .slides h3, -.reveal.rtl .slides h4, -.reveal.rtl .slides h5, -.reveal.rtl .slides h6 { - direction: rtl; - font-family: sans-serif; -} - -.reveal.rtl pre, -.reveal.rtl code { - direction: ltr; -} - -.reveal.rtl ol, -.reveal.rtl ul { - text-align: right; -} - -.reveal.rtl .progress span { - float: right -} - - -/********************************************* - * LINK PREVIEW OVERLAY - *********************************************/ - - .reveal .preview-link-overlay { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - z-index: 1000; - background: rgba( 0, 0, 0, 0.9 ); - opacity: 0; - visibility: hidden; - - -webkit-transition: all 0.3s ease; - -moz-transition: all 0.3s ease; - -ms-transition: all 0.3s ease; - transition: all 0.3s ease; - } - .reveal .preview-link-overlay.visible { - opacity: 1; - visibility: visible; - } - - .reveal .preview-link-overlay .spinner { - position: absolute; - display: block; - top: 50%; - left: 50%; - width: 32px; - height: 32px; - margin: -16px 0 0 -16px; - z-index: 10; - background-image: url(data:image/gif;base64,R0lGODlhIAAgAPMAAJmZmf%2F%2F%2F6%2Bvr8nJybW1tcDAwOjo6Nvb26ioqKOjo7Ozs%2FLy8vz8%2FAAAAAAAAAAAACH%2FC05FVFNDQVBFMi4wAwEAAAAh%2FhpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh%2BQQJCgAAACwAAAAAIAAgAAAE5xDISWlhperN52JLhSSdRgwVo1ICQZRUsiwHpTJT4iowNS8vyW2icCF6k8HMMBkCEDskxTBDAZwuAkkqIfxIQyhBQBFvAQSDITM5VDW6XNE4KagNh6Bgwe60smQUB3d4Rz1ZBApnFASDd0hihh12BkE9kjAJVlycXIg7CQIFA6SlnJ87paqbSKiKoqusnbMdmDC2tXQlkUhziYtyWTxIfy6BE8WJt5YJvpJivxNaGmLHT0VnOgSYf0dZXS7APdpB309RnHOG5gDqXGLDaC457D1zZ%2FV%2FnmOM82XiHRLYKhKP1oZmADdEAAAh%2BQQJCgAAACwAAAAAIAAgAAAE6hDISWlZpOrNp1lGNRSdRpDUolIGw5RUYhhHukqFu8DsrEyqnWThGvAmhVlteBvojpTDDBUEIFwMFBRAmBkSgOrBFZogCASwBDEY%2FCZSg7GSE0gSCjQBMVG023xWBhklAnoEdhQEfyNqMIcKjhRsjEdnezB%2BA4k8gTwJhFuiW4dokXiloUepBAp5qaKpp6%2BHo7aWW54wl7obvEe0kRuoplCGepwSx2jJvqHEmGt6whJpGpfJCHmOoNHKaHx61WiSR92E4lbFoq%2BB6QDtuetcaBPnW6%2BO7wDHpIiK9SaVK5GgV543tzjgGcghAgAh%2BQQJCgAAACwAAAAAIAAgAAAE7hDISSkxpOrN5zFHNWRdhSiVoVLHspRUMoyUakyEe8PTPCATW9A14E0UvuAKMNAZKYUZCiBMuBakSQKG8G2FzUWox2AUtAQFcBKlVQoLgQReZhQlCIJesQXI5B0CBnUMOxMCenoCfTCEWBsJColTMANldx15BGs8B5wlCZ9Po6OJkwmRpnqkqnuSrayqfKmqpLajoiW5HJq7FL1Gr2mMMcKUMIiJgIemy7xZtJsTmsM4xHiKv5KMCXqfyUCJEonXPN2rAOIAmsfB3uPoAK%2B%2BG%2Bw48edZPK%2BM6hLJpQg484enXIdQFSS1u6UhksENEQAAIfkECQoAAAAsAAAAACAAIAAABOcQyEmpGKLqzWcZRVUQnZYg1aBSh2GUVEIQ2aQOE%2BG%2BcD4ntpWkZQj1JIiZIogDFFyHI0UxQwFugMSOFIPJftfVAEoZLBbcLEFhlQiqGp1Vd140AUklUN3eCA51C1EWMzMCezCBBmkxVIVHBWd3HHl9JQOIJSdSnJ0TDKChCwUJjoWMPaGqDKannasMo6WnM562R5YluZRwur0wpgqZE7NKUm%2BFNRPIhjBJxKZteWuIBMN4zRMIVIhffcgojwCF117i4nlLnY5ztRLsnOk%2BaV%2BoJY7V7m76PdkS4trKcdg0Zc0tTcKkRAAAIfkECQoAAAAsAAAAACAAIAAABO4QyEkpKqjqzScpRaVkXZWQEximw1BSCUEIlDohrft6cpKCk5xid5MNJTaAIkekKGQkWyKHkvhKsR7ARmitkAYDYRIbUQRQjWBwJRzChi9CRlBcY1UN4g0%2FVNB0AlcvcAYHRyZPdEQFYV8ccwR5HWxEJ02YmRMLnJ1xCYp0Y5idpQuhopmmC2KgojKasUQDk5BNAwwMOh2RtRq5uQuPZKGIJQIGwAwGf6I0JXMpC8C7kXWDBINFMxS4DKMAWVWAGYsAdNqW5uaRxkSKJOZKaU3tPOBZ4DuK2LATgJhkPJMgTwKCdFjyPHEnKxFCDhEAACH5BAkKAAAALAAAAAAgACAAAATzEMhJaVKp6s2nIkolIJ2WkBShpkVRWqqQrhLSEu9MZJKK9y1ZrqYK9WiClmvoUaF8gIQSNeF1Er4MNFn4SRSDARWroAIETg1iVwuHjYB1kYc1mwruwXKC9gmsJXliGxc%2BXiUCby9ydh1sOSdMkpMTBpaXBzsfhoc5l58Gm5yToAaZhaOUqjkDgCWNHAULCwOLaTmzswadEqggQwgHuQsHIoZCHQMMQgQGubVEcxOPFAcMDAYUA85eWARmfSRQCdcMe0zeP1AAygwLlJtPNAAL19DARdPzBOWSm1brJBi45soRAWQAAkrQIykShQ9wVhHCwCQCACH5BAkKAAAALAAAAAAgACAAAATrEMhJaVKp6s2nIkqFZF2VIBWhUsJaTokqUCoBq%2BE71SRQeyqUToLA7VxF0JDyIQh%2FMVVPMt1ECZlfcjZJ9mIKoaTl1MRIl5o4CUKXOwmyrCInCKqcWtvadL2SYhyASyNDJ0uIiRMDjI0Fd30%2FiI2UA5GSS5UDj2l6NoqgOgN4gksEBgYFf0FDqKgHnyZ9OX8HrgYHdHpcHQULXAS2qKpENRg7eAMLC7kTBaixUYFkKAzWAAnLC7FLVxLWDBLKCwaKTULgEwbLA4hJtOkSBNqITT3xEgfLpBtzE%2FjiuL04RGEBgwWhShRgQExHBAAh%2BQQJCgAAACwAAAAAIAAgAAAE7xDISWlSqerNpyJKhWRdlSAVoVLCWk6JKlAqAavhO9UkUHsqlE6CwO1cRdCQ8iEIfzFVTzLdRAmZX3I2SfZiCqGk5dTESJeaOAlClzsJsqwiJwiqnFrb2nS9kmIcgEsjQydLiIlHehhpejaIjzh9eomSjZR%2BipslWIRLAgMDOR2DOqKogTB9pCUJBagDBXR6XB0EBkIIsaRsGGMMAxoDBgYHTKJiUYEGDAzHC9EACcUGkIgFzgwZ0QsSBcXHiQvOwgDdEwfFs0sDzt4S6BK4xYjkDOzn0unFeBzOBijIm1Dgmg5YFQwsCMjp1oJ8LyIAACH5BAkKAAAALAAAAAAgACAAAATwEMhJaVKp6s2nIkqFZF2VIBWhUsJaTokqUCoBq%2BE71SRQeyqUToLA7VxF0JDyIQh%2FMVVPMt1ECZlfcjZJ9mIKoaTl1MRIl5o4CUKXOwmyrCInCKqcWtvadL2SYhyASyNDJ0uIiUd6GGl6NoiPOH16iZKNlH6KmyWFOggHhEEvAwwMA0N9GBsEC6amhnVcEwavDAazGwIDaH1ipaYLBUTCGgQDA8NdHz0FpqgTBwsLqAbWAAnIA4FWKdMLGdYGEgraigbT0OITBcg5QwPT4xLrROZL6AuQAPUS7bxLpoWidY0JtxLHKhwwMJBTHgPKdEQAACH5BAkKAAAALAAAAAAgACAAAATrEMhJaVKp6s2nIkqFZF2VIBWhUsJaTokqUCoBq%2BE71SRQeyqUToLA7VxF0JDyIQh%2FMVVPMt1ECZlfcjZJ9mIKoaTl1MRIl5o4CUKXOwmyrCInCKqcWtvadL2SYhyASyNDJ0uIiUd6GAULDJCRiXo1CpGXDJOUjY%2BYip9DhToJA4RBLwMLCwVDfRgbBAaqqoZ1XBMHswsHtxtFaH1iqaoGNgAIxRpbFAgfPQSqpbgGBqUD1wBXeCYp1AYZ19JJOYgH1KwA4UBvQwXUBxPqVD9L3sbp2BNk2xvvFPJd%2BMFCN6HAAIKgNggY0KtEBAAh%2BQQJCgAAACwAAAAAIAAgAAAE6BDISWlSqerNpyJKhWRdlSAVoVLCWk6JKlAqAavhO9UkUHsqlE6CwO1cRdCQ8iEIfzFVTzLdRAmZX3I2SfYIDMaAFdTESJeaEDAIMxYFqrOUaNW4E4ObYcCXaiBVEgULe0NJaxxtYksjh2NLkZISgDgJhHthkpU4mW6blRiYmZOlh4JWkDqILwUGBnE6TYEbCgevr0N1gH4At7gHiRpFaLNrrq8HNgAJA70AWxQIH1%2BvsYMDAzZQPC9VCNkDWUhGkuE5PxJNwiUK4UfLzOlD4WvzAHaoG9nxPi5d%2BjYUqfAhhykOFwJWiAAAIfkECQoAAAAsAAAAACAAIAAABPAQyElpUqnqzaciSoVkXVUMFaFSwlpOCcMYlErAavhOMnNLNo8KsZsMZItJEIDIFSkLGQoQTNhIsFehRww2CQLKF0tYGKYSg%2BygsZIuNqJksKgbfgIGepNo2cIUB3V1B3IvNiBYNQaDSTtfhhx0CwVPI0UJe0%2Bbm4g5VgcGoqOcnjmjqDSdnhgEoamcsZuXO1aWQy8KAwOAuTYYGwi7w5h%2BKr0SJ8MFihpNbx%2B4Erq7BYBuzsdiH1jCAzoSfl0rVirNbRXlBBlLX%2BBP0XJLAPGzTkAuAOqb0WT5AH7OcdCm5B8TgRwSRKIHQtaLCwg1RAAAOwAAAAAAAAAAAA%3D%3D); - - visibility: visible; - opacity: 0.6; - - -webkit-transition: all 0.3s ease; - -moz-transition: all 0.3s ease; - -ms-transition: all 0.3s ease; - transition: all 0.3s ease; - } - - .reveal .preview-link-overlay header { - position: absolute; - left: 0; - top: 0; - width: 100%; - height: 40px; - z-index: 2; - border-bottom: 1px solid #222; - } - .reveal .preview-link-overlay header a { - display: inline-block; - width: 40px; - height: 40px; - padding: 0 10px; - float: right; - opacity: 0.6; - - box-sizing: border-box; - } - .reveal .preview-link-overlay header a:hover { - opacity: 1; - } - .reveal .preview-link-overlay header a .icon { - display: inline-block; - width: 20px; - height: 20px; - - background-position: 50% 50%; - background-size: 100%; - background-repeat: no-repeat; - } - .reveal .preview-link-overlay header a.close .icon { - background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAABkklEQVRYR8WX4VHDMAxG6wnoJrABZQPYBCaBTWAD2g1gE5gg6OOsXuxIlr40d81dfrSJ9V4c2VLK7spHuTJ/5wpM07QXuXc5X0opX2tEJcadjHuV80li/FgxTIEK/5QBCICBD6xEhSMGHgQPgBgLiYVAB1dpSqKDawxTohFw4JSEA3clzgIBPCURwE2JucBR7rhPJJv5OpJwDX+SfDjgx1wACQeJG1aChP9K/IMmdZ8DtESV1WyP3Bt4MwM6sj4NMxMYiqUWHQu4KYA/SYkIjOsm3BXYWMKFDwU2khjCQ4ELJUJ4SmClRArOCmSXGuKma0fYD5CbzHxFpCSGAhfAVSSUGDUk2BWZaff2g6GE15BsBQ9nwmpIGDiyHQddwNTMKkbZaf9fajXQca1EX44puJZUsnY0ObGmITE3GVLCbEhQUjGVt146j6oasWN+49Vph2w1pZ5EansNZqKBm1txbU57iRRcZ86RWMDdWtBJUHBHwoQPi1GV+JCbntmvok7iTX4/Up9mgyTc/FJYDTcndgH/AA5A/CHsyEkVAAAAAElFTkSuQmCC); - } - .reveal .preview-link-overlay header a.external .icon { - background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAcElEQVRYR+2WSQoAIQwEzf8f7XiOMkUQxUPlGkM3hVmiQfQR9GYnH1SsAQlI4DiBqkCMoNb9y2e90IAEJPAcgdznU9+engMaeJ7Azh5Y1U67gAho4DqBqmB1buAf0MB1AlVBek83ZPkmJMGc1wAR+AAqod/B97TRpQAAAABJRU5ErkJggg==); - } - - .reveal .preview-link-overlay .viewport { - position: absolute; - top: 40px; - right: 0; - bottom: 0; - left: 0; - } - - .reveal .preview-link-overlay .viewport iframe { - width: 100%; - height: 100%; - max-width: 100%; - max-height: 100%; - border: 0; - - opacity: 0; - visibility: hidden; - - -webkit-transition: all 0.3s ease; - -moz-transition: all 0.3s ease; - -ms-transition: all 0.3s ease; - transition: all 0.3s ease; - } - - .reveal .preview-link-overlay.loaded .viewport iframe { - opacity: 1; - visibility: visible; - } - - .reveal .preview-link-overlay.loaded .spinner { - opacity: 0; - visibility: hidden; - - -webkit-transform: scale(0.2); - -moz-transform: scale(0.2); - -ms-transform: scale(0.2); - transform: scale(0.2); - } - - -/********************************************* - * 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-backface-visibility: hidden; - -moz-backface-visibility: hidden; - backface-visibility: hidden; - - -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 ); -} - - -/********************************************* - * 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/sources/preview_export/reveal/css/reveal.min.css b/sources/preview_export/reveal/css/reveal.min.css deleted file mode 100644 index 467f9d4..0000000 --- a/sources/preview_export/reveal/css/reveal.min.css +++ /dev/null @@ -1,7 +0,0 @@ -@charset "UTF-8";/*! - * reveal.js - * http://lab.hakim.se/reveal-js - * MIT licensed - * - * Copyright (C) 2013 Hakim El Hattab, http://hakim.se - */ 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}html,body{width:100%;height:100%;overflow:hidden}body{position:relative;line-height:1}::selection{background:#FF5E99;color:#fff;text-shadow:none}.reveal h1,.reveal h2,.reveal h3,.reveal h4,.reveal h5,.reveal h6{-webkit-hyphens:auto;-moz-hyphens:auto;hyphens:auto;word-wrap:break-word}.reveal h1{font-size:3.77em}.reveal h2{font-size:2.11em}.reveal h3{font-size:1.55em}.reveal h4{font-size:1em}.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.zoom-in{opacity:0;-webkit-transform:scale(0.1);-moz-transform:scale(0.1);-ms-transform:scale(0.1);-o-transform:scale(0.1);transform:scale(0.1)}.reveal .slides section .fragment.zoom-in.visible{opacity:1;-webkit-transform:scale(1);-moz-transform:scale(1);-ms-transform:scale(1);-o-transform:scale(1);transform:scale(1)}.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}.reveal:after{content:'';font-style:italic}.reveal img,.reveal video,.reveal iframe{max-width:95%;max-height:95%}.reveal a{position:relative}.reveal strong,.reveal b{font-weight:700}.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,.05);box-shadow:0 0 2px rgba(0,0,0,.2)}.reveal blockquote p:first-child,.reveal blockquote p:last-child{display:inline-block}.reveal q{font-style:italic}.reveal pre{display:block;position:relative;width:90%;margin:15px auto;text-align:left;font-size:.55em;font-family:monospace;line-height:1.2em;word-wrap:break-word;box-shadow:0 0 6px rgba(0,0,0,.3)}.reveal code{font-family:monospace}.reveal pre code{padding:5px;overflow:auto;max-height:400px;word-wrap:normal}.reveal table th,.reveal table td{text-align:left;padding-right:.3em}.reveal table th{text-shadow:#fff 1px 1px 2px}.reveal sup{vertical-align:super}.reveal sub{vertical-align:sub}.reveal small{display:inline-block;font-size:.6em;line-height:1.2em;vertical-align:top}.reveal small *{vertical-align:top}.reveal .controls{display:none;position:fixed;width:110px;height:110px;z-index:30;right:10px;bottom:10px}.reveal .controls div{position:absolute;opacity:.05;width:0;height:0;border:12px solid transparent;-moz-transform:scale(.9999);-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 .controls div.enabled{opacity:.7;cursor:pointer}.reveal .controls div.enabled:active{margin-top:1px}.reveal .controls div.navigate-left{top:42px;border-right-width:22px;border-right-color:#eee}.reveal .controls div.navigate-left.fragmented{opacity:.3}.reveal .controls div.navigate-right{left:74px;top:42px;border-left-width:22px;border-left-color:#eee}.reveal .controls div.navigate-right.fragmented{opacity:.3}.reveal .controls div.navigate-up{left:42px;border-bottom-width:22px;border-bottom-color:#eee}.reveal .controls div.navigate-up.fragmented{opacity:.3}.reveal .controls div.navigate-down{left:42px;top:74px;border-top-width:22px;border-top-color:#eee}.reveal .controls div.navigate-down.fragmented{opacity:.3}.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:0;-webkit-transition:width 800ms cubic-bezier(0.26,.86,.44,.985);-moz-transition:width 800ms cubic-bezier(0.26,.86,.44,.985);-ms-transition:width 800ms cubic-bezier(0.26,.86,.44,.985);-o-transition:width 800ms cubic-bezier(0.26,.86,.44,.985);transition:width 800ms cubic-bezier(0.26,.86,.44,.985)}.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:0;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,.5);-webkit-transform:translate3d(0px,0,-45px) rotateX(90deg);-moz-transform:translate3d(0px,0,-45px) rotateX(90deg);-ms-transform:translate3d(0px,0,-45px) rotateX(90deg);transform:translate3d(0px,0,-45px) rotateX(90deg)}.reveal .roll span:after{content:attr(data-title);display:block;position:absolute;left:0;top:0;padding:0 2px;-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;backface-visibility:hidden;-webkit-transform-origin:50% 0;-moz-transform-origin:50% 0;-ms-transform-origin:50% 0;transform-origin:50% 0;-webkit-transform:translate3d(0px,110%,0) rotateX(-90deg);-moz-transform:translate3d(0px,110%,0) rotateX(-90deg);-ms-transform:translate3d(0px,110%,0) rotateX(-90deg);transform:translate3d(0px,110%,0) rotateX(-90deg)}.reveal{position:relative;width:100%;height:100%}.reveal .slides{position:absolute;width:100%;height:100%;left:50%;top:50%;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 -100px;-moz-perspective-origin:0 -100px;-ms-perspective-origin:0 -100px;perspective-origin:0 -100px}.reveal .slides>section,.reveal .slides>section>section{display:none;position:absolute;width:100%;padding:20px 0;z-index:10;line-height:1.2em;font-weight:400;-webkit-transform-style:preserve-3d;-moz-transform-style:preserve-3d;-ms-transform-style:preserve-3d;transform-style:preserve-3d;-webkit-transition:-webkit-transform-origin 800ms cubic-bezier(0.26,.86,.44,.985),-webkit-transform 800ms cubic-bezier(0.26,.86,.44,.985),visibility 800ms cubic-bezier(0.26,.86,.44,.985),opacity 800ms cubic-bezier(0.26,.86,.44,.985);-moz-transition:-moz-transform-origin 800ms cubic-bezier(0.26,.86,.44,.985),-moz-transform 800ms cubic-bezier(0.26,.86,.44,.985),visibility 800ms cubic-bezier(0.26,.86,.44,.985),opacity 800ms cubic-bezier(0.26,.86,.44,.985);-ms-transition:-ms-transform-origin 800ms cubic-bezier(0.26,.86,.44,.985),-ms-transform 800ms cubic-bezier(0.26,.86,.44,.985),visibility 800ms cubic-bezier(0.26,.86,.44,.985),opacity 800ms cubic-bezier(0.26,.86,.44,.985);-o-transition:-o-transform-origin 800ms cubic-bezier(0.26,.86,.44,.985),-o-transform 800ms cubic-bezier(0.26,.86,.44,.985),visibility 800ms cubic-bezier(0.26,.86,.44,.985),opacity 800ms cubic-bezier(0.26,.86,.44,.985);transition:transform-origin 800ms cubic-bezier(0.26,.86,.44,.985),transform 800ms cubic-bezier(0.26,.86,.44,.985),visibility 800ms cubic-bezier(0.26,.86,.44,.985),opacity 800ms cubic-bezier(0.26,.86,.44,.985)}.reveal[data-transition-speed=fast] .slides section{-webkit-transition-duration:400ms;-moz-transition-duration:400ms;-ms-transition-duration:400ms;transition-duration:400ms}.reveal[data-transition-speed=slow] .slides section{-webkit-transition-duration:1200ms;-moz-transition-duration:1200ms;-ms-transition-duration:1200ms;transition-duration:1200ms}.reveal .slides section[data-transition-speed=fast]{-webkit-transition-duration:400ms;-moz-transition-duration:400ms;-ms-transition-duration:400ms;transition-duration:400ms}.reveal .slides section[data-transition-speed=slow]{-webkit-transition-duration:1200ms;-moz-transition-duration:1200ms;-ms-transition-duration:1200ms;transition-duration:1200ms}.reveal .slides>section{left:-50%;top:-50%}.reveal .slides>section.stack{padding-top:0;padding-bottom:0}.reveal .slides>section.present,.reveal .slides>section>section.present{display:block;z-index:11;opacity:1}.reveal.center,.reveal.center .slides,.reveal.center .slides section{min-height:auto!important}.reveal .slides>section[data-transition=default].past,.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[data-transition=default].future,.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[data-transition=default].past,.reveal .slides>section>section.past{display:block;opacity:0;-webkit-transform:translate3d(0,-300px,0) rotateX(70deg) translate3d(0,-300px,0);-moz-transform:translate3d(0,-300px,0) rotateX(70deg) translate3d(0,-300px,0);-ms-transform:translate3d(0,-300px,0) rotateX(70deg) translate3d(0,-300px,0);transform:translate3d(0,-300px,0) rotateX(70deg) translate3d(0,-300px,0)}.reveal .slides>section>section[data-transition=default].future,.reveal .slides>section>section.future{display:block;opacity:0;-webkit-transform:translate3d(0,300px,0) rotateX(-70deg) translate3d(0,300px,0);-moz-transform:translate3d(0,300px,0) rotateX(-70deg) translate3d(0,300px,0);-ms-transform:translate3d(0,300px,0) rotateX(-70deg) translate3d(0,300px,0);transform:translate3d(0,300px,0) rotateX(-70deg) translate3d(0,300px,0)}.reveal .slides>section[data-transition=concave].past,.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 .slides>section[data-transition=concave].future,.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 .slides>section>section[data-transition=concave].past,.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 .slides>section>section[data-transition=concave].future,.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)}.reveal .slides>section[data-transition=zoom].past,.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 .slides>section[data-transition=zoom].future,.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 .slides>section>section[data-transition=zoom].past,.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 .slides>section>section[data-transition=zoom].future,.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%)}.reveal.linear section{-webkit-backface-visibility:hidden;-moz-backface-visibility:hidden;-ms-backface-visibility:hidden;backface-visibility:hidden}.reveal .slides>section[data-transition=linear].past,.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 .slides>section[data-transition=linear].future,.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 .slides>section>section[data-transition=linear].past,.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 .slides>section>section[data-transition=linear].future,.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%)}.reveal.cube .slides{-webkit-perspective:1300px;-moz-perspective:1300px;-ms-perspective:1300px;perspective:1300px}.reveal.cube .slides section{padding:30px;min-height:700px;-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.center.cube .slides section{min-height:auto}.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,.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:0;z-index:1;border-radius:4px;box-shadow:0 95px 25px rgba(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:0}.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)}.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;min-height:700px;-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,.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:0;z-index:1;border-radius:4px;box-shadow:0 95px 25px rgba(0,0,0,.2);-webkit-transform:translateZ(-90px) rotateX(65deg)}.reveal.page .slides>section.stack{padding:0;background:0}.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)}.reveal .slides section[data-transition=fade],.reveal.fade .slides section,.reveal.fade .slides>section>section{-webkit-transform:none;-moz-transform:none;-ms-transform:none;-o-transform:none;transform:none;-webkit-transition:opacity .5s;-moz-transition:opacity .5s;-ms-transition:opacity .5s;-o-transition:opacity .5s;transition:opacity .5s}.reveal.fade.overview .slides section,.reveal.fade.overview .slides>section>section,.reveal.fade.exit-overview .slides section,.reveal.fade.exit-overview .slides>section>section{-webkit-transition:none;-moz-transition:none;-ms-transition:none;-o-transition:none;transition:none}.reveal .slides section[data-transition=none],.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}.reveal.overview .slides{-webkit-perspective-origin:0 0;-moz-perspective-origin:0 0;-ms-perspective-origin:0 0;perspective-origin:0 0;-webkit-perspective:700px;-moz-perspective:700px;-ms-perspective:700px;perspective:700px}.reveal.overview .slides section{height:600px;overflow:hidden;opacity:1!important;visibility:visible!important;cursor:pointer;background:rgba(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,.3)}.reveal.overview .slides section.present{background:rgba(0,0,0,.3)}.reveal.overview .slides>section.stack{padding:0;background:0;overflow:visible}.reveal .pause-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background:#000;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}.no-transforms{overflow-y:auto}.no-transforms .reveal .slides{position:relative;width:80%;height:auto!important;top:0;left:50%;margin:0;text-align:center}.no-transforms .reveal .controls,.no-transforms .reveal .progress{display:none!important}.no-transforms .reveal .slides section{display:block!important;opacity:1!important;position:relative!important;height:auto;min-height:auto;top:0;left:-50%;margin:70px 0;-webkit-transform:none;-moz-transform:none;-ms-transform:none;-o-transform:none;transform:none}.no-transforms .reveal .slides section section{left:0}.no-transition{-webkit-transition:none;-moz-transition:none;-ms-transition:none;-o-transition:none;transition:none}.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,.6)}.soothe .reveal .state-background{background:rgba(50,200,90,.4)}.blackout .reveal .state-background{background:rgba(0,0,0,.6)}.whiteout .reveal .state-background{background:rgba(255,255,255,.6)}.cobalt .reveal .state-background{background:rgba(22,152,213,.6)}.mint .reveal .state-background{background:rgba(22,213,75,.6)}.submerge .reveal .state-background{background:rgba(12,25,77,.6)}.lila .reveal .state-background{background:rgba(180,50,140,.6)}.sunset .reveal .state-background{background:rgba(255,122,0,.6)}.reveal.rtl .slides,.reveal.rtl .slides h1,.reveal.rtl .slides h2,.reveal.rtl .slides h3,.reveal.rtl .slides h4,.reveal.rtl .slides h5,.reveal.rtl .slides h6{direction:rtl;font-family:sans-serif}.reveal.rtl pre,.reveal.rtl code{direction:ltr}.reveal.rtl ol,.reveal.rtl ul{text-align:right}.reveal.rtl .progress span{float:right}.reveal aside.notes{display:none}.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:0}.zoomed .reveal .roll span:after{visibility:hidden} \ No newline at end of file diff --git a/sources/preview_export/reveal/css/theme/README.md b/sources/preview_export/reveal/css/theme/README.md deleted file mode 100644 index b6bcedb..0000000 --- a/sources/preview_export/reveal/css/theme/README.md +++ /dev/null @@ -1,23 +0,0 @@ -## Dependencies - -Themes are written using Sass to keep things modular and reduce the need for repeated selectors across files. Make sure that you have the reveal.js development environment including the Grunt dependencies installed before proceding: https://github.com/hakimel/reveal.js#development-environment - - - -## Creating a Theme - -To create your own theme, start by duplicating any ```.scss``` file in [/css/theme/source](https://github.com/hakimel/reveal.js/blob/master/css/theme/source) and adding it to the compilation list in the [Gruntfile](https://github.com/hakimel/reveal.js/blob/master/Gruntfile.js). - -Each theme file does four things in the following order: - -1. **Include [/css/theme/template/mixins.scss](https://github.com/hakimel/reveal.js/blob/master/css/theme/template/mixins.scss)** -Shared utility functions. - -2. **Include [/css/theme/template/settings.scss](https://github.com/hakimel/reveal.js/blob/master/css/theme/template/settings.scss)** -Declares a set of custom variables that the template file (step 4) expects. Can be overridden in step 3. - -3. **Override** -This is where you override the default theme. Either by specifying variables (see [settings.scss](https://github.com/hakimel/reveal.js/blob/master/css/theme/template/settings.scss) for reference) or by adding full selectors with hardcoded styles. - -4. **Include [/css/theme/template/theme.scss](https://github.com/hakimel/reveal.js/blob/master/css/theme/template/theme.scss)** -The template theme file which will generate final CSS output based on the currently defined variables. \ No newline at end of file diff --git a/sources/preview_export/reveal/css/theme/beige.css b/sources/preview_export/reveal/css/theme/beige.css deleted file mode 100644 index a47938f..0000000 --- a/sources/preview_export/reveal/css/theme/beige.css +++ /dev/null @@ -1,166 +0,0 @@ -/*@import url(https://fonts.googl eapis.com/css?family=Lato:400,700,400italic,700italic);*/ -@font-face { - font-family: 'Lato'; - font-style: normal; - font-weight: 400; - src: local('Lato Regular'), local('Lato-Regular'), url(./fonts/1YwB1sO8YE1Lyjf12WNiUA.woff2) format('woff2'), url(./fonts/9k-RPmcnxYEPm8CNFsH2gg.woff) format('woff'); -} -@font-face { - font-family: 'Lato'; - font-style: normal; - font-weight: 700; - src: local('Lato Bold'), local('Lato-Bold'), url(./fonts/H2DMvhDLycM56KNuAtbJYA.woff2) format('woff2'), url(./fonts/wkfQbvfT_02e2IWO3yYueQ.woff) format('woff'); -} -@font-face { - font-family: 'Lato'; - font-style: italic; - font-weight: 400; - src: local('Lato Italic'), local('Lato-Italic'), url(./fonts/PLygLKRVCQnA5fhu3qk5fQ.woff2) format('woff2'), url(./fonts/oUan5VrEkpzIazlUe5ieaA.woff) format('woff'); -} -@font-face { - font-family: 'Lato'; - font-style: italic; - font-weight: 700; - src: local('Lato Bold Italic'), local('Lato-BoldItalic'), url(./fonts/HkF_qI1x_noxlxhrhMQYEFtXRa8TVwTICgirnJhmVJw.woff2) format('woff2'), url(./fonts/HkF_qI1x_noxlxhrhMQYED8E0i7KZn-EPnyo3HZu7kw.woff) format('woff'); -} -/** - * 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", sans-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 0px; - 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.navigate-left, -.reveal .controls div.navigate-left.enabled { - border-right-color: #8b743d; } - -.reveal .controls div.navigate-right, -.reveal .controls div.navigate-right.enabled { - border-left-color: #8b743d; } - -.reveal .controls div.navigate-up, -.reveal .controls div.navigate-up.enabled { - border-bottom-color: #8b743d; } - -.reveal .controls div.navigate-down, -.reveal .controls div.navigate-down.enabled { - border-top-color: #8b743d; } - -.reveal .controls div.navigate-left.enabled:hover { - border-right-color: #c0a86e; } - -.reveal .controls div.navigate-right.enabled:hover { - border-left-color: #c0a86e; } - -.reveal .controls div.navigate-up.enabled:hover { - border-bottom-color: #c0a86e; } - -.reveal .controls div.navigate-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/sources/preview_export/reveal/css/theme/default.css b/sources/preview_export/reveal/css/theme/default.css deleted file mode 100644 index b711c12..0000000 --- a/sources/preview_export/reveal/css/theme/default.css +++ /dev/null @@ -1,63 +0,0 @@ -/*@import url(https://fonts.googl eapis.com/css?family=Lato:400,700,400italic,700italic);*/ -@font-face { - font-family: 'Lato'; - font-style: normal; - font-weight: 400; - src: local('Lato Regular'), local('Lato-Regular'), url(./fonts/1YwB1sO8YE1Lyjf12WNiUA.woff2) format('woff2'), url(./fonts/9k-RPmcnxYEPm8CNFsH2gg.woff) format('woff'); -} -@font-face { - font-family: 'Lato'; - font-style: normal; - font-weight: 700; - src: local('Lato Bold'), local('Lato-Bold'), url(./fonts/H2DMvhDLycM56KNuAtbJYA.woff2) format('woff2'), url(./fonts/wkfQbvfT_02e2IWO3yYueQ.woff) format('woff'); -} -@font-face { - font-family: 'Lato'; - font-style: italic; - font-weight: 400; - src: local('Lato Italic'), local('Lato-Italic'), url(./fonts/PLygLKRVCQnA5fhu3qk5fQ.woff2) format('woff2'), url(./fonts/oUan5VrEkpzIazlUe5ieaA.woff) format('woff'); -} -@font-face { - font-family: 'Lato'; - font-style: italic; - font-weight: 700; - src: local('Lato Bold Italic'), local('Lato-BoldItalic'), url(./fonts/HkF_qI1x_noxlxhrhMQYEFtXRa8TVwTICgirnJhmVJw.woff2) format('woff2'), url(./fonts/HkF_qI1x_noxlxhrhMQYED8E0i7KZn-EPnyo3HZu7kw.woff) format('woff'); -} - -@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; } - - -html, body { - font-family: "Lato", sans-serif; - color: #333; -} - -.themedArea { - font-family: "Lato", sans-serif; - font-size: 36px; - font-weight: 200; - letter-spacing: -0.02em; - color: #333; } - -.themedArea h1, -.themedArea h2, -.themedArea h3, -.themedArea h4, -.themedArea h5, -.themedArea h6 { - margin: 0 0 20px 0; - color: #333; - 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); } - -.themedArea h1 { - text-shadow: 0 1px 0 #666666, 0 2px 0 #5A5A5A, 0 3px 0 #494949, 0 4px 0 #4D4D4D, 0 5px 0 #494949, 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); -} diff --git a/sources/preview_export/reveal/css/theme/fonts/1YwB1sO8YE1Lyjf12WNiUA.woff2 b/sources/preview_export/reveal/css/theme/fonts/1YwB1sO8YE1Lyjf12WNiUA.woff2 deleted file mode 100644 index 5469216..0000000 Binary files a/sources/preview_export/reveal/css/theme/fonts/1YwB1sO8YE1Lyjf12WNiUA.woff2 and /dev/null differ diff --git a/sources/preview_export/reveal/css/theme/fonts/32nyIRHyCu6iqEka_hbKsnhCUOGz7vYGh680lGh-uXM.woff b/sources/preview_export/reveal/css/theme/fonts/32nyIRHyCu6iqEka_hbKsnhCUOGz7vYGh680lGh-uXM.woff deleted file mode 100644 index 6063fb3..0000000 Binary files a/sources/preview_export/reveal/css/theme/fonts/32nyIRHyCu6iqEka_hbKsnhCUOGz7vYGh680lGh-uXM.woff and /dev/null differ diff --git a/sources/preview_export/reveal/css/theme/fonts/32nyIRHyCu6iqEka_hbKsugdm0LZdjqr5-oayXSOefg.woff2 b/sources/preview_export/reveal/css/theme/fonts/32nyIRHyCu6iqEka_hbKsugdm0LZdjqr5-oayXSOefg.woff2 deleted file mode 100644 index f61bc08..0000000 Binary files a/sources/preview_export/reveal/css/theme/fonts/32nyIRHyCu6iqEka_hbKsugdm0LZdjqr5-oayXSOefg.woff2 and /dev/null differ diff --git a/sources/preview_export/reveal/css/theme/fonts/9Xe8dq6pQDsPyVH2D3tMQhsxEYwM7FgeyaSgU71cLG0.woff b/sources/preview_export/reveal/css/theme/fonts/9Xe8dq6pQDsPyVH2D3tMQhsxEYwM7FgeyaSgU71cLG0.woff deleted file mode 100644 index f2e815f..0000000 Binary files a/sources/preview_export/reveal/css/theme/fonts/9Xe8dq6pQDsPyVH2D3tMQhsxEYwM7FgeyaSgU71cLG0.woff and /dev/null differ diff --git a/sources/preview_export/reveal/css/theme/fonts/9Xe8dq6pQDsPyVH2D3tMQvk_vArhqVIZ0nv9q090hN8.woff2 b/sources/preview_export/reveal/css/theme/fonts/9Xe8dq6pQDsPyVH2D3tMQvk_vArhqVIZ0nv9q090hN8.woff2 deleted file mode 100644 index 9f5735a..0000000 Binary files a/sources/preview_export/reveal/css/theme/fonts/9Xe8dq6pQDsPyVH2D3tMQvk_vArhqVIZ0nv9q090hN8.woff2 and /dev/null differ diff --git a/sources/preview_export/reveal/css/theme/fonts/9k-RPmcnxYEPm8CNFsH2gg.woff b/sources/preview_export/reveal/css/theme/fonts/9k-RPmcnxYEPm8CNFsH2gg.woff deleted file mode 100644 index 49e6044..0000000 Binary files a/sources/preview_export/reveal/css/theme/fonts/9k-RPmcnxYEPm8CNFsH2gg.woff and /dev/null differ diff --git a/sources/preview_export/reveal/css/theme/fonts/G28Ny31cr5orMqEQy6ljt4WiMMZ7xLd792ULpGE4W_Y.woff2 b/sources/preview_export/reveal/css/theme/fonts/G28Ny31cr5orMqEQy6ljt4WiMMZ7xLd792ULpGE4W_Y.woff2 deleted file mode 100644 index 7189998..0000000 Binary files a/sources/preview_export/reveal/css/theme/fonts/G28Ny31cr5orMqEQy6ljt4WiMMZ7xLd792ULpGE4W_Y.woff2 and /dev/null differ diff --git a/sources/preview_export/reveal/css/theme/fonts/G28Ny31cr5orMqEQy6ljtwFhaRv2pGgT5Kf0An0s4MM.woff b/sources/preview_export/reveal/css/theme/fonts/G28Ny31cr5orMqEQy6ljtwFhaRv2pGgT5Kf0An0s4MM.woff deleted file mode 100644 index 8d160ae..0000000 Binary files a/sources/preview_export/reveal/css/theme/fonts/G28Ny31cr5orMqEQy6ljtwFhaRv2pGgT5Kf0An0s4MM.woff and /dev/null differ diff --git a/sources/preview_export/reveal/css/theme/fonts/H2DMvhDLycM56KNuAtbJYA.woff2 b/sources/preview_export/reveal/css/theme/fonts/H2DMvhDLycM56KNuAtbJYA.woff2 deleted file mode 100644 index 0fdecf7..0000000 Binary files a/sources/preview_export/reveal/css/theme/fonts/H2DMvhDLycM56KNuAtbJYA.woff2 and /dev/null differ diff --git a/sources/preview_export/reveal/css/theme/fonts/HkF_qI1x_noxlxhrhMQYED8E0i7KZn-EPnyo3HZu7kw.woff b/sources/preview_export/reveal/css/theme/fonts/HkF_qI1x_noxlxhrhMQYED8E0i7KZn-EPnyo3HZu7kw.woff deleted file mode 100644 index 4087fbc..0000000 Binary files a/sources/preview_export/reveal/css/theme/fonts/HkF_qI1x_noxlxhrhMQYED8E0i7KZn-EPnyo3HZu7kw.woff and /dev/null differ diff --git a/sources/preview_export/reveal/css/theme/fonts/HkF_qI1x_noxlxhrhMQYEFtXRa8TVwTICgirnJhmVJw.woff2 b/sources/preview_export/reveal/css/theme/fonts/HkF_qI1x_noxlxhrhMQYEFtXRa8TVwTICgirnJhmVJw.woff2 deleted file mode 100644 index 84f6156..0000000 Binary files a/sources/preview_export/reveal/css/theme/fonts/HkF_qI1x_noxlxhrhMQYEFtXRa8TVwTICgirnJhmVJw.woff2 and /dev/null differ diff --git a/sources/preview_export/reveal/css/theme/fonts/IQHow_FEYlDC4Gzy_m8fcgFhaRv2pGgT5Kf0An0s4MM.woff b/sources/preview_export/reveal/css/theme/fonts/IQHow_FEYlDC4Gzy_m8fcgFhaRv2pGgT5Kf0An0s4MM.woff deleted file mode 100644 index 99543dc..0000000 Binary files a/sources/preview_export/reveal/css/theme/fonts/IQHow_FEYlDC4Gzy_m8fcgFhaRv2pGgT5Kf0An0s4MM.woff and /dev/null differ diff --git a/sources/preview_export/reveal/css/theme/fonts/IQHow_FEYlDC4Gzy_m8fcoWiMMZ7xLd792ULpGE4W_Y.woff2 b/sources/preview_export/reveal/css/theme/fonts/IQHow_FEYlDC4Gzy_m8fcoWiMMZ7xLd792ULpGE4W_Y.woff2 deleted file mode 100644 index dc78b57..0000000 Binary files a/sources/preview_export/reveal/css/theme/fonts/IQHow_FEYlDC4Gzy_m8fcoWiMMZ7xLd792ULpGE4W_Y.woff2 and /dev/null differ diff --git a/sources/preview_export/reveal/css/theme/fonts/PLygLKRVCQnA5fhu3qk5fQ.woff2 b/sources/preview_export/reveal/css/theme/fonts/PLygLKRVCQnA5fhu3qk5fQ.woff2 deleted file mode 100644 index fa26f3d..0000000 Binary files a/sources/preview_export/reveal/css/theme/fonts/PLygLKRVCQnA5fhu3qk5fQ.woff2 and /dev/null differ diff --git a/sources/preview_export/reveal/css/theme/fonts/PRmiXeptR36kaC0GEAetxjqR_3kx9_hJXbbyU8S6IN0.woff b/sources/preview_export/reveal/css/theme/fonts/PRmiXeptR36kaC0GEAetxjqR_3kx9_hJXbbyU8S6IN0.woff deleted file mode 100644 index 8ffaca4..0000000 Binary files a/sources/preview_export/reveal/css/theme/fonts/PRmiXeptR36kaC0GEAetxjqR_3kx9_hJXbbyU8S6IN0.woff and /dev/null differ diff --git a/sources/preview_export/reveal/css/theme/fonts/PRmiXeptR36kaC0GEAetxolIZu-HDpmDIZMigmsroc4.woff2 b/sources/preview_export/reveal/css/theme/fonts/PRmiXeptR36kaC0GEAetxolIZu-HDpmDIZMigmsroc4.woff2 deleted file mode 100644 index c8b02f5..0000000 Binary files a/sources/preview_export/reveal/css/theme/fonts/PRmiXeptR36kaC0GEAetxolIZu-HDpmDIZMigmsroc4.woff2 and /dev/null differ diff --git a/sources/preview_export/reveal/css/theme/fonts/cJZKeOuBrn4kERxqtaUH3T8E0i7KZn-EPnyo3HZu7kw.woff b/sources/preview_export/reveal/css/theme/fonts/cJZKeOuBrn4kERxqtaUH3T8E0i7KZn-EPnyo3HZu7kw.woff deleted file mode 100644 index e9ce2f3..0000000 Binary files a/sources/preview_export/reveal/css/theme/fonts/cJZKeOuBrn4kERxqtaUH3T8E0i7KZn-EPnyo3HZu7kw.woff and /dev/null differ diff --git a/sources/preview_export/reveal/css/theme/fonts/cJZKeOuBrn4kERxqtaUH3VtXRa8TVwTICgirnJhmVJw.woff2 b/sources/preview_export/reveal/css/theme/fonts/cJZKeOuBrn4kERxqtaUH3VtXRa8TVwTICgirnJhmVJw.woff2 deleted file mode 100644 index bf65567..0000000 Binary files a/sources/preview_export/reveal/css/theme/fonts/cJZKeOuBrn4kERxqtaUH3VtXRa8TVwTICgirnJhmVJw.woff2 and /dev/null differ diff --git a/sources/preview_export/reveal/css/theme/fonts/k3k702ZOKiLJc3WVjuplzHhCUOGz7vYGh680lGh-uXM.woff b/sources/preview_export/reveal/css/theme/fonts/k3k702ZOKiLJc3WVjuplzHhCUOGz7vYGh680lGh-uXM.woff deleted file mode 100644 index a0a331e..0000000 Binary files a/sources/preview_export/reveal/css/theme/fonts/k3k702ZOKiLJc3WVjuplzHhCUOGz7vYGh680lGh-uXM.woff and /dev/null differ diff --git a/sources/preview_export/reveal/css/theme/fonts/k3k702ZOKiLJc3WVjuplzOgdm0LZdjqr5-oayXSOefg.woff2 b/sources/preview_export/reveal/css/theme/fonts/k3k702ZOKiLJc3WVjuplzOgdm0LZdjqr5-oayXSOefg.woff2 deleted file mode 100644 index 9ab88e2..0000000 Binary files a/sources/preview_export/reveal/css/theme/fonts/k3k702ZOKiLJc3WVjuplzOgdm0LZdjqr5-oayXSOefg.woff2 and /dev/null differ diff --git a/sources/preview_export/reveal/css/theme/fonts/oUan5VrEkpzIazlUe5ieaA.woff b/sources/preview_export/reveal/css/theme/fonts/oUan5VrEkpzIazlUe5ieaA.woff deleted file mode 100644 index 13d15bc..0000000 Binary files a/sources/preview_export/reveal/css/theme/fonts/oUan5VrEkpzIazlUe5ieaA.woff and /dev/null differ diff --git a/sources/preview_export/reveal/css/theme/fonts/sKd0EMYPAh5PYCRKSryvW1tXRa8TVwTICgirnJhmVJw.woff2 b/sources/preview_export/reveal/css/theme/fonts/sKd0EMYPAh5PYCRKSryvW1tXRa8TVwTICgirnJhmVJw.woff2 deleted file mode 100644 index 572e6d6..0000000 Binary files a/sources/preview_export/reveal/css/theme/fonts/sKd0EMYPAh5PYCRKSryvW1tXRa8TVwTICgirnJhmVJw.woff2 and /dev/null differ diff --git a/sources/preview_export/reveal/css/theme/fonts/sKd0EMYPAh5PYCRKSryvWz8E0i7KZn-EPnyo3HZu7kw.woff b/sources/preview_export/reveal/css/theme/fonts/sKd0EMYPAh5PYCRKSryvWz8E0i7KZn-EPnyo3HZu7kw.woff deleted file mode 100644 index 423b4aa..0000000 Binary files a/sources/preview_export/reveal/css/theme/fonts/sKd0EMYPAh5PYCRKSryvWz8E0i7KZn-EPnyo3HZu7kw.woff and /dev/null differ diff --git a/sources/preview_export/reveal/css/theme/fonts/wkfQbvfT_02e2IWO3yYueQ.woff b/sources/preview_export/reveal/css/theme/fonts/wkfQbvfT_02e2IWO3yYueQ.woff deleted file mode 100644 index 1f11110..0000000 Binary files a/sources/preview_export/reveal/css/theme/fonts/wkfQbvfT_02e2IWO3yYueQ.woff and /dev/null differ diff --git a/sources/preview_export/reveal/css/theme/fonts/xjAJXh38I15wypJXxuGMBo4P5ICox8Kq3LLUNMylGO4.woff2 b/sources/preview_export/reveal/css/theme/fonts/xjAJXh38I15wypJXxuGMBo4P5ICox8Kq3LLUNMylGO4.woff2 deleted file mode 100644 index 6ca3d2f..0000000 Binary files a/sources/preview_export/reveal/css/theme/fonts/xjAJXh38I15wypJXxuGMBo4P5ICox8Kq3LLUNMylGO4.woff2 and /dev/null differ diff --git a/sources/preview_export/reveal/css/theme/fonts/xjAJXh38I15wypJXxuGMBobN6UDyHWBl620a-IRfuBk.woff b/sources/preview_export/reveal/css/theme/fonts/xjAJXh38I15wypJXxuGMBobN6UDyHWBl620a-IRfuBk.woff deleted file mode 100644 index 551a280..0000000 Binary files a/sources/preview_export/reveal/css/theme/fonts/xjAJXh38I15wypJXxuGMBobN6UDyHWBl620a-IRfuBk.woff and /dev/null differ diff --git a/sources/preview_export/reveal/css/theme/moon.css b/sources/preview_export/reveal/css/theme/moon.css deleted file mode 100644 index b8ace31..0000000 --- a/sources/preview_export/reveal/css/theme/moon.css +++ /dev/null @@ -1,166 +0,0 @@ -/*@import url(https://fonts.googl eapis.com/css?family=Lato:400,700,400italic,700italic);*/ -@font-face { - font-family: 'Lato'; - font-style: normal; - font-weight: 400; - src: local('Lato Regular'), local('Lato-Regular'), url(./fonts/1YwB1sO8YE1Lyjf12WNiUA.woff2) format('woff2'), url(./fonts/9k-RPmcnxYEPm8CNFsH2gg.woff) format('woff'); -} -@font-face { - font-family: 'Lato'; - font-style: normal; - font-weight: 700; - src: local('Lato Bold'), local('Lato-Bold'), url(./fonts/H2DMvhDLycM56KNuAtbJYA.woff2) format('woff2'), url(./fonts/wkfQbvfT_02e2IWO3yYueQ.woff) format('woff'); -} -@font-face { - font-family: 'Lato'; - font-style: italic; - font-weight: 400; - src: local('Lato Italic'), local('Lato-Italic'), url(./fonts/PLygLKRVCQnA5fhu3qk5fQ.woff2) format('woff2'), url(./fonts/oUan5VrEkpzIazlUe5ieaA.woff) format('woff'); -} -@font-face { - font-family: 'Lato'; - font-style: italic; - font-weight: 700; - src: local('Lato Bold Italic'), local('Lato-BoldItalic'), url(./fonts/HkF_qI1x_noxlxhrhMQYEFtXRa8TVwTICgirnJhmVJw.woff2) format('woff2'), url(./fonts/HkF_qI1x_noxlxhrhMQYED8E0i7KZn-EPnyo3HZu7kw.woff) format('woff'); -} -/** - * Solarized Dark theme for reveal.js. - * Author: Achim Staebler - */ -@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; } - -/** - * Solarized colors by Ethan Schoonover - */ -html * { - color-profile: sRGB; - rendering-intent: auto; } - -/********************************************* - * GLOBAL STYLES - *********************************************/ -body { - background: #002b36; - background-color: #002b36; } - -.reveal { - font-family: "Lato", sans-serif; - font-size: 36px; - font-weight: 200; - letter-spacing: -0.02em; - color: #93a1a1; } - -::selection { - color: white; - background: #d33682; - text-shadow: none; } - -/********************************************* - * HEADERS - *********************************************/ -.reveal h1, -.reveal h2, -.reveal h3, -.reveal h4, -.reveal h5, -.reveal h6 { - margin: 0 0 20px 0; - color: #eee8d5; - 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: 0px 0px 6px rgba(0, 0, 0, 0.2); } - -/********************************************* - * LINKS - *********************************************/ -.reveal a:not(.image) { - color: #268bd2; - 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: #78b9e6; - text-shadow: none; - border: none; } - -.reveal .roll span:after { - color: #fff; - background: #1a6091; } - -/********************************************* - * IMAGES - *********************************************/ -.reveal section img { - margin: 15px 0px; - background: rgba(255, 255, 255, 0.12); - border: 4px solid #93a1a1; - 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: #268bd2; - box-shadow: 0 0 20px rgba(0, 0, 0, 0.55); } - -/********************************************* - * NAVIGATION CONTROLS - *********************************************/ -.reveal .controls div.navigate-left, -.reveal .controls div.navigate-left.enabled { - border-right-color: #268bd2; } - -.reveal .controls div.navigate-right, -.reveal .controls div.navigate-right.enabled { - border-left-color: #268bd2; } - -.reveal .controls div.navigate-up, -.reveal .controls div.navigate-up.enabled { - border-bottom-color: #268bd2; } - -.reveal .controls div.navigate-down, -.reveal .controls div.navigate-down.enabled { - border-top-color: #268bd2; } - -.reveal .controls div.navigate-left.enabled:hover { - border-right-color: #78b9e6; } - -.reveal .controls div.navigate-right.enabled:hover { - border-left-color: #78b9e6; } - -.reveal .controls div.navigate-up.enabled:hover { - border-bottom-color: #78b9e6; } - -.reveal .controls div.navigate-down.enabled:hover { - border-top-color: #78b9e6; } - -/********************************************* - * PROGRESS BAR - *********************************************/ -.reveal .progress { - background: rgba(0, 0, 0, 0.2); } - -.reveal .progress span { - background: #268bd2; - -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/sources/preview_export/reveal/css/theme/night.css b/sources/preview_export/reveal/css/theme/night.css deleted file mode 100644 index 31a8cf4..0000000 --- a/sources/preview_export/reveal/css/theme/night.css +++ /dev/null @@ -1,162 +0,0 @@ -/*@import url(https://fonts.googl eapis.com/css?family=Montserrat:700);*/ -@font-face { - font-family: 'Montserrat'; - font-style: normal; - font-weight: 700; - src: local('Montserrat-Bold'), url(./fonts/IQHow_FEYlDC4Gzy_m8fcoWiMMZ7xLd792ULpGE4W_Y.woff2) format('woff2'), url(./fonts/IQHow_FEYlDC4Gzy_m8fcgFhaRv2pGgT5Kf0An0s4MM.woff) format('woff'); -} - -/*@import url(https://fonts.googl eapis.com/css?family=Open+Sans:400,700,400italic,700italic);*/ -@font-face { - font-family: 'Open Sans'; - font-style: normal; - font-weight: 400; - src: local('Open Sans'), local('OpenSans'), url(./fonts/cJZKeOuBrn4kERxqtaUH3VtXRa8TVwTICgirnJhmVJw.woff2) format('woff2'), url(./fonts/cJZKeOuBrn4kERxqtaUH3T8E0i7KZn-EPnyo3HZu7kw.woff) format('woff'); -} -@font-face { - font-family: 'Open Sans'; - font-style: normal; - font-weight: 700; - src: local('Open Sans Bold'), local('OpenSans-Bold'), url(./fonts/k3k702ZOKiLJc3WVjuplzOgdm0LZdjqr5-oayXSOefg.woff2) format('woff2'), url(./fonts/k3k702ZOKiLJc3WVjuplzHhCUOGz7vYGh680lGh-uXM.woff) format('woff'); -} -@font-face { - font-family: 'Open Sans'; - font-style: italic; - font-weight: 400; - src: local('Open Sans Italic'), local('OpenSans-Italic'), url(./fonts/xjAJXh38I15wypJXxuGMBo4P5ICox8Kq3LLUNMylGO4.woff2) format('woff2'), url(./fonts/xjAJXh38I15wypJXxuGMBobN6UDyHWBl620a-IRfuBk.woff) format('woff'); -} -@font-face { - font-family: 'Open Sans'; - font-style: italic; - font-weight: 700; - src: local('Open Sans Bold Italic'), local('OpenSans-BoldItalic'), url(./fonts/PRmiXeptR36kaC0GEAetxolIZu-HDpmDIZMigmsroc4.woff2) format('woff2'), url(./fonts/PRmiXeptR36kaC0GEAetxjqR_3kx9_hJXbbyU8S6IN0.woff) format('woff'); -} - -/** - * Black theme for reveal.js. - * - * Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se - */ -/********************************************* - * GLOBAL STYLES - *********************************************/ -body { - background: #111111; - background-color: #111111; } - -.reveal { - font-family: "Open Sans", sans-serif; - font-size: 30px; - font-weight: 200; - letter-spacing: -0.02em; - color: #eeeeee; } - -::selection { - color: white; - background: #e7ad52; - 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: "Montserrat", Impact, sans-serif; - line-height: 0.9em; - letter-spacing: -0.03em; - 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: #e7ad52; - 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: #f3d7ac; - text-shadow: none; - border: none; } - -.reveal .roll span:after { - color: #fff; - background: #d08a1d; } - -/********************************************* - * IMAGES - *********************************************/ -.reveal section img { - margin: 15px 0px; - 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: #e7ad52; - box-shadow: 0 0 20px rgba(0, 0, 0, 0.55); } - -/********************************************* - * NAVIGATION CONTROLS - *********************************************/ -.reveal .controls div.navigate-left, -.reveal .controls div.navigate-left.enabled { - border-right-color: #e7ad52; } - -.reveal .controls div.navigate-right, -.reveal .controls div.navigate-right.enabled { - border-left-color: #e7ad52; } - -.reveal .controls div.navigate-up, -.reveal .controls div.navigate-up.enabled { - border-bottom-color: #e7ad52; } - -.reveal .controls div.navigate-down, -.reveal .controls div.navigate-down.enabled { - border-top-color: #e7ad52; } - -.reveal .controls div.navigate-left.enabled:hover { - border-right-color: #f3d7ac; } - -.reveal .controls div.navigate-right.enabled:hover { - border-left-color: #f3d7ac; } - -.reveal .controls div.navigate-up.enabled:hover { - border-bottom-color: #f3d7ac; } - -.reveal .controls div.navigate-down.enabled:hover { - border-top-color: #f3d7ac; } - -/********************************************* - * PROGRESS BAR - *********************************************/ -.reveal .progress { - background: rgba(0, 0, 0, 0.2); } - -.reveal .progress span { - background: #e7ad52; - -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/sources/preview_export/reveal/css/theme/serif.css b/sources/preview_export/reveal/css/theme/serif.css deleted file mode 100644 index 37833f6..0000000 --- a/sources/preview_export/reveal/css/theme/serif.css +++ /dev/null @@ -1,130 +0,0 @@ -/** - * 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 0px; - 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.navigate-left, -.reveal .controls div.navigate-left.enabled { - border-right-color: #51483d; } - -.reveal .controls div.navigate-right, -.reveal .controls div.navigate-right.enabled { - border-left-color: #51483d; } - -.reveal .controls div.navigate-up, -.reveal .controls div.navigate-up.enabled { - border-bottom-color: #51483d; } - -.reveal .controls div.navigate-down, -.reveal .controls div.navigate-down.enabled { - border-top-color: #51483d; } - -.reveal .controls div.navigate-left.enabled:hover { - border-right-color: #8b7c69; } - -.reveal .controls div.navigate-right.enabled:hover { - border-left-color: #8b7c69; } - -.reveal .controls div.navigate-up.enabled:hover { - border-bottom-color: #8b7c69; } - -.reveal .controls div.navigate-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/sources/preview_export/reveal/css/theme/simple.css b/sources/preview_export/reveal/css/theme/simple.css deleted file mode 100644 index 72c0ae5..0000000 --- a/sources/preview_export/reveal/css/theme/simple.css +++ /dev/null @@ -1,169 +0,0 @@ -/*@import url(https://fonts.googl eapis.com/css?family=News+Cycle:400,700);*/ -@font-face { - font-family: 'News Cycle'; - font-style: normal; - font-weight: 400; - src: local('News Cycle Regular'), local('NewsCycle-Regular'), url(./fonts/9Xe8dq6pQDsPyVH2D3tMQvk_vArhqVIZ0nv9q090hN8.woff2) format('woff2'), url(./fonts/9Xe8dq6pQDsPyVH2D3tMQhsxEYwM7FgeyaSgU71cLG0.woff) format('woff'); -} -@font-face { - font-family: 'News Cycle'; - font-style: normal; - font-weight: 700; - src: local('News Cycle Bold'), local('NewsCycle-Bold'), url(./fonts/G28Ny31cr5orMqEQy6ljt4WiMMZ7xLd792ULpGE4W_Y.woff2) format('woff2'), url(./fonts/G28Ny31cr5orMqEQy6ljtwFhaRv2pGgT5Kf0An0s4MM.woff) format('woff'); -} - -/*@import url(https://fonts.googl eapis.com/css?family=Lato:400,700,400italic,700italic);*/ -@font-face { - font-family: 'Lato'; - font-style: normal; - font-weight: 400; - src: local('Lato Regular'), local('Lato-Regular'), url(./fonts/1YwB1sO8YE1Lyjf12WNiUA.woff2) format('woff2'), url(./fonts/9k-RPmcnxYEPm8CNFsH2gg.woff) format('woff'); -} -@font-face { - font-family: 'Lato'; - font-style: normal; - font-weight: 700; - src: local('Lato Bold'), local('Lato-Bold'), url(./fonts/H2DMvhDLycM56KNuAtbJYA.woff2) format('woff2'), url(./fonts/wkfQbvfT_02e2IWO3yYueQ.woff) format('woff'); -} -@font-face { - font-family: 'Lato'; - font-style: italic; - font-weight: 400; - src: local('Lato Italic'), local('Lato-Italic'), url(./fonts/PLygLKRVCQnA5fhu3qk5fQ.woff2) format('woff2'), url(./fonts/oUan5VrEkpzIazlUe5ieaA.woff) format('woff'); -} -@font-face { - font-family: 'Lato'; - font-style: italic; - font-weight: 700; - src: local('Lato Bold Italic'), local('Lato-BoldItalic'), url(./fonts/HkF_qI1x_noxlxhrhMQYEFtXRa8TVwTICgirnJhmVJw.woff2) format('woff2'), url(./fonts/HkF_qI1x_noxlxhrhMQYED8E0i7KZn-EPnyo3HZu7kw.woff) format('woff'); -} -/** - * 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", sans-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 0px; - 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.navigate-left, -.reveal .controls div.navigate-left.enabled { - border-right-color: darkblue; } - -.reveal .controls div.navigate-right, -.reveal .controls div.navigate-right.enabled { - border-left-color: darkblue; } - -.reveal .controls div.navigate-up, -.reveal .controls div.navigate-up.enabled { - border-bottom-color: darkblue; } - -.reveal .controls div.navigate-down, -.reveal .controls div.navigate-down.enabled { - border-top-color: darkblue; } - -.reveal .controls div.navigate-left.enabled:hover { - border-right-color: #0000f1; } - -.reveal .controls div.navigate-right.enabled:hover { - border-left-color: #0000f1; } - -.reveal .controls div.navigate-up.enabled:hover { - border-bottom-color: #0000f1; } - -.reveal .controls div.navigate-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/sources/preview_export/reveal/css/theme/sky.css b/sources/preview_export/reveal/css/theme/sky.css deleted file mode 100644 index b1869c5..0000000 --- a/sources/preview_export/reveal/css/theme/sky.css +++ /dev/null @@ -1,173 +0,0 @@ -/*@import url(https://fonts.googl eapis.com/css?family=Quicksand:400,700,400italic,700italic);*/ -@font-face { - font-family: 'Quicksand'; - font-style: normal; - font-weight: 400; - src: local('Quicksand Regular'), local('Quicksand-Regular'), url(./fonts/sKd0EMYPAh5PYCRKSryvW1tXRa8TVwTICgirnJhmVJw.woff2) format('woff2'), url(./fonts/sKd0EMYPAh5PYCRKSryvWz8E0i7KZn-EPnyo3HZu7kw.woff) format('woff'); -} -@font-face { - font-family: 'Quicksand'; - font-style: normal; - font-weight: 700; - src: local('Quicksand Bold'), local('Quicksand-Bold'), url(./fonts/32nyIRHyCu6iqEka_hbKsugdm0LZdjqr5-oayXSOefg.woff2) format('woff2'), url(./fonts/32nyIRHyCu6iqEka_hbKsnhCUOGz7vYGh680lGh-uXM.woff) format('woff'); -} - -/*@import url(https://fonts.googl eapis.com/css?family=Open+Sans:400,700,400italic,700italic);*/ -@font-face { - font-family: 'Open Sans'; - font-style: normal; - font-weight: 400; - src: local('Open Sans'), local('OpenSans'), url(./fonts/cJZKeOuBrn4kERxqtaUH3VtXRa8TVwTICgirnJhmVJw.woff2) format('woff2'), url(./fonts/cJZKeOuBrn4kERxqtaUH3T8E0i7KZn-EPnyo3HZu7kw.woff) format('woff'); -} -@font-face { - font-family: 'Open Sans'; - font-style: normal; - font-weight: 700; - src: local('Open Sans Bold'), local('OpenSans-Bold'), url(./fonts/k3k702ZOKiLJc3WVjuplzOgdm0LZdjqr5-oayXSOefg.woff2) format('woff2'), url(./fonts/k3k702ZOKiLJc3WVjuplzHhCUOGz7vYGh680lGh-uXM.woff) format('woff'); -} -@font-face { - font-family: 'Open Sans'; - font-style: italic; - font-weight: 400; - src: local('Open Sans Italic'), local('OpenSans-Italic'), url(./fonts/xjAJXh38I15wypJXxuGMBo4P5ICox8Kq3LLUNMylGO4.woff2) format('woff2'), url(./fonts/xjAJXh38I15wypJXxuGMBobN6UDyHWBl620a-IRfuBk.woff) format('woff'); -} -@font-face { - font-family: 'Open Sans'; - font-style: italic; - font-weight: 700; - src: local('Open Sans Bold Italic'), local('OpenSans-BoldItalic'), url(./fonts/PRmiXeptR36kaC0GEAetxolIZu-HDpmDIZMigmsroc4.woff2) format('woff2'), url(./fonts/PRmiXeptR36kaC0GEAetxjqR_3kx9_hJXbbyU8S6IN0.woff) format('woff'); -} -/** - * 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: 36px; - 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 20px 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 0px; - 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.navigate-left, -.reveal .controls div.navigate-left.enabled { - border-right-color: #3b759e; } - -.reveal .controls div.navigate-right, -.reveal .controls div.navigate-right.enabled { - border-left-color: #3b759e; } - -.reveal .controls div.navigate-up, -.reveal .controls div.navigate-up.enabled { - border-bottom-color: #3b759e; } - -.reveal .controls div.navigate-down, -.reveal .controls div.navigate-down.enabled { - border-top-color: #3b759e; } - -.reveal .controls div.navigate-left.enabled:hover { - border-right-color: #74a7cb; } - -.reveal .controls div.navigate-right.enabled:hover { - border-left-color: #74a7cb; } - -.reveal .controls div.navigate-up.enabled:hover { - border-bottom-color: #74a7cb; } - -.reveal .controls div.navigate-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); } diff --git a/sources/preview_export/reveal/css/theme/solarized.css b/sources/preview_export/reveal/css/theme/solarized.css deleted file mode 100644 index b0d11f3..0000000 --- a/sources/preview_export/reveal/css/theme/solarized.css +++ /dev/null @@ -1,166 +0,0 @@ -/*@import url(https://fonts.googl eapis.com/css?family=Lato:400,700,400italic,700italic);*/ -@font-face { - font-family: 'Lato'; - font-style: normal; - font-weight: 400; - src: local('Lato Regular'), local('Lato-Regular'), url(./fonts/1YwB1sO8YE1Lyjf12WNiUA.woff2) format('woff2'), url(./fonts/9k-RPmcnxYEPm8CNFsH2gg.woff) format('woff'); -} -@font-face { - font-family: 'Lato'; - font-style: normal; - font-weight: 700; - src: local('Lato Bold'), local('Lato-Bold'), url(./fonts/H2DMvhDLycM56KNuAtbJYA.woff2) format('woff2'), url(./fonts/wkfQbvfT_02e2IWO3yYueQ.woff) format('woff'); -} -@font-face { - font-family: 'Lato'; - font-style: italic; - font-weight: 400; - src: local('Lato Italic'), local('Lato-Italic'), url(./fonts/PLygLKRVCQnA5fhu3qk5fQ.woff2) format('woff2'), url(./fonts/oUan5VrEkpzIazlUe5ieaA.woff) format('woff'); -} -@font-face { - font-family: 'Lato'; - font-style: italic; - font-weight: 700; - src: local('Lato Bold Italic'), local('Lato-BoldItalic'), url(./fonts/HkF_qI1x_noxlxhrhMQYEFtXRa8TVwTICgirnJhmVJw.woff2) format('woff2'), url(./fonts/HkF_qI1x_noxlxhrhMQYED8E0i7KZn-EPnyo3HZu7kw.woff) format('woff'); -} -/** - * Solarized Light theme for reveal.js. - * Author: Achim Staebler - */ -@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; } - -/** - * Solarized colors by Ethan Schoonover - */ -html * { - color-profile: sRGB; - rendering-intent: auto; } - -/********************************************* - * GLOBAL STYLES - *********************************************/ -body { - background: #fdf6e3; - background-color: #fdf6e3; } - -.reveal { - font-family: "Lato", sans-serif; - font-size: 36px; - font-weight: 200; - letter-spacing: -0.02em; - color: #657b83; } - -::selection { - color: white; - background: #d33682; - text-shadow: none; } - -/********************************************* - * HEADERS - *********************************************/ -.reveal h1, -.reveal h2, -.reveal h3, -.reveal h4, -.reveal h5, -.reveal h6 { - margin: 0 0 20px 0; - color: #586e75; - 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: 0px 0px 6px rgba(0, 0, 0, 0.2); } - -/********************************************* - * LINKS - *********************************************/ -.reveal a:not(.image) { - color: #268bd2; - 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: #78b9e6; - text-shadow: none; - border: none; } - -.reveal .roll span:after { - color: #fff; - background: #1a6091; } - -/********************************************* - * IMAGES - *********************************************/ -.reveal section img { - margin: 15px 0px; - background: rgba(255, 255, 255, 0.12); - border: 4px solid #657b83; - 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: #268bd2; - box-shadow: 0 0 20px rgba(0, 0, 0, 0.55); } - -/********************************************* - * NAVIGATION CONTROLS - *********************************************/ -.reveal .controls div.navigate-left, -.reveal .controls div.navigate-left.enabled { - border-right-color: #268bd2; } - -.reveal .controls div.navigate-right, -.reveal .controls div.navigate-right.enabled { - border-left-color: #268bd2; } - -.reveal .controls div.navigate-up, -.reveal .controls div.navigate-up.enabled { - border-bottom-color: #268bd2; } - -.reveal .controls div.navigate-down, -.reveal .controls div.navigate-down.enabled { - border-top-color: #268bd2; } - -.reveal .controls div.navigate-left.enabled:hover { - border-right-color: #78b9e6; } - -.reveal .controls div.navigate-right.enabled:hover { - border-left-color: #78b9e6; } - -.reveal .controls div.navigate-up.enabled:hover { - border-bottom-color: #78b9e6; } - -.reveal .controls div.navigate-down.enabled:hover { - border-top-color: #78b9e6; } - -/********************************************* - * PROGRESS BAR - *********************************************/ -.reveal .progress { - background: rgba(0, 0, 0, 0.2); } - -.reveal .progress span { - background: #268bd2; - -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/sources/preview_export/reveal/css/theme/source/beige.scss b/sources/preview_export/reveal/css/theme/source/beige.scss deleted file mode 100644 index c31956c..0000000 --- a/sources/preview_export/reveal/css/theme/source/beige.scss +++ /dev/null @@ -1,50 +0,0 @@ -/** - * 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(https://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/sources/preview_export/reveal/css/theme/source/default.scss b/sources/preview_export/reveal/css/theme/source/default.scss deleted file mode 100644 index 1117b65..0000000 --- a/sources/preview_export/reveal/css/theme/source/default.scss +++ /dev/null @@ -1,42 +0,0 @@ -/** - * 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(https://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/sources/preview_export/reveal/css/theme/source/moon.scss b/sources/preview_export/reveal/css/theme/source/moon.scss deleted file mode 100644 index a722adc..0000000 --- a/sources/preview_export/reveal/css/theme/source/moon.scss +++ /dev/null @@ -1,68 +0,0 @@ -/** - * Solarized Dark theme for reveal.js. - * Author: Achim Staebler - */ - - -// 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(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic); - -/** - * Solarized colors by Ethan Schoonover - */ -html * { - color-profile: sRGB; - rendering-intent: auto; -} - -// Solarized colors -$base03: #002b36; -$base02: #073642; -$base01: #586e75; -$base00: #657b83; -$base0: #839496; -$base1: #93a1a1; -$base2: #eee8d5; -$base3: #fdf6e3; -$yellow: #b58900; -$orange: #cb4b16; -$red: #dc322f; -$magenta: #d33682; -$violet: #6c71c4; -$blue: #268bd2; -$cyan: #2aa198; -$green: #859900; - -// Override theme settings (see ../template/settings.scss) -$mainColor: $base1; -$headingColor: $base2; -$headingTextShadow: none; -$backgroundColor: $base03; -$linkColor: $blue; -$linkColorHover: lighten( $linkColor, 20% ); -$selectionBackgroundColor: $magenta; - - - -// Theme template ------------------------------ -@import "../template/theme"; -// --------------------------------------------- diff --git a/sources/preview_export/reveal/css/theme/source/night.scss b/sources/preview_export/reveal/css/theme/source/night.scss deleted file mode 100644 index b0cb57f..0000000 --- a/sources/preview_export/reveal/css/theme/source/night.scss +++ /dev/null @@ -1,35 +0,0 @@ -/** - * Black 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(https://fonts.googleapis.com/css?family=Montserrat:700); -@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic,700italic); - - -// Override theme settings (see ../template/settings.scss) -$backgroundColor: #111; - -$mainFont: 'Open Sans', sans-serif; -$linkColor: #e7ad52; -$linkColorHover: lighten( $linkColor, 20% ); -$headingFont: 'Montserrat', Impact, sans-serif; -$headingTextShadow: none; -$headingLetterSpacing: -0.03em; -$headingTextTransform: none; -$selectionBackgroundColor: #e7ad52; -$mainFontSize: 30px; - - -// Theme template ------------------------------ -@import "../template/theme"; -// --------------------------------------------- \ No newline at end of file diff --git a/sources/preview_export/reveal/css/theme/source/serif.scss b/sources/preview_export/reveal/css/theme/source/serif.scss deleted file mode 100644 index 06eaca8..0000000 --- a/sources/preview_export/reveal/css/theme/source/serif.scss +++ /dev/null @@ -1,33 +0,0 @@ -/** - * 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/sources/preview_export/reveal/css/theme/source/simple.scss b/sources/preview_export/reveal/css/theme/source/simple.scss deleted file mode 100644 index 84c7d9b..0000000 --- a/sources/preview_export/reveal/css/theme/source/simple.scss +++ /dev/null @@ -1,38 +0,0 @@ -/** - * 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(https://fonts.googleapis.com/css?family=News+Cycle:400,700); -@import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic); - - -// Override theme settings (see ../template/settings.scss) -$mainFont: 'Lato', sans-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/sources/preview_export/reveal/css/theme/source/sky.scss b/sources/preview_export/reveal/css/theme/source/sky.scss deleted file mode 100644 index f3d7570..0000000 --- a/sources/preview_export/reveal/css/theme/source/sky.scss +++ /dev/null @@ -1,41 +0,0 @@ -/** - * 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(https://fonts.googleapis.com/css?family=Quicksand:400,700,400italic,700italic); -@import url(https://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/sources/preview_export/reveal/css/theme/source/solarized.scss b/sources/preview_export/reveal/css/theme/source/solarized.scss deleted file mode 100644 index 8217b8f..0000000 --- a/sources/preview_export/reveal/css/theme/source/solarized.scss +++ /dev/null @@ -1,74 +0,0 @@ -/** - * Solarized Light theme for reveal.js. - * Author: Achim Staebler - */ - - -// 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(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic); - - -/** - * Solarized colors by Ethan Schoonover - */ -html * { - color-profile: sRGB; - rendering-intent: auto; -} - -// Solarized colors -$base03: #002b36; -$base02: #073642; -$base01: #586e75; -$base00: #657b83; -$base0: #839496; -$base1: #93a1a1; -$base2: #eee8d5; -$base3: #fdf6e3; -$yellow: #b58900; -$orange: #cb4b16; -$red: #dc322f; -$magenta: #d33682; -$violet: #6c71c4; -$blue: #268bd2; -$cyan: #2aa198; -$green: #859900; - -// Override theme settings (see ../template/settings.scss) -$mainColor: $base00; -$headingColor: $base01; -$headingTextShadow: none; -$backgroundColor: $base3; -$linkColor: $blue; -$linkColorHover: lighten( $linkColor, 20% ); -$selectionBackgroundColor: $magenta; - -// Background generator -// @mixin bodyBackground() { -// @include radial-gradient( rgba($base3,1), rgba(lighten($base3, 20%),1) ); -// } - - - -// Theme template ------------------------------ -@import "../template/theme"; -// --------------------------------------------- diff --git a/sources/preview_export/reveal/css/theme/template/mixins.scss b/sources/preview_export/reveal/css/theme/template/mixins.scss deleted file mode 100644 index e0c5606..0000000 --- a/sources/preview_export/reveal/css/theme/template/mixins.scss +++ /dev/null @@ -1,29 +0,0 @@ -@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/sources/preview_export/reveal/css/theme/template/settings.scss b/sources/preview_export/reveal/css/theme/template/settings.scss deleted file mode 100644 index 7e9ffd8..0000000 --- a/sources/preview_export/reveal/css/theme/template/settings.scss +++ /dev/null @@ -1,33 +0,0 @@ -// 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', sans-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/sources/preview_export/reveal/css/theme/template/theme.scss b/sources/preview_export/reveal/css/theme/template/theme.scss deleted file mode 100644 index 96148e3..0000000 --- a/sources/preview_export/reveal/css/theme/template/theme.scss +++ /dev/null @@ -1,163 +0,0 @@ -// 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 0px; - 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.navigate-left, -.reveal .controls div.navigate-left.enabled { - border-right-color: $linkColor; -} - -.reveal .controls div.navigate-right, -.reveal .controls div.navigate-right.enabled { - border-left-color: $linkColor; -} - -.reveal .controls div.navigate-up, -.reveal .controls div.navigate-up.enabled { - border-bottom-color: $linkColor; -} - -.reveal .controls div.navigate-down, -.reveal .controls div.navigate-down.enabled { - border-top-color: $linkColor; -} - -.reveal .controls div.navigate-left.enabled:hover { - border-right-color: $linkColorHover; -} - -.reveal .controls div.navigate-right.enabled:hover { - border-left-color: $linkColorHover; -} - -.reveal .controls div.navigate-up.enabled:hover { - border-bottom-color: $linkColorHover; -} - -.reveal .controls div.navigate-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/sources/preview_export/reveal/js/reveal.js b/sources/preview_export/reveal/js/reveal.js deleted file mode 100644 index deda7bc..0000000 --- a/sources/preview_export/reveal/js/reveal.js +++ /dev/null @@ -1,2796 +0,0 @@ -/*! - * reveal.js - * http://lab.hakim.se/reveal-js - * MIT licensed - * - * Copyright (C) 2013 Hakim El Hattab, http://hakim.se - */ -var Reveal = (function(){ - - 'use strict'; - - var SLIDES_SELECTOR = '.reveal .slides section', - HORIZONTAL_SLIDES_SELECTOR = '.reveal .slides>section', - VERTICAL_SLIDES_SELECTOR = '.reveal .slides>section.present>section', - HOME_SLIDE_SELECTOR = '.reveal .slides>section:first-child', - - // Configurations defaults, can be overridden at initialization time - config = { - - // The "normal" size of the presentation, aspect ratio will be preserved - // when the presentation is scaled to fit different resolutions - width: 960, - height: 700, - - // Factor of the display size that should remain empty around the content - margin: 0.1, - - // Bounds for smallest/largest possible scale to apply to content - minScale: 0.2, - maxScale: 1.0, - - // 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, - - // Vertical centring of slides - center: true, - - // Enables touch navigation on devices with touch input - touch: true, - - // Loop the presentation - loop: false, - - // Change the presentation direction to be RTL - rtl: false, - - // Turns fragments on and off globally - fragments: true, - - // Flags if the presentation is running in an embedded mode, - // i.e. contained within a limited portion of the screen - embedded: 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: false, - - // Apply a 3D roll to links on hover - rollingLinks: false, - - // Opens links in an iframe preview overlay - previewLinks: false, - - // Theme (see /css/theme) - theme: null, - - // Transition style - transition: 'default', // default/cube/page/concave/zoom/linear/fade/none - - // Transition speed - transitionSpeed: 'default', // default/fast/slow - - // Transition style for full page slide backgrounds - backgroundTransition: 'default', // default/linear/none - - // Number of slides away from the current that are visible - viewDistance: 3, - - // Script dependencies to load - dependencies: [] - }, - - // Flags if reveal.js is loaded (has dispatched the 'ready' event) - loaded = false, - - // The current auto-slide duration - autoSlide = 0, - - // The horizontal and vertical index of the currently active slide - indexh, - indexv, - - // 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 = [], - - // The current scale of the presentation (see width/height config) - scale = 1, - - // Cached references to DOM elements - dom = {}, - - // Client support for CSS 3D transforms, see #checkCapabilities() - supports3DTransforms, - - // Client support for CSS 2D transforms, see #checkCapabilities() - supports2DTransforms, - - // Client is a mobile device, see #checkCapabilities() - isMobileDevice, - - // Throttles mouse wheel navigation - lastMouseWheelStep = 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, - - // A delay used to activate the overview mode - activateOverviewTimeout = 0, - - // A delay used to deactivate the overview mode - deactivateOverviewTimeout = 0, - - // Flags if the interaction event listeners are bound - eventsAreBound = false, - - // Holds information about the currently ongoing touch input - touch = { - startX: 0, - startY: 0, - startSpan: 0, - startCount: 0, - captured: false, - threshold: 40 - }; - - /** - * Starts up the presentation if the client is capable. - */ - function initialize( options ) { - - checkCapabilities(); - - 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; - } - - // Force a layout when the whole page, incl fonts, has loaded - window.addEventListener( 'load', layout, false ); - - // 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(); - - } - - /** - * Inspect the client to see what it's capable of, this - * should only happens once per runtime. - */ - function checkCapabilities() { - - 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; - - isMobileDevice = navigator.userAgent.match( /(iphone|ipod|android)/gi ); - - } - - /** - * 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_\-]*)\.?js$|[^\\\/]*$/i )[0], s.callback ); - } - } - } - - // Called once synchronous scripts 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(); - - // Decorate the slide DOM elements with state classes (past/future) - setupSlides(); - - // Updates the presentation to match the current configuration values - configure(); - - // Read the initial hash - readURL(); - - // Notify listeners that the presentation is ready but use a 1ms - // timeout to ensure it's not fired synchronously after #initialize() - setTimeout( function() { - // Enable transitions now that we're loaded - dom.slides.classList.remove( 'no-transition' ); - - loaded = true; - - dispatchEvent( 'ready', { - 'indexh': indexh, - 'indexv': indexv, - 'currentSlide': currentSlide - } ); - }, 1 ); - - } - - /** - * Iterates through and decorates slides DOM elements with - * appropriate classes. - */ - function setupSlides() { - - var horizontalSlides = toArray( document.querySelectorAll( HORIZONTAL_SLIDES_SELECTOR ) ); - horizontalSlides.forEach( function( horizontalSlide ) { - - var verticalSlides = toArray( horizontalSlide.querySelectorAll( 'section' ) ); - verticalSlides.forEach( function( verticalSlide, y ) { - - if( y > 0 ) verticalSlide.classList.add( 'future' ); - - } ); - - } ); - - } - - /** - * 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' ); - dom.slides = document.querySelector( '.reveal .slides' ); - - // Prevent transitions while we're loading - dom.slides.classList.add( 'no-transition' ); - - // Background element - dom.background = createSingletonNode( dom.wrapper, 'div', 'backgrounds', null ); - - // Progress bar - dom.progress = createSingletonNode( dom.wrapper, 'div', 'progress', '' ); - dom.progressbar = dom.progress.querySelector( 'span' ); - - // Arrow controls - createSingletonNode( dom.wrapper, 'aside', 'controls', - '' + - '' + - '' + - '' ); - - // State background element [DEPRECATED] - createSingletonNode( dom.wrapper, 'div', 'state-background', null ); - - // Overlay graphic which is displayed during the paused mode - createSingletonNode( dom.wrapper, 'div', 'pause-overlay', null ); - - // Cache references to elements - if ( config.controls ) { - dom.controls = document.querySelector( '.reveal .controls' ); - - // There can be multiple instances of controls throughout the page - dom.controlsLeft = toArray( document.querySelectorAll( '.navigate-left' ) ); - dom.controlsRight = toArray( document.querySelectorAll( '.navigate-right' ) ); - dom.controlsUp = toArray( document.querySelectorAll( '.navigate-up' ) ); - dom.controlsDown = toArray( document.querySelectorAll( '.navigate-down' ) ); - dom.controlsPrev = toArray( document.querySelectorAll( '.navigate-prev' ) ); - dom.controlsNext = toArray( document.querySelectorAll( '.navigate-next' ) ); - } - - } - - /** - * Creates an HTML element and returns a reference to it. - * If the element already exists the existing instance will - * be returned. - */ - function createSingletonNode( container, tagname, classname, innerHTML ) { - - var node = container.querySelector( '.' + classname ); - if( !node ) { - node = document.createElement( tagname ); - node.classList.add( classname ); - if( innerHTML !== null ) { - node.innerHTML = innerHTML; - } - container.appendChild( node ); - } - return node; - - } - - /** - * Creates the slide background elements and appends them - * to the background container. One element is created per - * slide no matter if the given slide has visible background. - */ - function createBackgrounds() { - - if( isPrintingPDF() ) { - document.body.classList.add( 'print-pdf' ); - } - - // Clear prior backgrounds - dom.background.innerHTML = ''; - dom.background.classList.add( 'no-transition' ); - - // Helper method for creating a background element for the - // given slide - function _createBackground( slide, container ) { - - var data = { - background: slide.getAttribute( 'data-background' ), - backgroundSize: slide.getAttribute( 'data-background-size' ), - backgroundImage: slide.getAttribute( 'data-background-image' ), - backgroundColor: slide.getAttribute( 'data-background-color' ), - backgroundRepeat: slide.getAttribute( 'data-background-repeat' ), - backgroundPosition: slide.getAttribute( 'data-background-position' ), - backgroundTransition: slide.getAttribute( 'data-background-transition' ) - }; - - var element = document.createElement( 'div' ); - element.className = 'slide-background'; - - if( data.background ) { - // Auto-wrap image urls in url(...) - if( /^(http|file|\/\/)/gi.test( data.background ) || /\.(png|jpg|jpeg|gif|bmp)$/gi.test( data.background ) ) { - element.style.backgroundImage = 'url('+ data.background +')'; - } - else { - element.style.background = data.background; - } - } - - // Additional and optional background properties - if( data.backgroundSize ) element.style.backgroundSize = data.backgroundSize; - if( data.backgroundImage ) element.style.backgroundImage = 'url("' + data.backgroundImage + '")'; - if( data.backgroundColor ) element.style.backgroundColor = data.backgroundColor; - if( data.backgroundRepeat ) element.style.backgroundRepeat = data.backgroundRepeat; - if( data.backgroundPosition ) element.style.backgroundPosition = data.backgroundPosition; - if( data.backgroundTransition ) element.setAttribute( 'data-background-transition', data.backgroundTransition ); - - container.appendChild( element ); - - return element; - - } - - // Iterate over all horizontal slides - toArray( document.querySelectorAll( HORIZONTAL_SLIDES_SELECTOR ) ).forEach( function( slideh ) { - - var backgroundStack; - - if( isPrintingPDF() ) { - backgroundStack = _createBackground( slideh, slideh ); - } - else { - backgroundStack = _createBackground( slideh, dom.background ); - } - - // Iterate over all vertical slides - toArray( slideh.querySelectorAll( 'section' ) ).forEach( function( slidev ) { - - if( isPrintingPDF() ) { - _createBackground( slidev, slidev ); - } - else { - _createBackground( slidev, backgroundStack ); - } - - } ); - - } ); - - } - - /** - * Applies the configuration settings from the config - * object. May be called multiple times. - */ - function configure( options ) { - - dom.wrapper.classList.remove( config.transition ); - - // New config options may be passed when this method - // is invoked through the API after initialization - if( typeof options === 'object' ) extend( config, options ); - - // Force linear transition based on browser capabilities - if( supports3DTransforms === false ) config.transition = 'linear'; - - dom.wrapper.classList.add( config.transition ); - - dom.wrapper.setAttribute( 'data-transition-speed', config.transitionSpeed ); - dom.wrapper.setAttribute( 'data-background-transition', config.backgroundTransition ); - - if( dom.controls ) { - dom.controls.style.display = ( config.controls && dom.controls ) ? 'block' : 'none'; - } - - if( dom.progress ) { - dom.progress.style.display = ( config.progress && dom.progress ) ? 'block' : 'none'; - } - - if( config.rtl ) { - dom.wrapper.classList.add( 'rtl' ); - } - else { - dom.wrapper.classList.remove( 'rtl' ); - } - - if( config.center ) { - dom.wrapper.classList.add( 'center' ); - } - else { - dom.wrapper.classList.remove( 'center' ); - } - - if( config.mouseWheel ) { - document.addEventListener( 'DOMMouseScroll', onDocumentMouseScroll, false ); // FF - document.addEventListener( 'mousewheel', onDocumentMouseScroll, false ); - } - else { - document.removeEventListener( 'DOMMouseScroll', onDocumentMouseScroll, false ); // FF - document.removeEventListener( 'mousewheel', onDocumentMouseScroll, false ); - } - - // Rolling 3D links - if( config.rollingLinks ) { - enableRollingLinks(); - } - else { - disableRollingLinks(); - } - - // Iframe link previews - if( config.previewLinks ) { - enablePreviewLinks(); - } - else { - disablePreviewLinks(); - enablePreviewLinks( '[data-preview-link]' ); - } - - // 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 ); - } - } - - sync(); - - } - - /** - * Binds all event listeners. - */ - function addEventListeners() { - - eventsAreBound = true; - - window.addEventListener( 'hashchange', onWindowHashChange, false ); - window.addEventListener( 'resize', onWindowResize, false ); - - if( config.touch ) { - dom.wrapper.addEventListener( 'touchstart', onTouchStart, false ); - dom.wrapper.addEventListener( 'touchmove', onTouchMove, false ); - dom.wrapper.addEventListener( 'touchend', onTouchEnd, false ); - - // Support pointer-style touch interaction as well - if( window.navigator.msPointerEnabled ) { - dom.wrapper.addEventListener( 'MSPointerDown', onPointerDown, false ); - dom.wrapper.addEventListener( 'MSPointerMove', onPointerMove, false ); - dom.wrapper.addEventListener( 'MSPointerUp', onPointerUp, false ); - } - } - - if( config.keyboard ) { - document.addEventListener( 'keydown', onDocumentKeyDown, false ); - } - - if ( config.progress && dom.progress ) { - dom.progress.addEventListener( 'click', onProgressClicked, false ); - } - - if ( config.controls && dom.controls ) { - [ 'touchstart', 'click' ].forEach( function( eventName ) { - dom.controlsLeft.forEach( function( el ) { el.addEventListener( eventName, onNavigateLeftClicked, false ); } ); - dom.controlsRight.forEach( function( el ) { el.addEventListener( eventName, onNavigateRightClicked, false ); } ); - dom.controlsUp.forEach( function( el ) { el.addEventListener( eventName, onNavigateUpClicked, false ); } ); - dom.controlsDown.forEach( function( el ) { el.addEventListener( eventName, onNavigateDownClicked, false ); } ); - dom.controlsPrev.forEach( function( el ) { el.addEventListener( eventName, onNavigatePrevClicked, false ); } ); - dom.controlsNext.forEach( function( el ) { el.addEventListener( eventName, onNavigateNextClicked, false ); } ); - } ); - } - - } - - /** - * Unbinds all event listeners. - */ - function removeEventListeners() { - - eventsAreBound = false; - - document.removeEventListener( 'keydown', onDocumentKeyDown, false ); - window.removeEventListener( 'hashchange', onWindowHashChange, false ); - window.removeEventListener( 'resize', onWindowResize, false ); - - dom.wrapper.removeEventListener( 'touchstart', onTouchStart, false ); - dom.wrapper.removeEventListener( 'touchmove', onTouchMove, false ); - dom.wrapper.removeEventListener( 'touchend', onTouchEnd, false ); - - if( window.navigator.msPointerEnabled ) { - dom.wrapper.removeEventListener( 'MSPointerDown', onPointerDown, false ); - dom.wrapper.removeEventListener( 'MSPointerMove', onPointerMove, false ); - dom.wrapper.removeEventListener( 'MSPointerUp', onPointerUp, false ); - } - - if ( config.progress && dom.progress ) { - dom.progress.removeEventListener( 'click', onProgressClicked, false ); - } - - if ( config.controls && dom.controls ) { - [ 'touchstart', 'click' ].forEach( function( eventName ) { - dom.controlsLeft.forEach( function( el ) { el.removeEventListener( eventName, onNavigateLeftClicked, false ); } ); - dom.controlsRight.forEach( function( el ) { el.removeEventListener( eventName, onNavigateRightClicked, false ); } ); - dom.controlsUp.forEach( function( el ) { el.removeEventListener( eventName, onNavigateUpClicked, false ); } ); - dom.controlsDown.forEach( function( el ) { el.removeEventListener( eventName, onNavigateDownClicked, false ); } ); - dom.controlsPrev.forEach( function( el ) { el.removeEventListener( eventName, onNavigatePrevClicked, false ); } ); - dom.controlsNext.forEach( function( el ) { el.removeEventListener( eventName, onNavigateNextClicked, 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 ]; - } - - } - - /** - * Converts the target object to an array. - */ - function toArray( o ) { - - return Array.prototype.slice.call( o ); - - } - - /** - * 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 ); - - } - - /** - * Applies a CSS transform to the target element. - */ - function transformElement( element, transform ) { - - element.style.WebkitTransform = transform; - element.style.MozTransform = transform; - element.style.msTransform = transform; - element.style.OTransform = transform; - element.style.transform = transform; - - } - - /** - * Retrieves the height of the given element by looking - * at the position and height of its immediate children. - */ - function getAbsoluteHeight( element ) { - - var height = 0; - - if( element ) { - var absoluteChildren = 0; - - toArray( element.childNodes ).forEach( function( child ) { - - if( typeof child.offsetTop === 'number' && child.style ) { - // Count # of abs children - if( child.style.position === 'absolute' ) { - absoluteChildren += 1; - } - - height = Math.max( height, child.offsetTop + child.offsetHeight ); - } - - } ); - - // If there are no absolute children, use offsetHeight - if( absoluteChildren === 0 ) { - height = element.offsetHeight; - } - - } - - return height; - - } - - /** - * Returns the remaining height within the parent of the - * target element after subtracting the height of all - * siblings. - * - * remaining height = [parent height] - [ siblings height] - */ - function getRemainingHeight( element, height ) { - - height = height || 0; - - if( element ) { - var parent = element.parentNode; - var siblings = parent.childNodes; - - // Subtract the height of each sibling - toArray( siblings ).forEach( function( sibling ) { - - if( typeof sibling.offsetHeight === 'number' && sibling !== element ) { - - var styles = window.getComputedStyle( sibling ), - marginTop = parseInt( styles.marginTop, 10 ), - marginBottom = parseInt( styles.marginBottom, 10 ); - - height -= sibling.offsetHeight + marginTop + marginBottom; - - } - - } ); - - var elementStyles = window.getComputedStyle( element ); - - // Subtract the margins of the target element - height -= parseInt( elementStyles.marginTop, 10 ) + - parseInt( elementStyles.marginBottom, 10 ); - - } - - return height; - - } - - /** - * Checks if this instance is being used to print a PDF. - */ - function isPrintingPDF() { - - return ( /print-pdf/gi ).test( window.location.search ); - - } - - /** - * Hides the address bar if we're on a mobile device. - */ - function hideAddressBar() { - - if( /iphone|ipod|android/gi.test( navigator.userAgent ) && !/crios/gi.test( navigator.userAgent ) ) { - // Events that should trigger the address bar to hide - window.addEventListener( 'load', removeAddressBar, false ); - window.addEventListener( 'orientationchange', removeAddressBar, false ); - } - - } - - /** - * Causes the address bar to hide on mobile devices, - * more vertical space ftw. - */ - function removeAddressBar() { - - if( window.orientation === 0 ) { - document.documentElement.style.overflow = 'scroll'; - document.body.style.height = '120%'; - } - else { - document.documentElement.style.overflow = ''; - document.body.style.height = '100%'; - } - - setTimeout( function() { - window.scrollTo( 0, 1 ); - }, 10 ); - - } - - /** - * 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 enableRollingLinks() { - - if( supports3DTransforms && !( 'msPerspective' in document.body.style ) ) { - var anchors = document.querySelectorAll( SLIDES_SELECTOR + ' a:not(.image)' ); - - for( var i = 0, len = anchors.length; i < len; i++ ) { - var anchor = anchors[i]; - - if( anchor.textContent && !anchor.querySelector( '*' ) && ( !anchor.className || !anchor.classList.contains( anchor, 'roll' ) ) ) { - var span = document.createElement('span'); - span.setAttribute('data-title', anchor.text); - span.innerHTML = anchor.innerHTML; - - anchor.classList.add( 'roll' ); - anchor.innerHTML = ''; - anchor.appendChild(span); - } - } - } - - } - - /** - * Unwrap all 3D links. - */ - function disableRollingLinks() { - - var anchors = document.querySelectorAll( SLIDES_SELECTOR + ' a.roll' ); - - for( var i = 0, len = anchors.length; i < len; i++ ) { - var anchor = anchors[i]; - var span = anchor.querySelector( 'span' ); - - if( span ) { - anchor.classList.remove( 'roll' ); - anchor.innerHTML = span.innerHTML; - } - } - - } - - /** - * Bind preview frame links. - */ - function enablePreviewLinks( selector ) { - - var anchors = toArray( document.querySelectorAll( selector ? selector : 'a' ) ); - - anchors.forEach( function( element ) { - if( /^(http|www)/gi.test( element.getAttribute( 'href' ) ) ) { - element.addEventListener( 'click', onPreviewLinkClicked, false ); - } - } ); - - } - - /** - * Unbind preview frame links. - */ - function disablePreviewLinks() { - - var anchors = toArray( document.querySelectorAll( 'a' ) ); - - anchors.forEach( function( element ) { - if( /^(http|www)/gi.test( element.getAttribute( 'href' ) ) ) { - element.removeEventListener( 'click', onPreviewLinkClicked, false ); - } - } ); - - } - - /** - * Opens a preview window for the target URL. - */ - function openPreview( url ) { - - closePreview(); - - dom.preview = document.createElement( 'div' ); - dom.preview.classList.add( 'preview-link-overlay' ); - dom.wrapper.appendChild( dom.preview ); - - dom.preview.innerHTML = [ - '
', - '', - '', - '
', - '
', - '
', - '', - '
' - ].join(''); - - dom.preview.querySelector( 'iframe' ).addEventListener( 'load', function( event ) { - dom.preview.classList.add( 'loaded' ); - }, false ); - - dom.preview.querySelector( '.close' ).addEventListener( 'click', function( event ) { - closePreview(); - event.preventDefault(); - }, false ); - - dom.preview.querySelector( '.external' ).addEventListener( 'click', function( event ) { - closePreview(); - }, false ); - - setTimeout( function() { - dom.preview.classList.add( 'visible' ); - }, 1 ); - - } - - /** - * Closes the iframe preview window. - */ - function closePreview() { - - if( dom.preview ) { - dom.preview.setAttribute( 'src', '' ); - dom.preview.parentNode.removeChild( dom.preview ); - dom.preview = null; - } - - } - - /** - * Return a sorted fragments list, ordered by an increasing - * "data-fragment-index" attribute. - * - * Fragments will be revealed in the order that they are returned by - * this function, so you can use the index attributes to control the - * order of fragment appearance. - * - * To maintain a sensible default fragment order, fragments are presumed - * to be passed in document order. This function adds a "fragment-index" - * attribute to each node if such an attribute is not already present, - * and sets that attribute to an integer value which is the position of - * the fragment within the fragments list. - */ - function sortFragments( fragments ) { - - var a = toArray( fragments ); - - a.forEach( function( el, idx ) { - if( !el.hasAttribute( 'data-fragment-index' ) ) { - el.setAttribute( 'data-fragment-index', idx ); - } - } ); - - a.sort( function( l, r ) { - return l.getAttribute( 'data-fragment-index' ) - r.getAttribute( 'data-fragment-index'); - } ); - - return a; - - } - - /** - * Applies JavaScript-controlled layout rules to the - * presentation. - */ - function layout() { - - if( dom.wrapper && !isPrintingPDF() ) { - - // Available space to scale within - var availableWidth = dom.wrapper.offsetWidth, - availableHeight = dom.wrapper.offsetHeight; - - // Reduce available space by margin - availableWidth -= ( availableHeight * config.margin ); - availableHeight -= ( availableHeight * config.margin ); - - // Dimensions of the content - var slideWidth = config.width, - slideHeight = config.height, - slidePadding = 20; // TODO Dig this out of DOM - - // Layout the contents of the slides - layoutSlideContents( config.width, config.height, slidePadding ); - - // Slide width may be a percentage of available width - if( typeof slideWidth === 'string' && /%$/.test( slideWidth ) ) { - slideWidth = parseInt( slideWidth, 10 ) / 100 * availableWidth; - } - - // Slide height may be a percentage of available height - if( typeof slideHeight === 'string' && /%$/.test( slideHeight ) ) { - slideHeight = parseInt( slideHeight, 10 ) / 100 * availableHeight; - } - - dom.slides.style.width = slideWidth + 'px'; - dom.slides.style.height = slideHeight + 'px'; - - // Determine scale of content to fit within available space - scale = Math.min( availableWidth / slideWidth, availableHeight / slideHeight ); - - // Respect max/min scale settings - scale = Math.max( scale, config.minScale ); - scale = Math.min( scale, config.maxScale ); - - // Prefer applying scale via zoom since Chrome blurs scaled content - // with nested transforms - if( typeof dom.slides.style.zoom !== 'undefined' && !navigator.userAgent.match( /(iphone|ipod|ipad|android)/gi ) ) { - dom.slides.style.zoom = scale; - } - // Apply scale transform as a fallback - else { - transformElement( dom.slides, 'translate(-50%, -50%) scale('+ scale +') translate(50%, 50%)' ); - } - - // Select all slides, vertical and horizontal - var slides = toArray( document.querySelectorAll( SLIDES_SELECTOR ) ); - - for( var i = 0, len = slides.length; i < len; i++ ) { - var slide = slides[ i ]; - - // Don't bother updating invisible slides - if( slide.style.display === 'none' ) { - continue; - } - - if( config.center ) { - // Vertical stacks are not centred since their section - // children will be - if( slide.classList.contains( 'stack' ) ) { - slide.style.top = 0; - } - else { - slide.style.top = Math.max( - ( getAbsoluteHeight( slide ) / 2 ) - slidePadding, -slideHeight / 2 ) + 'px'; - } - } - else { - slide.style.top = ''; - } - - } - - updateProgress(); - - } - - } - - /** - * Applies layout logic to the contents of all slides in - * the presentation. - */ - function layoutSlideContents( width, height, padding ) { - - // Handle sizing of elements with the 'stretch' class - toArray( dom.slides.querySelectorAll( 'section > .stretch' ) ).forEach( function( element ) { - - // Determine how much vertical space we can use - var remainingHeight = getRemainingHeight( element, ( height - ( padding * 2 ) ) ); - - // Consider the aspect ratio of media elements - if( /(img|video)/gi.test( element.nodeName ) ) { - var nw = element.naturalWidth || element.videoWidth, - nh = element.naturalHeight || element.videoHeight; - - var es = Math.min( width / nw, remainingHeight / nh ); - - element.style.width = ( nw * es ) + 'px'; - element.style.height = ( nh * es ) + 'px'; - - } - else { - element.style.width = width + 'px'; - element.style.height = remainingHeight + 'px'; - } - - } ); - - } - - /** - * Stores the vertical index of a stack so that the same - * vertical slide can be selected when navigating to and - * from the stack. - * - * @param {HTMLElement} stack The vertical stack element - * @param {int} v Index to memorize - */ - function setPreviousVerticalIndex( stack, v ) { - - if( typeof stack === 'object' && typeof stack.setAttribute === 'function' ) { - stack.setAttribute( 'data-previous-indexv', v || 0 ); - } - - } - - /** - * Retrieves the vertical index which was stored using - * #setPreviousVerticalIndex() or 0 if no previous index - * exists. - * - * @param {HTMLElement} stack The vertical stack element - */ - function getPreviousVerticalIndex( stack ) { - - if( typeof stack === 'object' && typeof stack.setAttribute === 'function' && stack.classList.contains( 'stack' ) ) { - // Prefer manually defined start-indexv - var attributeName = stack.hasAttribute( 'data-start-indexv' ) ? 'data-start-indexv' : 'data-previous-indexv'; - - return parseInt( stack.getAttribute( attributeName ) || 0, 10 ); - } - - return 0; - - } - - /** - * 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 ) { - - // Don't auto-slide while in overview mode - cancelAutoSlide(); - - var wasActive = dom.wrapper.classList.contains( 'overview' ); - - // Vary the depth of the overview based on screen size - var depth = window.innerWidth < 400 ? 1000 : 2500; - - dom.wrapper.classList.add( 'overview' ); - dom.wrapper.classList.remove( 'exit-overview' ); - - clearTimeout( activateOverviewTimeout ); - clearTimeout( deactivateOverviewTimeout ); - - // Not the pretties solution, but need to let the overview - // class apply first so that slides are measured accurately - // before we can position them - activateOverviewTimeout = setTimeout( function(){ - - var horizontalSlides = document.querySelectorAll( HORIZONTAL_SLIDES_SELECTOR ); - - for( var i = 0, len1 = horizontalSlides.length; i < len1; i++ ) { - var hslide = horizontalSlides[i], - hoffset = config.rtl ? -105 : 105; - - hslide.setAttribute( 'data-index-h', i ); - - // Apply CSS transform - transformElement( hslide, 'translateZ(-'+ depth +'px) translate(' + ( ( i - indexh ) * hoffset ) + '%, 0%)' ); - - if( hslide.classList.contains( 'stack' ) ) { - - var verticalSlides = hslide.querySelectorAll( 'section' ); - - for( var j = 0, len2 = verticalSlides.length; j < len2; j++ ) { - var verticalIndex = i === indexh ? indexv : getPreviousVerticalIndex( hslide ); - - var vslide = verticalSlides[j]; - - vslide.setAttribute( 'data-index-h', i ); - vslide.setAttribute( 'data-index-v', j ); - - // Apply CSS transform - transformElement( vslide, 'translate(0%, ' + ( ( j - verticalIndex ) * 105 ) + '%)' ); - - // Navigate to this slide on click - vslide.addEventListener( 'click', onOverviewSlideClicked, true ); - } - - } - else { - - // Navigate to this slide on click - hslide.addEventListener( 'click', onOverviewSlideClicked, true ); - - } - } - - updateSlidesVisibility(); - - layout(); - - if( !wasActive ) { - // Notify observers of the overview showing - dispatchEvent( 'overviewshown', { - 'indexh': indexh, - 'indexv': indexv, - 'currentSlide': currentSlide - } ); - } - - }, 10 ); - - } - - } - - /** - * Exits the slide overview and enters the currently - * active slide. - */ - function deactivateOverview() { - - // Only proceed if enabled in config - if( config.overview ) { - - clearTimeout( activateOverviewTimeout ); - clearTimeout( deactivateOverviewTimeout ); - - dom.wrapper.classList.remove( 'overview' ); - - // Temporarily add a class so that transitions can do different things - // depending on whether they are exiting/entering overview, or just - // moving from slide to slide - dom.wrapper.classList.add( 'exit-overview' ); - - deactivateOverviewTimeout = setTimeout( function () { - dom.wrapper.classList.remove( 'exit-overview' ); - }, 10); - - // Select all slides - var slides = toArray( document.querySelectorAll( SLIDES_SELECTOR ) ); - - for( var i = 0, len = slides.length; i < len; i++ ) { - var element = slides[i]; - - element.style.display = ''; - - // Resets all transforms to use the external styles - transformElement( element, '' ); - - element.removeEventListener( 'click', onOverviewSlideClicked, true ); - } - - slide( indexh, indexv ); - - cueAutoSlide(); - - // Notify observers of the overview hiding - dispatchEvent( 'overviewhidden', { - 'indexh': indexh, - 'indexv': indexv, - 'currentSlide': currentSlide - } ); - - } - } - - /** - * 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 { - isOverview() ? deactivateOverview() : activateOverview(); - } - - } - - /** - * Checks if the overview is currently active. - * - * @return {Boolean} true if the overview is active, - * false otherwise - */ - function isOverview() { - - return dom.wrapper.classList.contains( 'overview' ); - - } - - /** - * Checks if the current or specified slide is vertical - * (nested within another slide). - * - * @param {HTMLElement} slide [optional] The slide to check - * orientation of - */ - function isVerticalSlide( slide ) { - - // Prefer slide argument, otherwise use current slide - slide = slide ? slide : currentSlide; - - return slide && slide.parentNode && !!slide.parentNode.nodeName.match( /section/i ); - - } - - /** - * 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.webkitRequestFullScreen || - element.mozRequestFullScreen || - element.msRequestFullScreen; - - if( requestMethod ) { - requestMethod.apply( element ); - } - - } - - /** - * Enters the paused mode which fades everything on screen to - * black. - */ - function pause() { - - var wasPaused = dom.wrapper.classList.contains( 'paused' ); - - cancelAutoSlide(); - dom.wrapper.classList.add( 'paused' ); - - if( wasPaused === false ) { - dispatchEvent( 'paused' ); - } - - } - - /** - * Exits from the paused mode. - */ - function resume() { - - var wasPaused = dom.wrapper.classList.contains( 'paused' ); - dom.wrapper.classList.remove( 'paused' ); - - cueAutoSlide(); - - if( wasPaused ) { - dispatchEvent( 'resumed' ); - } - - } - - /** - * 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 - * @param {int} f Optional index of a fragment within the - * target slide to activate - * @param {int} o Optional origin for use in multimaster environments - */ - function slide( h, v, f, o ) { - // Remember where we were at before - previousSlide = currentSlide; - - // Query all horizontal slides in the deck - var horizontalSlides = document.querySelectorAll( HORIZONTAL_SLIDES_SELECTOR ); - - // If no vertical index is specified and the upcoming slide is a - // stack, resume at its previous vertical index - if( v === undefined ) { - v = getPreviousVerticalIndex( horizontalSlides[ h ] ); - } - - // If we were on a vertical stack, remember what vertical index - // it was on so we can resume at the same position when returning - if( previousSlide && previousSlide.parentNode && previousSlide.parentNode.classList.contains( 'stack' ) ) { - setPreviousVerticalIndex( previousSlide.parentNode, indexv ); - } - - // Remember the state before this slide - var stateBefore = state.concat(); - - // Reset the state array - state.length = 0; - - var indexhBefore = indexh || 0, - indexvBefore = indexv || 0; - - var slh = h === undefined ? indexh : h; - var slv = v === undefined ? indexv : v; - - // Activate and transition to the new slide - indexh = updateSlides( HORIZONTAL_SLIDES_SELECTOR, slh ); - indexv = updateSlides( VERTICAL_SLIDES_SELECTOR, slv ); - - // Update the visibility of slides now that the indices have changed - updateSlidesVisibility(); - - layout(); - - // 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; - } - } - - if (state[i] != '') { - document.documentElement.classList.add( state[i] ); - // Dispatch custom event matching the state's name - dispatchEvent( state[i] ); - } - } - - // Clean up the remains of the previous state - while( stateBefore.length ) { - var sbefore = stateBefore.pop(); - if (sbefore != '') - document.documentElement.classList.remove( sbefore ); - } - - // If the overview is active, re-activate it to update positions - if( isOverview() ) { - activateOverview(); - } - - // 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; - - - // Show fragment, if specified - if( typeof f !== 'undefined' ) { - var fragments = sortFragments( currentSlide.querySelectorAll( '.fragment' ) ); - - toArray( fragments ).forEach( function( fragment, indexf ) { - if( indexf < f ) { - fragment.classList.add( 'visible' ); - } - else { - fragment.classList.remove( 'visible' ); - } - } ); - } - - // Dispatch an event if the slide changed - var slideChanged = ( indexh !== indexhBefore || indexv !== indexvBefore ); - if( slideChanged ) { - dispatchEvent( 'slidechanged', { - 'indexh': indexh, - 'indexv': indexv, - 'previousSlide': previousSlide, - 'currentSlide': currentSlide, - 'origin': o - } ); - } - 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' ); - - // Reset all slides upon navigate to home - // Issue: #285 - if ( document.querySelector( HOME_SLIDE_SELECTOR ).classList.contains( 'present' ) ) { - // Launch async task - setTimeout( function () { - var slides = toArray( document.querySelectorAll( HORIZONTAL_SLIDES_SELECTOR + '.stack') ), i; - for( i in slides ) { - if( slides[i] ) { - // Reset stack - setPreviousVerticalIndex( slides[i], 0 ); - } - } - }, 0 ); - } - } - - // Handle embedded content - if( slideChanged ) { - stopEmbeddedContent( previousSlide ); - startEmbeddedContent( currentSlide ); - } - - updateControls(); - updateProgress(); - updateBackground(); - - // Update the URL hash - writeURL(); - - } - - /** - * Syncs the presentation with the current DOM. Useful - * when new slides or control elements are added or when - * the configuration has changed. - */ - function sync() { - - // Subscribe to input - removeEventListeners(); - addEventListeners(); - - // Force a layout to make sure the current config is accounted for - layout(); - - // Reflect the current autoSlide value - autoSlide = config.autoSlide; - - // Start auto-sliding if it's enabled - cueAutoSlide(); - - // Re-create the slide backgrounds - createBackgrounds(); - - updateControls(); - updateProgress(); - updateBackground(); - - } - - /** - * 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 = toArray( 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]; - - var reverse = config.rtl && !isVerticalSlide( element ); - - element.classList.remove( 'past' ); - element.classList.remove( 'present' ); - element.classList.remove( 'future' ); - - // http://www.w3.org/html/wg/drafts/html/master/editing.html#the-hidden-attribute - element.setAttribute( 'hidden', '' ); - - if( i < index ) { - // Any element previous to index is given the 'past' class - element.classList.add( reverse ? 'future' : 'past' ); - } - else if( i > index ) { - // Any element subsequent to index is given the 'future' class - element.classList.add( reverse ? 'past' : 'future' ); - - var fragments = toArray( element.querySelectorAll( '.fragment.visible' ) ); - - // No fragments in future slides should be visible ahead of time - while( fragments.length ) { - fragments.pop().classList.remove( 'visible' ); - } - } - - // If this element contains vertical slides - if( element.querySelector( 'section' ) ) { - element.classList.add( 'stack' ); - } - } - - // Mark the current slide as present - slides[index].classList.add( 'present' ); - slides[index].removeAttribute( 'hidden' ); - - // 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 attribute associated use this as - // autoSlide value otherwise use the global configured time - var slideAutoSlide = slides[index].getAttribute( 'data-autoslide' ); - if( slideAutoSlide ) { - autoSlide = parseInt( slideAutoSlide, 10 ); - } - else { - autoSlide = config.autoSlide; - } - - cueAutoSlide(); - - } - else { - // Since there are no slides we can't be anywhere beyond the - // zeroth index - index = 0; - } - - return index; - - } - - /** - * Optimization method; hide all slides that are far away - * from the present slide. - */ - function updateSlidesVisibility() { - - // Select all slides and convert the NodeList result to - // an array - var horizontalSlides = toArray( document.querySelectorAll( HORIZONTAL_SLIDES_SELECTOR ) ), - horizontalSlidesLength = horizontalSlides.length, - distanceX, - distanceY; - - if( horizontalSlidesLength ) { - - // The number of steps away from the present slide that will - // be visible - var viewDistance = isOverview() ? 10 : config.viewDistance; - - // Limit view distance on weaker devices - if( isMobileDevice ) { - viewDistance = isOverview() ? 6 : 1; - } - - for( var x = 0; x < horizontalSlidesLength; x++ ) { - var horizontalSlide = horizontalSlides[x]; - - var verticalSlides = toArray( horizontalSlide.querySelectorAll( 'section' ) ), - verticalSlidesLength = verticalSlides.length; - - // Loops so that it measures 1 between the first and last slides - distanceX = Math.abs( ( indexh - x ) % ( horizontalSlidesLength - viewDistance ) ) || 0; - - // Show the horizontal slide if it's within the view distance - horizontalSlide.style.display = distanceX > viewDistance ? 'none' : 'block'; - - if( verticalSlidesLength ) { - - var oy = getPreviousVerticalIndex( horizontalSlide ); - - for( var y = 0; y < verticalSlidesLength; y++ ) { - var verticalSlide = verticalSlides[y]; - - distanceY = x === indexh ? Math.abs( indexv - y ) : Math.abs( y - oy ); - - verticalSlide.style.display = ( distanceX + distanceY ) > viewDistance ? 'none' : 'block'; - } - - } - } - - } - - } - - /** - * Updates the progress bar to reflect the current slide. - */ - function updateProgress() { - - // Update progress if enabled - if( config.progress && dom.progress ) { - - var horizontalSlides = toArray( document.querySelectorAll( HORIZONTAL_SLIDES_SELECTOR ) ); - - // The number of past and total slides - var totalCount = document.querySelectorAll( SLIDES_SELECTOR + ':not(.stack)' ).length; - var pastCount = 0; - - // Step through all slides and count the past ones - mainLoop: for( var i = 0; i < horizontalSlides.length; i++ ) { - - var horizontalSlide = horizontalSlides[i]; - var verticalSlides = toArray( horizontalSlide.querySelectorAll( 'section' ) ); - - for( var j = 0; j < verticalSlides.length; j++ ) { - - // Stop as soon as we arrive at the present - if( verticalSlides[j].classList.contains( 'present' ) ) { - break mainLoop; - } - - pastCount++; - - } - - // Stop as soon as we arrive at the present - if( horizontalSlide.classList.contains( 'present' ) ) { - break; - } - - // Don't count the wrapping section for vertical slides - if( horizontalSlide.classList.contains( 'stack' ) === false ) { - pastCount++; - } - - } - - dom.progressbar.style.width = ( pastCount / ( totalCount - 1 ) ) * window.innerWidth + 'px'; - - } - - } - - /** - * Updates the state of all control/navigation arrows. - */ - function updateControls() { - - if ( config.controls && dom.controls ) { - - var routes = availableRoutes(); - var fragments = availableFragments(); - - // Remove the 'enabled' class from all directions - dom.controlsLeft.concat( dom.controlsRight ) - .concat( dom.controlsUp ) - .concat( dom.controlsDown ) - .concat( dom.controlsPrev ) - .concat( dom.controlsNext ).forEach( function( node ) { - node.classList.remove( 'enabled' ); - node.classList.remove( 'fragmented' ); - } ); - - // Add the 'enabled' class to the available routes - if( routes.left ) dom.controlsLeft.forEach( function( el ) { el.classList.add( 'enabled' ); } ); - if( routes.right ) dom.controlsRight.forEach( function( el ) { el.classList.add( 'enabled' ); } ); - if( routes.up ) dom.controlsUp.forEach( function( el ) { el.classList.add( 'enabled' ); } ); - if( routes.down ) dom.controlsDown.forEach( function( el ) { el.classList.add( 'enabled' ); } ); - - // Prev/next buttons - if( routes.left || routes.up ) dom.controlsPrev.forEach( function( el ) { el.classList.add( 'enabled' ); } ); - if( routes.right || routes.down ) dom.controlsNext.forEach( function( el ) { el.classList.add( 'enabled' ); } ); - - // Highlight fragment directions - if( currentSlide ) { - - // Always apply fragment decorator to prev/next buttons - if( fragments.prev ) dom.controlsPrev.forEach( function( el ) { el.classList.add( 'fragmented', 'enabled' ); } ); - if( fragments.next ) dom.controlsNext.forEach( function( el ) { el.classList.add( 'fragmented', 'enabled' ); } ); - - // Apply fragment decorators to directional buttons based on - // what slide axis they are in - if( isVerticalSlide( currentSlide ) ) { - if( fragments.prev ) dom.controlsUp.forEach( function( el ) { el.classList.add( 'fragmented', 'enabled' ); } ); - if( fragments.next ) dom.controlsDown.forEach( function( el ) { el.classList.add( 'fragmented', 'enabled' ); } ); - } - else { - if( fragments.prev ) dom.controlsLeft.forEach( function( el ) { el.classList.add( 'fragmented', 'enabled' ); } ); - if( fragments.next ) dom.controlsRight.forEach( function( el ) { el.classList.add( 'fragmented', 'enabled' ); } ); - } - } - - } - - } - - /** - * Updates the background elements to reflect the current - * slide. - */ - function updateBackground() { - - // Update the classes of all backgrounds to match the - // states of their slides (past/present/future) - toArray( dom.background.childNodes ).forEach( function( backgroundh, h ) { - - // Reverse past/future classes when in RTL mode - var horizontalPast = config.rtl ? 'future' : 'past', - horizontalFuture = config.rtl ? 'past' : 'future'; - - backgroundh.className = 'slide-background ' + ( h < indexh ? horizontalPast : h > indexh ? horizontalFuture : 'present' ); - - toArray( backgroundh.childNodes ).forEach( function( backgroundv, v ) { - - backgroundv.className = 'slide-background ' + ( v < indexv ? 'past' : v > indexv ? 'future' : 'present' ); - - } ); - - } ); - - // Allow the first background to apply without transition - setTimeout( function() { - dom.background.classList.remove( 'no-transition' ); - }, 1 ); - - } - - /** - * 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 ); - - var routes = { - left: indexh > 0 || config.loop, - right: indexh < horizontalSlides.length - 1 || config.loop, - up: indexv > 0, - down: indexv < verticalSlides.length - 1 - }; - - // reverse horizontal controls for rtl - if( config.rtl ) { - var left = routes.left; - routes.left = routes.right; - routes.right = left; - } - - return routes; - - } - - /** - * Returns an object describing the available fragment - * directions. - * - * @return {Object} two boolean properties: prev/next - */ - function availableFragments() { - - if( currentSlide && config.fragments ) { - var fragments = currentSlide.querySelectorAll( '.fragment' ); - var hiddenFragments = currentSlide.querySelectorAll( '.fragment:not(.visible)' ); - - return { - prev: fragments.length - hiddenFragments.length > 0, - next: !!hiddenFragments.length - }; - } - else { - return { prev: false, next: false }; - } - - } - - /** - * Start playback of any embedded content inside of - * the targeted slide. - */ - function startEmbeddedContent( slide ) { - - if( slide ) { - // HTML5 media elements - toArray( slide.querySelectorAll( 'video, audio' ) ).forEach( function( el ) { - if( el.hasAttribute( 'data-autoplay' ) ) { - el.play(); - } - } ); - - // YouTube embeds - toArray( slide.querySelectorAll( 'iframe[src*="youtube.com/embed/"]' ) ).forEach( function( el ) { - if( el.hasAttribute( 'data-autoplay' ) ) { - el.contentWindow.postMessage('{"event":"command","func":"playVideo","args":""}', '*'); - } - }); - } - - } - - /** - * Stop playback of any embedded content inside of - * the targeted slide. - */ - function stopEmbeddedContent( slide ) { - - if( slide ) { - // HTML5 media elements - toArray( slide.querySelectorAll( 'video, audio' ) ).forEach( function( el ) { - if( !el.hasAttribute( 'data-ignore' ) ) { - el.pause(); - } - } ); - - // YouTube embeds - toArray( slide.querySelectorAll( 'iframe[src*="youtube.com/embed/"]' ) ).forEach( function( el ) { - if( !el.hasAttribute( 'data-ignore' ) && typeof el.contentWindow.postMessage === 'function' ) { - el.contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}', '*'); - } - }); - } - - } - - /** - * 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 || 0, indexv || 0 ); - } - } - else { - // Read the index components of the hash - var h = parseInt( bits[0], 10 ) || 0, - v = parseInt( bits[1], 10 ) || 0; - - if( h !== indexh || v !== indexv ) { - slide( h, v ); - } - } - - } - - /** - * Updates the page URL (hash) to reflect the current - * state. - * - * @param {Number} delay The time in ms to wait before - * writing the hash - */ - function writeURL( delay ) { - - if( config.history ) { - - // Make sure there's never more than one timeout running - clearTimeout( writeURLTimeout ); - - // If a delay is specified, timeout this call - if( typeof delay === 'number' ) { - writeURLTimeout = setTimeout( writeURL, delay ); - } - else { - var url = '/'; - - // If the current slide has an ID, use that as a named link - if( currentSlide && typeof currentSlide.getAttribute( 'id' ) === 'string' ) { - url = '/' + currentSlide.getAttribute( 'id' ); - } - // Otherwise use the /h/v index - else { - if( indexh > 0 || indexv > 0 ) url += indexh; - if( indexv > 0 ) url += '/' + indexv; - } - - if (!window.disableHash) - 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: , v: , f: } - */ - function getIndices( slide ) { - - // By default, return the current indices - var h = indexh, - v = indexv, - f; - - // If a slide is specified, return the indices of that slide - if( slide ) { - var isVertical = isVerticalSlide( slide ); - var slideh = isVertical ? slide.parentNode : slide; - - // Select all horizontal slides - var horizontalSlides = toArray( 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( toArray( slide.parentNode.querySelectorAll( 'section' ) ).indexOf( slide ), 0 ); - } - } - - if( !slide && currentSlide ) { - var hasFragments = currentSlide.querySelectorAll( '.fragment' ).length > 0; - if( hasFragments ) { - var visibleFragments = currentSlide.querySelectorAll( '.fragment.visible' ); - f = visibleFragments.length; - } - } - - return { h: h, v: v, f: f }; - - } - - /** - * Navigate to the next slide fragment. - * - * @return {Boolean} true if there was a next fragment, - * false otherwise - */ - function nextFragment() { - - if( currentSlide && config.fragments ) { - var fragments = sortFragments( currentSlide.querySelectorAll( '.fragment:not(.visible)' ) ); - - if( fragments.length ) { - // Find the index of the next fragment - var index = fragments[0].getAttribute( 'data-fragment-index' ); - - // Find all fragments with the same index - fragments = currentSlide.querySelectorAll( '.fragment[data-fragment-index="'+ index +'"]' ); - - toArray( fragments ).forEach( function( element ) { - element.classList.add( 'visible' ); - } ); - - // Notify subscribers of the change - dispatchEvent( 'fragmentshown', { fragment: fragments[0], fragments: fragments } ); - - updateControls(); - return true; - } - } - - return false; - - } - - /** - * Navigate to the previous slide fragment. - * - * @return {Boolean} true if there was a previous fragment, - * false otherwise - */ - function previousFragment() { - - if( currentSlide && config.fragments ) { - var fragments = sortFragments( currentSlide.querySelectorAll( '.fragment.visible' ) ); - - if( fragments.length ) { - // Find the index of the previous fragment - var index = fragments[ fragments.length - 1 ].getAttribute( 'data-fragment-index' ); - - // Find all fragments with the same index - fragments = currentSlide.querySelectorAll( '.fragment[data-fragment-index="'+ index +'"]' ); - - toArray( fragments ).forEach( function( f ) { - f.classList.remove( 'visible' ); - } ); - - // Notify subscribers of the change - dispatchEvent( 'fragmenthidden', { fragment: fragments[0], fragments: fragments } ); - - updateControls(); - 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 && !isPaused() && !isOverview() ) { - autoSlideTimeout = setTimeout( navigateNext, autoSlide ); - } - - } - - /** - * Cancels any ongoing request to auto-slide. - */ - function cancelAutoSlide() { - - clearTimeout( autoSlideTimeout ); - - } - - function navigateLeft() { - - // Reverse for RTL - if( config.rtl ) { - if( ( isOverview() || nextFragment() === false ) && availableRoutes().left ) { - slide( indexh + 1 ); - } - } - // Normal navigation - else if( ( isOverview() || previousFragment() === false ) && availableRoutes().left ) { - slide( indexh - 1 ); - } - - } - - function navigateRight() { - - // Reverse for RTL - if( config.rtl ) { - if( ( isOverview() || previousFragment() === false ) && availableRoutes().right ) { - slide( indexh - 1 ); - } - } - // Normal navigation - else if( ( isOverview() || nextFragment() === false ) && availableRoutes().right ) { - slide( indexh + 1 ); - } - - } - - function navigateUp() { - - // Prioritize hiding fragments - if( ( isOverview() || previousFragment() === false ) && availableRoutes().up ) { - slide( indexh, indexv - 1 ); - } - - } - - function navigateDown() { - - // Prioritize revealing fragments - if( ( isOverview() || nextFragment() === false ) && availableRoutes().down ) { - 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( HORIZONTAL_SLIDES_SELECTOR + '.past:nth-child(' + indexh + ')' ); - - if( previousSlide ) { - var v = ( previousSlide.querySelectorAll( 'section' ).length - 1 ) || undefined; - var h = indexh - 1; - slide( h, v ); - } - } - } - - } - - /** - * 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.keyCode !== 32) || event.altKey || event.ctrlKey || event.metaKey ) return; - - // While paused only allow "unpausing" keyboard events (b and .) - if( isPaused() && [66,190,191].indexOf( event.keyCode ) === -1 ) { - return false; - } - - var triggered = false; - - // 1. User defined key bindings - if( typeof config.keyboard === 'object' ) { - - for( var key in config.keyboard ) { - - // Check if this binding matches the pressed key - if( parseInt( key, 10 ) === event.keyCode ) { - - var value = config.keyboard[ key ]; - - // Callback function - if( typeof value === 'function' ) { - value.apply( null, [ event ] ); - } - // String shortcuts to reveal.js API - else if( typeof value === 'string' && typeof Reveal[ value ] === 'function' ) { - Reveal[ value ].call(); - } - - triggered = true; - - } - - } - - } - - // 2. System defined key bindings - if( triggered === false ) { - - // Assume true and try to prove false - 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: isOverview() ? deactivateOverview() : event.shiftKey ? navigatePrev() : navigateNext(); break; - // return - case 13: isOverview() ? deactivateOverview() : triggered = false; break; - // b, period, Logitech presenter tools "black screen" button - case 66: case 190: case 191: 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(); - } - // ESC or O key - else if ( ( event.keyCode === 27 || event.keyCode === 79 ) && supports3DTransforms ) { - toggleOverview(); - - event.preventDefault(); - } - - // If auto-sliding is enabled we need to cue up - // another timeout - cueAutoSlide(); - - } - - /** - * Handler for the 'touchstart' event, enables support for - * swipe and pinch gestures. - */ - function onTouchStart( 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 'touchmove' event. - */ - function onTouchMove( event ) { - - // Each touch should only trigger one action - if( !touch.captured ) { - var currentX = event.touches[0].clientX; - var currentY = event.touches[0].clientY; - - // If the touch started 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.captured = 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.captured = true; - navigateLeft(); - } - else if( deltaX < -touch.threshold && Math.abs( deltaX ) > Math.abs( deltaY ) ) { - touch.captured = true; - navigateRight(); - } - else if( deltaY > touch.threshold ) { - touch.captured = true; - navigateUp(); - } - else if( deltaY < -touch.threshold ) { - touch.captured = true; - navigateDown(); - } - - // If we're embedded, only block touch events if they have - // triggered an action - if( config.embedded ) { - if( touch.captured || isVerticalSlide( currentSlide ) ) { - event.preventDefault(); - } - } - // Not embedded? Block them all to avoid needless tossing - // around of the viewport in iOS - else { - 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 'touchend' event. - */ - function onTouchEnd( event ) { - - touch.captured = false; - - } - - /** - * Convert pointer down to touch start. - */ - function onPointerDown( event ) { - - if( event.pointerType === event.MSPOINTER_TYPE_TOUCH ) { - event.touches = [{ clientX: event.clientX, clientY: event.clientY }]; - onTouchStart( event ); - } - - } - - /** - * Convert pointer move to touch move. - */ - function onPointerMove( event ) { - - if( event.pointerType === event.MSPOINTER_TYPE_TOUCH ) { - event.touches = [{ clientX: event.clientX, clientY: event.clientY }]; - onTouchMove( event ); - } - - } - - /** - * Convert pointer up to touch end. - */ - function onPointerUp( event ) { - - if( event.pointerType === event.MSPOINTER_TYPE_TOUCH ) { - event.touches = [{ clientX: event.clientX, clientY: event.clientY }]; - onTouchEnd( event ); - } - - } - - /** - * Handles mouse wheel scrolling, throttled to avoid skipping - * multiple slides. - */ - function onDocumentMouseScroll( event ) { - - if( Date.now() - lastMouseWheelStep > 600 ) { - - lastMouseWheelStep = Date.now(); - - var delta = event.detail || -event.wheelDelta; - if( delta > 0 ) { - navigateNext(); - } - else { - navigatePrev(); - } - - } - - } - - /** - * Clicking on the progress bar results in a navigation to the - * closest approximate horizontal slide using this equation: - * - * ( clickX / presentationWidth ) * numberOfSlides - */ - function onProgressClicked( event ) { - - event.preventDefault(); - - var slidesTotal = toArray( document.querySelectorAll( HORIZONTAL_SLIDES_SELECTOR ) ).length; - var slideIndex = Math.floor( ( event.clientX / dom.wrapper.offsetWidth ) * slidesTotal ); - - slide( slideIndex ); - - } - - /** - * Event handler for navigation control buttons. - */ - function onNavigateLeftClicked( event ) { event.preventDefault(); navigateLeft(); } - function onNavigateRightClicked( event ) { event.preventDefault(); navigateRight(); } - function onNavigateUpClicked( event ) { event.preventDefault(); navigateUp(); } - function onNavigateDownClicked( event ) { event.preventDefault(); navigateDown(); } - function onNavigatePrevClicked( event ) { event.preventDefault(); navigatePrev(); } - function onNavigateNextClicked( event ) { event.preventDefault(); navigateNext(); } - - /** - * Handler for the window level 'hashchange' event. - */ - function onWindowHashChange( event ) { - readURL(); - } - - /** - * Handler for the window level 'resize' event. - */ - function onWindowResize( event ) { - - layout(); - - } - - /** - * 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( eventsAreBound && isOverview() ) { - event.preventDefault(); - - var element = event.target; - - while( element && !element.nodeName.match( /section/gi ) ) { - element = element.parentNode; - } - - if( element && !element.classList.contains( 'disabled' ) ) { - - deactivateOverview(); - - if( element.nodeName.match( /section/gi ) ) { - var h = parseInt( element.getAttribute( 'data-index-h' ), 10 ), - v = parseInt( element.getAttribute( 'data-index-v' ), 10 ); - - slide( h, v ); - } - - } - } - - } - - /** - * Handles clicks on links that are set to preview in the - * iframe overlay. - */ - function onPreviewLinkClicked( event ) { - - var url = event.target.getAttribute( 'href' ); - if( url ) { - openPreview( url ); - event.preventDefault(); - } - - } - - - // --------------------------------------------------------------------// - // ------------------------------- API --------------------------------// - // --------------------------------------------------------------------// - - - return { - initialize: initialize, - configure: configure, - sync: sync, - - // 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, - - // Forces an update in slide layout - layout: layout, - - // Returns an object with the available routes as booleans (left/right/top/bottom) - availableRoutes: availableRoutes, - - // Returns an object with the available fragments as booleans (prev/next) - availableFragments: availableFragments, - - // Toggles the overview mode on/off - toggleOverview: toggleOverview, - - // Toggles the "black screen" mode on/off - togglePause: togglePause, - - // State checks - isOverview: isOverview, - isPaused: isPaused, - - // 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 slide at the specified index, y is optional - getSlide: function( x, y ) { - var horizontalSlide = document.querySelectorAll( HORIZONTAL_SLIDES_SELECTOR )[ x ]; - var verticalSlides = horizontalSlide && horizontalSlide.querySelectorAll( 'section' ); - - if( typeof y !== 'undefined' ) { - return verticalSlides ? verticalSlides[ y ] : undefined; - } - - return horizontalSlide; - }, - - // Returns the previous slide element, may be null - getPreviousSlide: function() { - return previousSlide; - }, - - // Returns the current slide element - getCurrentSlide: function() { - return currentSlide; - }, - - // Returns the current scale of the presentation content - getScale: function() { - return scale; - }, - - // Returns the current configuration object - getConfig: function() { - return config; - }, - - // 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; - }, - - // Returns true if we're currently on the first slide - isFirstSlide: function() { - return document.querySelector( SLIDES_SELECTOR + '.past' ) == null ? true : false; - }, - - // Returns true if we're currently on the last slide - isLastSlide: function() { - if( currentSlide ) { - // Does this slide has next a sibling? - if( currentSlide.nextElementSibling ) return false; - - // If it's vertical, does its parent have a next sibling? - if( isVerticalSlide( currentSlide ) && currentSlide.parentNode.nextElementSibling ) return false; - - return true; - } - - return false; - }, - - // Checks if reveal.js has been loaded and is ready for use - isReady: function() { - return loaded; - }, - - // 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/sources/preview_export/reveal/js/reveal.min.js b/sources/preview_export/reveal/js/reveal.min.js deleted file mode 100644 index 1b78039..0000000 --- a/sources/preview_export/reveal/js/reveal.min.js +++ /dev/null @@ -1,8 +0,0 @@ -/*! - * reveal.js 2.4.0 (2013-04-29, 22:06) - * http://lab.hakim.se/reveal-js - * MIT licensed - * - * Copyright (C) 2013 Hakim El Hattab, http://hakim.se - */ -var Reveal=function(){"use strict";function e(e){return Mt||kt?(window.addEventListener("load",h,!1),c(bt,e),n(),r(),void 0):(document.body.setAttribute("class","no-transforms"),void 0)}function t(){if(Tt.theme=document.querySelector("#theme"),Tt.wrapper=document.querySelector(".reveal"),Tt.slides=document.querySelector(".reveal .slides"),!Tt.wrapper.querySelector(".progress")){var e=document.createElement("div");e.classList.add("progress"),e.innerHTML="",Tt.wrapper.appendChild(e)}if(!Tt.wrapper.querySelector(".controls")){var t=document.createElement("aside");t.classList.add("controls"),t.innerHTML='',Tt.wrapper.appendChild(t)}if(!Tt.wrapper.querySelector(".state-background")){var n=document.createElement("div");n.classList.add("state-background"),Tt.wrapper.appendChild(n)}if(!Tt.wrapper.querySelector(".pause-overlay")){var r=document.createElement("div");r.classList.add("pause-overlay"),Tt.wrapper.appendChild(r)}Tt.progress=document.querySelector(".reveal .progress"),Tt.progressbar=document.querySelector(".reveal .progress span"),bt.controls&&(Tt.controls=document.querySelector(".reveal .controls"),Tt.controlsLeft=l(document.querySelectorAll(".navigate-left")),Tt.controlsRight=l(document.querySelectorAll(".navigate-right")),Tt.controlsUp=l(document.querySelectorAll(".navigate-up")),Tt.controlsDown=l(document.querySelectorAll(".navigate-down")),Tt.controlsPrev=l(document.querySelectorAll(".navigate-prev")),Tt.controlsNext=l(document.querySelectorAll(".navigate-next")))}function n(){/iphone|ipod|android/gi.test(navigator.userAgent)&&!/crios/gi.test(navigator.userAgent)&&(window.addEventListener("load",u,!1),window.addEventListener("orientationchange",u,!1))}function r(){function e(){n.length&&head.js.apply(null,n),o()}for(var t=[],n=[],r=0,a=bt.dependencies.length;a>r;r++){var s=bt.dependencies[r];(!s.condition||s.condition())&&(s.async?n.push(s.src):t.push(s.src),"function"==typeof s.callback&&head.ready(s.src.match(/([\w\d_\-]*)\.?js$|[^\\\/]*$/i)[0],s.callback))}t.length?(head.ready(e),head.js.apply(null,t)):e()}function o(){t(),a(),H(),setTimeout(function(){f("ready",{indexh:St,indexv:At,currentSlide:ht})},1)}function a(e){if(Tt.wrapper.classList.remove(bt.transition),"object"==typeof e&&c(bt,e),kt===!1&&(bt.transition="linear"),Tt.wrapper.classList.add(bt.transition),Tt.wrapper.setAttribute("data-transition-speed",bt.transitionSpeed),Tt.controls&&(Tt.controls.style.display=bt.controls&&Tt.controls?"block":"none"),Tt.progress&&(Tt.progress.style.display=bt.progress&&Tt.progress?"block":"none"),bt.rtl?Tt.wrapper.classList.add("rtl"):Tt.wrapper.classList.remove("rtl"),bt.center?Tt.wrapper.classList.add("center"):Tt.wrapper.classList.remove("center"),bt.mouseWheel?(document.addEventListener("DOMMouseScroll",ot,!1),document.addEventListener("mousewheel",ot,!1)):(document.removeEventListener("DOMMouseScroll",ot,!1),document.removeEventListener("mousewheel",ot,!1)),bt.rollingLinks?v():p(),bt.theme&&Tt.theme){var t=Tt.theme.getAttribute("href"),n=/[^\/]*?(?=\.css)/,r=t.match(n)[0];bt.theme!==r&&(t=t.replace(n,bt.theme),Tt.theme.setAttribute("href",t))}P()}function s(){Yt=!0,window.addEventListener("hashchange",ft,!1),window.addEventListener("resize",vt,!1),bt.touch&&(Tt.wrapper.addEventListener("touchstart",G,!1),Tt.wrapper.addEventListener("touchmove",J,!1),Tt.wrapper.addEventListener("touchend",et,!1),window.navigator.msPointerEnabled&&(Tt.wrapper.addEventListener("MSPointerDown",tt,!1),Tt.wrapper.addEventListener("MSPointerMove",nt,!1),Tt.wrapper.addEventListener("MSPointerUp",rt,!1))),bt.keyboard&&document.addEventListener("keydown",B,!1),bt.progress&&Tt.progress&&Tt.progress.addEventListener("click",at,!1),bt.controls&&Tt.controls&&["touchstart","click"].forEach(function(e){Tt.controlsLeft.forEach(function(t){t.addEventListener(e,st,!1)}),Tt.controlsRight.forEach(function(t){t.addEventListener(e,it,!1)}),Tt.controlsUp.forEach(function(t){t.addEventListener(e,ct,!1)}),Tt.controlsDown.forEach(function(t){t.addEventListener(e,lt,!1)}),Tt.controlsPrev.forEach(function(t){t.addEventListener(e,dt,!1)}),Tt.controlsNext.forEach(function(t){t.addEventListener(e,ut,!1)})})}function i(){Yt=!1,document.removeEventListener("keydown",B,!1),window.removeEventListener("hashchange",ft,!1),window.removeEventListener("resize",vt,!1),Tt.wrapper.removeEventListener("touchstart",G,!1),Tt.wrapper.removeEventListener("touchmove",J,!1),Tt.wrapper.removeEventListener("touchend",et,!1),window.navigator.msPointerEnabled&&(Tt.wrapper.removeEventListener("MSPointerDown",tt,!1),Tt.wrapper.removeEventListener("MSPointerMove",nt,!1),Tt.wrapper.removeEventListener("MSPointerUp",rt,!1)),bt.progress&&Tt.progress&&Tt.progress.removeEventListener("click",at,!1),bt.controls&&Tt.controls&&["touchstart","click"].forEach(function(e){Tt.controlsLeft.forEach(function(t){t.removeEventListener(e,st,!1)}),Tt.controlsRight.forEach(function(t){t.removeEventListener(e,it,!1)}),Tt.controlsUp.forEach(function(t){t.removeEventListener(e,ct,!1)}),Tt.controlsDown.forEach(function(t){t.removeEventListener(e,lt,!1)}),Tt.controlsPrev.forEach(function(t){t.removeEventListener(e,dt,!1)}),Tt.controlsNext.forEach(function(t){t.removeEventListener(e,ut,!1)})})}function c(e,t){for(var n in t)e[n]=t[n]}function l(e){return Array.prototype.slice.call(e)}function d(e,t){var n=e.x-t.x,r=e.y-t.y;return Math.sqrt(n*n+r*r)}function u(){0===window.orientation?(document.documentElement.style.overflow="scroll",document.body.style.height="120%"):(document.documentElement.style.overflow="",document.body.style.height="100%"),setTimeout(function(){window.scrollTo(0,1)},10)}function f(e,t){var n=document.createEvent("HTMLEvents",1,2);n.initEvent(e,!0,!0),c(n,t),Tt.wrapper.dispatchEvent(n)}function v(){if(kt&&!("msPerspective"in document.body.style))for(var e=document.querySelectorAll(gt+" a:not(.image)"),t=0,n=e.length;n>t;t++){var r=e[t];if(!(!r.textContent||r.querySelector("*")||r.className&&r.classList.contains(r,"roll"))){var o=document.createElement("span");o.setAttribute("data-title",r.text),o.innerHTML=r.innerHTML,r.classList.add("roll"),r.innerHTML="",r.appendChild(o)}}}function p(){for(var e=document.querySelectorAll(gt+" a.roll"),t=0,n=e.length;n>t;t++){var r=e[t],o=r.querySelector("span");o&&(r.classList.remove("roll"),r.innerHTML=o.innerHTML)}}function m(e){var t=l(e);return t.forEach(function(e,t){e.hasAttribute("data-fragment-index")||e.setAttribute("data-fragment-index",t)}),t.sort(function(e,t){return e.getAttribute("data-fragment-index")-t.getAttribute("data-fragment-index")}),t}function h(){if(Tt.wrapper){var e=Tt.wrapper.offsetWidth,t=Tt.wrapper.offsetHeight;e-=t*bt.margin,t-=t*bt.margin;var n=bt.width,r=bt.height;if("string"==typeof n&&/%$/.test(n)&&(n=parseInt(n,10)/100*e),"string"==typeof r&&/%$/.test(r)&&(r=parseInt(r,10)/100*t),Tt.slides.style.width=n+"px",Tt.slides.style.height=r+"px",xt=Math.min(e/n,t/r),xt=Math.max(xt,bt.minScale),xt=Math.min(xt,bt.maxScale),void 0===Tt.slides.style.zoom||navigator.userAgent.match(/(iphone|ipod|ipad|android)/gi)){var o="translate(-50%, -50%) scale("+xt+") translate(50%, 50%)";Tt.slides.style.WebkitTransform=o,Tt.slides.style.MozTransform=o,Tt.slides.style.msTransform=o,Tt.slides.style.OTransform=o,Tt.slides.style.transform=o}else Tt.slides.style.zoom=xt;for(var a=l(document.querySelectorAll(gt)),s=0,i=a.length;i>s;s++){var c=a[s];"none"!==c.style.display&&(c.style.top=bt.center?c.classList.contains("stack")?0:Math.max(-(c.offsetHeight/2)-20,-r/2)+"px":"")}N()}}function g(e,t){"object"==typeof e&&"function"==typeof e.setAttribute&&e.setAttribute("data-previous-indexv",t||0)}function y(e){return"object"==typeof e&&"function"==typeof e.setAttribute&&e.classList.contains("stack")?parseInt(e.getAttribute("data-previous-indexv")||0,10):0}function w(){if(bt.overview){_();var e=Tt.wrapper.classList.contains("overview");Tt.wrapper.classList.add("overview"),Tt.wrapper.classList.remove("exit-overview"),clearTimeout(Ct),clearTimeout(Ot),Ct=setTimeout(function(){for(var t=document.querySelectorAll(yt),n=0,r=t.length;r>n;n++){var o=t[n],a=bt.rtl?-105:105,s="translateZ(-2500px) translate("+(n-St)*a+"%, 0%)";if(o.setAttribute("data-index-h",n),o.style.display="block",o.style.WebkitTransform=s,o.style.MozTransform=s,o.style.msTransform=s,o.style.OTransform=s,o.style.transform=s,o.classList.contains("stack"))for(var i=o.querySelectorAll("section"),c=0,l=i.length;l>c;c++){var d=n===St?At:y(o),u=i[c],v="translate(0%, "+105*(c-d)+"%)";u.setAttribute("data-index-h",n),u.setAttribute("data-index-v",c),u.style.display="block",u.style.WebkitTransform=v,u.style.MozTransform=v,u.style.msTransform=v,u.style.OTransform=v,u.style.transform=v,u.addEventListener("click",pt,!0)}else o.addEventListener("click",pt,!0)}h(),e||f("overviewshown",{indexh:St,indexv:At,currentSlide:ht})},10)}}function L(){if(bt.overview){clearTimeout(Ct),clearTimeout(Ot),Tt.wrapper.classList.remove("overview"),Tt.wrapper.classList.add("exit-overview"),Ot=setTimeout(function(){Tt.wrapper.classList.remove("exit-overview")},10);for(var e=l(document.querySelectorAll(gt)),t=0,n=e.length;n>t;t++){var r=e[t];r.style.display="",r.style.WebkitTransform="",r.style.MozTransform="",r.style.msTransform="",r.style.OTransform="",r.style.transform="",r.removeEventListener("click",pt,!0)}M(St,At),F(),f("overviewhidden",{indexh:St,indexv:At,currentSlide:ht})}}function b(e){"boolean"==typeof e?e?w():L():E()?L():w()}function E(){return Tt.wrapper.classList.contains("overview")}function S(e){return e=e?e:ht,e&&!!e.parentNode.nodeName.match(/section/i)}function A(){var e=document.body,t=e.requestFullScreen||e.webkitRequestFullscreen||e.webkitRequestFullScreen||e.mozRequestFullScreen||e.msRequestFullScreen;t&&t.apply(e)}function q(){var e=Tt.wrapper.classList.contains("paused");_(),Tt.wrapper.classList.add("paused"),e===!1&&f("paused")}function x(){var e=Tt.wrapper.classList.contains("paused");Tt.wrapper.classList.remove("paused"),F(),e&&f("resumed")}function T(){k()?x():q()}function k(){return Tt.wrapper.classList.contains("paused")}function M(e,t,n,r){mt=ht;var o=document.querySelectorAll(yt);void 0===t&&(t=y(o[e])),mt&&mt.parentNode&&mt.parentNode.classList.contains("stack")&&g(mt.parentNode,At);var a=qt.concat();qt.length=0;var s=St,i=At;St=D(yt,void 0===e?St:e),At=D(wt,void 0===t?At:t),h();e:for(var c=0,d=qt.length;d>c;c++){for(var u=0;a.length>u;u++)if(a[u]===qt[c]){a.splice(u,1);continue e}document.documentElement.classList.add(qt[c]),f(qt[c])}for(;a.length;)document.documentElement.classList.remove(a.pop());E()&&w(),I(1500);var v=o[St],p=v.querySelectorAll("section");if(ht=p[At]||v,n!==void 0){var L=m(ht.querySelectorAll(".fragment"));l(L).forEach(function(e,t){n>t?e.classList.add("visible"):e.classList.remove("visible")})}St!==s||At!==i?f("slidechanged",{indexh:St,indexv:At,previousSlide:mt,currentSlide:ht,origin:r}):mt=null,mt&&(mt.classList.remove("present"),document.querySelector(Lt).classList.contains("present")&&setTimeout(function(){var e,t=l(document.querySelectorAll(yt+".stack"));for(e in t)t[e]&&g(t[e],0)},0)),X(mt),R(ht),C(),N()}function P(){i(),s(),h(),Et=bt.autoSlide,F(),C(),N()}function D(e,t){var n=l(document.querySelectorAll(e)),r=n.length;if(r){bt.loop&&(t%=r,0>t&&(t=r+t)),t=Math.max(Math.min(t,r-1),0);for(var o=0;r>o;o++){var a=n[o];if(E()===!1){var s=Math.abs((t-o)%(r-3))||0;a.style.display=s>3?"none":"block"}var i=bt.rtl&&!S(a);a.classList.remove("past"),a.classList.remove("present"),a.classList.remove("future"),t>o?a.classList.add(i?"future":"past"):o>t&&a.classList.add(i?"past":"future"),a.querySelector("section")&&a.classList.add("stack")}n[t].classList.add("present");var c=n[t].getAttribute("data-state");c&&(qt=qt.concat(c.split(" ")));var d=n[t].getAttribute("data-autoslide");Et=d?parseInt(d,10):bt.autoSlide}else t=0;return t}function N(){if(bt.progress&&Tt.progress){var e=l(document.querySelectorAll(yt)),t=document.querySelectorAll(gt+":not(.stack)").length,n=0;e:for(var r=0;e.length>r;r++){for(var o=e[r],a=l(o.querySelectorAll("section")),s=0;a.length>s;s++){if(a[s].classList.contains("present"))break e;n++}if(o.classList.contains("present"))break;o.classList.contains("stack")===!1&&n++}Tt.progressbar.style.width=n/(t-1)*window.innerWidth+"px"}}function C(){if(bt.controls&&Tt.controls){var e=O(),t=Y();Tt.controlsLeft.concat(Tt.controlsRight).concat(Tt.controlsUp).concat(Tt.controlsDown).concat(Tt.controlsPrev).concat(Tt.controlsNext).forEach(function(e){e.classList.remove("enabled"),e.classList.remove("fragmented")}),e.left&&Tt.controlsLeft.forEach(function(e){e.classList.add("enabled")}),e.right&&Tt.controlsRight.forEach(function(e){e.classList.add("enabled")}),e.up&&Tt.controlsUp.forEach(function(e){e.classList.add("enabled")}),e.down&&Tt.controlsDown.forEach(function(e){e.classList.add("enabled")}),(e.left||e.up)&&Tt.controlsPrev.forEach(function(e){e.classList.add("enabled")}),(e.right||e.down)&&Tt.controlsNext.forEach(function(e){e.classList.add("enabled")}),ht&&(t.prev&&Tt.controlsPrev.forEach(function(e){e.classList.add("fragmented","enabled")}),t.next&&Tt.controlsNext.forEach(function(e){e.classList.add("fragmented","enabled")}),S(ht)?(t.prev&&Tt.controlsUp.forEach(function(e){e.classList.add("fragmented","enabled")}),t.next&&Tt.controlsDown.forEach(function(e){e.classList.add("fragmented","enabled")})):(t.prev&&Tt.controlsLeft.forEach(function(e){e.classList.add("fragmented","enabled")}),t.next&&Tt.controlsRight.forEach(function(e){e.classList.add("fragmented","enabled")})))}}function O(){var e=document.querySelectorAll(yt),t=document.querySelectorAll(wt),n={left:St>0||bt.loop,right:e.length-1>St||bt.loop,up:At>0,down:t.length-1>At};if(bt.rtl){var r=n.left;n.left=n.right,n.right=r}return n}function Y(){if(ht&&bt.fragments){var e=ht.querySelectorAll(".fragment"),t=ht.querySelectorAll(".fragment:not(.visible)");return{prev:e.length-t.length>0,next:!!t.length}}return{prev:!1,next:!1}}function R(e){e&&(l(e.querySelectorAll("video, audio")).forEach(function(e){e.hasAttribute("data-autoplay")&&e.play()}),l(e.querySelectorAll('iframe[src*="youtube.com/embed/"]')).forEach(function(e){e.hasAttribute("data-autoplay")&&e.contentWindow.postMessage('{"event":"command","func":"playVideo","args":""}',"*")}))}function X(e){e&&(l(e.querySelectorAll("video, audio")).forEach(function(e){e.hasAttribute("data-ignore")||e.pause()}),l(e.querySelectorAll('iframe[src*="youtube.com/embed/"]')).forEach(function(e){e.hasAttribute("data-ignore")||"function"!=typeof e.contentWindow.postMessage||e.contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*")}))}function H(){var e=window.location.hash,t=e.slice(2).split("/"),n=e.replace(/#|\//gi,"");if(isNaN(parseInt(t[0],10))&&n.length){var r=document.querySelector("#"+n);if(r){var o=Reveal.getIndices(r);M(o.h,o.v)}else M(St,At)}else{var a=parseInt(t[0],10)||0,s=parseInt(t[1],10)||0;M(a,s)}}function I(e){if(bt.history)if(clearTimeout(Nt),"number"==typeof e)Nt=setTimeout(I,e);else{var t="/";ht&&"string"==typeof ht.getAttribute("id")?t="/"+ht.getAttribute("id"):((St>0||At>0)&&(t+=St),At>0&&(t+="/"+At)),window.location.hash=t}}function W(e){var t,n=St,r=At;if(e){var o=S(e),a=o?e.parentNode:e,s=l(document.querySelectorAll(yt));n=Math.max(s.indexOf(a),0),o&&(r=Math.max(l(e.parentNode.querySelectorAll("section")).indexOf(e),0))}if(!e&&ht){var i=ht.querySelectorAll(".fragment.visible");i.length&&(t=i.length)}return{h:n,v:r,f:t}}function U(){if(ht&&bt.fragments){var e=m(ht.querySelectorAll(".fragment:not(.visible)"));if(e.length)return e[0].classList.add("visible"),f("fragmentshown",{fragment:e[0]}),C(),!0}return!1}function z(){if(ht&&bt.fragments){var e=m(ht.querySelectorAll(".fragment.visible"));if(e.length)return e[e.length-1].classList.remove("visible"),f("fragmenthidden",{fragment:e[e.length-1]}),C(),!0}return!1}function F(){clearTimeout(Dt),!Et||k()||E()||(Dt=setTimeout(Q,Et))}function _(){clearTimeout(Dt)}function j(){bt.rtl?(E()||U()===!1)&&O().left&&M(St+1):(E()||z()===!1)&&O().left&&M(St-1)}function K(){bt.rtl?(E()||z()===!1)&&O().right&&M(St-1):(E()||U()===!1)&&O().right&&M(St+1)}function $(){(E()||z()===!1)&&O().up&&M(St,At-1)}function V(){(E()||U()===!1)&&O().down&&M(St,At+1)}function Z(){if(z()===!1)if(O().up)$();else{var e=document.querySelector(yt+".past:nth-child("+St+")");e&&(At=e.querySelectorAll("section").length+1||void 0,St--,M(St,At))}}function Q(){U()===!1&&(O().down?V():K()),F()}function B(e){document.activeElement;var t=!(!document.activeElement||!document.activeElement.type&&!document.activeElement.href&&"inherit"===document.activeElement.contentEditable);if(!(t||e.shiftKey&&32!==e.keyCode||e.altKey||e.ctrlKey||e.metaKey)){var n=!0;if(k()&&-1===[66,190,191].indexOf(e.keyCode))return!1;switch(e.keyCode){case 80:case 33:Z();break;case 78:case 34:Q();break;case 72:case 37:j();break;case 76:case 39:K();break;case 75:case 38:$();break;case 74:case 40:V();break;case 36:M(0);break;case 35:M(Number.MAX_VALUE);break;case 32:E()?L():e.shiftKey?Z():Q();break;case 13:E()?L():n=!1;break;case 66:case 190:case 191:T();break;case 70:A();break;default:n=!1}n?e.preventDefault():27===e.keyCode&&kt&&(b(),e.preventDefault()),F()}}function G(e){Rt.startX=e.touches[0].clientX,Rt.startY=e.touches[0].clientY,Rt.startCount=e.touches.length,2===e.touches.length&&bt.overview&&(Rt.startSpan=d({x:e.touches[1].clientX,y:e.touches[1].clientY},{x:Rt.startX,y:Rt.startY}))}function J(e){if(Rt.handled)navigator.userAgent.match(/android/gi)&&e.preventDefault();else{var t=e.touches[0].clientX,n=e.touches[0].clientY;if(2===e.touches.length&&2===Rt.startCount&&bt.overview){var r=d({x:e.touches[1].clientX,y:e.touches[1].clientY},{x:Rt.startX,y:Rt.startY});Math.abs(Rt.startSpan-r)>Rt.threshold&&(Rt.handled=!0,Rt.startSpan>r?w():L()),e.preventDefault()}else if(1===e.touches.length&&2!==Rt.startCount){var o=t-Rt.startX,a=n-Rt.startY;o>Rt.threshold&&Math.abs(o)>Math.abs(a)?(Rt.handled=!0,j()):-Rt.threshold>o&&Math.abs(o)>Math.abs(a)?(Rt.handled=!0,K()):a>Rt.threshold?(Rt.handled=!0,$()):-Rt.threshold>a&&(Rt.handled=!0,V()),e.preventDefault()}}}function et(){Rt.handled=!1}function tt(e){e.pointerType===e.MSPOINTER_TYPE_TOUCH&&(e.touches=[{clientX:e.clientX,clientY:e.clientY}],G(e))}function nt(e){e.pointerType===e.MSPOINTER_TYPE_TOUCH&&(e.touches=[{clientX:e.clientX,clientY:e.clientY}],J(e))}function rt(e){e.pointerType===e.MSPOINTER_TYPE_TOUCH&&(e.touches=[{clientX:e.clientX,clientY:e.clientY}],et(e))}function ot(e){clearTimeout(Pt),Pt=setTimeout(function(){var t=e.detail||-e.wheelDelta;t>0?Q():Z()},100)}function at(e){e.preventDefault();var t=l(document.querySelectorAll(yt)).length,n=Math.floor(e.clientX/Tt.wrapper.offsetWidth*t);M(n)}function st(e){e.preventDefault(),j()}function it(e){e.preventDefault(),K()}function ct(e){e.preventDefault(),$()}function lt(e){e.preventDefault(),V()}function dt(e){e.preventDefault(),Z()}function ut(e){e.preventDefault(),Q()}function ft(){H()}function vt(){h()}function pt(e){if(Yt&&E()){e.preventDefault();for(var t=e.target;t&&!t.nodeName.match(/section/gi);)t=t.parentNode;if(t&&!t.classList.contains("disabled")&&(L(),t.nodeName.match(/section/gi))){var n=parseInt(t.getAttribute("data-index-h"),10),r=parseInt(t.getAttribute("data-index-v"),10);M(n,r)}}}var mt,ht,gt=".reveal .slides section",yt=".reveal .slides>section",wt=".reveal .slides>section.present>section",Lt=".reveal .slides>section:first-child",bt={width:960,height:700,margin:.1,minScale:.2,maxScale:1,controls:!0,progress:!0,history:!1,keyboard:!0,overview:!0,center:!0,touch:!0,loop:!1,rtl:!1,fragments:!0,autoSlide:0,mouseWheel:!1,rollingLinks:!0,theme:null,transition:"default",transitionSpeed:"default",dependencies:[]},Et=0,St=0,At=0,qt=[],xt=1,Tt={},kt="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,Mt="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,Pt=0,Dt=0,Nt=0,Ct=0,Ot=0,Yt=!1,Rt={startX:0,startY:0,startSpan:0,startCount:0,handled:!1,threshold:80};return{initialize:e,configure:a,sync:P,slide:M,left:j,right:K,up:$,down:V,prev:Z,next:Q,prevFragment:z,nextFragment:U,navigateTo:M,navigateLeft:j,navigateRight:K,navigateUp:$,navigateDown:V,navigatePrev:Z,navigateNext:Q,layout:h,availableRoutes:O,availableFragments:Y,toggleOverview:b,togglePause:T,isOverview:E,isPaused:k,addEventListeners:s,removeEventListeners:i,getIndices:W,getSlide:function(e,t){var n=document.querySelectorAll(yt)[e],r=n&&n.querySelectorAll("section");return t!==void 0?r?r[t]:void 0:n},getPreviousSlide:function(){return mt},getCurrentSlide:function(){return ht},getScale:function(){return xt},getConfig:function(){return bt},getQueryHash:function(){var e={};return location.search.replace(/[A-Z0-9]+?=(\w*)/gi,function(t){e[t.split("=").shift()]=t.split("=").pop()}),e},isFirstSlide:function(){return null==document.querySelector(gt+".past")?!0:!1},isLastSlide:function(){return ht&&ht.classList.contains(".stack")?null==ht.querySelector(gt+".future")?!0:!1:null==document.querySelector(gt+".future")?!0:!1},addEventListener:function(e,t,n){"addEventListener"in window&&(Tt.wrapper||document.querySelector(".reveal")).addEventListener(e,t,n)},removeEventListener:function(e,t,n){"addEventListener"in window&&(Tt.wrapper||document.querySelector(".reveal")).removeEventListener(e,t,n)}}}(); \ No newline at end of file diff --git a/sources/preview_export/reveal/lib/css/zenburn.css b/sources/preview_export/reveal/lib/css/zenburn.css deleted file mode 100644 index f4070ca..0000000 --- a/sources/preview_export/reveal/lib/css/zenburn.css +++ /dev/null @@ -1,115 +0,0 @@ -/* - -Zenburn style from voldmar.ru (c) Vladimir Epifanov -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/sources/preview_export/reveal/lib/font/league_gothic-webfont.eot b/sources/preview_export/reveal/lib/font/league_gothic-webfont.eot deleted file mode 100644 index 598dcbc..0000000 Binary files a/sources/preview_export/reveal/lib/font/league_gothic-webfont.eot and /dev/null differ diff --git a/sources/preview_export/reveal/lib/font/league_gothic-webfont.svg b/sources/preview_export/reveal/lib/font/league_gothic-webfont.svg deleted file mode 100644 index 201cfe1..0000000 --- a/sources/preview_export/reveal/lib/font/league_gothic-webfont.svg +++ /dev/null @@ -1,230 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/sources/preview_export/reveal/lib/font/league_gothic-webfont.ttf b/sources/preview_export/reveal/lib/font/league_gothic-webfont.ttf deleted file mode 100644 index 29f896a..0000000 Binary files a/sources/preview_export/reveal/lib/font/league_gothic-webfont.ttf and /dev/null differ diff --git a/sources/preview_export/reveal/lib/font/league_gothic-webfont.woff b/sources/preview_export/reveal/lib/font/league_gothic-webfont.woff deleted file mode 100644 index 71117fb..0000000 Binary files a/sources/preview_export/reveal/lib/font/league_gothic-webfont.woff and /dev/null differ diff --git a/sources/preview_export/reveal/lib/font/league_gothic_license b/sources/preview_export/reveal/lib/font/league_gothic_license deleted file mode 100644 index 29513e9..0000000 --- a/sources/preview_export/reveal/lib/font/league_gothic_license +++ /dev/null @@ -1,2 +0,0 @@ -SIL Open Font License (OFL) -http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=OFL diff --git a/sources/preview_export/reveal/lib/js/classList.js b/sources/preview_export/reveal/lib/js/classList.js deleted file mode 100644 index 44f2b4c..0000000 --- a/sources/preview_export/reveal/lib/js/classList.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! @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 - 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/g,">"); - } - - // re-highlight when focus is lost (for edited code) - element.addEventListener( 'focusout', function( event ) { - hljs.highlightBlock( event.currentTarget ); - }, false ); - } - } -})(); -// END CUSTOM REVEAL.JS INTEGRATION - -// highlight.js build includes support for: -// Bash, C#, C++, CSS, Diff, HTML, XML, HTTP, Ini, JSON, Java, JavaScript, PHP, Perl, Python, Ruby, SQL, Clojure, GLSL, Lua, Scala, CoffeeScript, Go, Objective C, ActionScript, Markdown - -var hljs=new function(){function l(o){return o.replace(/&/gm,"&").replace(//gm,">")}function b(p){for(var o=p.firstChild;o;o=o.nextSibling){if(o.nodeName=="CODE"){return o}if(!(o.nodeType==3&&o.nodeValue.match(/\s+/))){break}}}function h(p,o){return Array.prototype.map.call(p.childNodes,function(q){if(q.nodeType==3){return o?q.nodeValue.replace(/\n/g,""):q.nodeValue}if(q.nodeName=="BR"){return"\n"}return h(q,o)}).join("")}function a(q){var p=(q.className+" "+q.parentNode.className).split(/\s+/);p=p.map(function(r){return r.replace(/^language-/,"")});for(var o=0;o"}while(x.length||v.length){var u=t().splice(0,1)[0];y+=l(w.substr(p,u.offset-p));p=u.offset;if(u.event=="start"){y+=s(u.node);r.push(u.node)}else{if(u.event=="stop"){var o,q=r.length;do{q--;o=r[q];y+=("")}while(o!=u.node);r.splice(q,1);while(q'+L[0]+""}else{r+=L[0]}N=A.lR.lastIndex;L=A.lR.exec(K)}return r+K.substr(N)}function z(){if(A.sL&&!e[A.sL]){return l(w)}var r=A.sL?d(A.sL,w):g(w);if(A.r>0){v+=r.keyword_count;B+=r.r}return''+r.value+""}function J(){return A.sL!==undefined?z():G()}function I(L,r){var K=L.cN?'':"";if(L.rB){x+=K;w=""}else{if(L.eB){x+=l(r)+K;w=""}else{x+=K;w=r}}A=Object.create(L,{parent:{value:A}});B+=L.r}function C(K,r){w+=K;if(r===undefined){x+=J();return 0}var L=o(r,A);if(L){x+=J();I(L,r);return L.rB?0:r.length}var M=s(A,r);if(M){if(!(M.rE||M.eE)){w+=r}x+=J();do{if(A.cN){x+=""}A=A.parent}while(A!=M.parent);if(M.eE){x+=l(r)}w="";if(M.starts){I(M.starts,"")}return M.rE?0:r.length}if(t(r,A)){throw"Illegal"}w+=r;return r.length||1}var F=e[D];f(F);var A=F;var w="";var B=0;var v=0;var x="";try{var u,q,p=0;while(true){A.t.lastIndex=p;u=A.t.exec(E);if(!u){break}q=C(E.substr(p,u.index-p),u[0]);p=u.index+q}C(E.substr(p));return{r:B,keyword_count:v,value:x,language:D}}catch(H){if(H=="Illegal"){return{r:0,keyword_count:0,value:l(E)}}else{throw H}}}function g(s){var o={keyword_count:0,r:0,value:l(s)};var q=o;for(var p in e){if(!e.hasOwnProperty(p)){continue}var r=d(p,s);r.language=p;if(r.keyword_count+r.r>q.keyword_count+q.r){q=r}if(r.keyword_count+r.r>o.keyword_count+o.r){q=o;o=r}}if(q.language){o.second_best=q}return o}function i(q,p,o){if(p){q=q.replace(/^((<[^>]+>|\t)+)/gm,function(r,v,u,t){return v.replace(/\t/g,p)})}if(o){q=q.replace(/\n/g,"
")}return q}function m(r,u,p){var v=h(r,p);var t=a(r);if(t=="no-highlight"){return}var w=t?d(t,v):g(v);t=w.language;var o=c(r);if(o.length){var q=document.createElement("pre");q.innerHTML=w.value;w.value=j(o,c(q),v)}w.value=i(w.value,u,p);var s=r.className;if(!s.match("(\\s|^)(language-)?"+t+"(\\s|$)")){s=s?(s+" "+t):t}r.innerHTML=w.value;r.className=s;r.result={language:t,kw:w.keyword_count,re:w.r};if(w.second_best){r.second_best={language:w.second_best.language,kw:w.second_best.keyword_count,re:w.second_best.r}}}function n(){if(n.called){return}n.called=true;Array.prototype.map.call(document.getElementsByTagName("pre"),b).filter(Boolean).forEach(function(o){m(o,hljs.tabReplace)})}function k(){window.addEventListener("DOMContentLoaded",n,false);window.addEventListener("load",n,false)}var e={};this.LANGUAGES=e;this.highlight=d;this.highlightAuto=g;this.fixMarkup=i;this.highlightBlock=m;this.initHighlighting=n;this.initHighlightingOnLoad=k;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="(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)";this.BNR="\\b(0b[01]+)";this.RSR="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|\\.|-|-=|/|/=|:|;|<|<<|<<=|<=|=|==|===|>|>=|>>|>>=|>>>|>>>=|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~";this.BE={b:"\\\\[\\s\\S]",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.BNM={cN:"number",b:this.BNR,r:0};this.inherit=function(q,r){var o={};for(var p in q){o[p]=q[p]}if(r){for(var p in r){o[p]=r[p]}}return o}}();hljs.LANGUAGES.bash=function(a){var g="true false";var e="if then else elif fi for break continue while in do done echo exit return set declare";var c={cN:"variable",b:"\\$[a-zA-Z0-9_#]+"};var b={cN:"variable",b:"\\${([^}]|\\\\})+}"};var h={cN:"string",b:'"',e:'"',i:"\\n",c:[a.BE,c,b],r:0};var d={cN:"string",b:"'",e:"'",c:[{b:"''"}],r:0};var f={cN:"test_condition",b:"",e:"",c:[h,d,c,b],k:{literal:g},r:0};return{k:{keyword:e,literal:g},c:[{cN:"shebang",b:"(#!\\/bin\\/bash)|(#!\\/bin\\/sh)",r:10},c,b,a.HCM,h,d,a.inherit(f,{b:"\\[ ",e:" \\]",r:0}),a.inherit(f,{b:"\\[\\[ ",e:" \\]\\]"})]}}(hljs);hljs.LANGUAGES.cs=function(a){return{k:"abstract as base bool break byte case catch char checked class const continue decimal default delegate do double else enum event explicit extern false finally fixed float for foreach goto if implicit in int interface internal is lock long namespace new null object operator out override params private protected public readonly ref return sbyte sealed short sizeof stackalloc static string struct switch this throw true try typeof uint ulong unchecked unsafe ushort using virtual volatile void while ascending descending from get group into join let orderby partial select set value var where yield",c:[{cN:"comment",b:"///",e:"$",rB:true,c:[{cN:"xmlDocTag",b:"///|"},{cN:"xmlDocTag",b:""}]},a.CLCM,a.CBLCLM,{cN:"preprocessor",b:"#",e:"$",k:"if else elif endif define undef warning error line region endregion pragma checksum"},{cN:"string",b:'@"',e:'"',c:[{b:'""'}]},a.ASM,a.QSM,a.CNM]}}(hljs);hljs.LANGUAGES.ruby=function(e){var a="[a-zA-Z_][a-zA-Z0-9_]*(\\!|\\?)?";var j="[a-zA-Z_]\\w*[!?=]?|[-+~]\\@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?";var g={keyword:"and false then defined module in return redo if BEGIN retry end for true self when next until do begin unless END rescue nil else break undef not super class case require yield alias while ensure elsif or include"};var c={cN:"yardoctag",b:"@[A-Za-z]+"};var k=[{cN:"comment",b:"#",e:"$",c:[c]},{cN:"comment",b:"^\\=begin",e:"^\\=end",c:[c],r:10},{cN:"comment",b:"^__END__",e:"\\n$"}];var d={cN:"subst",b:"#\\{",e:"}",l:a,k:g};var i=[e.BE,d];var b=[{cN:"string",b:"'",e:"'",c:i,r:0},{cN:"string",b:'"',e:'"',c:i,r:0},{cN:"string",b:"%[qw]?\\(",e:"\\)",c:i},{cN:"string",b:"%[qw]?\\[",e:"\\]",c:i},{cN:"string",b:"%[qw]?{",e:"}",c:i},{cN:"string",b:"%[qw]?<",e:">",c:i,r:10},{cN:"string",b:"%[qw]?/",e:"/",c:i,r:10},{cN:"string",b:"%[qw]?%",e:"%",c:i,r:10},{cN:"string",b:"%[qw]?-",e:"-",c:i,r:10},{cN:"string",b:"%[qw]?\\|",e:"\\|",c:i,r:10}];var h={cN:"function",bWK:true,e:" |$|;",k:"def",c:[{cN:"title",b:j,l:a,k:g},{cN:"params",b:"\\(",e:"\\)",l:a,k:g}].concat(k)};var f=k.concat(b.concat([{cN:"class",bWK:true,e:"$|;",k:"class module",c:[{cN:"title",b:"[A-Za-z_]\\w*(::\\w+)*(\\?|\\!)?",r:0},{cN:"inheritance",b:"<\\s*",c:[{cN:"parent",b:"("+e.IR+"::)?"+e.IR}]}].concat(k)},h,{cN:"constant",b:"(::)?(\\b[A-Z]\\w*(::)?)+",r:0},{cN:"symbol",b:":",c:b.concat([{b:j}]),r:0},{cN:"symbol",b:a+":",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+))"},{b:"("+e.RSR+")\\s*",c:k.concat([{cN:"regexp",b:"/",e:"/[a-z]*",i:"\\n",c:[e.BE,d]}]),r:0}]));d.c=f;h.c[1].c=f;return{l:a,k:g,c:f}}(hljs);hljs.LANGUAGES.diff=function(a){return{c:[{cN:"chunk",b:"^\\@\\@ +\\-\\d+,\\d+ +\\+\\d+,\\d+ +\\@\\@$",r:10},{cN:"chunk",b:"^\\*\\*\\* +\\d+,\\d+ +\\*\\*\\*\\*$",r:10},{cN:"chunk",b:"^\\-\\-\\- +\\d+,\\d+ +\\-\\-\\-\\-$",r:10},{cN:"header",b:"Index: ",e:"$"},{cN:"header",b:"=====",e:"=====$"},{cN:"header",b:"^\\-\\-\\-",e:"$"},{cN:"header",b:"^\\*{3} ",e:"$"},{cN:"header",b:"^\\+\\+\\+",e:"$"},{cN:"header",b:"\\*{5}",e:"\\*{5}$"},{cN:"addition",b:"^\\+",e:"$"},{cN:"deletion",b:"^\\-",e:"$"},{cN:"change",b:"^\\!",e:"$"}]}}(hljs);hljs.LANGUAGES.javascript=function(a){return{k:{keyword:"in if for while finally var new function do return void else break catch instanceof with throw case default try this switch continue typeof delete let yield const",literal:"true false null undefined NaN Infinity"},c:[a.ASM,a.QSM,a.CLCM,a.CBLCLM,a.CNM,{b:"("+a.RSR+"|\\b(case|return|throw)\\b)\\s*",k:"return throw case",c:[a.CLCM,a.CBLCLM,{cN:"regexp",b:"/",e:"/[gim]*",i:"\\n",c:[{b:"\\\\/"}]},{b:"<",e:">;",sL:"xml"}],r:0},{cN:"function",bWK:true,e:"{",k:"function",c:[{cN:"title",b:"[A-Za-z$_][0-9A-Za-z$_]*"},{cN:"params",b:"\\(",e:"\\)",c:[a.CLCM,a.CBLCLM],i:"[\"'\\(]"}],i:"\\[|%"}]}}(hljs);hljs.LANGUAGES.glsl=function(a){return{k:{keyword:"atomic_uint attribute bool break bvec2 bvec3 bvec4 case centroid coherent const continue default discard dmat2 dmat2x2 dmat2x3 dmat2x4 dmat3 dmat3x2 dmat3x3 dmat3x4 dmat4 dmat4x2 dmat4x3 dmat4x4 do double dvec2 dvec3 dvec4 else flat float for highp if iimage1D iimage1DArray iimage2D iimage2DArray iimage2DMS iimage2DMSArray iimage2DRect iimage3D iimageBuffer iimageCube iimageCubeArray image1D image1DArray image2D image2DArray image2DMS image2DMSArray image2DRect image3D imageBuffer imageCube imageCubeArray in inout int invariant isampler1D isampler1DArray isampler2D isampler2DArray isampler2DMS isampler2DMSArray isampler2DRect isampler3D isamplerBuffer isamplerCube isamplerCubeArray ivec2 ivec3 ivec4 layout lowp mat2 mat2x2 mat2x3 mat2x4 mat3 mat3x2 mat3x3 mat3x4 mat4 mat4x2 mat4x3 mat4x4 mediump noperspective out patch precision readonly restrict return sample sampler1D sampler1DArray sampler1DArrayShadow sampler1DShadow sampler2D sampler2DArray sampler2DArrayShadow sampler2DMS sampler2DMSArray sampler2DRect sampler2DRectShadow sampler2DShadow sampler3D samplerBuffer samplerCube samplerCubeArray samplerCubeArrayShadow samplerCubeShadow smooth struct subroutine switch uimage1D uimage1DArray uimage2D uimage2DArray uimage2DMS uimage2DMSArray uimage2DRect uimage3D uimageBuffer uimageCube uimageCubeArray uint uniform usampler1D usampler1DArray usampler2D usampler2DArray usampler2DMS usampler2DMSArray usampler2DRect usampler3D usamplerBuffer usamplerCube usamplerCubeArray uvec2 uvec3 uvec4 varying vec2 vec3 vec4 void volatile while writeonly",built_in:"gl_BackColor gl_BackLightModelProduct gl_BackLightProduct gl_BackMaterial gl_BackSecondaryColor gl_ClipDistance gl_ClipPlane gl_ClipVertex gl_Color gl_DepthRange gl_EyePlaneQ gl_EyePlaneR gl_EyePlaneS gl_EyePlaneT gl_Fog gl_FogCoord gl_FogFragCoord gl_FragColor gl_FragCoord gl_FragData gl_FragDepth gl_FrontColor gl_FrontFacing gl_FrontLightModelProduct gl_FrontLightProduct gl_FrontMaterial gl_FrontSecondaryColor gl_InstanceID gl_InvocationID gl_Layer gl_LightModel gl_LightSource gl_MaxAtomicCounterBindings gl_MaxAtomicCounterBufferSize gl_MaxClipDistances gl_MaxClipPlanes gl_MaxCombinedAtomicCounterBuffers gl_MaxCombinedAtomicCounters gl_MaxCombinedImageUniforms gl_MaxCombinedImageUnitsAndFragmentOutputs gl_MaxCombinedTextureImageUnits gl_MaxDrawBuffers gl_MaxFragmentAtomicCounterBuffers gl_MaxFragmentAtomicCounters gl_MaxFragmentImageUniforms gl_MaxFragmentInputComponents gl_MaxFragmentUniformComponents gl_MaxFragmentUniformVectors gl_MaxGeometryAtomicCounterBuffers gl_MaxGeometryAtomicCounters gl_MaxGeometryImageUniforms gl_MaxGeometryInputComponents gl_MaxGeometryOutputComponents gl_MaxGeometryOutputVertices gl_MaxGeometryTextureImageUnits gl_MaxGeometryTotalOutputComponents gl_MaxGeometryUniformComponents gl_MaxGeometryVaryingComponents gl_MaxImageSamples gl_MaxImageUnits gl_MaxLights gl_MaxPatchVertices gl_MaxProgramTexelOffset gl_MaxTessControlAtomicCounterBuffers gl_MaxTessControlAtomicCounters gl_MaxTessControlImageUniforms gl_MaxTessControlInputComponents gl_MaxTessControlOutputComponents gl_MaxTessControlTextureImageUnits gl_MaxTessControlTotalOutputComponents gl_MaxTessControlUniformComponents gl_MaxTessEvaluationAtomicCounterBuffers gl_MaxTessEvaluationAtomicCounters gl_MaxTessEvaluationImageUniforms gl_MaxTessEvaluationInputComponents gl_MaxTessEvaluationOutputComponents gl_MaxTessEvaluationTextureImageUnits gl_MaxTessEvaluationUniformComponents gl_MaxTessGenLevel gl_MaxTessPatchComponents gl_MaxTextureCoords gl_MaxTextureImageUnits gl_MaxTextureUnits gl_MaxVaryingComponents gl_MaxVaryingFloats gl_MaxVaryingVectors gl_MaxVertexAtomicCounterBuffers gl_MaxVertexAtomicCounters gl_MaxVertexAttribs gl_MaxVertexImageUniforms gl_MaxVertexOutputComponents gl_MaxVertexTextureImageUnits gl_MaxVertexUniformComponents gl_MaxVertexUniformVectors gl_MaxViewports gl_MinProgramTexelOffsetgl_ModelViewMatrix gl_ModelViewMatrixInverse gl_ModelViewMatrixInverseTranspose gl_ModelViewMatrixTranspose gl_ModelViewProjectionMatrix gl_ModelViewProjectionMatrixInverse gl_ModelViewProjectionMatrixInverseTranspose gl_ModelViewProjectionMatrixTranspose gl_MultiTexCoord0 gl_MultiTexCoord1 gl_MultiTexCoord2 gl_MultiTexCoord3 gl_MultiTexCoord4 gl_MultiTexCoord5 gl_MultiTexCoord6 gl_MultiTexCoord7 gl_Normal gl_NormalMatrix gl_NormalScale gl_ObjectPlaneQ gl_ObjectPlaneR gl_ObjectPlaneS gl_ObjectPlaneT gl_PatchVerticesIn gl_PerVertex gl_Point gl_PointCoord gl_PointSize gl_Position gl_PrimitiveID gl_PrimitiveIDIn gl_ProjectionMatrix gl_ProjectionMatrixInverse gl_ProjectionMatrixInverseTranspose gl_ProjectionMatrixTranspose gl_SampleID gl_SampleMask gl_SampleMaskIn gl_SamplePosition gl_SecondaryColor gl_TessCoord gl_TessLevelInner gl_TessLevelOuter gl_TexCoord gl_TextureEnvColor gl_TextureMatrixInverseTranspose gl_TextureMatrixTranspose gl_Vertex gl_VertexID gl_ViewportIndex gl_in gl_out EmitStreamVertex EmitVertex EndPrimitive EndStreamPrimitive abs acos acosh all any asin asinh atan atanh atomicCounter atomicCounterDecrement atomicCounterIncrement barrier bitCount bitfieldExtract bitfieldInsert bitfieldReverse ceil clamp cos cosh cross dFdx dFdy degrees determinant distance dot equal exp exp2 faceforward findLSB findMSB floatBitsToInt floatBitsToUint floor fma fract frexp ftransform fwidth greaterThan greaterThanEqual imageAtomicAdd imageAtomicAnd imageAtomicCompSwap imageAtomicExchange imageAtomicMax imageAtomicMin imageAtomicOr imageAtomicXor imageLoad imageStore imulExtended intBitsToFloat interpolateAtCentroid interpolateAtOffset interpolateAtSample inverse inversesqrt isinf isnan ldexp length lessThan lessThanEqual log log2 matrixCompMult max memoryBarrier min mix mod modf noise1 noise2 noise3 noise4 normalize not notEqual outerProduct packDouble2x32 packHalf2x16 packSnorm2x16 packSnorm4x8 packUnorm2x16 packUnorm4x8 pow radians reflect refract round roundEven shadow1D shadow1DLod shadow1DProj shadow1DProjLod shadow2D shadow2DLod shadow2DProj shadow2DProjLod sign sin sinh smoothstep sqrt step tan tanh texelFetch texelFetchOffset texture texture1D texture1DLod texture1DProj texture1DProjLod texture2D texture2DLod texture2DProj texture2DProjLod texture3D texture3DLod texture3DProj texture3DProjLod textureCube textureCubeLod textureGather textureGatherOffset textureGatherOffsets textureGrad textureGradOffset textureLod textureLodOffset textureOffset textureProj textureProjGrad textureProjGradOffset textureProjLod textureProjLodOffset textureProjOffset textureQueryLod textureSize transpose trunc uaddCarry uintBitsToFloat umulExtended unpackDouble2x32 unpackHalf2x16 unpackSnorm2x16 unpackSnorm4x8 unpackUnorm2x16 unpackUnorm4x8 usubBorrow gl_TextureMatrix gl_TextureMatrixInverse",literal:"true false"},i:'"',c:[a.CLCM,a.CBLCLM,a.CNM,{cN:"preprocessor",b:"#",e:"$"}]}}(hljs);hljs.LANGUAGES.lua=function(b){var a="\\[=*\\[";var e="\\]=*\\]";var c={b:a,e:e,c:["self"]};var d=[{cN:"comment",b:"--(?!"+a+")",e:"$"},{cN:"comment",b:"--"+a,e:e,c:[c],r:10}];return{l:b.UIR,k:{keyword:"and break do else elseif end false for if in local nil not or repeat return then true until while",built_in:"_G _VERSION assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall coroutine debug io math os package string table"},c:d.concat([{cN:"function",bWK:true,e:"\\)",k:"function",c:[{cN:"title",b:"([_a-zA-Z]\\w*\\.)*([_a-zA-Z]\\w*:)?[_a-zA-Z]\\w*"},{cN:"params",b:"\\(",eW:true,c:d}].concat(d)},b.CNM,b.ASM,b.QSM,{cN:"string",b:a,e:e,c:[c],r:10}])}}(hljs);hljs.LANGUAGES.xml=function(a){var c="[A-Za-z0-9\\._:-]+";var b={eW:true,c:[{cN:"attribute",b:c,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,c:[{cN:"pi",b:"<\\?",e:"\\?>",r:10},{cN:"doctype",b:"",r:10,c:[{b:"\\[",e:"\\]"}]},{cN:"comment",b:"",r:10},{cN:"cdata",b:"<\\!\\[CDATA\\[",e:"\\]\\]>",r:10},{cN:"tag",b:"|$)",e:">",k:{title:"style"},c:[b],starts:{e:"",rE:true,sL:"css"}},{cN:"tag",b:"|$)",e:">",k:{title:"script"},c:[b],starts:{e:"<\/script>",rE:true,sL:"javascript"}},{b:"<%",e:"%>",sL:"vbscript"},{cN:"tag",b:"",c:[{cN:"title",b:"[^ />]+"},b]}]}}(hljs);hljs.LANGUAGES.markdown=function(a){return{c:[{cN:"header",b:"^#{1,3}",e:"$"},{cN:"header",b:"^.+?\\n[=-]{2,}$"},{b:"<",e:">",sL:"xml",r:0},{cN:"bullet",b:"^([*+-]|(\\d+\\.))\\s+"},{cN:"strong",b:"[*_]{2}.+?[*_]{2}"},{cN:"emphasis",b:"\\*.+?\\*"},{cN:"emphasis",b:"_.+?_",r:0},{cN:"blockquote",b:"^>\\s+",e:"$"},{cN:"code",b:"`.+?`"},{cN:"code",b:"^ ",e:"$",r:0},{cN:"horizontal_rule",b:"^-{3,}",e:"$"},{b:"\\[.+?\\]\\(.+?\\)",rB:true,c:[{cN:"link_label",b:"\\[.+\\]"},{cN:"link_url",b:"\\(",e:"\\)",eB:true,eE:true}]}]}}(hljs);hljs.LANGUAGES.css=function(a){var b={cN:"function",b:a.IR+"\\(",e:"\\)",c:[a.NM,a.ASM,a.QSM]};return{cI:true,i:"[=/|']",c:[a.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 page"},{cN:"at_rule",b:"@",e:"[{;]",eE:true,k:"import page media charset",c:[b,a.ASM,a.QSM,a.NM]},{cN:"tag",b:a.IR,r:0},{cN:"rules",b:"{",e:"}",i:"[^\\s]",r:0,c:[a.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:[b,a.NM,a.QSM,a.ASM,a.CBLCLM,{cN:"hexcolor",b:"\\#[0-9A-F]+"},{cN:"important",b:"!important"}]}}]}]}]}}(hljs);hljs.LANGUAGES.http=function(a){return{i:"\\S",c:[{cN:"status",b:"^HTTP/[0-9\\.]+",e:"$",c:[{cN:"number",b:"\\b\\d{3}\\b"}]},{cN:"request",b:"^[A-Z]+ (.*?) HTTP/[0-9\\.]+$",rB:true,e:"$",c:[{cN:"string",b:" ",e:" ",eB:true,eE:true}]},{cN:"attribute",b:"^\\w",e:": ",eE:true,i:"\\n|\\s|=",starts:{cN:"string",e:"$"}},{b:"\\n\\n",starts:{sL:"",eW:true}}]}}(hljs);hljs.LANGUAGES.java=function(a){return{k:"false synchronized int abstract float private char boolean static null if const for true while long throw strictfp finally protected import native final return void enum else break transient new catch instanceof byte super volatile case assert short package default double public try this switch continue throws",c:[{cN:"javadoc",b:"/\\*\\*",e:"\\*/",c:[{cN:"javadoctag",b:"@[A-Za-z]+"}],r:10},a.CLCM,a.CBLCLM,a.ASM,a.QSM,{cN:"class",bWK:true,e:"{",k:"class interface",i:":",c:[{bWK:true,k:"extends implements",r:10},{cN:"title",b:a.UIR}]},a.CNM,{cN:"annotation",b:"@[A-Za-z]+"}]}}(hljs);hljs.LANGUAGES.php=function(a){var e={cN:"variable",b:"\\$+[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*"};var b=[a.inherit(a.ASM,{i:null}),a.inherit(a.QSM,{i:null}),{cN:"string",b:'b"',e:'"',c:[a.BE]},{cN:"string",b:"b'",e:"'",c:[a.BE]}];var c=[a.BNM,a.CNM];var d={cN:"title",b:a.UIR};return{cI:true,k:"and include_once list abstract global private echo interface as static endswitch array null if endwhile or const for endforeach self var while isset public protected exit foreach throw elseif include __FILE__ empty require_once do xor return implements parent clone use __CLASS__ __LINE__ else break print eval new catch __METHOD__ case exception php_user_filter default die require __FUNCTION__ enddeclare final try this switch continue endfor endif declare unset true false namespace trait goto instanceof insteadof __DIR__ __NAMESPACE__ __halt_compiler",c:[a.CLCM,a.HCM,{cN:"comment",b:"/\\*",e:"\\*/",c:[{cN:"phpdoc",b:"\\s@[A-Za-z]+"}]},{cN:"comment",eB:true,b:"__halt_compiler.+?;",eW:true},{cN:"string",b:"<<<['\"]?\\w+['\"]?$",e:"^\\w+;",c:[a.BE]},{cN:"preprocessor",b:"<\\?php",r:10},{cN:"preprocessor",b:"\\?>"},e,{cN:"function",bWK:true,e:"{",k:"function",i:"\\$|\\[|%",c:[d,{cN:"params",b:"\\(",e:"\\)",c:["self",e,a.CBLCLM].concat(b).concat(c)}]},{cN:"class",bWK:true,e:"{",k:"class",i:"[:\\(\\$]",c:[{bWK:true,eW:true,k:"extends",c:[d]},d]},{b:"=>"}].concat(b).concat(c)}}(hljs);hljs.LANGUAGES.python=function(a){var f={cN:"prompt",b:"^(>>>|\\.\\.\\.) "};var c=[{cN:"string",b:"(u|b)?r?'''",e:"'''",c:[f],r:10},{cN:"string",b:'(u|b)?r?"""',e:'"""',c:[f],r:10},{cN:"string",b:"(u|r|ur)'",e:"'",c:[a.BE],r:10},{cN:"string",b:'(u|r|ur)"',e:'"',c:[a.BE],r:10},{cN:"string",b:"(b|br)'",e:"'",c:[a.BE]},{cN:"string",b:'(b|br)"',e:'"',c:[a.BE]}].concat([a.ASM,a.QSM]);var e={cN:"title",b:a.UIR};var d={cN:"params",b:"\\(",e:"\\)",c:["self",a.CNM,f].concat(c)};var b={bWK:true,e:":",i:"[${=;\\n]",c:[e,d],r:10};return{k:{keyword:"and elif is global as in if from raise for except finally print import pass return exec else break not with class assert yield try while continue del or def lambda nonlocal|10",built_in:"None True False Ellipsis NotImplemented"},i:"(|\\?)",c:c.concat([f,a.HCM,a.inherit(b,{cN:"function",k:"def"}),a.inherit(b,{cN:"class",k:"class"}),a.CNM,{cN:"decorator",b:"@",e:"$"},{b:"\\b(print|exec)\\("}])}}(hljs);hljs.LANGUAGES.actionscript=function(a){var d="[a-zA-Z_$][a-zA-Z0-9_$]*";var c="([*]|[a-zA-Z_$][a-zA-Z0-9_$]*)";var e={cN:"rest_arg",b:"[.]{3}",e:d,r:10};var b={cN:"title",b:d};return{k:{keyword:"as break case catch class const continue default delete do dynamic each else extends final finally for function get if implements import in include instanceof interface internal is namespace native new override package private protected public return set static super switch this throw try typeof use var void while with",literal:"true false null undefined"},c:[a.ASM,a.QSM,a.CLCM,a.CBLCLM,a.CNM,{cN:"package",bWK:true,e:"{",k:"package",c:[b]},{cN:"class",bWK:true,e:"{",k:"class interface",c:[{bWK:true,k:"extends implements"},b]},{cN:"preprocessor",bWK:true,e:";",k:"import include"},{cN:"function",bWK:true,e:"[{;]",k:"function",i:"\\S",c:[b,{cN:"params",b:"\\(",e:"\\)",c:[a.ASM,a.QSM,a.CLCM,a.CBLCLM,e]},{cN:"type",b:":",e:c,r:10}]}]}}(hljs);hljs.LANGUAGES.sql=function(a){return{cI:true,c:[{cN:"operator",b:"(begin|start|commit|rollback|savepoint|lock|alter|create|drop|rename|call|delete|do|handler|insert|load|replace|select|truncate|update|set|show|pragma|grant)\\b(?!:)",e:";",eW:true,k:{keyword:"all partial global month current_timestamp using go revoke smallint indicator end-exec disconnect zone with character assertion to add current_user usage input local alter match collate real then rollback get read timestamp session_user not integer bit unique day minute desc insert execute like ilike|2 level decimal drop continue isolation found where constraints domain right national some module transaction relative second connect escape close system_user for deferred section cast current sqlstate allocate intersect deallocate numeric public preserve full goto initially asc no key output collation group by union session both last language constraint column of space foreign deferrable prior connection unknown action commit view or first into float year primary cascaded except restrict set references names table outer open select size are rows from prepare distinct leading create only next inner authorization schema corresponding option declare precision immediate else timezone_minute external varying translation true case exception join hour default double scroll value cursor descriptor values dec fetch procedure delete and false int is describe char as at in varchar null trailing any absolute current_time end grant privileges when cross check write current_date pad begin temporary exec time update catalog user sql date on identity timezone_hour natural whenever interval work order cascade diagnostics nchar having left call do handler load replace truncate start lock show pragma exists number",aggregate:"count sum min max avg"},c:[{cN:"string",b:"'",e:"'",c:[a.BE,{b:"''"}],r:0},{cN:"string",b:'"',e:'"',c:[a.BE,{b:'""'}],r:0},{cN:"string",b:"`",e:"`",c:[a.BE]},a.CNM]},a.CBLCLM,{cN:"comment",b:"--",e:"$"}]}}(hljs);hljs.LANGUAGES.ini=function(a){return{cI:true,i:"[^\\s]",c:[{cN:"comment",b:";",e:"$"},{cN:"title",b:"^\\[",e:"\\]"},{cN:"setting",b:"^[a-z0-9\\[\\]_-]+[ \\t]*=[ \\t]*",e:"$",c:[{cN:"value",eW:true,k:"on off true false yes no",c:[a.QSM,a.NM]}]}]}}(hljs);hljs.LANGUAGES.perl=function(e){var a="getpwent getservent quotemeta msgrcv scalar kill dbmclose undef lc ma syswrite tr send umask sysopen shmwrite vec qx utime local oct semctl localtime readpipe do return format read sprintf dbmopen pop getpgrp not getpwnam rewinddir qqfileno qw endprotoent wait sethostent bless s|0 opendir continue each sleep endgrent shutdown dump chomp connect getsockname die socketpair close flock exists index shmgetsub for endpwent redo lstat msgctl setpgrp abs exit select print ref gethostbyaddr unshift fcntl syscall goto getnetbyaddr join gmtime symlink semget splice x|0 getpeername recv log setsockopt cos last reverse gethostbyname getgrnam study formline endhostent times chop length gethostent getnetent pack getprotoent getservbyname rand mkdir pos chmod y|0 substr endnetent printf next open msgsnd readdir use unlink getsockopt getpriority rindex wantarray hex system getservbyport endservent int chr untie rmdir prototype tell listen fork shmread ucfirst setprotoent else sysseek link getgrgid shmctl waitpid unpack getnetbyname reset chdir grep split require caller lcfirst until warn while values shift telldir getpwuid my getprotobynumber delete and sort uc defined srand accept package seekdir getprotobyname semop our rename seek if q|0 chroot sysread setpwent no crypt getc chown sqrt write setnetent setpriority foreach tie sin msgget map stat getlogin unless elsif truncate exec keys glob tied closedirioctl socket readlink eval xor readline binmode setservent eof ord bind alarm pipe atan2 getgrent exp time push setgrent gt lt or ne m|0 break given say state when";var d={cN:"subst",b:"[$@]\\{",e:"\\}",k:a,r:10};var b={cN:"variable",b:"\\$\\d"};var i={cN:"variable",b:"[\\$\\%\\@\\*](\\^\\w\\b|#\\w+(\\:\\:\\w+)*|[^\\s\\w{]|{\\w+}|\\w+(\\:\\:\\w*)*)"};var f=[e.BE,d,b,i];var h={b:"->",c:[{b:e.IR},{b:"{",e:"}"}]};var g={cN:"comment",b:"^(__END__|__DATA__)",e:"\\n$",r:5};var c=[b,i,e.HCM,g,{cN:"comment",b:"^\\=\\w",e:"\\=cut",eW:true},h,{cN:"string",b:"q[qwxr]?\\s*\\(",e:"\\)",c:f,r:5},{cN:"string",b:"q[qwxr]?\\s*\\[",e:"\\]",c:f,r:5},{cN:"string",b:"q[qwxr]?\\s*\\{",e:"\\}",c:f,r:5},{cN:"string",b:"q[qwxr]?\\s*\\|",e:"\\|",c:f,r:5},{cN:"string",b:"q[qwxr]?\\s*\\<",e:"\\>",c:f,r:5},{cN:"string",b:"qw\\s+q",e:"q",c:f,r:5},{cN:"string",b:"'",e:"'",c:[e.BE],r:0},{cN:"string",b:'"',e:'"',c:f,r:0},{cN:"string",b:"`",e:"`",c:[e.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},{b:"("+e.RSR+"|\\b(split|return|print|reverse|grep)\\b)\\s*",k:"split return print reverse grep",r:0,c:[e.HCM,g,{cN:"regexp",b:"(s|tr|y)/(\\\\.|[^/])*/(\\\\.|[^/])*/[a-z]*",r:10},{cN:"regexp",b:"(m|qr)?/",e:"/[a-z]*",c:[e.BE],r:0}]},{cN:"sub",bWK:true,e:"(\\s*\\(.*?\\))?[;{]",k:"sub",r:5},{cN:"operator",b:"-\\w\\b",r:0}];d.c=c;h.c[1].c=c;return{k:a,c:c}}(hljs);hljs.LANGUAGES.scala=function(a){var c={cN:"annotation",b:"@[A-Za-z]+"};var b={cN:"string",b:'u?r?"""',e:'"""',r:10};return{k:"type yield lazy override def with val var false true sealed abstract private trait object null if for while throw finally protected extends import final return else break new catch super class case package default try this match continue throws",c:[{cN:"javadoc",b:"/\\*\\*",e:"\\*/",c:[{cN:"javadoctag",b:"@[A-Za-z]+"}],r:10},a.CLCM,a.CBLCLM,a.ASM,a.QSM,b,{cN:"class",b:"((case )?class |object |trait )",e:"({|$)",i:":",k:"case class trait object",c:[{bWK:true,k:"extends with",r:10},{cN:"title",b:a.UIR},{cN:"params",b:"\\(",e:"\\)",c:[a.ASM,a.QSM,b,c]}]},a.CNM,c]}}(hljs);hljs.LANGUAGES.objectivec=function(a){var b={keyword:"int float while private char catch export sizeof typedef const struct for union unsigned long volatile static protected bool mutable if public do return goto void enum else break extern class asm case short default double throw register explicit signed typename try this switch continue wchar_t inline readonly assign property protocol self synchronized end synthesize id optional required implementation nonatomic interface super unichar finally dynamic IBOutlet IBAction selector strong weak readonly",literal:"false true FALSE TRUE nil YES NO NULL",built_in:"NSString NSDictionary CGRect CGPoint UIButton UILabel UITextView UIWebView MKMapView UISegmentedControl NSObject UITableViewDelegate UITableViewDataSource NSThread UIActivityIndicator UITabbar UIToolBar UIBarButtonItem UIImageView NSAutoreleasePool UITableView BOOL NSInteger CGFloat NSException NSLog NSMutableString NSMutableArray NSMutableDictionary NSURL NSIndexPath CGSize UITableViewCell UIView UIViewController UINavigationBar UINavigationController UITabBarController UIPopoverController UIPopoverControllerDelegate UIImage NSNumber UISearchBar NSFetchedResultsController NSFetchedResultsChangeType UIScrollView UIScrollViewDelegate UIEdgeInsets UIColor UIFont UIApplication NSNotFound NSNotificationCenter NSNotification UILocalNotification NSBundle NSFileManager NSTimeInterval NSDate NSCalendar NSUserDefaults UIWindow NSRange NSArray NSError NSURLRequest NSURLConnection class UIInterfaceOrientation MPMoviePlayerController dispatch_once_t dispatch_queue_t dispatch_sync dispatch_async dispatch_once"};return{k:b,i:""}]},{cN:"preprocessor",b:"#",e:"$"},{cN:"class",bWK:true,e:"({|$)",k:"interface class protocol implementation",c:[{cN:"id",b:a.UIR}]},{cN:"variable",b:"\\."+a.UIR}]}}(hljs);hljs.LANGUAGES.coffeescript=function(c){var b={keyword:"in if for while finally new do return else break catch instanceof throw try this switch continue typeof delete debugger super then unless until loop of by when and or is isnt not",literal:"true false null undefined yes no on off ",reserved:"case default function var void with const let enum export import native __hasProp __extends __slice __bind __indexOf"};var a="[A-Za-z$_][0-9A-Za-z$_]*";var e={cN:"title",b:a};var d={cN:"subst",b:"#\\{",e:"}",k:b,c:[c.BNM,c.CNM]};return{k:b,c:[c.BNM,c.CNM,c.ASM,{cN:"string",b:'"""',e:'"""',c:[c.BE,d]},{cN:"string",b:'"',e:'"',c:[c.BE,d],r:0},{cN:"comment",b:"###",e:"###"},c.HCM,{cN:"regexp",b:"///",e:"///",c:[c.HCM]},{cN:"regexp",b:"//[gim]*"},{cN:"regexp",b:"/\\S(\\\\.|[^\\n])*/[gim]*"},{b:"`",e:"`",eB:true,eE:true,sL:"javascript"},{cN:"function",b:a+"\\s*=\\s*(\\(.+\\))?\\s*[-=]>",rB:true,c:[e,{cN:"params",b:"\\(",e:"\\)"}]},{cN:"class",bWK:true,k:"class",e:"$",i:":",c:[{bWK:true,k:"extends",eW:true,i:":",c:[e]},e]},{cN:"property",b:"@"+a}]}}(hljs);hljs.LANGUAGES.json=function(a){var e={literal:"true false null"};var d=[a.QSM,a.CNM];var c={cN:"value",e:",",eW:true,eE:true,c:d,k:e};var b={b:"{",e:"}",c:[{cN:"attribute",b:'\\s*"',e:'"\\s*:\\s*',eB:true,eE:true,c:[a.BE],i:"\\n",starts:c}],i:"\\S"};var f={b:"\\[",e:"\\]",c:[a.inherit(c,{cN:null})],i:"\\S"};d.splice(d.length,0,b,f);return{c:d,k:e,i:"\\S"}}(hljs);hljs.LANGUAGES.cpp=function(a){var b={keyword:"false int float while private char catch export virtual operator sizeof dynamic_cast|10 typedef const_cast|10 const struct for static_cast|10 union namespace unsigned long throw volatile static protected bool template mutable if public friend do return goto auto void enum else break new extern using true class asm case typeid short reinterpret_cast|10 default double register explicit signed typename try this switch continue wchar_t inline delete alignof char16_t char32_t constexpr decltype noexcept nullptr static_assert thread_local restrict _Bool complex",built_in:"std string cin cout cerr clog stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap array shared_ptr"};return{k:b,i:"",k:b,r:10,c:["self"]}]}}(hljs);hljs.LANGUAGES.clojure=function(l){var e={built_in:"def cond apply if-not if-let if not not= = < < > <= <= >= == + / * - rem quot neg? pos? delay? symbol? keyword? true? false? integer? empty? coll? list? set? ifn? fn? associative? sequential? sorted? counted? reversible? number? decimal? class? distinct? isa? float? rational? reduced? ratio? odd? even? char? seq? vector? string? map? nil? contains? zero? instance? not-every? not-any? libspec? -> ->> .. . inc compare do dotimes mapcat take remove take-while drop letfn drop-last take-last drop-while while intern condp case reduced cycle split-at split-with repeat replicate iterate range merge zipmap declare line-seq sort comparator sort-by dorun doall nthnext nthrest partition eval doseq await await-for let agent atom send send-off release-pending-sends add-watch mapv filterv remove-watch agent-error restart-agent set-error-handler error-handler set-error-mode! error-mode shutdown-agents quote var fn loop recur throw try monitor-enter monitor-exit defmacro defn defn- macroexpand macroexpand-1 for doseq dosync dotimes and or when when-not when-let comp juxt partial sequence memoize constantly complement identity assert peek pop doto proxy defstruct first rest cons defprotocol cast coll deftype defrecord last butlast sigs reify second ffirst fnext nfirst nnext defmulti defmethod meta with-meta ns in-ns create-ns import intern refer keys select-keys vals key val rseq name namespace promise into transient persistent! conj! assoc! dissoc! pop! disj! import use class type num float double short byte boolean bigint biginteger bigdec print-method print-dup throw-if throw printf format load compile get-in update-in pr pr-on newline flush read slurp read-line subvec with-open memfn time ns assert re-find re-groups rand-int rand mod locking assert-valid-fdecl alias namespace resolve ref deref refset swap! reset! set-validator! compare-and-set! alter-meta! reset-meta! commute get-validator alter ref-set ref-history-count ref-min-history ref-max-history ensure sync io! new next conj set! memfn to-array future future-call into-array aset gen-class reduce merge map filter find empty hash-map hash-set sorted-map sorted-map-by sorted-set sorted-set-by vec vector seq flatten reverse assoc dissoc list disj get union difference intersection extend extend-type extend-protocol int nth delay count concat chunk chunk-buffer chunk-append chunk-first chunk-rest max min dec unchecked-inc-int unchecked-inc unchecked-dec-inc unchecked-dec unchecked-negate unchecked-add-int unchecked-add unchecked-subtract-int unchecked-subtract chunk-next chunk-cons chunked-seq? prn vary-meta lazy-seq spread list* str find-keyword keyword symbol gensym force rationalize"};var f="[a-zA-Z_0-9\\!\\.\\?\\-\\+\\*\\/\\<\\=\\>\\&\\#\\$';]+";var a="[\\s:\\(\\{]+\\d+(\\.\\d+)?";var d={cN:"number",b:a,r:0};var j={cN:"string",b:'"',e:'"',c:[l.BE],r:0};var o={cN:"comment",b:";",e:"$",r:0};var n={cN:"collection",b:"[\\[\\{]",e:"[\\]\\}]"};var c={cN:"comment",b:"\\^"+f};var b={cN:"comment",b:"\\^\\{",e:"\\}"};var h={cN:"attribute",b:"[:]"+f};var m={cN:"list",b:"\\(",e:"\\)",r:0};var g={eW:true,eE:true,k:{literal:"true false nil"},r:0};var i={k:e,l:f,cN:"title",b:f,starts:g};m.c=[{cN:"comment",b:"comment"},i];g.c=[m,j,c,b,o,h,n,d];n.c=[m,j,c,o,h,n,d];return{i:"\\S",c:[o,m]}}(hljs);hljs.LANGUAGES.go=function(a){var b={keyword:"break default func interface select case map struct chan else goto package switch const fallthrough if range type continue for import return var go defer",constant:"true false iota nil",typename:"bool byte complex64 complex128 float32 float64 int8 int16 int32 int64 string uint8 uint16 uint32 uint64 int uint uintptr rune",built_in:"append cap close complex copy imag len make new panic print println real recover delete"};return{k:b,i:" - - - - - - reveal.js - Markdown Demo - - - - - - - -
- -
- - -
- - -
- -
- - -
- -
- - -
- -
- -
-
- - - - - - - - diff --git a/sources/preview_export/reveal/plugin/markdown/example.md b/sources/preview_export/reveal/plugin/markdown/example.md deleted file mode 100644 index e988dd9..0000000 --- a/sources/preview_export/reveal/plugin/markdown/example.md +++ /dev/null @@ -1,29 +0,0 @@ -# Markdown Demo - - - -## External 1.1 - -Content 1.1 - - -## External 1.2 - -Content 1.2 - - - -## External 2 - -Content 2.1 - - - -## External 3.1 - -Content 3.1 - - -## External 3.2 - -Content 3.2 diff --git a/sources/preview_export/reveal/plugin/markdown/markdown.js b/sources/preview_export/reveal/plugin/markdown/markdown.js deleted file mode 100644 index 473666b..0000000 --- a/sources/preview_export/reveal/plugin/markdown/markdown.js +++ /dev/null @@ -1,190 +0,0 @@ -// From https://gist.github.com/1343518 -// Modified by Hakim to handle Markdown indented with tabs -(function(){ - - if( typeof marked === 'undefined' ) { - throw 'The reveal.js Markdown plugin requires marked to be loaded'; - } - - var stripLeadingWhitespace = function(section) { - - var template = section.querySelector( 'script' ); - - // strip leading whitespace so it isn't evaluated as code - var text = ( template || section ).textContent; - - 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' ); - } - - return text; - - }; - - var twrap = function(el) { - return ''; - }; - - var getForwardedAttributes = function(section) { - var attributes = section.attributes; - var result = []; - - for( var i = 0, len = attributes.length; i < len; i++ ) { - var name = attributes[i].name, - value = attributes[i].value; - - // disregard attributes that are used for markdown loading/parsing - if( /data\-(markdown|separator|vertical)/gi.test( name ) ) continue; - - if( value ) { - result.push( name + '=' + value ); - } - else { - result.push( name ); - } - } - - return result.join( ' ' ); - } - - var slidifyMarkdown = function(markdown, separator, vertical, attributes) { - - separator = separator || '^\n---\n$'; - - var reSeparator = new RegExp(separator + (vertical ? '|' + vertical : ''), 'mg'), - reHorSeparator = new RegExp(separator), - matches, - lastIndex = 0, - isHorizontal, - wasHorizontal = true, - content, - sectionStack = [], - markdownSections = ''; - - // iterate until all blocks between separators are stacked up - while( matches = reSeparator.exec(markdown) ) { - - // determine direction (horizontal by default) - isHorizontal = reHorSeparator.test(matches[0]); - - if( !isHorizontal && wasHorizontal ) { - // create vertical stack - sectionStack.push([]); - } - - // pluck slide content from markdown input - content = markdown.substring(lastIndex, matches.index); - - if( isHorizontal && wasHorizontal ) { - // add to horizontal stack - sectionStack.push(content); - } else { - // add to vertical stack - sectionStack[sectionStack.length-1].push(content); - } - - lastIndex = reSeparator.lastIndex; - wasHorizontal = isHorizontal; - - } - - // add the remaining slide - (wasHorizontal ? sectionStack : sectionStack[sectionStack.length-1]).push(markdown.substring(lastIndex)); - - // flatten the hierarchical stack, and insert
tags - for( var k = 0, klen = sectionStack.length; k < klen; k++ ) { - // horizontal - if( typeof sectionStack[k] === 'string' ) { - markdownSections += '
' + twrap( sectionStack[k] ) + '
'; - } - // vertical - else { - markdownSections += '
' + - '
' + sectionStack[k].map(twrap).join('
') + '
' + - '
'; - } - } - - return markdownSections; - }; - - var querySlidingMarkdown = function() { - - var sections = document.querySelectorAll( '[data-markdown]'), - section; - - for( var j = 0, jlen = sections.length; j < jlen; j++ ) { - - section = sections[j]; - - if( section.getAttribute('data-markdown').length ) { - - var xhr = new XMLHttpRequest(), - url = section.getAttribute('data-markdown'); - - xhr.onreadystatechange = function () { - if( xhr.readyState === 4 ) { - if (xhr.status >= 200 && xhr.status < 300) { - section.outerHTML = slidifyMarkdown( xhr.responseText, section.getAttribute('data-separator'), section.getAttribute('data-vertical'), getForwardedAttributes(section) ); - } else { - section.outerHTML = '
ERROR: The attempt to fetch ' + url + ' failed with the HTTP status ' + xhr.status + - '. Check your browser\'s JavaScript console for more details.' + - '

Remember that you need to serve the presentation HTML from a HTTP server and the Markdown file must be there too.

'; - } - } - }; - - xhr.open('GET', url, false); - try { - xhr.send(); - } catch (e) { - alert('Failed to get the Markdown file ' + url + '. Make sure that the presentation and the file are served by a HTTP server and the file can be found there. ' + e); - } - - } else if( section.getAttribute('data-separator') ) { - - var markdown = stripLeadingWhitespace(section); - section.outerHTML = slidifyMarkdown( markdown, section.getAttribute('data-separator'), section.getAttribute('data-vertical'), getForwardedAttributes(section) ); - - } - } - - }; - - var queryMarkdownSlides = function() { - - var sections = document.querySelectorAll( '[data-markdown]'); - - for( var j = 0, jlen = sections.length; j < jlen; j++ ) { - - makeHtml(sections[j]); - - } - - }; - - var makeHtml = function(section) { - - var notes = section.querySelector( 'aside.notes' ); - - var markdown = stripLeadingWhitespace(section); - - section.innerHTML = marked(markdown); - - if( notes ) { - section.appendChild( notes ); - } - - }; - - querySlidingMarkdown(); - - queryMarkdownSlides(); - -})(); diff --git a/sources/preview_export/reveal/plugin/markdown/marked.js b/sources/preview_export/reveal/plugin/markdown/marked.js deleted file mode 100644 index ca558fb..0000000 --- a/sources/preview_export/reveal/plugin/markdown/marked.js +++ /dev/null @@ -1,37 +0,0 @@ -/** - * marked - a markdown parser - * Copyright (c) 2011-2013, Christopher Jeffrey. (MIT Licensed) - * https://github.com/chjj/marked - */ - -(function(){var block={newline:/^\n+/,code:/^( {4}[^\n]+\n*)+/,fences:noop,hr:/^( *[-*_]){3,} *(?:\n+|$)/,heading:/^ *(#{1,6}) *([^\n]+?) *#* *(?:\n+|$)/,nptable:noop,lheading:/^([^\n]+)\n *(=|-){3,} *\n*/,blockquote:/^( *>[^\n]+(\n[^\n]+)*\n*)+/,list:/^( *)(bull) [\s\S]+?(?:hr|\n{2,}(?! )(?!\1bull )\n*|\s*$)/,html:/^ *(?:comment|closed|closing) *(?:\n{2,}|\s*$)/,def:/^ *\[([^\]]+)\]: *]+)>?(?: +["(]([^\n]+)[")])? *(?:\n+|$)/,table:noop,paragraph:/^((?:[^\n]+\n?(?!hr|heading|lheading|blockquote|tag|def))+)\n*/, -text:/^[^\n]+/};block.bullet=/(?:[*+-]|\d+\.)/;block.item=/^( *)(bull) [^\n]*(?:\n(?!\1bull )[^\n]*)*/;block.item=replace(block.item,"gm")(/bull/g,block.bullet)();block.list=replace(block.list)(/bull/g,block.bullet)("hr",/\n+(?=(?: *[-*_]){3,} *(?:\n+|$))/)();block._tag="(?!(?:"+"a|em|strong|small|s|cite|q|dfn|abbr|data|time|code"+"|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo"+"|span|br|wbr|ins|del|img)\\b)\\w+(?!:/|@)\\b";block.html=replace(block.html)("comment",/\x3c!--[\s\S]*?--\x3e/)("closed", -/<(tag)[\s\S]+?<\/\1>/)("closing",/])*?>/)(/tag/g,block._tag)();block.paragraph=replace(block.paragraph)("hr",block.hr)("heading",block.heading)("lheading",block.lheading)("blockquote",block.blockquote)("tag","<"+block._tag)("def",block.def)();block.normal=merge({},block);block.gfm=merge({},block.normal,{fences:/^ *(`{3,}|~{3,}) *(\S+)? *\n([\s\S]+?)\s*\1 *(?:\n+|$)/,paragraph:/^/});block.gfm.paragraph=replace(block.paragraph)("(?!","(?!"+block.gfm.fences.source.replace("\\1", -"\\2")+"|")();block.tables=merge({},block.gfm,{nptable:/^ *(\S.*\|.*)\n *([-:]+ *\|[-| :]*)\n((?:.*\|.*(?:\n|$))*)\n*/,table:/^ *\|(.+)\n *\|( *[-:]+[-| :]*)\n((?: *\|.*(?:\n|$))*)\n*/});function Lexer(options){this.tokens=[];this.tokens.links={};this.options=options||marked.defaults;this.rules=block.normal;if(this.options.gfm)if(this.options.tables)this.rules=block.tables;else this.rules=block.gfm}Lexer.rules=block;Lexer.lex=function(src,options){var lexer=new Lexer(options);return lexer.lex(src)}; -Lexer.prototype.lex=function(src){src=src.replace(/\r\n|\r/g,"\n").replace(/\t/g," ").replace(/\u00a0/g," ").replace(/\u2424/g,"\n");return this.token(src,true)};Lexer.prototype.token=function(src,top){var src=src.replace(/^ +$/gm,""),next,loose,cap,bull,b,item,space,i,l;while(src){if(cap=this.rules.newline.exec(src)){src=src.substring(cap[0].length);if(cap[0].length>1)this.tokens.push({type:"space"})}if(cap=this.rules.code.exec(src)){src=src.substring(cap[0].length);cap=cap[0].replace(/^ {4}/gm, -"");this.tokens.push({type:"code",text:!this.options.pedantic?cap.replace(/\n+$/,""):cap});continue}if(cap=this.rules.fences.exec(src)){src=src.substring(cap[0].length);this.tokens.push({type:"code",lang:cap[2],text:cap[3]});continue}if(cap=this.rules.heading.exec(src)){src=src.substring(cap[0].length);this.tokens.push({type:"heading",depth:cap[1].length,text:cap[2]});continue}if(top&&(cap=this.rules.nptable.exec(src))){src=src.substring(cap[0].length);item={type:"table",header:cap[1].replace(/^ *| *\| *$/g, -"").split(/ *\| */),align:cap[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:cap[3].replace(/\n$/,"").split("\n")};for(i=0;i ?/gm,"");this.token(cap,top);this.tokens.push({type:"blockquote_end"});continue}if(cap=this.rules.list.exec(src)){src=src.substring(cap[0].length); -bull=cap[2];this.tokens.push({type:"list_start",ordered:bull.length>1});cap=cap[0].match(this.rules.item);next=false;l=cap.length;i=0;for(;i1&&b.length>1)){src=cap.slice(i+ -1).join("\n")+src;i=l-1}}loose=next||/\n\n(?!\s*$)/.test(item);if(i!==l-1){next=item[item.length-1]==="\n";if(!loose)loose=next}this.tokens.push({type:loose?"loose_item_start":"list_item_start"});this.token(item,false);this.tokens.push({type:"list_item_end"})}this.tokens.push({type:"list_end"});continue}if(cap=this.rules.html.exec(src)){src=src.substring(cap[0].length);this.tokens.push({type:this.options.sanitize?"paragraph":"html",pre:cap[1]==="pre"||cap[1]==="script",text:cap[0]});continue}if(top&& -(cap=this.rules.def.exec(src))){src=src.substring(cap[0].length);this.tokens.links[cap[1].toLowerCase()]={href:cap[2],title:cap[3]};continue}if(top&&(cap=this.rules.table.exec(src))){src=src.substring(cap[0].length);item={type:"table",header:cap[1].replace(/^ *| *\| *$/g,"").split(/ *\| */),align:cap[2].replace(/^ *|\| *$/g,"").split(/ *\| */),cells:cap[3].replace(/(?: *\| *)?\n$/,"").split("\n")};for(i=0;i])/,autolink:/^<([^ >]+(@|:\/)[^ >]+)>/,url:noop,tag:/^\x3c!--[\s\S]*?--\x3e|^<\/?\w+(?:"[^"]*"|'[^']*'|[^'">])*?>/,link:/^!?\[(inside)\]\(href\)/,reflink:/^!?\[(inside)\]\s*\[([^\]]*)\]/,nolink:/^!?\[((?:\[[^\]]*\]|[^\[\]])*)\]/,strong:/^__([\s\S]+?)__(?!_)|^\*\*([\s\S]+?)\*\*(?!\*)/,em:/^\b_((?:__|[\s\S])+?)_\b|^\*((?:\*\*|[\s\S])+?)\*(?!\*)/, -code:/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,br:/^ {2,}\n(?!\s*$)/,del:noop,text:/^[\s\S]+?(?=[\\?(?:\s+['"]([\s\S]*?)['"])?\s*/;inline.link=replace(inline.link)("inside",inline._inside)("href",inline._href)();inline.reflink=replace(inline.reflink)("inside",inline._inside)();inline.normal=merge({},inline);inline.pedantic=merge({},inline.normal,{strong:/^__(?=\S)([\s\S]*?\S)__(?!_)|^\*\*(?=\S)([\s\S]*?\S)\*\*(?!\*)/, -em:/^_(?=\S)([\s\S]*?\S)_(?!_)|^\*(?=\S)([\s\S]*?\S)\*(?!\*)/});inline.gfm=merge({},inline.normal,{escape:replace(inline.escape)("])","~|])")(),url:/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,del:/^~~(?=\S)([\s\S]*?\S)~~/,text:replace(inline.text)("]|","~]|")("|","|https?://|")()});inline.breaks=merge({},inline.gfm,{br:replace(inline.br)("{2,}","*")(),text:replace(inline.gfm.text)("{2,}","*")()});function InlineLexer(links,options){this.options=options||marked.defaults;this.links=links;this.rules=inline.normal; -if(!this.links)throw new Error("Tokens array requires a `links` property.");if(this.options.gfm)if(this.options.breaks)this.rules=inline.breaks;else this.rules=inline.gfm;else if(this.options.pedantic)this.rules=inline.pedantic}InlineLexer.rules=inline;InlineLexer.output=function(src,links,options){var inline=new InlineLexer(links,options);return inline.output(src)};InlineLexer.prototype.output=function(src){var out="",link,text,href,cap;while(src){if(cap=this.rules.escape.exec(src)){src=src.substring(cap[0].length); -out+=cap[1];continue}if(cap=this.rules.autolink.exec(src)){src=src.substring(cap[0].length);if(cap[2]==="@"){text=cap[1][6]===":"?this.mangle(cap[1].substring(7)):this.mangle(cap[1]);href=this.mangle("mailto:")+text}else{text=escape(cap[1]);href=text}out+=''+text+"";continue}if(cap=this.rules.url.exec(src)){src=src.substring(cap[0].length);text=escape(cap[1]);href=text;out+=''+text+"";continue}if(cap=this.rules.tag.exec(src)){src=src.substring(cap[0].length); -out+=this.options.sanitize?escape(cap[0]):cap[0];continue}if(cap=this.rules.link.exec(src)){src=src.substring(cap[0].length);out+=this.outputLink(cap,{href:cap[2],title:cap[3]});continue}if((cap=this.rules.reflink.exec(src))||(cap=this.rules.nolink.exec(src))){src=src.substring(cap[0].length);link=(cap[2]||cap[1]).replace(/\s+/g," ");link=this.links[link.toLowerCase()];if(!link||!link.href){out+=cap[0][0];src=cap[0].substring(1)+src;continue}out+=this.outputLink(cap,link);continue}if(cap=this.rules.strong.exec(src)){src= -src.substring(cap[0].length);out+=""+this.output(cap[2]||cap[1])+"";continue}if(cap=this.rules.em.exec(src)){src=src.substring(cap[0].length);out+=""+this.output(cap[2]||cap[1])+"";continue}if(cap=this.rules.code.exec(src)){src=src.substring(cap[0].length);out+=""+escape(cap[2],true)+"";continue}if(cap=this.rules.br.exec(src)){src=src.substring(cap[0].length);out+="
";continue}if(cap=this.rules.del.exec(src)){src=src.substring(cap[0].length);out+=""+ -this.output(cap[1])+"";continue}if(cap=this.rules.text.exec(src)){src=src.substring(cap[0].length);out+=escape(cap[0]);continue}if(src)throw new Error("Infinite loop on byte: "+src.charCodeAt(0));}return out};InlineLexer.prototype.outputLink=function(cap,link){if(cap[0][0]!=="!")return'"+this.output(cap[1])+"";else return''+escape(cap[1])+'"};InlineLexer.prototype.smartypants=function(text){if(!this.options.smartypants)return text;return text.replace(/--/g,"\u2014").replace(/'([^']*)'/g,"\u2018$1\u2019").replace(/"([^"]*)"/g,"\u201c$1\u201d").replace(/\.{3}/g,"\u2026")};InlineLexer.prototype.mangle=function(text){var out="",l=text.length,i=0,ch;for(;i0.5)ch="x"+ch.toString(16);out+="&#"+ch+";"}return out};function Parser(options){this.tokens=[];this.token=null; -this.options=options||marked.defaults}Parser.parse=function(src,options){var parser=new Parser(options);return parser.parse(src)};Parser.prototype.parse=function(src){this.inline=new InlineLexer(src.links,this.options);this.tokens=src.reverse();var out="";while(this.next())out+=this.tok();return out};Parser.prototype.next=function(){return this.token=this.tokens.pop()};Parser.prototype.peek=function(){return this.tokens[this.tokens.length-1]||0};Parser.prototype.parseText=function(){var body=this.token.text; -while(this.peek().type==="text")body+="\n"+this.next().text;return this.inline.output(body)};Parser.prototype.tok=function(){switch(this.token.type){case "space":return"";case "hr":return"
\n";case "heading":return""+this.inline.output(this.token.text)+"\n";case "code":if(this.options.highlight){var code=this.options.highlight(this.token.text,this.token.lang);if(code!=null&&code!==this.token.text){this.token.escaped=true;this.token.text=code}}if(!this.token.escaped)this.token.text= -escape(this.token.text,true);return"
"+this.token.text+"
\n";case "table":var body="",heading,i,row,cell,j;body+="\n\n";for(i=0;i'+heading+"\n":""+heading+"\n"}body+="\n\n";body+="\n";for(i=0;i'+cell+"\n":""+cell+"\n"}body+="\n"}body+="\n";return"\n"+body+"
\n";case "blockquote_start":var body="";while(this.next().type!=="blockquote_end")body+=this.tok();return"
\n"+body+"
\n";case "list_start":var type=this.token.ordered?"ol":"ul",body="";while(this.next().type!=="list_end")body+= -this.tok();return"<"+type+">\n"+body+"\n";case "list_item_start":var body="";while(this.next().type!=="list_item_end")body+=this.token.type==="text"?this.parseText():this.tok();return"
  • "+body+"
  • \n";case "loose_item_start":var body="";while(this.next().type!=="list_item_end")body+=this.tok();return"
  • "+body+"
  • \n";case "html":return!this.token.pre&&!this.options.pedantic?this.inline.output(this.token.text):this.token.text;case "paragraph":return"

    "+this.inline.output(this.token.text)+ -"

    \n";case "text":return"

    "+this.parseText()+"

    \n"}};function escape(html,encode){return html.replace(!encode?/&(?!#?\w+;)/g:/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}function replace(regex,opt){regex=regex.source;opt=opt||"";return function self(name,val){if(!name)return new RegExp(regex,opt);val=val.source||val;val=val.replace(/(^|[^\[])\^/g,"$1");regex=regex.replace(name,val);return self}}function noop(){}noop.exec=noop;function merge(obj){var i= -1,target,key;for(;iAn error occured:

    "+escape(e.message+"",true)+"
    ";throw e;}}marked.options=marked.setOptions=function(opt){merge(marked.defaults,opt);return marked};marked.defaults={gfm:true,tables:true,breaks:false,pedantic:false,sanitize:false,smartLists:false,silent:false,highlight:null,langPrefix:""};marked.Parser=Parser;marked.parser=Parser.parse;marked.Lexer=Lexer;marked.lexer=Lexer.lex;marked.InlineLexer=InlineLexer;marked.inlineLexer=InlineLexer.output; -marked.parse=marked;if(typeof exports==="object")module.exports=marked;else if(typeof define==="function"&&define.amd)define(function(){return marked});else this.marked=marked}).call(function(){return this||(typeof window!=="undefined"?window:global)}()); diff --git a/sources/preview_export/reveal/plugin/multiplex/client.js b/sources/preview_export/reveal/plugin/multiplex/client.js deleted file mode 100644 index e6179f6..0000000 --- a/sources/preview_export/reveal/plugin/multiplex/client.js +++ /dev/null @@ -1,13 +0,0 @@ -(function() { - var multiplex = Reveal.getConfig().multiplex; - var socketId = multiplex.id; - var socket = io.connect(multiplex.url); - - socket.on(multiplex.id, function(data) { - // ignore data from sockets that aren't ours - if (data.socketId !== socketId) { return; } - if( window.location.host === 'localhost:1947' ) return; - - Reveal.slide(data.indexh, data.indexv, data.indexf, 'remote'); - }); -}()); diff --git a/sources/preview_export/reveal/plugin/multiplex/index.js b/sources/preview_export/reveal/plugin/multiplex/index.js deleted file mode 100644 index 35df8e3..0000000 --- a/sources/preview_export/reveal/plugin/multiplex/index.js +++ /dev/null @@ -1,55 +0,0 @@ -var express = require('express'); -var fs = require('fs'); -var io = require('socket.io'); -var crypto = require('crypto'); - -var app = express.createServer(); -var staticDir = express.static; - -io = io.listen(app); - -var opts = { - port: 1948, - baseDir : __dirname + '/../../' -}; - -io.sockets.on('connection', function(socket) { - socket.on('slidechanged', function(slideData) { - if (typeof slideData.secret == 'undefined' || slideData.secret == null || slideData.secret === '') return; - if (createHash(slideData.secret) === slideData.socketId) { - slideData.secret = null; - socket.broadcast.emit(slideData.socketId, slideData); - }; - }); -}); - -app.configure(function() { - [ 'css', 'js', '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("/token", function(req,res) { - var ts = new Date().getTime(); - var rand = Math.floor(Math.random()*9999999); - var secret = ts.toString() + rand.toString(); - res.send({secret: secret, socketId: createHash(secret)}); -}); - -var createHash = function(secret) { - var cipher = crypto.createCipher('blowfish', secret); - return(cipher.final('hex')); -}; - -// Actually listen -app.listen(opts.port || null); - -var brown = '\033[33m', - green = '\033[32m', - reset = '\033[0m'; - -console.log( brown + "reveal.js:" + reset + " Multiplex running on port " + green + opts.port + reset ); \ No newline at end of file diff --git a/sources/preview_export/reveal/plugin/multiplex/master.js b/sources/preview_export/reveal/plugin/multiplex/master.js deleted file mode 100644 index deb39cd..0000000 --- a/sources/preview_export/reveal/plugin/multiplex/master.js +++ /dev/null @@ -1,50 +0,0 @@ -(function() { - // don't emit events from inside the previews themselves - if ( window.location.search.match( /receiver/gi ) ) { return; } - var multiplex = Reveal.getConfig().multiplex; - - var socket = io.connect(multiplex.url); - - var notify = function( slideElement, indexh, indexv, origin ) { - if( typeof origin === 'undefined' && origin !== 'remote' ) { - var nextindexh; - var nextindexv; - - var fragmentindex = Reveal.getIndices().f; - if (typeof fragmentindex == 'undefined') { - fragmentindex = 0; - } - - if (slideElement.nextElementSibling && slideElement.parentNode.nodeName == 'SECTION') { - nextindexh = indexh; - nextindexv = indexv + 1; - } else { - nextindexh = indexh + 1; - nextindexv = 0; - } - - var slideData = { - indexh : indexh, - indexv : indexv, - indexf : fragmentindex, - nextindexh : nextindexh, - nextindexv : nextindexv, - secret: multiplex.secret, - socketId : multiplex.id - }; - - socket.emit('slidechanged', slideData); - } - } - - Reveal.addEventListener( 'slidechanged', function( event ) { - notify( event.currentSlide, event.indexh, event.indexv, event.origin ); - } ); - - var fragmentNotify = function( event ) { - notify( Reveal.getCurrentSlide(), Reveal.getIndices().h, Reveal.getIndices().v, event.origin ); - }; - - Reveal.addEventListener( 'fragmentshown', fragmentNotify ); - Reveal.addEventListener( 'fragmenthidden', fragmentNotify ); -}()); \ No newline at end of file diff --git a/sources/preview_export/reveal/plugin/notes-server/client.js b/sources/preview_export/reveal/plugin/notes-server/client.js deleted file mode 100644 index 156cb9a..0000000 --- a/sources/preview_export/reveal/plugin/notes-server/client.js +++ /dev/null @@ -1,57 +0,0 @@ -(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/sources/preview_export/reveal/plugin/notes-server/index.js b/sources/preview_export/reveal/plugin/notes-server/index.js deleted file mode 100644 index 8643f5d..0000000 --- a/sources/preview_export/reveal/plugin/notes-server/index.js +++ /dev/null @@ -1,58 +0,0 @@ -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/sources/preview_export/reveal/plugin/notes-server/notes.html b/sources/preview_export/reveal/plugin/notes-server/notes.html deleted file mode 100644 index 551e400..0000000 --- a/sources/preview_export/reveal/plugin/notes-server/notes.html +++ /dev/null @@ -1,139 +0,0 @@ - - - - - - reveal.js - Slide Notes - - - - - - -
    - -
    - -
    - - UPCOMING: -
    -
    - - - - - - - - diff --git a/sources/preview_export/reveal/plugin/notes/notes.html b/sources/preview_export/reveal/plugin/notes/notes.html deleted file mode 100644 index 830045d..0000000 --- a/sources/preview_export/reveal/plugin/notes/notes.html +++ /dev/null @@ -1,252 +0,0 @@ - - - - - - reveal.js - Slide Notes - - - - - - -
    - -
    - -
    - - UPCOMING: -
    - -
    -
    -

    Time

    - 0:00:00 AM -
    -
    -

    Elapsed

    - 00:00:00 -
    -
    - -
    - - - - - diff --git a/sources/preview_export/reveal/plugin/notes/notes.js b/sources/preview_export/reveal/plugin/notes/notes.js deleted file mode 100644 index 63de05a..0000000 --- a/sources/preview_export/reveal/plugin/notes/notes.js +++ /dev/null @@ -1,100 +0,0 @@ -/** - * Handles opening of and synchronization with the reveal.js - * notes window. - */ -var RevealNotes = (function() { - - function openNotes() { - var jsFileLocation = document.querySelector('script[src$="notes.js"]').src; // this js file path - jsFileLocation = jsFileLocation.replace(/notes\.js(\?.*)?$/, ''); // the js folder path - var notesPopup = window.open( jsFileLocation + '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/sources/preview_export/reveal/plugin/postmessage/example.html b/sources/preview_export/reveal/plugin/postmessage/example.html deleted file mode 100644 index cc57a7b..0000000 --- a/sources/preview_export/reveal/plugin/postmessage/example.html +++ /dev/null @@ -1,39 +0,0 @@ - - - - - -
    - - - -
    - - - - - diff --git a/sources/preview_export/reveal/plugin/postmessage/postmessage.js b/sources/preview_export/reveal/plugin/postmessage/postmessage.js deleted file mode 100644 index d0f4140..0000000 --- a/sources/preview_export/reveal/plugin/postmessage/postmessage.js +++ /dev/null @@ -1,42 +0,0 @@ -/* - - simple postmessage plugin - - Useful when a reveal slideshow is inside an iframe. - It allows to call reveal methods from outside. - - Example: - var reveal = window.frames[0]; - - // Reveal.prev(); - reveal.postMessage(JSON.stringify({method: 'prev', args: []}), '*'); - // Reveal.next(); - reveal.postMessage(JSON.stringify({method: 'next', args: []}), '*'); - // Reveal.slide(2, 2); - reveal.postMessage(JSON.stringify({method: 'slide', args: [2,2]}), '*'); - - Add to the slideshow: - - dependencies: [ - ... - { src: 'plugin/postmessage/postmessage.js', async: true, condition: function() { return !!document.body.classList; } } - ] - -*/ - -(function (){ - - window.addEventListener( "message", function ( event ) { - var data = JSON.parse( event.data ), - method = data.method, - args = data.args; - - if( typeof Reveal[method] === 'function' ) { - Reveal[method].apply( Reveal, data.args ); - } - }, false); - -}()); - - - diff --git a/sources/preview_export/reveal/plugin/print-pdf/print-pdf.js b/sources/preview_export/reveal/plugin/print-pdf/print-pdf.js deleted file mode 100644 index 2b1d691..0000000 --- a/sources/preview_export/reveal/plugin/print-pdf/print-pdf.js +++ /dev/null @@ -1,39 +0,0 @@ -/** - * phantomjs script for printing presentations to PDF. - * - * Example: - * phantomjs print-pdf.js "http://lab.hakim.se/reveal-js?print-pdf" reveal-demo.pdf - * - * By Manuel Bieh (https://github.com/manuelbieh) - */ - -// html2pdf.js -var page = new WebPage(); -var system = require( 'system' ); - -page.paperSize = { - format: 'A4', - orientation: 'landscape', - margin: { - left: '0', - right: '0', - top: '0', - bottom: '0' - } -}; -page.zoomFactor = 1.5; - -var revealFile = system.args[1] || 'index.html?print-pdf'; -var slideFile = system.args[2] || 'slides.pdf'; - -if( slideFile.match( /\.pdf$/gi ) === null ) { - slideFile += '.pdf'; -} - -console.log( 'Printing PDF...' ); - -page.open( revealFile, function( status ) { - console.log( 'Printed succesfully' ); - page.render( slideFile ); - phantom.exit(); -} ); \ No newline at end of file diff --git a/sources/preview_export/reveal/plugin/remotes/remotes.js b/sources/preview_export/reveal/plugin/remotes/remotes.js deleted file mode 100644 index 694e9c0..0000000 --- a/sources/preview_export/reveal/plugin/remotes/remotes.js +++ /dev/null @@ -1,39 +0,0 @@ -/** - * Touch-based remote controller for your presentation courtesy - * of the folks at http://remotes.io - */ - -(function(window){ - - /** - * Detects if we are dealing with a touch enabled device (with some false positives) - * Borrowed from modernizr: https://github.com/Modernizr/Modernizr/blob/master/feature-detects/touch.js - */ - var hasTouch = (function(){ - return ('ontouchstart' in window) || window.DocumentTouch && document instanceof DocumentTouch; - })(); - - /** - * Detects if notes are enable and the current page is opened inside an /iframe - * this prevents loading Remotes.io several times - */ - var remotesAndIsNotes = (function(){ - return !(window.RevealNotes && self == top); - })(); - - if(!hasTouch && !remotesAndIsNotes){ - head.ready( 'remotes.ne.min.js', function() { - new Remotes("preview") - .on("swipe-left", function(e){ Reveal.right(); }) - .on("swipe-right", function(e){ Reveal.left(); }) - .on("swipe-up", function(e){ Reveal.down(); }) - .on("swipe-down", function(e){ Reveal.up(); }) - .on("tap", function(e){ Reveal.next(); }) - .on("zoom-out", function(e){ Reveal.toggleOverview(true); }) - .on("zoom-in", function(e){ Reveal.toggleOverview(false); }) - ; - } ); - - head.js('https://raw.github.com/Remotes/Remotes/master/dist/remotes.ne.min.js'); - } -})(window); \ No newline at end of file diff --git a/sources/preview_export/reveal/plugin/search/search.js b/sources/preview_export/reveal/plugin/search/search.js deleted file mode 100644 index ae6582e..0000000 --- a/sources/preview_export/reveal/plugin/search/search.js +++ /dev/null @@ -1,196 +0,0 @@ -/* - * Handles finding a text string anywhere in the slides and showing the next occurrence to the user - * by navigatating to that slide and highlighting it. - * - * By Jon Snyder , February 2013 - */ - -var RevealSearch = (function() { - - var matchedSlides; - var currentMatchedIndex; - var searchboxDirty; - var myHilitor; - -// Original JavaScript code by Chirp Internet: www.chirp.com.au -// Please acknowledge use of this code by including this header. -// 2/2013 jon: modified regex to display any match, not restricted to word boundaries. - -function Hilitor(id, tag) -{ - - var targetNode = document.getElementById(id) || document.body; - var hiliteTag = tag || "EM"; - var skipTags = new RegExp("^(?:" + hiliteTag + "|SCRIPT|FORM|SPAN)$"); - var colors = ["#ff6", "#a0ffff", "#9f9", "#f99", "#f6f"]; - var wordColor = []; - var colorIdx = 0; - var matchRegex = ""; - var matchingSlides = []; - - this.setRegex = function(input) - { - input = input.replace(/^[^\w]+|[^\w]+$/g, "").replace(/[^\w'-]+/g, "|"); - matchRegex = new RegExp("(" + input + ")","i"); - } - - this.getRegex = function() - { - return matchRegex.toString().replace(/^\/\\b\(|\)\\b\/i$/g, "").replace(/\|/g, " "); - } - - // recursively apply word highlighting - this.hiliteWords = function(node) - { - if(node == undefined || !node) return; - if(!matchRegex) return; - if(skipTags.test(node.nodeName)) return; - - if(node.hasChildNodes()) { - for(var i=0; i < node.childNodes.length; i++) - this.hiliteWords(node.childNodes[i]); - } - if(node.nodeType == 3) { // NODE_TEXT - if((nv = node.nodeValue) && (regs = matchRegex.exec(nv))) { - //find the slide's section element and save it in our list of matching slides - var secnode = node.parentNode; - while (secnode.nodeName != 'SECTION') { - secnode = secnode.parentNode; - } - - var slideIndex = Reveal.getIndices(secnode); - var slidelen = matchingSlides.length; - var alreadyAdded = false; - for (var i=0; i < slidelen; i++) { - if ( (matchingSlides[i].h === slideIndex.h) && (matchingSlides[i].v === slideIndex.v) ) { - alreadyAdded = true; - } - } - if (! alreadyAdded) { - matchingSlides.push(slideIndex); - } - - if(!wordColor[regs[0].toLowerCase()]) { - wordColor[regs[0].toLowerCase()] = colors[colorIdx++ % colors.length]; - } - - var match = document.createElement(hiliteTag); - match.appendChild(document.createTextNode(regs[0])); - match.style.backgroundColor = wordColor[regs[0].toLowerCase()]; - match.style.fontStyle = "inherit"; - match.style.color = "#000"; - - var after = node.splitText(regs.index); - after.nodeValue = after.nodeValue.substring(regs[0].length); - node.parentNode.insertBefore(match, after); - } - } - }; - - // remove highlighting - this.remove = function() - { - var arr = document.getElementsByTagName(hiliteTag); - while(arr.length && (el = arr[0])) { - el.parentNode.replaceChild(el.firstChild, el); - } - }; - - // start highlighting at target node - this.apply = function(input) - { - if(input == undefined || !input) return; - this.remove(); - this.setRegex(input); - this.hiliteWords(targetNode); - return matchingSlides; - }; - -} - - function openSearch() { - //ensure the search term input dialog is visible and has focus: - var inputbox = document.getElementById("searchinput"); - inputbox.style.display = "inline"; - inputbox.focus(); - inputbox.select(); - } - - function toggleSearch() { - var inputbox = document.getElementById("searchinput"); - if (inputbox.style.display !== "inline") { - openSearch(); - } - else { - inputbox.style.display = "none"; - myHilitor.remove(); - } - } - - function doSearch() { - //if there's been a change in the search term, perform a new search: - if (searchboxDirty) { - var searchstring = document.getElementById("searchinput").value; - - //find the keyword amongst the slides - myHilitor = new Hilitor("slidecontent"); - matchedSlides = myHilitor.apply(searchstring); - currentMatchedIndex = 0; - } - - //navigate to the next slide that has the keyword, wrapping to the first if necessary - if (matchedSlides.length && (matchedSlides.length <= currentMatchedIndex)) { - currentMatchedIndex = 0; - } - if (matchedSlides.length > currentMatchedIndex) { - Reveal.slide(matchedSlides[currentMatchedIndex].h, matchedSlides[currentMatchedIndex].v); - currentMatchedIndex++; - } - } - - var dom = {}; - dom.wrapper = document.querySelector( '.reveal' ); - - if( !dom.wrapper.querySelector( '.searchbox' ) ) { - var searchElement = document.createElement( 'div' ); - searchElement.id = "searchinputdiv"; - searchElement.classList.add( 'searchdiv' ); - searchElement.style.position = 'absolute'; - searchElement.style.top = '10px'; - searchElement.style.left = '10px'; - //embedded base64 search icon Designed by Sketchdock - http://www.sketchdock.com/: - searchElement.innerHTML = ''; - dom.wrapper.appendChild( searchElement ); - } - - document.getElementById("searchbutton").addEventListener( 'click', function(event) { - doSearch(); - }, false ); - - document.getElementById("searchinput").addEventListener( 'keyup', function( event ) { - switch (event.keyCode) { - case 13: - event.preventDefault(); - doSearch(); - searchboxDirty = false; - break; - default: - searchboxDirty = true; - } - }, false ); - - // Open the search when the 's' key is hit (yes, this conflicts with the notes plugin, disabling for now) - /* - 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(); - openSearch(); - } - }, false ); -*/ - return { open: openSearch }; -})(); diff --git a/sources/preview_export/reveal/plugin/zoom-js/zoom.js b/sources/preview_export/reveal/plugin/zoom-js/zoom.js deleted file mode 100644 index b67ae16..0000000 --- a/sources/preview_export/reveal/plugin/zoom-js/zoom.js +++ /dev/null @@ -1,256 +0,0 @@ -// Custom reveal.js integration -(function(){ - var isEnabled = true; - - document.querySelector( '.reveal' ).addEventListener( 'mousedown', function( event ) { - if( event.altKey && isEnabled ) { - event.preventDefault(); - zoom.to({ element: event.target, pan: false }); - } - } ); - - Reveal.addEventListener( 'overviewshown', function() { isEnabled = false; } ); - Reveal.addEventListener( 'overviewhidden', function() { isEnabled = true; } ); -})(); - -/*! - * 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; - } - } - -})(); - diff --git a/sources/preview_export/scripts/dataset-shim.js b/sources/preview_export/scripts/dataset-shim.js deleted file mode 100644 index 12f76f3..0000000 --- a/sources/preview_export/scripts/dataset-shim.js +++ /dev/null @@ -1,241 +0,0 @@ -/** - * Add dataset support to elements - * No globals, no overriding prototype with non-standard methods, - * handles CamelCase properly, attempts to use standard - * Object.defineProperty() (and Function bind()) methods, - * falls back to native implementation when existing - * Inspired by http://code.eligrey.com/html5/dataset/ - * (via https://github.com/adalgiso/html5-dataset/blob/master/html5-dataset.js ) - * Depends on Function.bind and Object.defineProperty/Object.getOwnPropertyDescriptor (shims below) - * Licensed under the X11/MIT License -*/ - -// Inspired by https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Function/bind#Compatibility -if (!Function.prototype.bind) { - Function.prototype.bind = function (oThis) { - 'use strict'; - if (typeof this !== "function") { - // closest thing possible to the ECMAScript 5 internal IsCallable function - throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable"); - } - - var aArgs = Array.prototype.slice.call(arguments, 1), - fToBind = this, - FNOP = function () {}, - fBound = function () { - return fToBind.apply( - this instanceof FNOP && oThis ? this : oThis, - aArgs.concat(Array.prototype.slice.call(arguments)) - ); - }; - - FNOP.prototype = this.prototype; - fBound.prototype = new FNOP(); - - return fBound; - }; -} - -/* - * Xccessors Standard: Cross-browser ECMAScript 5 accessors - * http://purl.eligrey.com/github/Xccessors - * - * 2010-06-21 - * - * By Eli Grey, http://eligrey.com - * - * A shim that partially implements Object.defineProperty, - * Object.getOwnPropertyDescriptor, and Object.defineProperties in browsers that have - * legacy __(define|lookup)[GS]etter__ support. - * - * Licensed under the X11/MIT License - * See LICENSE.md -*/ - -// Removed a few JSLint options as Notepad++ JSLint validator complaining and -// made comply with JSLint; also moved 'use strict' inside function -/*jslint white: true, undef: true, plusplus: true, - bitwise: true, regexp: true, newcap: true, maxlen: 90 */ - -/*! @source http://purl.eligrey.com/github/Xccessors/blob/master/xccessors-standard.js*/ - -(function () { - 'use strict'; - var ObjectProto = Object.prototype, - defineGetter = ObjectProto.__defineGetter__, - defineSetter = ObjectProto.__defineSetter__, - lookupGetter = ObjectProto.__lookupGetter__, - lookupSetter = ObjectProto.__lookupSetter__, - hasOwnProp = ObjectProto.hasOwnProperty; - - if (defineGetter && defineSetter && lookupGetter && lookupSetter) { - - if (!Object.defineProperty) { - Object.defineProperty = function (obj, prop, descriptor) { - if (arguments.length < 3) { // all arguments required - throw new TypeError("Arguments not optional"); - } - - prop += ""; // convert prop to string - - if (hasOwnProp.call(descriptor, "value")) { - if (!lookupGetter.call(obj, prop) && !lookupSetter.call(obj, prop)) { - // data property defined and no pre-existing accessors - obj[prop] = descriptor.value; - } - - if ((hasOwnProp.call(descriptor, "get") || - hasOwnProp.call(descriptor, "set"))) - { - // descriptor has a value prop but accessor already exists - throw new TypeError("Cannot specify an accessor and a value"); - } - } - - // can't switch off these features in ECMAScript 3 - // so throw a TypeError if any are false - if (!(descriptor.writable && descriptor.enumerable && - descriptor.configurable)) - { - throw new TypeError( - "This implementation of Object.defineProperty does not support" + - " false for configurable, enumerable, or writable." - ); - } - - if (descriptor.get) { - defineGetter.call(obj, prop, descriptor.get); - } - if (descriptor.set) { - defineSetter.call(obj, prop, descriptor.set); - } - - return obj; - }; - } - - if (!Object.getOwnPropertyDescriptor) { - Object.getOwnPropertyDescriptor = function (obj, prop) { - if (arguments.length < 2) { // all arguments required - throw new TypeError("Arguments not optional."); - } - - prop += ""; // convert prop to string - - var descriptor = { - configurable: true, - enumerable : true, - writable : true - }, - getter = lookupGetter.call(obj, prop), - setter = lookupSetter.call(obj, prop); - - if (!hasOwnProp.call(obj, prop)) { - // property doesn't exist or is inherited - return descriptor; - } - if (!getter && !setter) { // not an accessor so return prop - descriptor.value = obj[prop]; - return descriptor; - } - - // there is an accessor, remove descriptor.writable; - // populate descriptor.get and descriptor.set (IE's behavior) - delete descriptor.writable; - descriptor.get = descriptor.set = undefined; - - if (getter) { - descriptor.get = getter; - } - if (setter) { - descriptor.set = setter; - } - - return descriptor; - }; - } - - if (!Object.defineProperties) { - Object.defineProperties = function (obj, props) { - var prop; - for (prop in props) { - if (hasOwnProp.call(props, prop)) { - Object.defineProperty(obj, prop, props[prop]); - } - } - }; - } - } -}()); - -// Begin dataset code - -if (!document.documentElement.dataset && - // FF is empty while IE gives empty object - (!Object.getOwnPropertyDescriptor(Element.prototype, 'dataset') || - !Object.getOwnPropertyDescriptor(Element.prototype, 'dataset').get) - ) { - var propDescriptor = { - enumerable: true, - get: function () { - 'use strict'; - var i, - that = this, - HTML5_DOMStringMap, - attrVal, attrName, propName, - attribute, - attributes = this.attributes, - attsLength = attributes.length, - toUpperCase = function (n0) { - return n0.charAt(1).toUpperCase(); - }, - getter = function () { - return this; - }, - setter = function (attrName, value) { - return (typeof value !== 'undefined') ? - this.setAttribute(attrName, value) : - this.removeAttribute(attrName); - }; - try { // Simulate DOMStringMap w/accessor support - // Test setting accessor on normal object - ({}).__defineGetter__('test', function () {}); - HTML5_DOMStringMap = {}; - } - catch (e1) { // Use a DOM object for IE8 - HTML5_DOMStringMap = document.createElement('div'); - } - for (i = 0; i < attsLength; i++) { - attribute = attributes[i]; - // Fix: This test really should allow any XML Name without - // colons (and non-uppercase for XHTML) - if (attribute && attribute.name && - (/^data-\w[\w\-]*$/).test(attribute.name)) { - attrVal = attribute.value; - attrName = attribute.name; - // Change to CamelCase - propName = attrName.substr(5).replace(/-./g, toUpperCase); - try { - Object.defineProperty(HTML5_DOMStringMap, propName, { - enumerable: this.enumerable, - get: getter.bind(attrVal || ''), - set: setter.bind(that, attrName) - }); - } - catch (e2) { // if accessors are not working - HTML5_DOMStringMap[propName] = attrVal; - } - } - } - return HTML5_DOMStringMap; - } - }; - try { - // FF enumerates over element's dataset, but not - // Element.prototype.dataset; IE9 iterates over both - Object.defineProperty(Element.prototype, 'dataset', propDescriptor); - } catch (e) { - propDescriptor.enumerable = false; // IE8 does not allow setting to true - Object.defineProperty(Element.prototype, 'dataset', propDescriptor); - } -} \ No newline at end of file diff --git a/sources/preview_export/scripts/impress.js b/sources/preview_export/scripts/impress.js deleted file mode 100644 index b7a6d8a..0000000 --- a/sources/preview_export/scripts/impress.js +++ /dev/null @@ -1,832 +0,0 @@ -function startPres(document, window) { -if (window.presStarted) - return; -window.presStarted = true; - -var innerBg = document.querySelector('.innerBg'); - -/** - * impress.js - * - * impress.js is a presentation tool based on the power of CSS3 transforms and transitions - * in modern browsers and inspired by the idea behind prezi.com. - * - * - * Copyright 2011-2012 Bartek Szopka (@bartaz) - * - * Released under the MIT and GPL Licenses. - * - * ------------------------------------------------ - * author: Bartek Szopka - * version: 0.5.3 - * url: http://bartaz.github.com/impress.js/ - * source: http://github.com/bartaz/impress.js/ - */ - -/*jshint bitwise:true, curly:true, eqeqeq:true, forin:true, latedef:true, newcap:true, - noarg:true, noempty:true, undef:true, strict:true, browser:true */ - -// You are one of those who like to know how things work inside? -// Let me show you the cogs that make impress.js run... -(function ( document, window ) { - 'use strict'; - - // HELPER FUNCTIONS - - // `pfx` is a function that takes a standard CSS property name as a parameter - // and returns it's prefixed version valid for current browser it runs in. - // The code is heavily inspired by Modernizr http://www.modernizr.com/ - var pfx = (function () { - - var style = document.createElement('dummy').style, - prefixes = 'Webkit Moz O ms Khtml'.split(' '), - memory = {}; - - return function ( prop ) { - if ( typeof memory[ prop ] === "undefined" ) { - - var ucProp = prop.charAt(0).toUpperCase() + prop.substr(1), - props = (prop + ' ' + prefixes.join(ucProp + ' ') + ucProp).split(' '); - - memory[ prop ] = null; - for ( var i in props ) { - if ( style[ props[i] ] !== undefined ) { - memory[ prop ] = props[i]; - break; - } - } - - } - - return memory[ prop ]; - }; - - })(); - - // `arraify` takes an array-like object and turns it into real Array - // to make all the Array.prototype goodness available. - var arrayify = function ( a ) { - return [].slice.call( a ); - }; - - // `css` function applies the styles given in `props` object to the element - // given as `el`. It runs all property names through `pfx` function to make - // sure proper prefixed version of the property is used. - var css = function ( el, props ) { - var key, pkey; - for ( key in props ) { - if ( props.hasOwnProperty(key) ) { - pkey = pfx(key); - if ( pkey !== null ) { - el.style[pkey] = props[key]; - } - } - } - return el; - }; - - // `toNumber` takes a value given as `numeric` parameter and tries to turn - // it into a number. If it is not possible it returns 0 (or other value - // given as `fallback`). - var toNumber = function (numeric, fallback) { - return isNaN(numeric) ? (fallback || 0) : Number(numeric); - }; - - // `byId` returns element with given `id` - you probably have guessed that ;) - var byId = function ( id ) { - return document.getElementById(id); - }; - - // `$` returns first element for given CSS `selector` in the `context` of - // the given element or whole document. - var $ = function ( selector, context ) { - context = context || document; - return context.querySelector(selector); - }; - - // `$$` return an array of elements for given CSS `selector` in the `context` of - // the given element or whole document. - var $$ = function ( selector, context ) { - context = context || document; - return arrayify( context.querySelectorAll(selector) ); - }; - - // `triggerEvent` builds a custom DOM event with given `eventName` and `detail` data - // and triggers it on element given as `el`. - var triggerEvent = function (el, eventName, detail) { - var event = document.createEvent("CustomEvent"); - event.initCustomEvent(eventName, true, true, detail); - el.dispatchEvent(event); - }; - - // `translate` builds a translate transform string for given data. - var translate = function ( t ) { - return " translate3d(" + t.x + "px," + t.y + "px," + t.z + "px) "; - }; - - // `rotate` builds a rotate transform string for given data. - // By default the rotations are in X Y Z order that can be reverted by passing `true` - // as second parameter. - var rotate = function ( r, revert ) { - var rX = " rotateX(" + r.x + "deg) ", - rY = " rotateY(" + r.y + "deg) ", - rZ = " rotateZ(" + r.z + "deg) "; - - return revert ? rZ+rY+rX : rX+rY+rZ; - }; - - // `scale` builds a scale transform string for given data. - var scale = function ( s ) { - return " scale(" + s + ") "; - }; - - // `perspective` builds a perspective transform string for given data. - var perspective = function ( p ) { - return " perspective(" + p + "px) "; - }; - - // `getElementFromHash` returns an element located by id from hash part of - // window location. - var getElementFromHash = function () { - // get id from url # by removing `#` or `#/` from the beginning, - // so both "fallback" `#slide-id` and "enhanced" `#/slide-id` will work - return byId( window.location.hash.replace(/^#\/?/,"") ); - }; - - // `computeWindowScale` counts the scale factor between window size and size - // defined for the presentation in the config. - var computeWindowScale = function ( config ) { - var hScale = window.innerHeight / config.height, - wScale = window.innerWidth / config.width, - scale = hScale > wScale ? wScale : hScale; - - if (config.maxScale && scale > config.maxScale) { - scale = config.maxScale; - } - - if (config.minScale && scale < config.minScale) { - scale = config.minScale; - } - - return scale; - }; - - // CHECK SUPPORT - var body = document.body; - - var ua = navigator.userAgent.toLowerCase(); - var impressSupported = - // browser should support CSS 3D transtorms - ( pfx("perspective") !== null ) && - - // and `classList` and `dataset` APIs - ( body.classList ) && - ( body.dataset ); - - // but some mobile devices need to be blacklisted, - // because their CSS 3D support or hardware is not - // good enough to run impress.js properly, sorry... - // ( ua.search(/(iphone)|(ipod)|(android)/) === -1 ); - - if (!impressSupported) { - // we can't be sure that `classList` is supported - body.className += " impress-not-supported "; - } else { - body.classList.remove("impress-not-supported"); - body.classList.add("impress-supported"); - } - - // GLOBALS AND DEFAULTS - - // This is were the root elements of all impress.js instances will be kept. - // Yes, this means you can have more than one instance on a page, but I'm not - // sure if it makes any sense in practice ;) - var roots = {}; - - // some default config values. - var defaults = { - width: 1024, - height: 768, - maxScale: 1, - minScale: 0, - - perspective: 1000, - - transitionDuration: 1000 - }; - - // it's just an empty function ... and a useless comment. - var empty = function () { return false; }; - - // IMPRESS.JS API - - // And that's where interesting things will start to happen. - // It's the core `impress` function that returns the impress.js API - // for a presentation based on the element with given id ('impress' - // by default). - var impress = window.impress = function ( rootId ) { - var previousInit = body.classList.contains("impress-enabled"); - - // If impress.js is not supported by the browser return a dummy API - // it may not be a perfect solution but we return early and avoid - // running code that may use features not implemented in the browser. - if (!impressSupported) { - return { - init: empty, - goto: empty, - prev: empty, - next: empty - }; - } - - rootId = rootId || "impress"; - - // if given root is already initialized just return the API - if (roots["impress-root-" + rootId]) { - return roots["impress-root-" + rootId]; - } - - // data of all presentation steps - var stepsData = {}; - - // element of currently active step - var activeStep = null; - - // current state (position, rotation and scale) of the presentation - var currentState = null; - - // array of step elements - var steps = null; - - // configuration options - var config = null; - - // scale factor of the browser window - var windowScale = null; - - // root presentation elements - var root = byId( rootId ); - if (previousInit) { - var canvas = root.children[0]; - } else { - var canvas = document.createElement("div"); - } - - var initialized = false; - - // STEP EVENTS - // - // There are currently two step events triggered by impress.js - // `impress:stepenter` is triggered when the step is shown on the - // screen (the transition from the previous one is finished) and - // `impress:stepleave` is triggered when the step is left (the - // transition to next step just starts). - - // reference to last entered step - var lastEntered = null; - - // `onStepEnter` is called whenever the step element is entered - // but the event is triggered only if the step is different than - // last entered step. - var onStepEnter = function (step) { - if (lastEntered !== step) { - triggerEvent(step, "impress:stepenter"); - lastEntered = step; - } - }; - - // `onStepLeave` is called whenever the step element is left - // but the event is triggered only if the step is the same as - // last entered step. - var onStepLeave = function (step) { - if (lastEntered === step) { - triggerEvent(step, "impress:stepleave"); - lastEntered = null; - } - }; - - // `initStep` initializes given step element by reading data from its - // data attributes and setting correct styles. - var initStep = function ( el, idx ) { - var data = el.dataset, - step = { - translate: { - x: toNumber(data.x), - y: toNumber(data.y), - z: toNumber(data.z) - }, - rotate: { - x: toNumber(data.rotateX), - y: toNumber(data.rotateY), - z: toNumber(data.rotateZ || data.rotate) - }, - scale: toNumber(data.scale, 1), - el: el - }; - - if ( !el.id ) { - el.id = "step-" + (idx + 1); - } - - stepsData["impress-" + el.id] = step; - - css(el, { - position: "absolute", - transform: "translate(-50%,-50%)" + - translate(step.translate) + - rotate(step.rotate) + - scale(step.scale), - transformStyle: "preserve-3d" - }); - }; - - // `init` API function that initializes (and runs) the presentation. - var init = function () { - if (initialized) { return; } - - // First we set up the viewport for mobile devices. - // For some reason iPad goes nuts when it is not done properly. - var meta = $("meta[name='viewport']") || document.createElement("meta"); - meta.content = "width=device-width, minimum-scale=1, maximum-scale=1, user-scalable=no"; - if (meta.parentNode !== document.head) { - meta.name = 'viewport'; - document.head.appendChild(meta); - } - - // initialize configuration object - var rootData = root.dataset; - config = { - width: toNumber( rootData.width, defaults.width ), - height: toNumber( rootData.height, defaults.height ), - maxScale: toNumber( rootData.maxScale, defaults.maxScale ), - minScale: toNumber( rootData.minScale, defaults.minScale ), - perspective: toNumber( rootData.perspective, defaults.perspective ), - transitionDuration: toNumber( rootData.transitionDuration, defaults.transitionDuration ) - }; - - windowScale = computeWindowScale( config ); - - // wrap steps with "canvas" element - if (!previousInit) { - arrayify( root.childNodes ).forEach(function ( el ) { - canvas.appendChild( el ); - }); - root.appendChild(canvas); - } - - // set initial styles - document.documentElement.style.height = "100%"; - - css(body, { - height: "100%", - overflow: "hidden" - }); - - var rootStyles = { - position: "absolute", - transformOrigin: "top left", - transition: "all 0s ease-in-out", - transformStyle: "preserve-3d" - }; - - css(root, rootStyles); - css(root, { - top: "50%", - left: "50%", - transform: perspective( config.perspective/windowScale ) + scale( windowScale ) - }); - css(canvas, rootStyles); - - body.classList.remove("impress-disabled"); - body.classList.add("impress-enabled"); - - // get and init steps - steps = $$(".step", root); - steps.forEach( initStep ); - - // set a default initial state of the canvas - currentState = { - translate: { x: 0, y: 0, z: 0 }, - rotate: { x: 0, y: 0, z: 0 }, - scale: 1 - }; - - initialized = true; - - triggerEvent(root, "impress:init", { api: roots[ "impress-root-" + rootId ] }); - }; - - // `getStep` is a helper function that returns a step element defined by parameter. - // If a number is given, step with index given by the number is returned, if a string - // is given step element with such id is returned, if DOM element is given it is returned - // if it is a correct step element. - var getStep = function ( step ) { - if (typeof step === "number") { - step = step < 0 ? steps[ steps.length + step] : steps[ step ]; - } else if (typeof step === "string") { - step = byId(step); - } - return (step && step.id && stepsData["impress-" + step.id]) ? step : null; - }; - - // used to reset timeout for `impress:stepenter` event - var stepEnterTimeout = null; - - // `goto` API function that moves to step given with `el` parameter (by index, id or element), - // with a transition `duration` optionally given as second parameter. - var goto = function ( el, duration ) { - - if ( !initialized || !(el = getStep(el)) ) { - // presentation not initialized or given element is not a step - return false; - } - - // Sometimes it's possible to trigger focus on first link with some keyboard action. - // Browser in such a case tries to scroll the page to make this element visible - // (even that body overflow is set to hidden) and it breaks our careful positioning. - // - // So, as a lousy (and lazy) workaround we will make the page scroll back to the top - // whenever slide is selected - // - // If you are reading this and know any better way to handle it, I'll be glad to hear about it! - window.scrollTo(0, 0); - - var step = stepsData["impress-" + el.id]; - - function updateSurface(step, operation) { - var state = step.dataset.state; - if (typeof state == 'string') { - state = state.trim().split(' '); - for (var i = 0; i < state.length; ++i) { - innerBg.classList[operation](state[i]); - } - } - } - - if ( activeStep ) { - activeStep.classList.remove("active"); - updateSurface(activeStep, 'remove'); - } - el.classList.add("active"); - updateSurface(el, 'add'); - - // compute target state of the canvas based on given step - var target = { - rotate: { - x: -step.rotate.x, - y: -step.rotate.y, - z: -step.rotate.z - }, - translate: { - x: -step.translate.x, - y: -step.translate.y, - z: -step.translate.z - }, - scale: 1 / step.scale - }; - - // Check if the transition is zooming in or not. - // - // This information is used to alter the transition style: - // when we are zooming in - we start with move and rotate transition - // and the scaling is delayed, but when we are zooming out we start - // with scaling down and move and rotation are delayed. - var zoomin = target.scale >= currentState.scale; - - duration = toNumber(duration, config.transitionDuration); - var delay = (duration / 2); - - // if the same step is re-selected, force computing window scaling, - // because it is likely to be caused by window resize - if (el === activeStep) { - windowScale = computeWindowScale(config); - } - - var targetScale = target.scale * windowScale; - - // trigger leave of currently active element (if it's not the same step again) - if (activeStep && activeStep !== el) { - onStepLeave(activeStep); - } - - // Now we alter transforms of `root` and `canvas` to trigger transitions. - // - // And here is why there are two elements: `root` and `canvas` - they are - // being animated separately: - // `root` is used for scaling and `canvas` for translate and rotations. - // Transitions on them are triggered with different delays (to make - // visually nice and 'natural' looking transitions), so we need to know - // that both of them are finished. - css(root, { - // to keep the perspective look similar for different scales - // we need to 'scale' the perspective, too - transform: perspective( config.perspective / targetScale ) + scale( targetScale ), - transitionDuration: duration + "ms", - transitionDelay: (zoomin ? delay : 0) + "ms" - }); - - css(canvas, { - transform: rotate(target.rotate, true) + translate(target.translate), - transitionDuration: duration + "ms", - transitionDelay: (zoomin ? 0 : delay) + "ms" - }); - - // Here is a tricky part... - // - // If there is no change in scale or no change in rotation and translation, it means there was actually - // no delay - because there was no transition on `root` or `canvas` elements. - // We want to trigger `impress:stepenter` event in the correct moment, so here we compare the current - // and target values to check if delay should be taken into account. - // - // I know that this `if` statement looks scary, but it's pretty simple when you know what is going on - // - it's simply comparing all the values. - if ( currentState.scale === target.scale || - (currentState.rotate.x === target.rotate.x && currentState.rotate.y === target.rotate.y && - currentState.rotate.z === target.rotate.z && currentState.translate.x === target.translate.x && - currentState.translate.y === target.translate.y && currentState.translate.z === target.translate.z) ) { - delay = 0; - } - - // store current state - currentState = target; - activeStep = el; - - // And here is where we trigger `impress:stepenter` event. - // We simply set up a timeout to fire it taking transition duration (and possible delay) into account. - // - // I really wanted to make it in more elegant way. The `transitionend` event seemed to be the best way - // to do it, but the fact that I'm using transitions on two separate elements and that the `transitionend` - // event is only triggered when there was a transition (change in the values) caused some bugs and - // made the code really complicated, cause I had to handle all the conditions separately. And it still - // needed a `setTimeout` fallback for the situations when there is no transition at all. - // So I decided that I'd rather make the code simpler than use shiny new `transitionend`. - // - // If you want learn something interesting and see how it was done with `transitionend` go back to - // version 0.5.2 of impress.js: http://github.com/bartaz/impress.js/blob/0.5.2/js/impress.js - window.clearTimeout(stepEnterTimeout); - stepEnterTimeout = window.setTimeout(function() { - onStepEnter(activeStep); - }, duration + delay); - - return el; - }; - - // `prev` API function goes to previous step (in document order) - var prev = function () { - var prev = steps.indexOf( activeStep ) - 1; - prev = prev >= 0 ? steps[ prev ] : steps[ steps.length-1 ]; - - return goto(prev); - }; - - // `next` API function goes to next step (in document order) - var next = function () { - var next = steps.indexOf( activeStep ) + 1; - next = next < steps.length ? steps[ next ] : steps[ 0 ]; - - return goto(next); - }; - - // Adding some useful classes to step elements. - // - // All the steps that have not been shown yet are given `future` class. - // When the step is entered the `future` class is removed and the `present` - // class is given. When the step is left `present` class is replaced with - // `past` class. - // - // So every step element is always in one of three possible states: - // `future`, `present` and `past`. - // - // There classes can be used in CSS to style different types of steps. - // For example the `present` class can be used to trigger some custom - // animations when step is shown. - root.addEventListener("impress:init", function(){ - // STEP CLASSES - steps.forEach(function (step) { - step.classList.add("future"); - }); - - root.addEventListener("impress:stepenter", function (event) { - event.target.classList.remove("past"); - event.target.classList.remove("future"); - event.target.classList.add("present"); - }, false); - - root.addEventListener("impress:stepleave", function (event) { - event.target.classList.remove("present"); - event.target.classList.add("past"); - }, false); - - }, false); - - // Adding hash change support. - root.addEventListener("impress:init", function(){ - - // last hash detected - var lastHash = ""; - - // `#/step-id` is used instead of `#step-id` to prevent default browser - // scrolling to element in hash. - // - // And it has to be set after animation finishes, because in Chrome it - // makes transtion laggy. - // BUG: http://code.google.com/p/chromium/issues/detail?id=62820 - root.addEventListener("impress:stepenter", function (event) { - window.location.hash = lastHash = "#/" + event.target.id; - }, false); - - window.addEventListener("hashchange", function () { - // When the step is entered hash in the location is updated - // (just few lines above from here), so the hash change is - // triggered and we would call `goto` again on the same element. - // - // To avoid this we store last entered hash and compare. - if (window.location.hash !== lastHash) { - goto( getElementFromHash() ); - } - }, false); - - // START - // by selecting step defined in url or first step of the presentation - goto(getElementFromHash() || steps[0], 0); - }, false); - - body.classList.add("impress-disabled"); - - // store and return API for given impress.js root element - return (roots[ "impress-root-" + rootId ] = { - init: init, - goto: goto, - next: next, - prev: prev - }); - - }; - - // flag that can be used in JS to check if browser have passed the support test - impress.supported = impressSupported; - -})(document, window); - -// NAVIGATION EVENTS - -// As you can see this part is separate from the impress.js core code. -// It's because these navigation actions only need what impress.js provides with -// its simple API. -// -// In future I think about moving it to make them optional, move to separate files -// and treat more like a 'plugins'. -(function ( document, window ) { - 'use strict'; - - // throttling function calls, by Remy Sharp - // http://remysharp.com/2010/07/21/throttling-function-calls/ - var throttle = function (fn, delay) { - var timer = null; - return function () { - var context = this, args = arguments; - clearTimeout(timer); - timer = setTimeout(function () { - fn.apply(context, args); - }, delay); - }; - }; - - // wait for impress.js to be initialized - document.addEventListener("impress:init", function (event) { - // Getting API from event data. - // So you don't event need to know what is the id of the root element - // or anything. `impress:init` event data gives you everything you - // need to control the presentation that was just initialized. - var api = event.detail.api; - - // KEYBOARD NAVIGATION HANDLERS - - // Prevent default keydown action when one of supported key is pressed. - document.addEventListener("keydown", function ( event ) { - if ( event.keyCode === 9 || ( event.keyCode >= 32 && event.keyCode <= 34 ) || (event.keyCode >= 37 && event.keyCode <= 40) ) { - event.preventDefault(); - } - }, false); - - // Trigger impress action (next or prev) on keyup. - - // Supported keys are: - // [space] - quite common in presentation software to move forward - // [up] [right] / [down] [left] - again common and natural addition, - // [pgdown] / [pgup] - often triggered by remote controllers, - // [tab] - this one is quite controversial, but the reason it ended up on - // this list is quite an interesting story... Remember that strange part - // in the impress.js code where window is scrolled to 0,0 on every presentation - // step, because sometimes browser scrolls viewport because of the focused element? - // Well, the [tab] key by default navigates around focusable elements, so clicking - // it very often caused scrolling to focused element and breaking impress.js - // positioning. I didn't want to just prevent this default action, so I used [tab] - // as another way to moving to next step... And yes, I know that for the sake of - // consistency I should add [shift+tab] as opposite action... - document.addEventListener("keyup", function ( event ) { - if ( event.keyCode === 9 || ( event.keyCode >= 32 && event.keyCode <= 34 ) || (event.keyCode >= 37 && event.keyCode <= 40) ) { - switch( event.keyCode ) { - case 33: // pg up - case 37: // left - case 38: // up - api.prev(); - break; - case 9: // tab - case 32: // space - case 34: // pg down - case 39: // right - case 40: // down - api.next(); - break; - } - - event.preventDefault(); - } - }, false); - - // delegated handler for clicking on the links to presentation steps - document.addEventListener("click", function ( event ) { - // event delegation with "bubbling" - // check if event target (or any of its parents is a link) - var target = event.target; - while ( (target.tagName !== "A") && - (target !== document.documentElement) ) { - target = target.parentNode; - } - - if ( target.tagName === "A" ) { - var href = target.getAttribute("href"); - - // if it's a link to presentation step, target this step - if ( href && href[0] === '#' ) { - target = document.getElementById( href.slice(1) ); - } - } - - if ( api.goto(target) ) { - event.stopImmediatePropagation(); - event.preventDefault(); - } - }, false); - - // delegated handler for clicking on step elements - document.addEventListener("click", function ( event ) { - var target = event.target; - // find closest step element that is not active - while ( !(target.classList.contains("step") && !target.classList.contains("active")) && - (target !== document.documentElement) ) { - target = target.parentNode; - } - - if ( api.goto(target) ) { - event.preventDefault(); - } - }, false); - - // touch handler to detect taps on the left and right side of the screen - // based on awesome work of @hakimel: https://github.com/hakimel/reveal.js - document.addEventListener("touchstart", function ( event ) { - if (event.touches.length === 1) { - var x = event.touches[0].clientX, - width = window.innerWidth * 0.3, - result = null; - - if ( x < width ) { - result = api.prev(); - } else if ( x > window.innerWidth - width ) { - result = api.next(); - } - - if (result) { - event.preventDefault(); - } - } - }, false); - - // rescale presentation when window is resized - window.addEventListener("resize", throttle(function () { - // force going to active step again, to trigger rescaling - api.goto( document.querySelector(".step.active"), 500 ); - }, 250), false); - - }, false); - -})(document, window); - -// THAT'S ALL FOLKS! -// -// Thanks for reading it all. -// Or thanks for scrolling down and reading the last part. -// -// I've learnt a lot when building impress.js and I hope this code and comments -// will help somebody learn at least some part of it. - - -document.addEventListener("keydown", function(e) { - if (e.keyCode == 27) { - impress().goto('overview'); - } -}, false); - -} \ No newline at end of file diff --git a/sources/preview_export/scripts/loadPresentation.js b/sources/preview_export/scripts/loadPresentation.js deleted file mode 100644 index 9e687c2..0000000 --- a/sources/preview_export/scripts/loadPresentation.js +++ /dev/null @@ -1,9 +0,0 @@ -var loadPresentation = function() { - var presentation = localStorage.getItem('preview-string'); - var config = JSON.parse(localStorage.getItem('preview-config')); - - if (presentation) { - document.body.innerHTML = presentation; - // document.body.className = config.surface + " " + document.body.className; - } -}; diff --git a/sources/preview_export/scripts/onready.js b/sources/preview_export/scripts/onready.js deleted file mode 100644 index d875192..0000000 --- a/sources/preview_export/scripts/onready.js +++ /dev/null @@ -1,225 +0,0 @@ -var ready = (function(){ - var readyList, - DOMContentLoaded, - class2type = {}; - class2type["[object Boolean]"] = "boolean"; - class2type["[object Number]"] = "number"; - class2type["[object String]"] = "string"; - class2type["[object Function]"] = "function"; - class2type["[object Array]"] = "array"; - class2type["[object Date]"] = "date"; - class2type["[object RegExp]"] = "regexp"; - class2type["[object Object]"] = "object"; - - var ReadyObj = { - // Is the DOM ready to be used? Set to true once it occurs. - isReady: false, - // A counter to track how many items to wait for before - // the ready event fires. See #6781 - readyWait: 1, - // Hold (or release) the ready event - holdReady: function( hold ) { - if ( hold ) { - ReadyObj.readyWait++; - } else { - ReadyObj.ready( true ); - } - }, - // Handle when the DOM is ready - ready: function( wait ) { - // Either a released hold or an DOMready/load event and not yet ready - if ( (wait === true && !--ReadyObj.readyWait) || (wait !== true && !ReadyObj.isReady) ) { - // Make sure body exists, at least, in case IE gets a little overzealous (ticket #5443). - if ( !document.body ) { - return setTimeout( ReadyObj.ready, 1 ); - } - - // Remember that the DOM is ready - ReadyObj.isReady = true; - // If a normal DOM Ready event fired, decrement, and wait if need be - if ( wait !== true && --ReadyObj.readyWait > 0 ) { - return; - } - // If there are functions bound, to execute - readyList.resolveWith( document, [ ReadyObj ] ); - - // Trigger any bound ready events - //if ( ReadyObj.fn.trigger ) { - // ReadyObj( document ).trigger( "ready" ).unbind( "ready" ); - //} - } - }, - bindReady: function() { - if ( readyList ) { - return; - } - readyList = ReadyObj._Deferred(); - - // Catch cases where $(document).ready() is called after the - // browser event has already occurred. - if ( document.readyState === "complete" ) { - // Handle it asynchronously to allow scripts the opportunity to delay ready - return setTimeout( ReadyObj.ready, 1 ); - } - - // Mozilla, Opera and webkit nightlies currently support this event - if ( document.addEventListener ) { - // Use the handy event callback - document.addEventListener( "DOMContentLoaded", DOMContentLoaded, false ); - // A fallback to window.onload, that will always work - window.addEventListener( "load", ReadyObj.ready, false ); - - // If IE event model is used - } else if ( document.attachEvent ) { - // ensure firing before onload, - // maybe late but safe also for iframes - document.attachEvent( "onreadystatechange", DOMContentLoaded ); - - // A fallback to window.onload, that will always work - window.attachEvent( "onload", ReadyObj.ready ); - - // If IE and not a frame - // continually check to see if the document is ready - var toplevel = false; - - try { - toplevel = window.frameElement == null; - } catch(e) {} - - if ( document.documentElement.doScroll && toplevel ) { - doScrollCheck(); - } - } - }, - _Deferred: function() { - var // callbacks list - callbacks = [], - // stored [ context , args ] - fired, - // to avoid firing when already doing so - firing, - // flag to know if the deferred has been cancelled - cancelled, - // the deferred itself - deferred = { - - // done( f1, f2, ...) - done: function() { - if ( !cancelled ) { - var args = arguments, - i, - length, - elem, - type, - _fired; - if ( fired ) { - _fired = fired; - fired = 0; - } - for ( i = 0, length = args.length; i < length; i++ ) { - elem = args[ i ]; - type = ReadyObj.type( elem ); - if ( type === "array" ) { - deferred.done.apply( deferred, elem ); - } else if ( type === "function" ) { - callbacks.push( elem ); - } - } - if ( _fired ) { - deferred.resolveWith( _fired[ 0 ], _fired[ 1 ] ); - } - } - return this; - }, - - // resolve with given context and args - resolveWith: function( context, args ) { - if ( !cancelled && !fired && !firing ) { - // make sure args are available (#8421) - args = args || []; - firing = 1; - try { - while( callbacks[ 0 ] ) { - callbacks.shift().apply( context, args );//shifts a callback, and applies it to document - } - } - finally { - fired = [ context, args ]; - firing = 0; - } - } - return this; - }, - - // resolve with this as context and given arguments - resolve: function() { - deferred.resolveWith( this, arguments ); - return this; - }, - - // Has this deferred been resolved? - isResolved: function() { - return !!( firing || fired ); - }, - - // Cancel - cancel: function() { - cancelled = 1; - callbacks = []; - return this; - } - }; - - return deferred; - }, - type: function( obj ) { - return obj == null ? - String( obj ) : - class2type[ Object.prototype.toString.call(obj) ] || "object"; - } - } - // The DOM ready check for Internet Explorer - function doScrollCheck() { - if ( ReadyObj.isReady ) { - return; - } - - try { - // If IE is used, use the trick by Diego Perini - // http://javascript.nwbox.com/IEContentLoaded/ - document.documentElement.doScroll("left"); - } catch(e) { - setTimeout( doScrollCheck, 1 ); - return; - } - - // and execute any waiting functions - ReadyObj.ready(); - } - // Cleanup functions for the document ready method - if ( document.addEventListener ) { - DOMContentLoaded = function() { - document.removeEventListener( "DOMContentLoaded", DOMContentLoaded, false ); - ReadyObj.ready(); - }; - - } else if ( document.attachEvent ) { - DOMContentLoaded = function() { - // Make sure body exists, at least, in case IE gets a little overzealous (ticket #5443). - if ( document.readyState === "complete" ) { - document.detachEvent( "onreadystatechange", DOMContentLoaded ); - ReadyObj.ready(); - } - }; - } - function ready( fn ) { - // Attach the listeners - ReadyObj.bindReady(); - - var type = ReadyObj.type( fn ); - - // Add the callback - readyList.done( fn );//readyList is result of _Deferred() - } - return ready; -})(); \ No newline at end of file diff --git a/sources/preview_export/scripts/showPreview.js b/sources/preview_export/scripts/showPreview.js deleted file mode 100644 index 97f7e2f..0000000 --- a/sources/preview_export/scripts/showPreview.js +++ /dev/null @@ -1,16 +0,0 @@ -/*if (window.location.href.indexOf("preview=") != -1) { - $(function() { - var idx = window.location.href.indexOf("="); - var end = window.location.href.indexOf("&"); - if (end == -1) - end = window.location.href.length; - - var presentation = window.location.href.substring(idx+1, end); - $("body").html(decodeURIComponent(presentation)); - }); -}*/ - -$(function() { - startImpress(document, window); - impress().init(); -}); \ No newline at end of file diff --git a/sources/preview_export/shapes/circle.svg b/sources/preview_export/shapes/circle.svg deleted file mode 100644 index b7c80d7..0000000 --- a/sources/preview_export/shapes/circle.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/sources/preview_export/shapes/glasses.svg b/sources/preview_export/shapes/glasses.svg deleted file mode 100644 index 61ca13f..0000000 --- a/sources/preview_export/shapes/glasses.svg +++ /dev/null @@ -1,10 +0,0 @@ - - - black Star Glasses - - image/svg+xml - - Layer 1 - - - \ No newline at end of file diff --git a/sources/preview_export/shapes/heart.svg b/sources/preview_export/shapes/heart.svg deleted file mode 100644 index e6bce9d..0000000 --- a/sources/preview_export/shapes/heart.svg +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - - - - diff --git a/sources/preview_export/shapes/hexagon.svg b/sources/preview_export/shapes/hexagon.svg deleted file mode 100644 index c302824..0000000 --- a/sources/preview_export/shapes/hexagon.svg +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/sources/preview_export/shapes/infinity.svg b/sources/preview_export/shapes/infinity.svg deleted file mode 100644 index 2adcaa9..0000000 --- a/sources/preview_export/shapes/infinity.svg +++ /dev/null @@ -1,9 +0,0 @@ - - INFINITY SINGLE black - - image/svg+xml - - - Layer 1 - - \ No newline at end of file diff --git a/sources/preview_export/shapes/pacman.svg b/sources/preview_export/shapes/pacman.svg deleted file mode 100644 index 14b33ed..0000000 --- a/sources/preview_export/shapes/pacman.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/sources/preview_export/shapes/pentagon.svg b/sources/preview_export/shapes/pentagon.svg deleted file mode 100644 index bbcba98..0000000 --- a/sources/preview_export/shapes/pentagon.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - diff --git a/sources/preview_export/shapes/square.svg b/sources/preview_export/shapes/square.svg deleted file mode 100644 index 05cd603..0000000 --- a/sources/preview_export/shapes/square.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/sources/preview_export/shapes/star.svg b/sources/preview_export/shapes/star.svg deleted file mode 100644 index 764b54f..0000000 --- a/sources/preview_export/shapes/star.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/sources/preview_export/shapes/triangle.svg b/sources/preview_export/shapes/triangle.svg deleted file mode 100644 index 818d5f5..0000000 --- a/sources/preview_export/shapes/triangle.svg +++ /dev/null @@ -1,4 +0,0 @@ - - - - diff --git a/sources/preview_export/shapes/yinyang.svg b/sources/preview_export/shapes/yinyang.svg deleted file mode 100644 index 3f3cdaf..0000000 --- a/sources/preview_export/shapes/yinyang.svg +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/sources/scripts/amd-app.js b/sources/scripts/amd-app.js deleted file mode 100644 index 072cc77..0000000 --- a/sources/scripts/amd-app.js +++ /dev/null @@ -1,21 +0,0 @@ -!function(){function a(a,b){var c,d,e=null,f=a.document;return f.selection?(c=f.selection.createRange(),c.collapse(b),c.parentElement()):(a.getSelection&&(d=a.getSelection(),d.rangeCount>0&&(c=d.getRangeAt(0),e=c[b?"startContainer":"endContainer"],3===e.nodeType&&(e=e.parentNode))),e)}if(function(){var a={};!function(a,b){a.VERSION="1.0.0",a.COMPILER_REVISION=4,a.REVISION_CHANGES={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:">= 1.0.0"},a.helpers={},a.partials={};var c=Object.prototype.toString,d="[object Function]",e="[object Object]";a.registerHelper=function(b,d,f){if(c.call(b)===e){if(f||d)throw new a.Exception("Arg not supported with multiple helpers");a.Utils.extend(this.helpers,b)}else f&&(d.not=f),this.helpers[b]=d},a.registerPartial=function(b,d){c.call(b)===e?a.Utils.extend(this.partials,b):this.partials[b]=d},a.registerHelper("helperMissing",function(a){if(2===arguments.length)return b;throw new Error("Missing helper: '"+a+"'")}),a.registerHelper("blockHelperMissing",function(b,e){var f=e.inverse||function(){},g=e.fn,h=c.call(b);return h===d&&(b=b.call(this)),b===!0?g(this):b===!1||null==b?f(this):"[object Array]"===h?b.length>0?a.helpers.each(b,e):f(this):g(b)}),a.K=function(){},a.createFrame=Object.create||function(b){a.K.prototype=b;var c=new a.K;return a.K.prototype=null,c},a.logger={DEBUG:0,INFO:1,WARN:2,ERROR:3,level:3,methodMap:{0:"debug",1:"info",2:"warn",3:"error"},log:function(b,c){if(a.logger.level<=b){var d=a.logger.methodMap[b];"undefined"!=typeof console&&console[d]&&console[d].call(console,c)}}},a.log=function(b,c){a.logger.log(b,c)},a.registerHelper("each",function(b,e){var f,g=e.fn,h=e.inverse,i=0,j="",k=c.call(b);if(k===d&&(b=b.call(this)),e.data&&(f=a.createFrame(e.data)),b&&"object"==typeof b)if(b instanceof Array)for(var l=b.length;l>i;i++)f&&(f.index=i),j+=g(b[i],{data:f});else for(var m in b)b.hasOwnProperty(m)&&(f&&(f.key=m),j+=g(b[m],{data:f}),i++);return 0===i&&(j=h(this)),j}),a.registerHelper("if",function(b,e){var f=c.call(b);return f===d&&(b=b.call(this)),!b||a.Utils.isEmpty(b)?e.inverse(this):e.fn(this)}),a.registerHelper("unless",function(b,c){return a.helpers["if"].call(this,b,{fn:c.inverse,inverse:c.fn})}),a.registerHelper("with",function(b,e){var f=c.call(b);return f===d&&(b=b.call(this)),a.Utils.isEmpty(b)?void 0:e.fn(b)}),a.registerHelper("log",function(b,c){var d=c.data&&null!=c.data.level?parseInt(c.data.level,10):1;a.log(d,b)});var f=["description","fileName","lineNumber","message","name","number","stack"];a.Exception=function(){for(var a=Error.prototype.constructor.apply(this,arguments),b=0;b":">",'"':""","'":"'","`":"`"},h=/[&<>"'`]/g,i=/[&<>"'`]/,j=function(a){return g[a]||"&"};a.Utils={extend:function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])},escapeExpression:function(b){return b instanceof a.SafeString?b.toString():null==b||b===!1?"":(b=b.toString(),i.test(b)?b.replace(h,j):b)},isEmpty:function(a){return a||0===a?"[object Array]"===c.call(a)&&0===a.length?!0:!1:!0}},a.VM={template:function(b){var c={escapeExpression:a.Utils.escapeExpression,invokePartial:a.VM.invokePartial,programs:[],program:function(b,c,d){var e=this.programs[b];return d?e=a.VM.program(b,c,d):e||(e=this.programs[b]=a.VM.program(b,c)),e},merge:function(b,c){var d=b||c;return b&&c&&(d={},a.Utils.extend(d,c),a.Utils.extend(d,b)),d},programWithDepth:a.VM.programWithDepth,noop:a.VM.noop,compilerInfo:null};return function(d,e){e=e||{};var f=b.call(c,a,d,e.helpers,e.partials,e.data),g=c.compilerInfo||[],h=g[0]||1,i=a.COMPILER_REVISION;if(h!==i){if(i>h){var j=a.REVISION_CHANGES[i],k=a.REVISION_CHANGES[h];throw"Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version ("+j+") or downgrade your runtime to an older version ("+k+")."}throw"Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version ("+g[1]+")."}return f}},programWithDepth:function(a,b,c){var d=Array.prototype.slice.call(arguments,3),e=function(a,e){return e=e||{},b.apply(this,[a,e.data||c].concat(d))};return e.program=a,e.depth=d.length,e},program:function(a,b,c){var d=function(a,d){return d=d||{},b(a,d.data||c)};return d.program=a,d.depth=0,d},noop:function(){return""},invokePartial:function(c,d,e,f,g,h){var i={helpers:f,partials:g,data:h};if(c===b)throw new a.Exception("The partial "+d+" could not be found");if(c instanceof Function)return c(e,i);if(a.compile)return g[d]=a.compile(c,{data:h!==b}),g[d](e,i);throw new a.Exception("The partial "+d+" could not be compiled when running in runtime-only mode")}},a.template=a.VM.template,"function"==typeof define&&define.amd&&define("handlebars",a)}(a)}(),define("../locales/de",{insert_image:"Bild einfügen",insert_video:"Video einfügen",insert_website:"Webseite einfügen",add_slide:"Folie hinzufügen",remove_slide:"Folie entfernen",slides:"Folien",overview:"Übersicht",open:"Öffnen",save:"Speichern",save_as:"Speichern als...",new_:"Neu",text:"Text",image:"Bild",video:"Video",website:"Webseite",present:"Präsentieren","export":"Exportieren...","import":"Importieren...",cut:"Ausschneiden",copy:"Kopieren",paste:"Einfügen","delete":"Löschen",undo:"Rückgängig",redo:"Wiederholen",shapes:"Formen",single_slide_bg:"Single Slide Background",invisible:"Unsichtbar",reset:"Zurücksetzen",go:"Gehe",strut_exporter_json:{explain:"Dies erlaubt Ihnen, eine Datei auf Ihrem Computer zu speichern, die Sie später wieder in Strut importieren können.",click_below:"Klicken sie zum Herunterladen auf das Symbol unten"},background:"Hintergrund",surface:"Oberfläche"}),define("../locales/en",{insert_image:"Insert Image",insert_video:"Insert Video",insert_website:"Insert Website",add_slide:"Add Slide",remove_slide:"Remove Slide",slides:"Slides",overview:"Overview",open:"Open",save:"Save",save_as:"Save as...",new_:"New",text:"Text",image:"Image",video:"Video",website:"Website",present:"Present","export":"Export...","import":"Import...",cut:"Cut",copy:"Copy",paste:"Paste","delete":"Delete",undo:"Undo",redo:"Redo",shapes:"Shapes",single_slide_bg:"Single Slide Background",invisible:"Invisible",reset:"Reset",go:"Go",strut_exporter_json:{explain:"This allows you to save a file on your computer that you can import back into Strut later.",click_below:"Click below to download"},background:"Background",surface:"Surface"}),define("../locales/es",{insert_image:"Insertar imagen",insert_video:"Insertarr vídeo",insert_website:"Insertar sitio web",add_slide:"Añadir diapositiva",remove_slide:"Eliminar diapositiva",slides:"Diapositivas",overview:"Resumen",open:"Abrir",save:"Guardar",save_as:"Guardar como...",new_:"Nuevo",text:"Texto",image:"Imagen",video:"Vídeo",website:"Sitio Web",present:"Presentar","export":"Exportar...","import":"Importar...",cut:"Cortar",copy:"Copiar",paste:"Pegar","delete":"Borrar",undo:"Deshacer",redo:"Rehacer",shapes:"Formas",single_slide_bg:"Single Slide Background",invisible:"Invisible",reset:"Reajustar",go:"Ir",strut_exporter_json:{explain:"Esto te permite guardar un archivo en tu ordenador que podrás importar en Strut posteriormente.",click_below:"Haz Copiarlick abajo para descargar."},background:"Fondo",surface:"Superficie"}),define("../locales/fr",{insert_image:"Insérer une image",insert_video:"Insérer une vidéo",insert_website:"Insérer un site web",add_slide:"Ajouter une diapo",remove_slide:"Supprimer la diapo",slides:"Diapos",overview:"Panorama",open:"Ouvrir",save:"Enregistrer",save_as:"Enregistrer sous...",new_:"Nouveau",text:"Texte",image:"Image",video:"Vidéo",website:"Site web",present:"Courant","export":"Exporter...","import":"Importer...",cut:"Couper",copy:"Copier",paste:"Coller","delete":"Effacer",undo:"Annuler",redo:"Refaire",shapes:"Formes",single_slide_bg:"Single Slide Background",invisible:"Invisible",reset:"Réinitialiser",go:"Aller",strut_exporter_json:{explain:"Vous pouvez sauvegarder la présentation dans fichier que vous pourrez réimporter dans Strut plus tard",click_below:"Cliquer ci-dessous pour télécharger le fichier"},background:"Fond",surface:"Surface"}),define("../locales/nl",{insert_image:"Afbeelding invoegen",insert_video:"Video invoegen",insert_website:"Website invoegen",add_slide:"Dia toevoegen",remove_slide:"Dia verwijderen",slides:"Dia's",overview:"Overzicht",open:"Openen",save:"Opslaan",save_as:"Opslaan als...",new_:"Nieuw",text:"Tekst",image:"Afbeelding",video:"Video",website:"Website",present:"Presenteren","export":"Exporteren...","import":"Importeren...",cut:"Knippen",copy:"Kopiëren",paste:"Plakken","delete":"Verwijderen",undo:"Ongedaan maken",redo:"Opnieuw",shapes:"Vormen",single_slide_bg:"Achtergrond per dia",invisible:"Onzichtbaar",reset:"Terugzetten",go:"Gaan",strut_exporter_json:{explain:"Deze functie maakt het mogelijk om een bestand op te slaan, welke later weer in Strut geïmporteerd kan worden.",click_below:"Klik hieronder om te downloaden"},background:"Achtergrond",surface:"Werkblad"}),define("../locales/ru",{insert_image:"Вставить картинку",insert_video:"Вставить видео",insert_website:"Вставить ссылку",add_slide:"Добавить слайд",remove_slide:"Удалить слайд",slides:"Слайды",overview:"Эффекты",open:"Открыть",save:"Сохранить",save_as:"Сохранить как...",new_:"Создать",text:"Текст",image:"Картинка",video:"Видео",website:"Ссылка",present:"Показать","export":"Экспортировать...","import":"Импортировать...",cut:"Вырезать",copy:"Копировать",paste:"Вставить","delete":"Удалить",undo:"Отменить",redo:"Повторить",shapes:"Фигуры",single_slide_bg:"Фон одного слайда",invisible:"Невидимый",reset:"Сброс",go:"Вперёд",strut_exporter_json:{explain:"Здесь можно скачать файл, который при необходимости можно будет импортировать в Strut.",click_below:"Для этого нажмите ниже."},background:"Фон",surface:"Холст"}),define("lang",["../locales/de","../locales/en","../locales/es","../locales/fr","../locales/nl","../locales/ru","handlebars"],function(a,b,c,d,e,f,g){var h={en:b,de:a,es:c,fr:d,nl:e,ru:f},i=window.navigator.language||window.navigator.userLanguage,j=h[i.split("-")[0]]||h.en;return g.registerHelper("lang",function(a){return j[a]}),j}),define("compiled-templates",["handlebars"],function(a){return this.JST=this.JST||{},this.JST["strut.etch_extension/align"]=a.template(function(a,b,c,d,e){this.compilerInfo=[4,">= 1.0.0"],c=this.merge(c,a.helpers),e=e||{};var f,g="",h="function",i=this.escapeExpression;return g+=''}),this.JST["strut.etch_extension/colorChooser"]=a.template(function(a,b,c,d,e){this.compilerInfo=[4,">= 1.0.0"],c=this.merge(c,a.helpers),e=e||{};var f,g="",h="function",i=this.escapeExpression;return g+=''}),this.JST["strut.etch_extension/defaultButton"]=a.template(function(a,b,c,d,e){this.compilerInfo=[4,">= 1.0.0"],c=this.merge(c,a.helpers),e=e||{};var f,g="",h="function",i=this.escapeExpression;return g+='',(f=c.display)?f=f.call(b,{hash:{},data:e}):(f=b.display,f=typeof f===h?f.apply(b):f),g+=i(f)+""}),this.JST["strut.etch_extension/fontFamilySelection"]=a.template(function(a,b,c,d,e){return this.compilerInfo=[4,">= 1.0.0"],c=this.merge(c,a.helpers),e=e||{},''}),this.JST["strut.etch_extension/fontSizeSelection"]=a.template(function(a,b,c,d,e){return this.compilerInfo=[4,">= 1.0.0"],c=this.merge(c,a.helpers),e=e||{},'
    \n 72\n \n \n
    '}),this.JST["strut.header/Header"]=a.template(function(a,b,c,d,e){return this.compilerInfo=[4,">= 1.0.0"],c=this.merge(c,a.helpers),e=e||{},''}),this.JST["strut.logo_button/Logo"]=a.template(function(a,b,c,d,e){return this.compilerInfo=[4,">= 1.0.0"],c=this.merge(c,a.helpers),e=e||{},'\n'}),this.JST["strut.presentation_generator.bespoke/BespokeTemplate"]=a.template(function(a,b,c,d,e){function f(a,b,e){var f,j,k,l="";return l+="\n \n \n ",j=p.invokePartial(d.PerSlideSurfaceStylesheet,"PerSlideSurfaceStylesheet",a,c,d,b),(j||0===j)&&(l+=j),l+='\n
    \n
    \n ',f=a.slides,f=null==f||f===!1?f:f.models,f=typeof f===q?f.apply(a):f,j=t.call(a,f,{hash:{},inverse:p.noop,fn:p.programWithDepth(6,i,b,e),data:b}),(j||0===j)&&(l+=j),l+="\n
    \n
    \n"}function g(a,b){var e,f="";return f+="\n ",e=p.invokePartial(d.CustomBgStylesheet,"CustomBgStylesheet",a,c,d,b),(e||0===e)&&(f+=e),f+="\n "}function h(a,b){var d,e="";return(d=c.surface)?d=d.call(a,{hash:{},data:b}):(d=a.surface,d=typeof d===q?d.apply(a):d),e+=r(d)+" "}function i(a,b,d){var e,f,g="";return g+="\n ",f={hash:{},inverse:p.noop,fn:p.programWithDepth(7,j,b,a,d),data:b},(e=c.attributes)?e=e.call(a,f):(e=a.attributes,e=typeof e===q?e.apply(a):e),c.attributes||(e=t.call(a,e,f)),(e||0===e)&&(g+=e),g+="\n "}function j(a,b,d,e){var f,g,h,i="";return i+='\n
    \n
    \n ',h={hash:{},inverse:p.noop,fn:p.program(8,k,b),data:b},f=c.marked||a.marked,g=f?f.call(a,a.markdown,h):s.call(a,"marked",a.markdown,h),(g||0===g)&&(i+=g),i+="\n
    \n ",h={hash:{},inverse:p.noop,fn:p.program(10,l,b),data:b},(g=c.components)?g=g.call(a,h):(g=a.components,g=typeof g===q?g.apply(a):g),c.components||(g=t.call(a,g,h)),(g||0===g)&&(i+=g),i+="\n
    \n "}function k(){var a="";return a}function l(a,b){var d,e,f,g="";return g+="\n ",f={hash:{},inverse:p.noop,fn:p.program(8,k,b),data:b},d=c.renderComponent||a.renderComponent,e=d?d.call(a,a,f):s.call(a,"renderComponent",a,f),(e||0===e)&&(g+=e),g+="\n "}this.compilerInfo=[4,">= 1.0.0"],c=this.merge(c,a.helpers),d=this.merge(d,a.partials),e=e||{};var m,n,o="",p=this,q="function",r=this.escapeExpression,s=c.helperMissing,t=c.blockHelperMissing;return n={hash:{},inverse:p.noop,fn:p.programWithDepth(1,f,e,b),data:e},(m=c.attributes)?m=m.call(b,n):(m=b.attributes,m=typeof m===q?m.apply(b):m),c.attributes||(m=t.call(b,m,n)),(m||0===m)&&(o+=m),o+="\n"}),this.JST["strut.presentation_generator.handouts/HandoutsTemplate"]=a.template(function(a,b,c,d,e){function f(a,b,d){var e,f,h="";return h+='\n\n\n
    \n',e=a.slides,e=null==e||e===!1?e:e.models,e=typeof e===o?e.apply(a):e,f=p.call(a,e,{hash:{},inverse:m.noop,fn:m.programWithDepth(2,g,b,d),data:b}),(f||0===f)&&(h+=f),h+="\n
    \n"}function g(a,b,d){var e,f,g="";return g+="\n",f={hash:{},inverse:m.noop,fn:m.programWithDepth(3,h,b,a,d),data:b},(e=c.attributes)?e=e.call(a,f):(e=a.attributes,e=typeof e===o?e.apply(a):e),c.attributes||(e=p.call(a,e,f)),(e||0===e)&&(g+=e),g+='\n\n
    \n Notes:\n
    \n\n'}function h(a,b,d,e){var f,g,h,k="";return k+='\n
    \n
    \n
    \n',h={hash:{},inverse:m.noop,fn:m.program(4,i,b),data:b},f=c.marked||a.marked,g=f?f.call(a,a.markdown,h):n.call(a,"marked",a.markdown,h),(g||0===g)&&(k+=g),k+="\n
    \n",h={hash:{},inverse:m.noop,fn:m.program(6,j,b),data:b},(g=c.components)?g=g.call(a,h):(g=a.components,g=typeof g===o?g.apply(a):g),c.components||(g=p.call(a,g,h)),(g||0===g)&&(k+=g),k+="\n"}function i(){var a="";return a}function j(a,b){var d,e,f,g="";return g+="\n",f={hash:{},inverse:m.noop,fn:m.program(4,i,b),data:b},d=c.renderComponent||a.renderComponent,e=d?d.call(a,a,f):n.call(a,"renderComponent",a,f),(e||0===e)&&(g+=e),g+="\n"}this.compilerInfo=[4,">= 1.0.0"],c=this.merge(c,a.helpers),e=e||{};var k,l,m=this,n=c.helperMissing,o="function",p=c.blockHelperMissing;return l={hash:{},inverse:m.noop,fn:m.programWithDepth(1,f,e,b),data:e},(k=c.attributes)?k=k.call(b,l):(k=b.attributes,k=typeof k===o?k.apply(b):k),c.attributes||(k=p.call(b,k,l)),k||0===k?k:""}),this.JST["strut.presentation_generator.impress/ComponentContainer"]=a.template(function(a,b,c,d,e){function f(){var a="";return a}function g(a,b){var d,e="";return e+="rotate(",(d=c.rotate)?d=d.call(a,{hash:{},data:b}):(d=a.rotate,d=typeof d===p?d.apply(a):d),e+=q(d)+"rad)"}function h(a,b){var d,e="";return e+="skewX(",(d=c.skewX)?d=d.call(a,{hash:{},data:b}):(d=a.skewX,d=typeof d===p?d.apply(a):d),e+=q(d)+"rad)"}function i(a,b){var d,e="";return e+="skewY(",(d=c.skewY)?d=d.call(a,{hash:{},data:b}):(d=a.skewY,d=typeof d===p?d.apply(a):d),e+=q(d)+"rad)"}function j(a,b){var d,e,g,h="";return g={hash:{},inverse:r.noop,fn:r.program(1,f,b),data:b},d=c.round||a.round,e=d?d.call(a,(d=a.scale,null==d||d===!1?d:d.width),g):s.call(a,"round",(d=a.scale,null==d||d===!1?d:d.width),g),(e||0===e)&&(h+=e),h+="px"}function k(a,b){var d,e,g,h="";return g={hash:{},inverse:r.noop,fn:r.program(1,f,b),data:b},d=c.round||a.round,e=d?d.call(a,(d=a.scale,null==d||d===!1?d:d.height),g):s.call(a,"round",(d=a.scale,null==d||d===!1?d:d.height),g),(e||0===e)&&(h+=e),h+="px"}this.compilerInfo=[4,">= 1.0.0"],c=this.merge(c,a.helpers),d=this.merge(d,a.partials),e=e||{};var l,m,n,o="",p="function",q=this.escapeExpression,r=this,s=c.helperMissing;return o+='
    \n',m=r.invokePartial(d.TransformContainer,"TransformContainer",b,c,d,e),(m||0===m)&&(o+=m),o}),this.JST["strut.presentation_generator.impress/Image"]=a.template(function(a,b,c,d,e){this.compilerInfo=[4,">= 1.0.0"],c=this.merge(c,a.helpers),d=this.merge(d,a.partials),e=e||{};var f,g="",h=this,i="function",j=this.escapeExpression;return f=h.invokePartial(d.ComponentContainer,"ComponentContainer",b,c,d,e),(f||0===f)&&(g+=f),g+='\n\n
    \n
    '}),this.JST["strut.presentation_generator.impress/ImpressTemplate"]=a.template(function(a,b,c,d,e){function f(a,b,e){var f,j,l,m="";return m+='\n\n\n",j=u.invokePartial(d.PerSlideSurfaceStylesheet,"PerSlideSurfaceStylesheet",a,c,d,b),(j||0===j)&&(m+=j),m+='\n\n
    \n\n\n\n\n\n\n\n\n\n\n\n
    \n\n
    \n

    Your browser doesn\'t support the features required by impress.js, so you are presented with a simplified version of this presentation.

    \n

    For the best experience please use the latest Chrome, Safari or Firefox browser.

    \n
    \n\n
    \n
    \n
    \n ',f=a.slides,f=null==f||f===!1?f:f.models,f=typeof f===v?f.apply(a):f,j=y.call(a,f,{hash:{},inverse:u.noop,fn:u.programWithDepth(6,i,b,e),data:b}),(j||0===j)&&(m+=j),m+='\n
    \n '}function g(a,b){var e,f="";return f+="\n ",e=u.invokePartial(d.CustomBgStylesheet,"CustomBgStylesheet",a,c,d,b),(e||0===e)&&(f+=e),f+="\n"}function h(a,b){var d,e="";return(d=c.surface)?d=d.call(a,{hash:{},data:b}):(d=a.surface,d=typeof d===v?d.apply(a):d),e+=w(d)+" "}function i(a,b,d){var e,f,g="";return g+="\n ",f={hash:{},inverse:u.noop,fn:u.programWithDepth(7,j,b,a,d),data:b},(e=c.attributes)?e=e.call(a,f):(e=a.attributes,e=typeof e===v?e.apply(a):e),c.attributes||(e=y.call(a,e,f)),(e||0===e)&&(g+=e),g+="\n
    \n "}function j(a,b,d,e){var f,g,h,i="";return i+='\n
    \n
    \n
    \n ',h={hash:{},inverse:u.noop,fn:u.program(8,k,b),data:b},f=c.marked||a.marked,g=f?f.call(a,a.markdown,h):x.call(a,"marked",a.markdown,h),(g||0===g)&&(i+=g),i+="\n
    \n ",h={hash:{},inverse:u.noop,fn:u.program(20,q,b),data:b},(g=c.components)?g=g.call(a,h):(g=a.components,g=typeof g===v?g.apply(a):g),c.components||(g=y.call(a,g,h)),(g||0===g)&&(i+=g),i+="\n
    \n "}function k(){var a="";return a}function l(a,b){var d,e,f,g="";return g+='data-rotate-x="',f={hash:{},inverse:u.noop,fn:u.program(8,k,b),data:b},d=c.toDeg||a.toDeg,e=d?d.call(a,a.rotateX,f):x.call(a,"toDeg",a.rotateX,f),(e||0===e)&&(g+=e),g+='"'}function m(a,b){var d,e,f,g="";return g+='data-rotate-y="',f={hash:{},inverse:u.noop,fn:u.program(8,k,b),data:b},d=c.toDeg||a.toDeg,e=d?d.call(a,a.rotateY,f):x.call(a,"toDeg",a.rotateY,f),(e||0===e)&&(g+=e),g+='"'}function n(a,b){var d,e,f,g="";return g+='data-rotate-z="',f={hash:{},inverse:u.noop,fn:u.program(8,k,b),data:b},d=c.toDeg||a.toDeg,e=d?d.call(a,a.rotateZ,f):x.call(a,"toDeg",a.rotateZ,f),(e||0===e)&&(g+=e),g+='"'}function o(a,b){var d,e="";return e+='data-z="',(d=c.z)?d=d.call(a,{hash:{},data:b}):(d=a.z,d=typeof d===v?d.apply(a):d),e+=w(d)+'"'}function p(a,b){var d,e="";return e+='data-scale="',(d=c.impScale)?d=d.call(a,{hash:{},data:b}):(d=a.impScale,d=typeof d===v?d.apply(a):d),e+=w(d)+'"'}function q(a,b){var d,e,f,g="";return g+="\n ",f={hash:{},inverse:u.noop,fn:u.program(8,k,b),data:b},d=c.renderComponent||a.renderComponent,e=d?d.call(a,a,f):x.call(a,"renderComponent",a,f),(e||0===e)&&(g+=e),g+="\n "}this.compilerInfo=[4,">= 1.0.0"],c=this.merge(c,a.helpers),d=this.merge(d,a.partials),e=e||{};var r,s,t="",u=this,v="function",w=this.escapeExpression,x=c.helperMissing,y=c.blockHelperMissing;return s={hash:{},inverse:u.noop,fn:u.programWithDepth(1,f,e,b),data:e},(r=c.attributes)?r=r.call(b,s):(r=b.attributes,r=typeof r===v?r.apply(b):r),c.attributes||(r=y.call(b,r,s)),(r||0===r)&&(t+=r),t+='\n
    \n
    \n

    Use a spacebar or arrow keys to navigate

    \n
    \n
    \n
    '}),this.JST["strut.presentation_generator.impress/SVGContainer"]=a.template(function(a,b,c,d,e){this.compilerInfo=[4,">= 1.0.0"],c=this.merge(c,a.helpers),d=this.merge(d,a.partials),e=e||{};var f,g,h="",i="function",j=this.escapeExpression,k=this;return h+='
    \n',g=k.invokePartial(d.TransformContainer,"TransformContainer",b,c,d,e),(g||0===g)&&(h+=g),h}),this.JST["strut.presentation_generator.impress/SVGImage"]=a.template(function(a,b,c,d,e){this.compilerInfo=[4,">= 1.0.0"],c=this.merge(c,a.helpers),d=this.merge(d,a.partials),e=e||{};var f,g="",h=this,i="function",j=this.escapeExpression; -return f=h.invokePartial(d.SVGContainer,"SVGContainer",b,c,d,e),(f||0===f)&&(g+=f),g+='\n\n
    \n
    '}),this.JST["strut.presentation_generator.impress/Shape"]=a.template(function(a,b,c,d,e){function f(){var a="";return a}this.compilerInfo=[4,">= 1.0.0"],c=this.merge(c,a.helpers),d=this.merge(d,a.partials),e=e||{};var g,h,i="",j=this,k="function",l=c.blockHelperMissing;return g=j.invokePartial(d.ComponentContainer,"ComponentContainer",b,c,d,e),(g||0===g)&&(i+=g),i+="\n",h={hash:{},inverse:j.noop,fn:j.program(1,f,e),data:e},(g=c.shapeSvg)?g=g.call(b,h):(g=b.shapeSvg,g=typeof g===k?g.apply(b):g),c.shapeSvg||(g=l.call(b,g,h)),(g||0===g)&&(i+=g),i+="\n\n"}),this.JST["strut.presentation_generator.impress/TextBox"]=a.template(function(a,b,c,d,e){this.compilerInfo=[4,">= 1.0.0"],c=this.merge(c,a.helpers),d=this.merge(d,a.partials),e=e||{};var f,g="",h=this,i="function",j=this.escapeExpression;return f=h.invokePartial(d.ComponentContainer,"ComponentContainer",b,c,d,e),(f||0===f)&&(g+=f),g+='\n
    \n',(f=c.text)?f=f.call(b,{hash:{},data:e}):(f=b.text,f=typeof f===i?f.apply(b):f),g+=j(f)+"\n
    \n\n"}),this.JST["strut.presentation_generator.impress/TransformContainer"]=a.template(function(a,b,c,d,e){function f(a,b){var d,e,f,h="";return h+="scale(",f={hash:{},inverse:j.noop,fn:j.program(2,g,b),data:b},d=c.round||a.round,e=d?d.call(a,(d=a.scale,null==d||d===!1?d:d.x),f):k.call(a,"round",(d=a.scale,null==d||d===!1?d:d.x),f),(e||0===e)&&(h+=e),h+=", ",f={hash:{},inverse:j.noop,fn:j.program(2,g,b),data:b},d=c.round||a.round,e=d?d.call(a,(d=a.scale,null==d||d===!1?d:d.y),f):k.call(a,"round",(d=a.scale,null==d||d===!1?d:d.y),f),(e||0===e)&&(h+=e),h+=")"}function g(){var a="";return a}this.compilerInfo=[4,">= 1.0.0"],c=this.merge(c,a.helpers),e=e||{};var h,i="",j=this,k=c.helperMissing;return i+='
    '}),this.JST["strut.presentation_generator.impress/Video"]=a.template(function(a,b,c,d,e){this.compilerInfo=[4,">= 1.0.0"],c=this.merge(c,a.helpers),d=this.merge(d,a.partials),e=e||{};var f,g="",h=this,i="function",j=this.escapeExpression;return f=h.invokePartial(d.ComponentContainer,"ComponentContainer",b,c,d,e),(f||0===f)&&(g+=f),g+='\n\n
    \n'}),this.JST["strut.presentation_generator.impress/WebFrame"]=a.template(function(a,b,c,d,e){this.compilerInfo=[4,">= 1.0.0"],c=this.merge(c,a.helpers),d=this.merge(d,a.partials),e=e||{};var f,g="",h=this,i="function",j=this.escapeExpression;return f=h.invokePartial(d.ComponentContainer,"ComponentContainer",b,c,d,e),(f||0===f)&&(g+=f),g+='\n\n\n'}),this.JST["strut.presentation_generator.impress/Youtube"]=a.template(function(a,b,c,d,e){this.compilerInfo=[4,">= 1.0.0"],c=this.merge(c,a.helpers),d=this.merge(d,a.partials),e=e||{};var f,g,h="",i=this,j="function",k=this.escapeExpression;return f=i.invokePartial(d.SVGContainer,"SVGContainer",b,c,d,e),(f||0===f)&&(h+=f),h+='\n\n\n'}),this.JST["strut.presentation_generator.impress/YoutubeContainer"]=a.template(function(a,b,c,d,e){this.compilerInfo=[4,">= 1.0.0"],c=this.merge(c,a.helpers),d=this.merge(d,a.partials),e=e||{};var f,g="",h="function",i=this.escapeExpression,j=this;return g+='
    \n',f=j.invokePartial(d.TransformContainer,"TransformContainer",b,c,d,e),(f||0===f)&&(g+=f),g}),this.JST["strut.presentation_generator.reveal/RevealTemplate"]=a.template(function(a,b,c,d,e){function f(a,b,e){var f,i,j,k="";return k+='\n \n ",f=q.invokePartial(d.PerSlideSurfaceStylesheet,"PerSlideSurfaceStylesheet",a,c,d,b),(f||0===f)&&(k+=f),k+='\n \n
    \n
    \n
    \n ',f=a.slides,f=null==f||f===!1?f:f.models,f=typeof f===o?f.apply(a):f,i=s.call(a,f,{hash:{},inverse:q.noop,fn:q.programWithDepth(4,h,b,e),data:b}),(i||0===i)&&(k+=i),k+="\n
    \n
    \n
    \n"}function g(a,b){var d,e="";return(d=c.surface)?d=d.call(a,{hash:{},data:b}):(d=a.surface,d=typeof d===o?d.apply(a):d),e+=p(d)+" "}function h(a,b,d){var e,f,g="";return g+="\n ",f={hash:{},inverse:q.noop,fn:q.programWithDepth(5,i,b,a,d),data:b},(e=c.attributes)?e=e.call(a,f):(e=a.attributes,e=typeof e===o?e.apply(a):e),c.attributes||(e=s.call(a,e,f)),(e||0===e)&&(g+=e),g+="\n "}function i(a,b,d,e){var f,g,h,i="";return i+='\n
    \n
    \n ',h={hash:{},inverse:q.noop,fn:q.program(6,j,b),data:b},f=c.marked||a.marked,g=f?f.call(a,a.markdown,h):r.call(a,"marked",a.markdown,h),(g||0===g)&&(i+=g),i+="\n
    \n ",h={hash:{},inverse:q.noop,fn:q.program(8,k,b),data:b},(g=c.components)?g=g.call(a,h):(g=a.components,g=typeof g===o?g.apply(a):g),c.components||(g=s.call(a,g,h)),(g||0===g)&&(i+=g),i+="\n
    \n "}function j(){var a="";return a}function k(a,b){var d,e,f,g="";return g+="\n ",f={hash:{},inverse:q.noop,fn:q.program(6,j,b),data:b},d=c.renderComponent||a.renderComponent,e=d?d.call(a,a,f):r.call(a,"renderComponent",a,f),(e||0===e)&&(g+=e),g+="\n "}this.compilerInfo=[4,">= 1.0.0"],c=this.merge(c,a.helpers),d=this.merge(d,a.partials),e=e||{};var l,m,n="",o="function",p=this.escapeExpression,q=this,r=c.helperMissing,s=c.blockHelperMissing;return m={hash:{},inverse:q.noop,fn:q.programWithDepth(1,f,e,b),data:e},(l=c.attributes)?l=l.call(b,m):(l=b.attributes,l=typeof l===o?l.apply(b):l),c.attributes||(l=s.call(b,l,m)),(l||0===l)&&(n+=l),n+="\n"}),this.JST["strut.presentation_generator/Button"]=a.template(function(a,b,c,d,e){function f(a,b){var d,e="";return e+='\n
  • \n \n ',(d=c.displayName)?d=d.call(a,{hash:{},data:b}):(d=a.displayName,d=typeof d===j?d.apply(a):d),e+=k(d)+"\n
  • \n "}this.compilerInfo=[4,">= 1.0.0"],c=this.merge(c,a.helpers),e=e||{};var g,h,i="",j="function",k=this.escapeExpression,l=this;return i+='\n\n"}),this.JST["strut.presentation_generator/CustomBgStylesheet"]=a.template(function(a,b,c,d,e){function f(a,b){var d,e="";return e+="\n .",(d=c.klass)?d=d.call(a,{hash:{},data:b}):(d=a.klass,d=typeof d===i?d.apply(a):d),e+=j(d)+" {\n background: ",(d=c.style)?d=d.call(a,{hash:{},data:b}):(d=a.style,d=typeof d===i?d.apply(a):d),e+=j(d)+";\n }\n"}this.compilerInfo=[4,">= 1.0.0"],c=this.merge(c,a.helpers),e=e||{};var g,h,i="function",j=this.escapeExpression,k=this,l=c.blockHelperMissing;return g=typeof b===i?b.apply(b):b,h=l.call(b,g,{hash:{},inverse:k.noop,fn:k.program(1,f,e),data:e}),h||0===h?h:""}),this.JST["strut.presentation_generator/PerSlideSurfaceStylesheet"]=a.template(function(a,b,c,d,e){function f(a,b){var d,e,f,h="";return h+="\n .strut-surface {\n ",f={hash:{},inverse:q.noop,fn:q.program(2,g,b),data:b},d=c.getBGImgStyle||a.getBGImgStyle,e=d?d.call(a,a.surface,f):r.call(a,"getBGImgStyle",a.surface,f),(e||0===e)&&(h+=e),h+="\n }\n"}function g(){var a="";return a}function h(a,b){var d,e,f,h="";return h+="\n .slideContainer {\n ",f={hash:{},inverse:q.noop,fn:q.program(2,g,b),data:b},d=c.getBGImgStyle||a.getBGImgStyle,e=d?d.call(a,a.background,f):r.call(a,"getBGImgStyle",a.background,f),(e||0===e)&&(h+=e),h+="\n }\n"}function i(a,b){var d,e,f="";return f+="\n ",e={hash:{},inverse:q.noop,fn:q.program(7,j,b),data:b},(d=c.attributes)?d=d.call(a,e):(d=a.attributes,d=typeof d===s?d.apply(a):d),c.attributes||(d=u.call(a,d,e)),(d||0===d)&&(f+=d),f+="\n"}function j(a,b){var d,e,f,g="";return g+="\n ",f={hash:{},inverse:q.noop,fn:q.program(8,k,b),data:b},d=c.isBGImg||a.isBGImg,e=d?d.call(a,a.surface,f):r.call(a,"isBGImg",a.surface,f),(e||0===e)&&(g+=e),g+="\n ",f={hash:{},inverse:q.noop,fn:q.program(10,l,b),data:b},d=c.isBGImg||a.isBGImg,e=d?d.call(a,a.background,f):r.call(a,"isBGImg",a.background,f),(e||0===e)&&(g+=e),g+="\n "}function k(a,b){var d,e,f,h="";return h+="\n .strut-surface > .strut-slide-"+t((d=b,d=null==d||d===!1?d:d.index,typeof d===s?d.apply(a):d))+" {\n /*this only works for bg images or custom bgs*/\n /*for bg classes we'll have to introduce a data api*/\n ",f={hash:{},inverse:q.noop,fn:q.program(2,g,b),data:b},d=c.getBGImgStyle||a.getBGImgStyle,e=d?d.call(a,a.surface,f):r.call(a,"getBGImgStyle",a.surface,f),(e||0===e)&&(h+=e),h+="\n }\n "}function l(a,b){var d,e,f,h="";return h+="\n .slideContainer.strut-slide-"+t((d=b,d=null==d||d===!1?d:d.index,typeof d===s?d.apply(a):d))+" {\n ",f={hash:{},inverse:q.noop,fn:q.program(2,g,b),data:b},d=c.getBGImgStyle||a.getBGImgStyle,e=d?d.call(a,a.background,f):r.call(a,"getBGImgStyle",a.background,f),(e||0===e)&&(h+=e),h+="\n }\n "}this.compilerInfo=[4,">= 1.0.0"],c=this.merge(c,a.helpers),e=e||{};var m,n,o,p="",q=this,r=c.helperMissing,s="function",t=this.escapeExpression,u=c.blockHelperMissing;return p+=""}),this.JST["strut.slide_components/Component"]=a.template(function(a,b,c,d,e){this.compilerInfo=[4,">= 1.0.0"],c=this.merge(c,a.helpers),e=e||{};var f,g="",h="function",i=this.escapeExpression;return g+='
    \n
    \n
    \n \n \n \n\n \n \n \n\n\n\n\n
    \n \n \n \n \n
    \n'}),this.JST["strut.slide_components/ShapesDropdown"]=a.template(function(a,b,c,d,e){function f(){var a="";return a}function g(a,b){var d,e,f="";return f+='\n
  • \n'}this.compilerInfo=[4,">= 1.0.0"],c=this.merge(c,a.helpers),e=e||{};var h,i,j,k="",l="function",m=this.escapeExpression,n=this,o=c.helperMissing,p=c.blockHelperMissing;return k+='\n \n ',j={hash:{},inverse:n.noop,fn:n.program(1,f,e),data:e},h=c.lang||b.lang,i=h?h.call(b,b.title,j):o.call(b,"lang",b.title,j),(i||0===i)&&(k+=i),k+='\n\n"}),this.JST["strut.slide_editor/Button"]=a.template(function(a,b,c,d,e){function f(){var a="";return a}this.compilerInfo=[4,">= 1.0.0"],c=this.merge(c,a.helpers),e=e||{};var g,h,i,j="",k=this,l=c.helperMissing;return j+='"}),this.JST["strut.slide_editor/Tablets"]=a.template(function(a,b,c,d,e){return this.compilerInfo=[4,">= 1.0.0"],c=this.merge(c,a.helpers),e=e||{},'
    \n
    \n
    \n \n
    '}),this.JST["strut.slide_snapshot/SlideDrawer"]=a.template(function(a,b,c,d,e){function f(){var a="";return a}function g(a,b){var d,e,g,h="";return h+="\n",g={hash:{},inverse:l.noop,fn:l.program(1,f,b),data:b},d=c.renderComponent||a.renderComponent,e=d?d.call(a,a,"Video WebFrame",g):m.call(a,"renderComponent",a,"Video WebFrame",g),(e||0===e)&&(h+=e),h+="\n"}this.compilerInfo=[4,">= 1.0.0"],c=this.merge(c,a.helpers),e=e||{};var h,i,j,k="",l=this,m=c.helperMissing,n="function",o=c.blockHelperMissing;return k+='
    \n',j={hash:{},inverse:l.noop,fn:l.program(1,f,e),data:e},h=c.marked||b.marked,i=h?h.call(b,b.markdown,j):m.call(b,"marked",b.markdown,j),(i||0===i)&&(k+=i),k+="\n
    \n",j={hash:{},inverse:l.noop,fn:l.program(3,g,e),data:e},(i=c.components)?i=i.call(b,j):(i=b.components,i=typeof i===n?i.apply(b):i),c.components||(i=o.call(b,i,j)),(i||0===i)&&(k+=i),k+="\n"}),this.JST["strut.slide_snapshot/SlideSnapshot"]=a.template(function(a,b,c,d,e){return this.compilerInfo=[4,">= 1.0.0"],c=this.merge(c,a.helpers),e=e||{},'
    \n
    \n\n '}),this.JST["strut.slide_snapshot/TransitionSlideSnapshot"]=a.template(function(a,b,c,d,e){this.compilerInfo=[4,">= 1.0.0"],c=this.merge(c,a.helpers),e=e||{};var f,g="",h="function",i=this.escapeExpression;return g+='
    \n
    \n
    \n
    \n
    \n
    \n
    \n\n
    \n ↻Y\n \n
    \n
    \n ↻X\n \n
    \n
    \n ↻Z\n \n
    \n
    \n z\n \n \n \n
    \n \n'}),this.JST["strut.splash/Splash"]=a.template(function(a,b,c,d,e){return this.compilerInfo=[4,">= 1.0.0"],c=this.merge(c,a.helpers),e=e||{},"
    "}),this.JST["strut.storage/ProviderTab"]=a.template(function(a,b,c,d,e){return this.compilerInfo=[4,">= 1.0.0"],c=this.merge(c,a.helpers),e=e||{},"
    "}),this.JST["strut.storage/StorageModal"]=a.template(function(a,b,c,d,e){function f(a,b){var d,e="";return e+='\n
  • ',(d=c.name)?d=d.call(a,{hash:{},data:b}):(d=a.name,d=typeof d===j?d.apply(a):d),e+=k(d)+"
  • \n "}this.compilerInfo=[4,">= 1.0.0"],c=this.merge(c,a.helpers),e=e||{};var g,h,i="",j="function",k=this.escapeExpression,l=this,m=c.blockHelperMissing;return i+='\n\n'}),this.JST["strut.themes/BackgroundChooserDropdown"]=a.template(function(a,b,c,d,e){function f(){var a="";return a}function g(a,b){var d,e="";return e+='\n
  • \n '}this.compilerInfo=[4,">= 1.0.0"],c=this.merge(c,a.helpers),e=e||{};var h,i,j,k="",l="function",m=this.escapeExpression,n=this,o=c.helperMissing,p=c.blockHelperMissing;return k+='\n \n ',j={hash:{},inverse:n.noop,fn:n.program(1,f,e),data:e},h=c.lang||b.lang,i=h?h.call(b,b.title,j):o.call(b,"lang",b.title,j),(i||0===i)&&(k+=i),k+='\n\n'}),this.JST["strut.themes/ColorChooserModal"]=a.template(function(a,b,c,d,e){return this.compilerInfo=[4,">= 1.0.0"],c=this.merge(c,a.helpers),e=e||{},'\n\n'}),this.JST["strut.themes/SurfaceChooserDropdown"]=a.template(function(a,b,c,d,e){function f(){var a="";return a}function g(a,b){var d,e="";return e+='\n
  • \n '}this.compilerInfo=[4,">= 1.0.0"],c=this.merge(c,a.helpers),e=e||{};var h,i,j,k="",l="function",m=this.escapeExpression,n=this,o=c.helperMissing,p=c.blockHelperMissing;return k+='\n \n ',j={hash:{},inverse:n.noop,fn:n.program(1,f,e),data:e},h=c.lang||b.lang,i=h?h.call(b,b.title,j):o.call(b,"lang",b.title,j),(i||0===i)&&(k+=i),k+='\n\n'}),this.JST["strut.transition_editor/Button"]=a.template(function(a,b,c,d,e){function f(){var a="";return a}this.compilerInfo=[4,">= 1.0.0"],c=this.merge(c,a.helpers),e=e||{};var g,h,i,j="",k=this,l=c.helperMissing;return j+='"}),this.JST["strut.transition_editor/CannedTransitions"]=a.template(function(a,b,c,d,e){function f(a,b){var d,e="";return e+='\n
  • \n \n \n \n
  • \n '}function g(){return" active"}this.compilerInfo=[4,">= 1.0.0"],c=this.merge(c,a.helpers),e=e||{};var h,i,j="",k="function",l=this.escapeExpression,m=this,n=c.blockHelperMissing;return j+='
      \n ',h=typeof b===k?b.apply(b):b,i=n.call(b,h,{hash:{},inverse:m.noop,fn:m.program(1,f,e),data:e}),(i||0===i)&&(j+=i),j+='\n
    \n\n Bespoke.js\n'}),this.JST["tantaman.web.widgets/CodeEditor"]=a.template(function(a,b,c,d,e){this.compilerInfo=[4,">= 1.0.0"],c=this.merge(c,a.helpers),e=e||{};var f,g="",h="function",i=this.escapeExpression;return g+='\n\n'}),this.JST["tantaman.web.widgets/FileBrowser"]=a.template(function(a,b,c,d,e){function f(a){var b="";return b+='\n
  • '+k(typeof a===j?a.apply(a):a)+'
  • \n '}this.compilerInfo=[4,">= 1.0.0"],c=this.merge(c,a.helpers),e=e||{};var g,h,i="",j="function",k=this.escapeExpression,l=this,m=c.blockHelperMissing;return i+='\n"}),this.JST["tantaman.web.widgets/ItemImportModal"]=a.template(function(a,b,c,d,e){function f(){return'
    Browse
    \n

    If local images are not loading, try to reduce the image size, alternatively you can upload your image on the external website imgur.com. To know more about imgur firm, here is the wikipedia page.
    We\'re working on changing this.

    '}this.compilerInfo=[4,">= 1.0.0"],c=this.merge(c,a.helpers),e=e||{};var g,h,i="",j="function",k=this.escapeExpression,l=this,m=c.blockHelperMissing;return i+='\n\n\n"}),this.JST["tantaman.web.widgets/PopoverTextbox"]=a.template(function(a,b,c,d,e){this.compilerInfo=[4,">= 1.0.0"],c=this.merge(c,a.helpers),e=e||{};var f,g="",h="function",i=this.escapeExpression;return(f=c.title)?f=f.call(b,{hash:{},data:e}):(f=b.title,f=typeof f===h?f.apply(b):f),g+=i(f)+' \n
    \nOk\nCancel\n
    '}),this.JST["tantaman.web.widgets/TabbedModal"]=a.template(function(a,b,c,d,e){function f(a,b){var d,e="";return e+='\n
  • ',(d=c.name)?d=d.call(a,{hash:{},data:b}):(d=a.name,d=typeof d===j?d.apply(a):d),e+=k(d)+"
  • \n "}this.compilerInfo=[4,">= 1.0.0"],c=this.merge(c,a.helpers),e=e||{};var g,h,i="",j="function",k=this.escapeExpression,l=this,m=c.blockHelperMissing;return i+='\n\n' -}),this.JST}),function(a,b){function c(a){var b=a.length,c=fb.type(a);return fb.isWindow(a)?!1:1===a.nodeType&&b?!0:"array"===c||"function"!==c&&(0===b||"number"==typeof b&&b>0&&b-1 in a)}function d(a){var b=ob[a]={};return fb.each(a.match(hb)||[],function(a,c){b[c]=!0}),b}function e(){Object.defineProperty(this.cache={},0,{get:function(){return{}}}),this.expando=fb.expando+Math.random()}function f(a,c,d){var e;if(d===b&&1===a.nodeType)if(e="data-"+c.replace(sb,"-$1").toLowerCase(),d=a.getAttribute(e),"string"==typeof d){try{d="true"===d?!0:"false"===d?!1:"null"===d?null:+d+""===d?+d:rb.test(d)?JSON.parse(d):d}catch(f){}pb.set(a,c,d)}else d=b;return d}function g(){return!0}function h(){return!1}function i(){try{return T.activeElement}catch(a){}}function j(a,b){for(;(a=a[b])&&1!==a.nodeType;);return a}function k(a,b,c){if(fb.isFunction(b))return fb.grep(a,function(a,d){return!!b.call(a,d,a)!==c});if(b.nodeType)return fb.grep(a,function(a){return a===b!==c});if("string"==typeof b){if(Cb.test(b))return fb.filter(b,a,c);b=fb.filter(b,a)}return fb.grep(a,function(a){return bb.call(b,a)>=0!==c})}function l(a,b){return fb.nodeName(a,"table")&&fb.nodeName(1===b.nodeType?b:b.firstChild,"tr")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function m(a){return a.type=(null!==a.getAttribute("type"))+"/"+a.type,a}function n(a){var b=Nb.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function o(a,b){for(var c=a.length,d=0;c>d;d++)qb.set(a[d],"globalEval",!b||qb.get(b[d],"globalEval"))}function p(a,b){var c,d,e,f,g,h,i,j;if(1===b.nodeType){if(qb.hasData(a)&&(f=qb.access(a),g=qb.set(b,f),j=f.events)){delete g.handle,g.events={};for(e in j)for(c=0,d=j[e].length;d>c;c++)fb.event.add(b,e,j[e][c])}pb.hasData(a)&&(h=pb.access(a),i=fb.extend({},h),pb.set(b,i))}}function q(a,c){var d=a.getElementsByTagName?a.getElementsByTagName(c||"*"):a.querySelectorAll?a.querySelectorAll(c||"*"):[];return c===b||c&&fb.nodeName(a,c)?fb.merge([a],d):d}function r(a,b){var c=b.nodeName.toLowerCase();"input"===c&&Kb.test(a.type)?b.checked=a.checked:("input"===c||"textarea"===c)&&(b.defaultValue=a.defaultValue)}function s(a,b){if(b in a)return b;for(var c=b.charAt(0).toUpperCase()+b.slice(1),d=b,e=_b.length;e--;)if(b=_b[e]+c,b in a)return b;return d}function t(a,b){return a=b||a,"none"===fb.css(a,"display")||!fb.contains(a.ownerDocument,a)}function u(b){return a.getComputedStyle(b,null)}function v(a,b){for(var c,d,e,f=[],g=0,h=a.length;h>g;g++)d=a[g],d.style&&(f[g]=qb.get(d,"olddisplay"),c=d.style.display,b?(f[g]||"none"!==c||(d.style.display=""),""===d.style.display&&t(d)&&(f[g]=qb.access(d,"olddisplay",z(d.nodeName)))):f[g]||(e=t(d),(c&&"none"!==c||!e)&&qb.set(d,"olddisplay",e?c:fb.css(d,"display"))));for(g=0;h>g;g++)d=a[g],d.style&&(b&&"none"!==d.style.display&&""!==d.style.display||(d.style.display=b?f[g]||"":"none"));return a}function w(a,b,c){var d=Ub.exec(b);return d?Math.max(0,d[1]-(c||0))+(d[2]||"px"):b}function x(a,b,c,d,e){for(var f=c===(d?"border":"content")?4:"width"===b?1:0,g=0;4>f;f+=2)"margin"===c&&(g+=fb.css(a,c+$b[f],!0,e)),d?("content"===c&&(g-=fb.css(a,"padding"+$b[f],!0,e)),"margin"!==c&&(g-=fb.css(a,"border"+$b[f]+"Width",!0,e))):(g+=fb.css(a,"padding"+$b[f],!0,e),"padding"!==c&&(g+=fb.css(a,"border"+$b[f]+"Width",!0,e)));return g}function y(a,b,c){var d=!0,e="width"===b?a.offsetWidth:a.offsetHeight,f=u(a),g=fb.support.boxSizing&&"border-box"===fb.css(a,"boxSizing",!1,f);if(0>=e||null==e){if(e=Qb(a,b,f),(0>e||null==e)&&(e=a.style[b]),Vb.test(e))return e;d=g&&(fb.support.boxSizingReliable||e===a.style[b]),e=parseFloat(e)||0}return e+x(a,b,c||(g?"border":"content"),d,f)+"px"}function z(a){var b=T,c=Xb[a];return c||(c=A(a,b),"none"!==c&&c||(Rb=(Rb||fb(""),this.$el.find(".content").append(b),this.$el.append('
    '),c=this.model.get("scale"),this.$el.css({width:960*c.x,height:768*c.y}),this.$el}})}),define("strut/slide_components/view/VideoView",["./ComponentView","./Mixers"],function(a,b){var c,d,e;return c=a.extend({className:"component videoView",initialize:function(){return a.prototype.initialize.apply(this,arguments)},render:function(){var b,c=this;return a.prototype.render.call(this),b=$(""),b.append(""),b.bind("loadedmetadata",function(){c._finishRender($(this))}),this.$el.find(".content").append(b),this.$el},_finishRender:function(a){this.origSize={width:a[0].videoWidth,height:a[0].videoHeight},this._setUpdatedTransform()}}),d=a.extend({className:"component videoView",initialize:function(){a.prototype.initialize.apply(this,arguments),this.scale=b.scaleObjectEmbed,this.model.off("change:scale",this._setUpdatedTransform,this),this.model.on("change:scale",b.scaleChangeObjectEmbed,this)},render:function(){var b,c;return a.prototype.render.call(this),b='',this.$object=$(b),this.$embed=this.$object.find("embed"),c=this.model.get("scale"),c&&c.width?(this.$object.attr(c),this.$embed.attr(c)):this.model.attributes.scale={width:425,height:344},this.$el.find(".content").append(this.$object),this.$el}}),e={html5:c,youtube:d},function(a){return new(e[a.model.get("videoType")])(a)}}),define("tantaman/web/widgets/Utils",[],function(){return{fitSizeToScale:function(a,b){for(var c=a.length,d=0;c>d;++d){var e=$(a[d]),f=e.outerWidth(),g=e.outerHeight(),h=e.parent();h.width(f*b),h.height(g*b)}}}}),define("strut/slide_components/view/ShapesDropdown",["tantaman/web/widgets/Dropdown","tantaman/web/widgets/Utils"],function(a){function b(b,c,d){a.apply(this,arguments),this._editorModel=d.editorModel,this._shapes=b.shapes,this.$el.on("click",".shape",this._selected.bind(this))}return e(b,a),b.prototype._selected=function(a){this._editorModel.addComponent({markup:this._shapes[a.currentTarget.dataset.index].markup,type:"Shape"})},b}),define("strut/slide_components/ShapeCollection",[],function(){function a(b,c,d,e){if(!(this instanceof a))return new a(b,c,d,e);this.name=b;var f,g=window.location.href,h=g.indexOf("#");-1!=h&&(g=g.substring(0,h)),f=g.lastIndexOf("/"),-1!=f&&(g=g.substring(0,f)),this.src=g+"/preview_export/shapes/"+c,this.markup=d,this.aspect=e}function b(){this.title="shapes",this.shapes=[a("square","square.svg",'',1),a("triangle","triangle.svg",'',1),a("circle","circle.svg",'',1),a("hexagon","hexagon.svg",'',1),a("pentagon","pentagon.svg",'',1),a("star","star.svg",'',1),a("pacman","pacman.svg",'',1),a("heart","heart.svg",'',1),a("infinity","infinity.svg",'',1),a("yin yang","yinyang.svg",'',1)]}return b.prototype={on:function(){}},b}),define("tantaman/web/widgets/ManagedColorChooser",["libs/backbone","tantaman/web/Utils"],function(a,b){"use strict";function c(a){a=a||{},_.defaults(a,e),this.$el=$('
    '),this.$el.on("mousedown",b.stopProp),this.$el.append(''),this._$colorChooser=this.$el.find(".color-chooser");var c=this;a.move=function(a){c._colorUpdated(a)},a.position&&this.$el.css("position",a.position),this._$colorChooser.spectrum(a)}var d={},e={color:"#000",showSelectionPalette:!0,localStorageKey:"strut.colorChooser",showPalette:!0,showInitial:!0,showInput:!0,palette:[],clickoutFiresChange:!0,flat:!1,position:"absolute"};return c.prototype={_colorUpdated:function(a){this.trigger("update:color",a)},show:function(a){this.$el.removeClass("dispNone"),a&&null!=a.top&&null!=a.left&&this.$el.css({top:a.top,left:a.left}),a&&a.move&&this.on("update:color",a.move),a&&a.appendTo&&0==this.$el.parent(a.appendTo).length&&this.$el.appendTo(a.appendTo)},move:function(a){this.$el.css(a)},hide:function(a){this.$el.addClass("dispNone"),this._$colorChooser.spectrum("hide"),a&&a.move&&this.off("update:color",a.move)}},{get:function(b,e){var f;return f=d[b],f||(f=new c(e),_.extend(f,a.Events),d[b]=f),f}}}),define("strut/slide_components/view/ShapeView",["./ComponentView","./Mixers","tantaman/web/widgets/ManagedColorChooser"],function(a,b,c){"use strict";var d=c.get("floatingChooser");return a.extend({className:"component shapeView",initialize:function(){a.prototype.initialize.apply(this,arguments),this.scale=b.scaleObjectEmbed,this.model.off("change:scale",this._setUpdatedTransform,this),this.model.on("change:scale",b.scaleChangeInlineSvg,this),this.model.on("change:fill",this._fillChanged,this),this._updateFill=this._updateFill.bind(this)},render:function(){a.prototype.render.call(this);var b=this.model.get("markup");this.$object=$(b);var c=this.model.get("scale"),d=this.$el.find(".content");d.append(this.$object),d.append($('
    ')),this._$colorPreview=this.$el.find(".sp-preview-inner"),c&&c.width?this.$object.attr(c):(c={width:100,height:100},this.model.attributes.scale=c,this.$object.attr(c));var e=this.model.get("fill");return e&&this.$object.attr("fill",e),this.$el},_xChanged:function(b,c){a.prototype._xChanged.apply(this,arguments),d.move({left:c+this.model.get("scale").width})},_yChanged:function(b,c){a.prototype._yChanged.apply(this,arguments),d.move({top:c-5})},remove:function(){a.prototype.remove.apply(this,arguments),d.hide({move:this._updateFill})},_selectionChanged:function(b,c){c?d.show({left:this.model.get("x")+this.model.get("scale").width,top:this.model.get("y")-5,move:this._updateFill,appendTo:".operatingTable > .slideContainer"}):d.hide({move:this._updateFill}),a.prototype._selectionChanged.apply(this,arguments)},_fillChanged:function(a,b){this._$colorPreview.css("background-color",b),this.$object.attr("fill",b)},_updateFill:function(a){this.model.set("fill",a.toHexString())}})}),define("strut/slide_components/model/Shape",["strut/deck/Component"],function(a){"use strict";return a.extend({initialize:function(){a.prototype.initialize.apply(this,arguments),this.set("type","Shape")},constructor:function(b){a.prototype.constructor.call(this,b)}})}),define("strut/slide_components/main",["./view/ComponentButton","./view/ImportingComponentButton","./model/Image","./model/TextBox","./model/WebFrame","./model/Video","./view/ImageView","./view/TextBoxView","./view/WebFrameView","./view/VideoView","./ComponentFactory","lang","./view/ShapesDropdown","./ShapeCollection","./view/ShapeView","./model/Shape"],function(a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p){var q=new n,r={createButtons:function(c){var d=[];return d.push(new a({componentType:"TextBox",icon:"icon-text-width",name:l.text,editorModel:c})),d.push(new b({componentType:"Image",icon:"icon-picture",name:l.image,tag:"img",title:l.insert_image,editorModel:c,browsable:!0})),d.push(new b({componentType:"Video",icon:"icon-film",name:l.video,tag:"video",title:l.insert_video,editorModel:c,ignoreErrors:!0})),d.push(new b({componentType:"WebFrame",icon:"icon-globe",name:l.website,tag:"iframe",title:l.insert_website,editorModel:c})),d.push(new m(q,JST["strut.slide_components/ShapesDropdown"],{"class":"group-dropdown",editorModel:c})),d}};return{initialize:function(a){a.register({interfaces:"strut.ComponentButtonProvider"},r),a.register({interfaces:"strut.ComponentModel",meta:{type:"Image"}},c),a.register({interfaces:"strut.ComponentModel",meta:{type:"TextBox"}},d),a.register({interfaces:"strut.ComponentModel",meta:{type:"WebFrame"}},e),a.register({interfaces:"strut.ComponentModel",meta:{type:"Video"}},f),a.register({interfaces:"strut.ComponentModel",meta:{type:"Shape"}},p),a.register({interfaces:"strut.ComponentView",meta:{type:"Image"}},g),a.register({interfaces:"strut.ComponentView",meta:{type:"TextBox"}},h),a.register({interfaces:"strut.ComponentView",meta:{type:"WebFrame"}},i),a.register({interfaces:"strut.ComponentView",meta:{type:"Video"}},j),a.register({interfaces:"strut.ComponentView",meta:{type:"Shape"}},o),k.initialize(a)}}}),define("strut/well_context_buttons/AddSlideButton",["libs/backbone"],function(a){return a.View.extend({className:"addBtn btn btn-success",events:{click:"_addSlide"},_addSlide:function(){this._editorModel.addSlide(this._wellMenuModel.slideIndex())},render:function(){return this.$el.html('
    '),this},constructor:function(b,c){this._editorModel=b,this._wellMenuModel=c,a.View.prototype.constructor.call(this)}})}),define("strut/well_context_buttons/main",["./AddSlideButton","lang"],function(a){"use strict";var b={createButtons:function(b,c){var d=[];return d.push(new a(b,c)),d}};return{initialize:function(a){a.register({interfaces:["strut.WellContextButtonProvider"]},b)}}}),define("tantaman/web/local_storage/LocalStorageProvider",[],function(){function a(){this.impl=localStorage,this.name="Local Storage",this.id="localstorage"}var b="strut-",c=!1;return a.prototype={ready:function(){return!0},bg:function(){},ls:function(a,c,d){for(var e=this.impl.length,f=[],g=0;e>g;++g){var h=this.impl.key(g); -0!=h.indexOf(b)||null!=c&&null==c.exec(h)||f.push(h.substring(b.length))}return d(f),this},rm:function(a,c){return this.impl.removeItem(b+a),c&&c(!0),this},getContents:function(a,c){var d=this.impl.getItem(b+a);if(null!=d)try{var e=JSON.parse(d);c(e)}catch(f){c(null,f)}return this},setContents:function(a,d,e){try{this.impl.setItem(b+a,JSON.stringify(d))}catch(f){c||(c=!0,alert("Strut currently uses your browser's LocalStorage to save presentations which is limited to between 2.5 and 5mb.\n\nYou are currently over this limit so your presentation will not be saved. You may continue editing, however.\n\nTry removing any images you dragged in and link to them instead.\n\nWe're working on improving the storage capacity! 5mb should be good if you link to your images (e.g., file://path/to/image or http://url/of/image).\n\nSorry for the inconvenience that this may cause. We are working to resolve the issue!"))}return e&&e(!0),this}},a}),define("tantaman/web/local_storage/main",["./LocalStorageProvider"],function(a){var b=new a;return{initialize:function(a){a.register({interfaces:"tantaman.web.StorageProvider"},b)}}}),define("strut/logo_button/LogoModel",["libs/backbone","framework/ServiceCollection"],function(a,b){return a.Model.extend({initialize:function(){this.items=new b(this._editorModel.registry,"strut.LogoMenuItemProvider",this._convertServiceEntry.bind(this))},_convertServiceEntry:function(a){return a.service().createMenuItems(this._editorModel)},constructor:function(b){this._editorModel=b,a.Model.prototype.constructor.call(this)}})}),define("strut/logo_button/LogoView",["libs/backbone","./LogoModel","css!styles/logo_button/logo.css"],function(a,b){"use strict";return a.View.extend({className:"logo-group btn-group",initialize:function(){this._template=JST["strut.logo_button/Logo"],this.model=new b(this.options.editorModel),delete this.options.editorModel},render:function(){this.$el.html(this._template());var a=this.$el.find(".dropdown-menu");return this.model.items.forEach(function(b){a.append(b.render().$el)},this),this},constructor:function(){a.View.prototype.constructor.apply(this,arguments)}})}),define("strut/presentation_generator/PreviewLauncher",[],function(){"use strict";function a(a){this._editorModel=a}return a.prototype={launch:function(a){window.previewWind&&window.previewWind.close(),this._editorModel.trigger("launch:preview",null);var b=a.generate(this._editorModel.deck());localStorage.setItem("preview-string",b),localStorage.setItem("preview-config",JSON.stringify({surface:this._editorModel.deck().get("surface")})),window.previewWind=window.open("preview_export/"+a.id+".html"+a.getSlideHash(this._editorModel),window.location.href)}},a}),define("strut/presentation_generator/view/PreviewButton",["libs/backbone","../PreviewLauncher"],function(a,b){return a.View.extend({className:"btn-group iconBtns",events:{"click .act":"_launch"},initialize:function(){this._editorModel=this.options.editorModel,this._previewLauncher=new b(this._editorModel),this._generators=this._editorModel.registry.getBest("strut.presentation_generator.GeneratorCollection"),delete this.options.editorModel,this._index=Math.min(window.sessionMeta.generator_index||0,this._generators.length-1),this._generatorChanged(),this._template=JST["strut.presentation_generator/Button"]},_launch:function(){this._previewLauncher.launch(this._generators[this._index])},_bind:function(){var a=this;this.$el.find("li").each(function(b){var c=$(this);c.click(function(d){a.$el.find(".check").css("visibility","hidden"),c.find(".check").css("visibility",""),a._index=b,window.sessionMeta.generator_index=b,a._generatorChanged(),a.$el.find(".dropdown-toggle").dropdown("toggle"),d.stopPropagation()})})},_generatorChanged:function(){this._editorModel.set("generator",this._generators[this._index]),this._$readout&&this._$readout.text(this._generators[this._index].displayName)},render:function(){return this.$el.html(this._template({generators:this._generators,chosen:this._generators[this._index]})),this._bind(),this._$readout=this.$el.find(".chosen"),$(this.$el.find(".check")[this._index]).css("visibility",""),this}})}),define("strut/header/model/ThemeProviderCollection",["libs/backbone","framework/ServiceCollection"],function(a,b){function c(a,c){this._editorModel=a,this._activeProviders=[],this._editorModel.on("change:activeMode",this._modeChanged,this),this._themeProviders=new b(a.registry,{interfaces:"strut.ThemeProvider",meta:c}),this._modeChanged(null,this._editorModel.get("activeMode")),this._themeProviders.on("registered",function(a,b){this._addProvider(b)},this)}return c.prototype={_modeChanged:function(a,b){this._disposePrevious(),this._themeProviders.forEach(function(a){b.id in a.meta().modes&&this._addProvider(a)},this),this.trigger("change:activeProviders",this._activeProviders)},_addProvider:function(a){var b=a.service().create(this._editorModel);Array.isArray(b)?this._activeProviders=this._activeProviders.concat(b):this._activeProviders.push(b)},_disposePrevious:function(){this._activeProviders.forEach(function(a){a.dispose()},this),this._activeProviders=[]},activeProviders:function(){return this._activeProviders}},_.extend(c.prototype,a.Events),c}),define("strut/header/view/ThemeProviderView",["libs/backbone","../model/ThemeProviderCollection"],function(a,b){return a.View.extend({className:"themeProviders",initialize:function(a){this._providerCollection=new b(a,{overflow:!1}),this._providerCollection.on("change:activeProviders",this.render,this)},render:function(){return this.$el.empty(),this._providerCollection.activeProviders().forEach(function(a){this.$el.append(a.view().render().$el)},this),this},constructor:function(b){a.View.prototype.constructor.call(this,b)}})}),define("tantaman/web/widgets/Tablets",[],function(){function a(a){this._currentItems=[],this.$el=$('
    '),this.template=a.template;var b=this;this.$el.on("click",".tablets-toggle",function(){b.toggle()})}return a.prototype={render:function(){return this.$el.html(this.template()),this.$content=this.$el.find(".tablets-content"),this._currentItems.forEach(function(a){this.$content.append(a.render().$el)},this),this},add:function(a){Array.isArray(a)||(a=[a]);var b=[];a.forEach(function(a){-1==this._currentItems.indexOf(a)&&b.push(a)},this),b.forEach(function(a){this._currentItems.push(a),this.$content&&this.$content.append(a.render().$el)},this)},empty:function(){this.$content&&this.$content.html(""),this._currentItems=[]},dispose:function(){},toggle:function(){this.$el.is(".hiding")?(this.$el.removeClass("hiding"),this.$el.addClass("showing")):this.hide()},hide:function(){this.$el.removeClass("showing"),this.$el.addClass("hiding")}},a}),define("strut/header/view/Tablets",["tantaman/web/widgets/Tablets","../model/ThemeProviderCollection"],function(a,b){function c(c){this._providers=new b(c,{overflow:!0}),this._providers.on("change:activeProviders",this._providersChanged,this),this._tablets=new a({template:JST["strut.slide_editor/Tablets"]}),this.$el=this._tablets.$el,this._providersChanged()}return c.prototype={dispose:function(){this._tablets.dispose(),this._providers.dispose()},_providersChanged:function(){var a=[];this._providers.activeProviders().forEach(function(b){a.push(b.view())},this),this._tablets.hide(),this._tablets.empty(),this._tablets.add(a)},render:function(){return this._tablets.render(),this}},c}),define("strut/header/view/HeaderView",["libs/backbone","strut/logo_button/LogoView","strut/presentation_generator/view/PreviewButton","./ThemeProviderView","./Tablets","css!styles/header/header.css"],function(a,b,c,d,e){return a.View.extend({className:"row-fluid header",initialize:function(){this._template=JST["strut.header/Header"],this._logoButton=new b({editorModel:this.model.editorModel()}),this._previewButton=new c({editorModel:this.model.editorModel()}),this._themeProviderView=new d(this.model.editorModel()),this.model.editorModel().on("change:activeMode",this._modeChanged,this),this._tablets=new e(this.model.editorModel())},_modeChanged:function(a,b){"overview"==b.id?this.$el.find(".create-comp-buttons").addClass("hidden"):this.$el.find(".create-comp-buttons").removeClass("hidden")},render:function(){this.$el.html(this._template()),this.$el.find(".logo-holder").append(this._logoButton.render().$el);var a=this.$el.find(".mode-buttons");this.model.get("modeButtons").forEach(function(b){a.append(b.render().el)},this);var b=this.$el.find(".create-comp-buttons > div");this.model.get("createCompButtons").forEach(function(a){b.append(a.render().el)},this),a.append(this._previewButton.render().$el);var c=this.$el.find(".theme-buttons");return c.append(this._themeProviderView.render().$el),this._tablets.render(),this.$el.append(this._tablets.$el),this},constructor:function(){a.View.prototype.constructor.apply(this,arguments)}})}),define("strut/editor/CustomBgStylesheet",["tantaman/web/css_manip/CssManip"],function(a){function b(a){this.model=a,a.on("change:customBackgrounds",this.render,this)}var c=a.getStyleElem({id:"customBackgrounds",create:!0});return b.prototype={render:function(a,b){b&&(c.innerHTML=JST["strut.presentation_generator/CustomBgStylesheet"](b.get("bgs")))},dispose:function(){this.model.off(null,null,this)}},b}),define("strut/editor/EditorView",["libs/backbone","strut/header/view/HeaderView","./CustomBgStylesheet"],function(a,b,c){return a.View.extend({className:"container-fluid",initialize:function(){this._header=new b({model:this.model.get("header")}),this.model.on("change:activeMode",this._modeChanged,this),this._customBgSheet=new c(this.model)},render:function(){this.$el.empty(),this.$el.append(this._header.render().$el);var a=this.model.get("activeMode");return a?this.$el.append(a.view.render().$el):this._renderNoMode(),this},_modeChanged:function(a,b){this.$el.append(b.view.render().$el)},_renderNoMode:function(){this.$el.append('
    No modes available. Did some plugins fail to load?
    ')}})}),define("strut/header/model/HeaderModel",["libs/backbone"],function(a){return a.Model.extend({initialize:function(){this._createModeButtons(),this._createCreateCompButtons(),this.registry.on("registered:strut.ComponentButtonProvider",this._compBtnProviderRegistered,this),this.registry.on("registered:strut.EditMode",this._modeRegistered,this)},editorModel:function(){return this._editorModel},_createModeButtons:function(){this._disposeObjects(this.get("modeButtons"));var a=this.registry.get("strut.EditMode"),b=[];a.forEach(function(a){b.push(a.service().createButton(this._editorModel))},this),this.set("modeButtons",b)},_createCreateCompButtons:function(){this._disposeObjects(this.get("createCompButtons"));var a=this.registry.get("strut.ComponentButtonProvider"),b=[];a.forEach(function(a){var c=a.service().createButtons(this._editorModel);b=b.concat(c)},this),this.set("createCompButtons",b)},_modeRegistered:function(a){var b=a.service().createButton(this._editorModel);this.get("modeButtons").push(b),this.trigger("change:modeButtons.push",this.get("modeButtons"),b)},_compBtnProviderRegistered:function(a){var b=a.createButtons();this.set("createCompButtons",this.get("createCompButtons").concat(b)),this.trigger("change:createCompButtons.concat",this.get("createCompButtons"),b)},_disposeObjects:function(a){a&&a.forEach(function(a){a.dispose()})},constructor:function(b,c){this.registry=b,this._editorModel=c,a.Model.prototype.constructor.call(this)}})}),define("common/Adapter",[],function(){function a(a,b){var c=Object.keys(b);c.forEach(function(c){var d=b[c];this[c]=function(){return a[d].apply(a,arguments)}},this)}return a}),define("tantaman/web/interactions/Clipboard",[],function(){function a(){this.items=[]}return a.prototype.setItems=function(a){a.length&&(this.items=a.slice(0))},a.prototype.getItems=function(){return $.map(this.items,function(a){return a.clone()})},a}),define("strut/editor/EditorModel",["libs/backbone","strut/header/model/HeaderModel","strut/deck/Deck","strut/slide_components/ComponentFactory","common/Adapter","tantaman/web/interactions/Clipboard","./GlobalEvents","tantaman/web/undo_support/CmdListFactory"],function(a,b,c,d,e,f,g,h){"use strict";function i(a){return new e(a,{store:"savePresentation"})}return a.Model.extend({initialize:function(){window.uiTestAcc=this,this._fontState=window.sessionMeta.fontState||{},this._deck=new c,this._deck.on("change:customBackgrounds",function(a,b){this.trigger("change:customBackgrounds",this,b)},this),this.addSlide(),this.set("header",new b(this.registry,this)),this.set("modeId","slide-editor"),this.exportable=new e(this,{"export":"exportPresentation",identifier:"fileName"}),this.exportable.adapted=this;var d=this.registry.getBest("tantaman.web.saver.AutoSavers");if(d){var j=null,j=this.registry.getBest("strut.StorageInterface");j=i(j),this._exitSaver=d.exitSaver(this.exportable,j),this._timedSaver=d.timedSaver(this.exportable,2e4,j)}this.clipboard=new f,this._createMode(),this._cmdList=h.managedInstance("editor"),g.on("undo",this._cmdList.undo,this._cmdList),g.on("redo",this._cmdList.redo,this._cmdList),a.on("etch:state",this._fontStateChanged,this)},changeActiveMode:function(a){a!=this.get("modeId")&&(this.set("modeId",a),this._createMode())},customStylesheet:function(a){return null==a?this._deck.get("customStylesheet"):void this._deck.set("customStylesheet",a)},dispose:function(){throw"EditorModel can not be disposed yet"},newPresentation:function(){var a=window.sessionMeta.num||0;a+=1,window.sessionMeta.num=a,this.importPresentation({fileName:"presentation-"+a,slides:[]}),this._deck.create()},addCustomBgClassFor:function(a){var b=this._deck.addCustomBgClassFor(a);return b.existed||this.trigger("change:customBackgrounds",this,this._deck.get("customBackgrounds")),b},customBackgrounds:function(){return this._deck.get("customBackgrounds")},importPresentation:function(a){console.log("New file name: "+a.fileName),this._deck.import(a)},exportPresentation:function(a){a&&this._deck.set("fileName",a);var b=this._deck.toJSON(!1,!0);return b},fileName:function(){var a=this._deck.get("fileName");return null==a&&(a="presentation-unnamed",this._deck.set("fileName",a)),a},deck:function(){return this._deck},cannedTransition:function(a){return null==a?this._deck.get("cannedTransition"):void this._deck.set("cannedTransition",a)},slides:function(){return this._deck.get("slides")},addSlide:function(a){this._deck.create(a)},activeSlide:function(){return this._deck.get("activeSlide")},activeSlideIndex:function(){return this._deck.get("slides").indexOf(this._deck.get("activeSlide"))},addComponent:function(a){var b=this._deck.get("activeSlide");if(b){var c=d.instance.createModel(a,{fontStyles:this._fontState});b.add(c)}},_fontStateChanged:function(a){_.extend(this._fontState,a),window.sessionMeta.fontState=this._fontState},_createMode:function(){var a=this.get("modeId"),b=this.registry.getBest({interfaces:"strut.EditMode",meta:{id:a}});if(b){var c=this.get("activeMode");c&&c.close(),this.set("activeMode",b.getMode(this,this.registry))}},constructor:function(b){this.registry=b,a.Model.prototype.constructor.call(this)}})}),define("strut/startup/main",["strut/editor/EditorView","strut/editor/EditorModel"],function(a,b){var c=null,d={run:function(){var d=new b(c),e=new a({model:d,registry:c});if(e.render(),$("body").append(e.$el),null!=sessionMeta.lastPresentation){var f=c.getBest("strut.StorageInterface");f.load(sessionMeta.lastPresentation,function(a,b){b?(console.log(b),console.log(b.stack)):d.importPresentation(a)})}}},e={run:function(){}};return{initialize:function(a){c=a,c.register({interfaces:"strut.StartupTask"},d),c.register({interfaces:"strut.StartupTask"},e)}}}),define("features",["framework/ServiceRegistry","strut/etch_extension/main","strut/storage/main","strut/logo_button/main","strut/themes/main","strut/editor/main","strut/exporter/json/main","strut/exporter/zip/browser/main","strut/importer/json/main","strut/importer/main","strut/exporter/main","strut/presentation_generator/impress/main","strut/presentation_generator/bespoke/main","strut/presentation_generator/handouts/main","strut/presentation_generator/main","tantaman/web/saver/main","strut/slide_editor/main","strut/transition_editor/main","strut/slide_components/main","strut/well_context_buttons/main","tantaman/web/local_storage/main","strut/startup/main"],function(a){for(var b=new a,c=Array.prototype.slice.call(arguments,0),d=0,d=1;dd.length-1||0>b))return this.sliding?this.$element.one("slid",function(){f.to(b)}):e==b?this.pause().cycle():this.slide(b>e?"next":"prev",a(d[b]))},pause:function(b){return b||(this.paused=!0),this.$element.find(".next, .prev").length&&a.support.transition.end&&(this.$element.trigger(a.support.transition.end),this.cycle()),clearInterval(this.interval),this.interval=null,this},next:function(){return this.sliding?void 0:this.slide("next")},prev:function(){return this.sliding?void 0:this.slide("prev")},slide:function(b,c){var d,e=this.$element.find(".item.active"),f=c||e[b](),g=this.interval,h="next"==b?"left":"right",i="next"==b?"first":"last",j=this;if(this.sliding=!0,g&&this.pause(),f=f.length?f:this.$element.find(".item")[i](),d=a.Event("slide",{relatedTarget:f[0]}),!f.hasClass("active")){if(a.support.transition&&this.$element.hasClass("slide")){if(this.$element.trigger(d),d.isDefaultPrevented())return;f.addClass(b),f[0].offsetWidth,e.addClass(h),f.addClass(h),this.$element.one(a.support.transition.end,function(){f.removeClass([b,h].join(" ")).addClass("active"),e.removeClass(["active",h].join(" ")),j.sliding=!1,setTimeout(function(){j.$element.trigger("slid")},0)})}else{if(this.$element.trigger(d),d.isDefaultPrevented())return;e.removeClass("active"),f.addClass("active"),this.sliding=!1,this.$element.trigger("slid")}return g&&this.cycle(),this}}};var c=a.fn.carousel;a.fn.carousel=function(c){return this.each(function(){var d=a(this),e=d.data("carousel"),f=a.extend({},a.fn.carousel.defaults,"object"==typeof c&&c),g="string"==typeof c?c:f.slide;e||d.data("carousel",e=new b(this,f)),"number"==typeof c?e.to(c):g?e[g]():f.interval&&e.cycle()})},a.fn.carousel.defaults={interval:5e3,pause:"hover"},a.fn.carousel.Constructor=b,a.fn.carousel.noConflict=function(){return a.fn.carousel=c,this},a(document).on("click.carousel.data-api","[data-slide]",function(b){var c,d=a(this),e=a(d.attr("data-target")||(c=d.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,"")),f=a.extend({},e.data(),d.data());e.carousel(f),b.preventDefault()})}(window.jQuery),!function(a){"use strict";var b=function(b,c){this.$element=a(b),this.options=a.extend({},a.fn.collapse.defaults,c),this.options.parent&&(this.$parent=a(this.options.parent)),this.options.toggle&&this.toggle()};b.prototype={constructor:b,dimension:function(){var a=this.$element.hasClass("width");return a?"width":"height"},show:function(){var b,c,d,e;if(!this.transitioning){if(b=this.dimension(),c=a.camelCase(["scroll",b].join("-")),d=this.$parent&&this.$parent.find("> .accordion-group > .in"),d&&d.length){if(e=d.data("collapse"),e&&e.transitioning)return;d.collapse("hide"),e||d.data("collapse",null)}this.$element[b](0),this.transition("addClass",a.Event("show"),"shown"),a.support.transition&&this.$element[b](this.$element[0][c])}},hide:function(){var b;this.transitioning||(b=this.dimension(),this.reset(this.$element[b]()),this.transition("removeClass",a.Event("hide"),"hidden"),this.$element[b](0))},reset:function(a){var b=this.dimension();return this.$element.removeClass("collapse")[b](a||"auto")[0].offsetWidth,this.$element[null!==a?"addClass":"removeClass"]("collapse"),this},transition:function(b,c,d){var e=this,f=function(){"show"==c.type&&e.reset(),e.transitioning=0,e.$element.trigger(d)};this.$element.trigger(c),c.isDefaultPrevented()||(this.transitioning=1,this.$element[b]("in"),a.support.transition&&this.$element.hasClass("collapse")?this.$element.one(a.support.transition.end,f):f())},toggle:function(){this[this.$element.hasClass("in")?"hide":"show"]()}};var c=a.fn.collapse;a.fn.collapse=function(c){return this.each(function(){var d=a(this),e=d.data("collapse"),f="object"==typeof c&&c;e||d.data("collapse",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.collapse.defaults={toggle:!0},a.fn.collapse.Constructor=b,a.fn.collapse.noConflict=function(){return a.fn.collapse=c,this},a(document).on("click.collapse.data-api","[data-toggle=collapse]",function(b){var c,d=a(this),e=d.attr("data-target")||b.preventDefault()||(c=d.attr("href"))&&c.replace(/.*(?=#[^\s]+$)/,""),f=a(e).data("collapse")?"toggle":d.data();d[a(e).hasClass("in")?"addClass":"removeClass"]("collapsed"),a(e).collapse(f)})}(window.jQuery),!function(a){"use strict";function b(){a(d).each(function(){c(a(this)).removeClass("open")})}function c(b){var c,d=b.attr("data-target");return d||(d=b.attr("href"),d=d&&/#/.test(d)&&d.replace(/.*(?=#[^\s]*$)/,"")),c=a(d),c.length||(c=b.parent()),c}var d="[data-toggle=dropdown]",e=function(b){var c=a(b).on("click.dropdown.data-api",this.toggle);a("html").on("click.dropdown.data-api",function(){c.parent().removeClass("open")})};e.prototype={constructor:e,toggle:function(){var d,e,f=a(this);if(!f.is(".disabled, :disabled"))return d=c(f),e=d.hasClass("open"),b(),e||d.toggleClass("open"),f.focus(),!1},keydown:function(b){var d,e,f,g,h;if(/(38|40|27)/.test(b.keyCode)&&(d=a(this),b.preventDefault(),b.stopPropagation(),!d.is(".disabled, :disabled"))){if(f=c(d),g=f.hasClass("open"),!g||g&&27==b.keyCode)return d.click();e=a("[role=menu] li:not(.divider):visible a",f),e.length&&(h=e.index(e.filter(":focus")),38==b.keyCode&&h>0&&h--,40==b.keyCode&&h').appendTo(document.body),this.$backdrop.click("static"==this.options.backdrop?a.proxy(this.$element[0].focus,this.$element[0]):a.proxy(this.hide,this)),d&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),d?this.$backdrop.one(a.support.transition.end,b):b()}else!this.isShown&&this.$backdrop?(this.$backdrop.removeClass("in"),a.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one(a.support.transition.end,a.proxy(this.removeBackdrop,this)):this.removeBackdrop()):b&&b()}};var c=a.fn.modal;a.fn.modal=function(c){return this.each(function(){var d=a(this),e=d.data("modal"),f=a.extend({},a.fn.modal.defaults,d.data(),"object"==typeof c&&c);e||d.data("modal",e=new b(this,f)),"string"==typeof c?e[c]():f.show&&e.show()})},a.fn.modal.defaults={backdrop:!0,keyboard:!0,show:!0},a.fn.modal.Constructor=b,a.fn.modal.noConflict=function(){return a.fn.modal=c,this},a(document).on("click.modal.data-api",'[data-toggle="modal"]',function(b){var c=a(this),d=c.attr("href"),e=a(c.attr("data-target")||d&&d.replace(/.*(?=#[^\s]+$)/,"")),f=e.data("modal")?"toggle":a.extend({remote:!/#/.test(d)&&d},e.data(),c.data());b.preventDefault(),e.modal(f).one("hide",function(){c.focus()})})}(window.jQuery),!function(a){"use strict";var b=function(a,b){this.init("tooltip",a,b)};b.prototype={constructor:b,init:function(b,c,d){var e,f;this.type=b,this.$element=a(c),this.options=this.getOptions(d),this.enabled=!0,"click"==this.options.trigger?this.$element.on("click."+this.type,this.options.selector,a.proxy(this.toggle,this)):"manual"!=this.options.trigger&&(e="hover"==this.options.trigger?"mouseenter":"focus",f="hover"==this.options.trigger?"mouseleave":"blur",this.$element.on(e+"."+this.type,this.options.selector,a.proxy(this.enter,this)),this.$element.on(f+"."+this.type,this.options.selector,a.proxy(this.leave,this))),this.options.selector?this._options=a.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},getOptions:function(b){return b=a.extend({},a.fn[this.type].defaults,b,this.$element.data()),b.delay&&"number"==typeof b.delay&&(b.delay={show:b.delay,hide:b.delay}),b},enter:function(b){var c=a(b.currentTarget)[this.type](this._options).data(this.type);return c.options.delay&&c.options.delay.show?(clearTimeout(this.timeout),c.hoverState="in",void(this.timeout=setTimeout(function(){"in"==c.hoverState&&c.show()},c.options.delay.show))):c.show()},leave:function(b){var c=a(b.currentTarget)[this.type](this._options).data(this.type);return this.timeout&&clearTimeout(this.timeout),c.options.delay&&c.options.delay.hide?(c.hoverState="out",void(this.timeout=setTimeout(function(){"out"==c.hoverState&&c.hide()},c.options.delay.hide))):c.hide()},show:function(){var a,b,c,d,e,f,g;if(this.hasContent()&&this.enabled){switch(a=this.tip(),this.setContent(),this.options.animation&&a.addClass("fade"),f="function"==typeof this.options.placement?this.options.placement.call(this,a[0],this.$element[0]):this.options.placement,b=/in/.test(f),a.detach().css({top:0,left:0,display:"block"}).insertAfter(this.$element),c=this.getPosition(b),d=a[0].offsetWidth,e=a[0].offsetHeight,b?f.split(" ")[1]:f){case"bottom":g={top:c.top+c.height,left:c.left+c.width/2-d/2};break;case"top":g={top:c.top-e,left:c.left+c.width/2-d/2};break;case"left":g={top:c.top+c.height/2-e/2,left:c.left-d};break;case"right":g={top:c.top+c.height/2-e/2,left:c.left+c.width}}a.offset(g).addClass(f).addClass("in")}},setContent:function(){var a=this.tip(),b=this.getTitle();a.find(".tooltip-inner")[this.options.html?"html":"text"](b),a.removeClass("fade in top bottom left right")},hide:function(){function b(){var b=setTimeout(function(){c.off(a.support.transition.end).detach()},500);c.one(a.support.transition.end,function(){clearTimeout(b),c.detach()})}var c=this.tip();return c.removeClass("in"),a.support.transition&&this.$tip.hasClass("fade")?b():c.detach(),this},fixTitle:function(){var a=this.$element;(a.attr("title")||"string"!=typeof a.attr("data-original-title"))&&a.attr("data-original-title",a.attr("title")||"").removeAttr("title")},hasContent:function(){return this.getTitle()},getPosition:function(b){return a.extend({},b?{top:0,left:0}:this.$element.offset(),{width:this.$element[0].offsetWidth,height:this.$element[0].offsetHeight}) -},getTitle:function(){var a,b=this.$element,c=this.options;return a=b.attr("data-original-title")||("function"==typeof c.title?c.title.call(b[0]):c.title)},tip:function(){return this.$tip=this.$tip||a(this.options.template)},validate:function(){this.$element[0].parentNode||(this.hide(),this.$element=null,this.options=null)},enable:function(){this.enabled=!0},disable:function(){this.enabled=!1},toggleEnabled:function(){this.enabled=!this.enabled},toggle:function(b){var c=a(b.currentTarget)[this.type](this._options).data(this.type);c[c.tip().hasClass("in")?"hide":"show"]()},destroy:function(){this.hide().$element.off("."+this.type).removeData(this.type)}};var c=a.fn.tooltip;a.fn.tooltip=function(c){return this.each(function(){var d=a(this),e=d.data("tooltip"),f="object"==typeof c&&c;e||d.data("tooltip",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.tooltip.Constructor=b,a.fn.tooltip.defaults={animation:!0,placement:"top",selector:!1,template:'
    ',trigger:"hover",title:"",delay:0,html:!1},a.fn.tooltip.noConflict=function(){return a.fn.tooltip=c,this}}(window.jQuery),!function(a){"use strict";var b=function(a,b){this.init("popover",a,b)};b.prototype=a.extend({},a.fn.tooltip.Constructor.prototype,{constructor:b,setContent:function(){var a=this.tip(),b=this.getTitle(),c=this.getContent();a.find(".popover-title")[this.options.html?"html":"text"](b),a.find(".popover-content")[this.options.html?"html":"text"](c),a.removeClass("fade top bottom left right in")},hasContent:function(){return this.getTitle()||this.getContent()},getContent:function(){var a,b=this.$element,c=this.options;return a=b.attr("data-content")||("function"==typeof c.content?c.content.call(b[0]):c.content)},tip:function(){return this.$tip||(this.$tip=a(this.options.template)),this.$tip},destroy:function(){this.hide().$element.off("."+this.type).removeData(this.type)}});var c=a.fn.popover;a.fn.popover=function(c){return this.each(function(){var d=a(this),e=d.data("popover"),f="object"==typeof c&&c;e||d.data("popover",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.popover.Constructor=b,a.fn.popover.defaults=a.extend({},a.fn.tooltip.defaults,{placement:"right",trigger:"click",content:"",template:'

    '}),a.fn.popover.noConflict=function(){return a.fn.popover=c,this}}(window.jQuery),!function(a){"use strict";function b(b,c){var d,e=a.proxy(this.process,this),f=a(a(b).is("body")?window:b);this.options=a.extend({},a.fn.scrollspy.defaults,c),this.$scrollElement=f.on("scroll.scroll-spy.data-api",e),this.selector=(this.options.target||(d=a(b).attr("href"))&&d.replace(/.*(?=#[^\s]+$)/,"")||"")+" .nav li > a",this.$body=a("body"),this.refresh(),this.process()}b.prototype={constructor:b,refresh:function(){var b,c=this;this.offsets=a([]),this.targets=a([]),b=this.$body.find(this.selector).map(function(){var b=a(this),d=b.data("target")||b.attr("href"),e=/^#\w/.test(d)&&a(d);return e&&e.length&&[[e.position().top+c.$scrollElement.scrollTop(),d]]||null}).sort(function(a,b){return a[0]-b[0]}).each(function(){c.offsets.push(this[0]),c.targets.push(this[1])})},process:function(){var a,b=this.$scrollElement.scrollTop()+this.options.offset,c=this.$scrollElement[0].scrollHeight||this.$body[0].scrollHeight,d=c-this.$scrollElement.height(),e=this.offsets,f=this.targets,g=this.activeTarget;if(b>=d)return g!=(a=f.last()[0])&&this.activate(a);for(a=e.length;a--;)g!=f[a]&&b>=e[a]&&(!e[a+1]||b<=e[a+1])&&this.activate(f[a])},activate:function(b){var c,d;this.activeTarget=b,a(this.selector).parent(".active").removeClass("active"),d=this.selector+'[data-target="'+b+'"],'+this.selector+'[href="'+b+'"]',c=a(d).parent("li").addClass("active"),c.parent(".dropdown-menu").length&&(c=c.closest("li.dropdown").addClass("active")),c.trigger("activate")}};var c=a.fn.scrollspy;a.fn.scrollspy=function(c){return this.each(function(){var d=a(this),e=d.data("scrollspy"),f="object"==typeof c&&c;e||d.data("scrollspy",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.scrollspy.Constructor=b,a.fn.scrollspy.defaults={offset:10},a.fn.scrollspy.noConflict=function(){return a.fn.scrollspy=c,this},a(window).on("load",function(){a('[data-spy="scroll"]').each(function(){var b=a(this);b.scrollspy(b.data())})})}(window.jQuery),!function(a){"use strict";var b=function(b){this.element=a(b)};b.prototype={constructor:b,show:function(){var b,c,d,e=this.element,f=e.closest("ul:not(.dropdown-menu)"),g=e.attr("data-target");g||(g=e.attr("href"),g=g&&g.replace(/.*(?=#[^\s]*$)/,"")),e.parent("li").hasClass("active")||(b=f.find(".active:last a")[0],d=a.Event("show",{relatedTarget:b}),e.trigger(d),d.isDefaultPrevented()||(c=a(g),this.activate(e.parent("li"),f),this.activate(c,c.parent(),function(){e.trigger({type:"shown",relatedTarget:b})})))},activate:function(b,c,d){function e(){f.removeClass("active").find("> .dropdown-menu > .active").removeClass("active"),b.addClass("active"),g?(b[0].offsetWidth,b.addClass("in")):b.removeClass("fade"),b.parent(".dropdown-menu")&&b.closest("li.dropdown").addClass("active"),d&&d()}var f=c.find("> .active"),g=d&&a.support.transition&&f.hasClass("fade");g?f.one(a.support.transition.end,e):e(),f.removeClass("in")}};var c=a.fn.tab;a.fn.tab=function(c){return this.each(function(){var d=a(this),e=d.data("tab");e||d.data("tab",e=new b(this)),"string"==typeof c&&e[c]()})},a.fn.tab.Constructor=b,a.fn.tab.noConflict=function(){return a.fn.tab=c,this},a(document).on("click.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"]',function(b){b.preventDefault(),a(this).tab("show")})}(window.jQuery),!function(a){"use strict";var b=function(b,c){this.$element=a(b),this.options=a.extend({},a.fn.typeahead.defaults,c),this.matcher=this.options.matcher||this.matcher,this.sorter=this.options.sorter||this.sorter,this.highlighter=this.options.highlighter||this.highlighter,this.updater=this.options.updater||this.updater,this.source=this.options.source,this.$menu=a(this.options.menu),this.shown=!1,this.listen()};b.prototype={constructor:b,select:function(){var a=this.$menu.find(".active").attr("data-value");return this.$element.val(this.updater(a)).change(),this.hide()},updater:function(a){return a},show:function(){var b=a.extend({},this.$element.position(),{height:this.$element[0].offsetHeight});return this.$menu.insertAfter(this.$element).css({top:b.top+b.height,left:b.left}).show(),this.shown=!0,this},hide:function(){return this.$menu.hide(),this.shown=!1,this},lookup:function(){var b;return this.query=this.$element.val(),!this.query||this.query.length"+b+""})},render:function(b){var c=this;return b=a(b).map(function(b,d){return b=a(c.options.item).attr("data-value",d),b.find("a").html(c.highlighter(d)),b[0]}),b.first().addClass("active"),this.$menu.html(b),this},next:function(){var b=this.$menu.find(".active").removeClass("active"),c=b.next();c.length||(c=a(this.$menu.find("li")[0])),c.addClass("active")},prev:function(){var a=this.$menu.find(".active").removeClass("active"),b=a.prev();b.length||(b=this.$menu.find("li").last()),b.addClass("active")},listen:function(){this.$element.on("blur",a.proxy(this.blur,this)).on("keypress",a.proxy(this.keypress,this)).on("keyup",a.proxy(this.keyup,this)),this.eventSupported("keydown")&&this.$element.on("keydown",a.proxy(this.keydown,this)),this.$menu.on("click",a.proxy(this.click,this)).on("mouseenter","li",a.proxy(this.mouseenter,this))},eventSupported:function(a){var b=a in this.$element;return b||(this.$element.setAttribute(a,"return;"),b="function"==typeof this.$element[a]),b},move:function(a){if(this.shown){switch(a.keyCode){case 9:case 13:case 27:a.preventDefault();break;case 38:a.preventDefault(),this.prev();break;case 40:a.preventDefault(),this.next()}a.stopPropagation()}},keydown:function(b){this.suppressKeyPressRepeat=~a.inArray(b.keyCode,[40,38,9,13,27]),this.move(b)},keypress:function(a){this.suppressKeyPressRepeat||this.move(a)},keyup:function(a){switch(a.keyCode){case 40:case 38:case 16:case 17:case 18:break;case 9:case 13:if(!this.shown)return;this.select();break;case 27:if(!this.shown)return;this.hide();break;default:this.lookup()}a.stopPropagation(),a.preventDefault()},blur:function(){var a=this;setTimeout(function(){a.hide()},150)},click:function(a){a.stopPropagation(),a.preventDefault(),this.select()},mouseenter:function(b){this.$menu.find(".active").removeClass("active"),a(b.currentTarget).addClass("active")}};var c=a.fn.typeahead;a.fn.typeahead=function(c){return this.each(function(){var d=a(this),e=d.data("typeahead"),f="object"==typeof c&&c;e||d.data("typeahead",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.typeahead.defaults={source:[],items:8,menu:'',item:'
  • ',minLength:1},a.fn.typeahead.Constructor=b,a.fn.typeahead.noConflict=function(){return a.fn.typeahead=c,this},a(document).on("focus.typeahead.data-api",'[data-provide="typeahead"]',function(b){var c=a(this);c.data("typeahead")||(b.preventDefault(),c.typeahead(c.data()))})}(window.jQuery),!function(a){"use strict";var b=function(b,c){this.options=a.extend({},a.fn.affix.defaults,c),this.$window=a(window).on("scroll.affix.data-api",a.proxy(this.checkPosition,this)).on("click.affix.data-api",a.proxy(function(){setTimeout(a.proxy(this.checkPosition,this),1)},this)),this.$element=a(b),this.checkPosition()};b.prototype.checkPosition=function(){if(this.$element.is(":visible")){var b,c=a(document).height(),d=this.$window.scrollTop(),e=this.$element.offset(),f=this.options.offset,g=f.bottom,h=f.top,i="affix affix-top affix-bottom";"object"!=typeof f&&(g=h=f),"function"==typeof h&&(h=f.top()),"function"==typeof g&&(g=f.bottom()),b=null!=this.unpin&&d+this.unpin<=e.top?!1:null!=g&&e.top+this.$element.height()>=c-g?"bottom":null!=h&&h>=d?"top":!1,this.affixed!==b&&(this.affixed=b,this.unpin="bottom"==b?e.top-d:null,this.$element.removeClass(i).addClass("affix"+(b?"-"+b:"")))}};var c=a.fn.affix;a.fn.affix=function(c){return this.each(function(){var d=a(this),e=d.data("affix"),f="object"==typeof c&&c;e||d.data("affix",e=new b(this,f)),"string"==typeof c&&e[c]()})},a.fn.affix.Constructor=b,a.fn.affix.defaults={offset:0},a.fn.affix.noConflict=function(){return a.fn.affix=c,this},a(window).on("load",function(){a('[data-spy="affix"]').each(function(){var b=a(this),c=b.data();c.offset=c.offset||{},c.offsetBottom&&(c.offset.bottom=c.offsetBottom),c.offsetTop&&(c.offset.top=c.offsetTop),b.affix(c)})})}(window.jQuery),define("bootstrap",["jquery"],function(){}),function(a,b){function c(a,b,c){return[parseInt(a[0],10)*(n.test(a[0])?b/100:1),parseInt(a[1],10)*(n.test(a[1])?c/100:1)]}function d(b,c){return parseInt(a.css(b,c),10)||0}function e(b){var c=b[0];return 9===c.nodeType?{width:b.width(),height:b.height(),offset:{top:0,left:0}}:a.isWindow(c)?{width:b.width(),height:b.height(),offset:{top:b.scrollTop(),left:b.scrollLeft()}}:c.preventDefault?{width:0,height:0,offset:{top:c.pageY,left:c.pageX}}:{width:b.outerWidth(),height:b.outerHeight(),offset:b.offset()}}a.ui=a.ui||{};var f,g=Math.max,h=Math.abs,i=Math.round,j=/left|center|right/,k=/top|center|bottom/,l=/[\+\-]\d+%?/,m=/^\w+/,n=/%$/,o=a.fn.position;a.position={scrollbarWidth:function(){if(f!==b)return f;var c,d,e=a("
    "),g=e.children()[0];return a("body").append(e),c=g.offsetWidth,e.css("overflow","scroll"),d=g.offsetWidth,c===d&&(d=e[0].clientWidth),e.remove(),f=c-d},getScrollInfo:function(b){var c=b.isWindow?"":b.element.css("overflow-x"),d=b.isWindow?"":b.element.css("overflow-y"),e="scroll"===c||"auto"===c&&b.widthd?"left":c>0?"right":"center",vertical:0>f?"top":e>0?"bottom":"middle"};l>n&&h(c+d)p&&h(e+f)g(h(e),h(f))?"horizontal":"vertical",b.using.call(this,a,i)}),k.offset(a.extend(A,{using:j}))})},a.ui.position={fit:{left:function(a,b){var c,d=b.within,e=d.isWindow?d.scrollLeft:d.offset.left,f=d.width,h=a.left-b.collisionPosition.marginLeft,i=e-h,j=h+b.collisionWidth-f-e;b.collisionWidth>f?i>0&&0>=j?(c=a.left+i+b.collisionWidth-f-e,a.left+=i-c):a.left=j>0&&0>=i?e:i>j?e+f-b.collisionWidth:e:i>0?a.left+=i:j>0?a.left-=j:a.left=g(a.left-h,a.left)},top:function(a,b){var c,d=b.within,e=d.isWindow?d.scrollTop:d.offset.top,f=b.within.height,h=a.top-b.collisionPosition.marginTop,i=e-h,j=h+b.collisionHeight-f-e;b.collisionHeight>f?i>0&&0>=j?(c=a.top+i+b.collisionHeight-f-e,a.top+=i-c):a.top=j>0&&0>=i?e:i>j?e+f-b.collisionHeight:e:i>0?a.top+=i:j>0?a.top-=j:a.top=g(a.top-h,a.top)}},flip:{left:function(a,b){var c,d,e=b.within,f=e.offset.left+e.scrollLeft,g=e.width,i=e.isWindow?e.scrollLeft:e.offset.left,j=a.left-b.collisionPosition.marginLeft,k=j-i,l=j+b.collisionWidth-g-i,m="left"===b.my[0]?-b.elemWidth:"right"===b.my[0]?b.elemWidth:0,n="left"===b.at[0]?b.targetWidth:"right"===b.at[0]?-b.targetWidth:0,o=-2*b.offset[0];0>k?(c=a.left+m+n+o+b.collisionWidth-g-f,(0>c||c0&&(d=a.left-b.collisionPosition.marginLeft+m+n+o-i,(d>0||h(d)k?(d=a.top+n+o+p+b.collisionHeight-g-f,a.top+n+o+p>k&&(0>d||d0&&(c=a.top-b.collisionPosition.marginTop+n+o+p-i,a.top+n+o+p>l&&(c>0||h(c)10&&11>e,b.innerHTML="",c.removeChild(b)}()}(jQuery),define("position",["jquery"],function(){}),function(a,b){function c(a){for(var b,c=a.split(/\s+/),d=[],e=0;b=c[e];e++)b=b[0].toUpperCase(),d.push(b);return d}function d(b){return b.id&&a('label[for="'+b.id+'"]').val()||b.name}function e(c,f,g){return g||(g=0),f.each(function(){var f,h,i=a(this),j=this,k=this.nodeName.toLowerCase();switch("label"==k&&i.find("input, textarea, select").length&&(f=i.text(),i=i.children().first(),j=i.get(0),k=j.nodeName.toLowerCase()),k){case"menu":h={name:i.attr("label"),items:{}},g=e(h.items,i.children(),g);break;case"a":case"button":h={name:i.text(),disabled:!!i.attr("disabled"),callback:function(){return function(){i.click()}}()};break;case"menuitem":case"command":switch(i.attr("type")){case b:case"command":case"menuitem":h={name:i.attr("label"),disabled:!!i.attr("disabled"),callback:function(){return function(){i.click()}}()};break;case"checkbox":h={type:"checkbox",disabled:!!i.attr("disabled"),name:i.attr("label"),selected:!!i.attr("checked")};break;case"radio":h={type:"radio",disabled:!!i.attr("disabled"),name:i.attr("label"),radio:i.attr("radiogroup"),value:i.attr("id"),selected:!!i.attr("checked")};break;default:h=b}break;case"hr":h="-------";break;case"input":switch(i.attr("type")){case"text":h={type:"text",name:f||d(j),disabled:!!i.attr("disabled"),value:i.val()};break;case"checkbox":h={type:"checkbox",name:f||d(j),disabled:!!i.attr("disabled"),selected:!!i.attr("checked")};break;case"radio":h={type:"radio",name:f||d(j),disabled:!!i.attr("disabled"),radio:!!i.attr("name"),value:i.val(),selected:!!i.attr("checked")};break;default:h=b}break;case"select":h={type:"select",name:f||d(j),disabled:!!i.attr("disabled"),selected:i.val(),options:{}},i.children().each(function(){h.options[this.value]=a(this).text()});break;case"textarea":h={type:"textarea",name:f||d(j),disabled:!!i.attr("disabled"),value:i.val()};break;case"label":break;default:h={type:"html",html:i.clone(!0)}}h&&(g++,c["key"+g]=h)}),g}if(a.support.htmlMenuitem="HTMLMenuItemElement"in window,a.support.htmlCommand="HTMLCommandElement"in window,a.support.eventSelectstart="onselectstart"in document.documentElement,!a.ui||!a.ui.widget){var f=a.cleanData;a.cleanData=function(b){for(var c,d=0;null!=(c=b[d]);d++)try{a(c).triggerHandler("remove")}catch(e){}f(b)}}var g=null,h=!1,i=a(window),j=0,k={},l={},m={},n={selector:null,appendTo:null,trigger:"right",autoHide:!1,delay:200,reposition:!0,determinePosition:function(b){if(a.ui&&a.ui.position)b.css("display","block").position({my:"center top",at:"center bottom",of:this,offset:"0 5",collision:"fit"}).css("display","none");else{var c=this.offset();c.top+=this.outerHeight(),c.left+=this.outerWidth()/2-b.outerWidth()/2,b.css(c)}},position:function(a,b,c){var d;if(!b&&!c)return void a.determinePosition.call(this,a.$menu);d="maintain"===b&&"maintain"===c?a.$menu.position():{top:c,left:b};var e=i.scrollTop()+i.height(),f=i.scrollLeft()+i.width(),g=a.$menu.height(),h=a.$menu.width();d.top+g>e&&(d.top-=g),d.left+h>f&&(d.left-=h),a.$menu.css(d)},positionSubmenu:function(b){if(a.ui&&a.ui.position)b.css("display","block").position({my:"left top",at:"right top",of:this,collision:"flipfit fit"}).css("display","");else{var c={top:0,left:this.outerWidth()};b.css(c)}},zIndex:1,animation:{duration:50,show:"slideDown",hide:"slideUp"},events:{show:a.noop,hide:a.noop},callback:null,items:{}},o={timer:null,pageX:null,pageY:null},p=function(a){for(var b=0,c=a;;)if(b=Math.max(b,parseInt(c.css("z-index"),10)||0),c=c.parent(),!c||!c.length||"html body".indexOf(c.prop("nodeName").toLowerCase())>-1)break;return b},q={abortevent:function(a){a.preventDefault(),a.stopImmediatePropagation()},contextmenu:function(b){var c=a(this);if(b.preventDefault(),b.stopImmediatePropagation(),!("right"!=b.data.trigger&&b.originalEvent||c.hasClass("context-menu-active")||c.hasClass("context-menu-disabled"))){if(g=c,b.data.build){var d=b.data.build(g,b);if(d===!1)return;if(b.data=a.extend(!0,{},n,b.data,d||{}),!b.data.items||a.isEmptyObject(b.data.items))throw window.console&&(console.error||console.log)("No items specified to show in contextMenu"),new Error("No Items specified");b.data.$trigger=g,r.create(b.data)}r.show.call(c,b.data,b.pageX,b.pageY)}},click:function(b){b.preventDefault(),b.stopImmediatePropagation(),a(this).trigger(a.Event("contextmenu",{data:b.data,pageX:b.pageX,pageY:b.pageY}))},mousedown:function(b){var c=a(this);g&&g.length&&!g.is(c)&&g.data("contextMenu").$menu.trigger("contextmenu:hide"),2==b.button&&(g=c.data("contextMenuActive",!0))},mouseup:function(b){var c=a(this);c.data("contextMenuActive")&&g&&g.length&&g.is(c)&&!c.hasClass("context-menu-disabled")&&(b.preventDefault(),b.stopImmediatePropagation(),g=c,c.trigger(a.Event("contextmenu",{data:b.data,pageX:b.pageX,pageY:b.pageY}))),c.removeData("contextMenuActive")},mouseenter:function(b){var c=a(this),d=a(b.relatedTarget),e=a(document);d.is(".context-menu-list")||d.closest(".context-menu-list").length||g&&g.length||(o.pageX=b.pageX,o.pageY=b.pageY,o.data=b.data,e.on("mousemove.contextMenuShow",q.mousemove),o.timer=setTimeout(function(){o.timer=null,e.off("mousemove.contextMenuShow"),g=c,c.trigger(a.Event("contextmenu",{data:o.data,pageX:o.pageX,pageY:o.pageY}))},b.data.delay))},mousemove:function(a){o.pageX=a.pageX,o.pageY=a.pageY},mouseleave:function(b){var c=a(b.relatedTarget);if(!c.is(".context-menu-list")&&!c.closest(".context-menu-list").length){try{clearTimeout(o.timer)}catch(b){}o.timer=null}},layerClick:function(b){var c,d,e=a(this),f=e.data("contextMenuRoot"),g=b.button,h=b.pageX,j=b.pageY;b.preventDefault(),b.stopImmediatePropagation(),setTimeout(function(){var e,k="left"==f.trigger&&0===g||"right"==f.trigger&&2===g;if(document.elementFromPoint&&(f.$layer.hide(),c=document.elementFromPoint(h-i.scrollLeft(),j-i.scrollTop()),f.$layer.show()),f.reposition&&k)if(document.elementFromPoint){if(f.$trigger.is(c)||f.$trigger.has(c).length)return void f.position.call(f.$trigger,f,h,j)}else if(d=f.$trigger.offset(),e=a(window),d.top+=e.scrollTop(),d.top<=b.pageY&&(d.left+=e.scrollLeft(),d.left<=b.pageX&&(d.bottom=d.top+f.$trigger.outerHeight(),d.bottom>=b.pageY&&(d.right=d.left+f.$trigger.outerWidth(),d.right>=b.pageX))))return void f.position.call(f.$trigger,f,h,j);c&&k&&f.$trigger.one("contextmenu:hidden",function(){a(c).contextMenu({x:h,y:j})}),f.$menu.trigger("contextmenu:hide")},50)},keyStop:function(a,b){b.isInput||a.preventDefault(),a.stopPropagation()},key:function(a){var b=g.data("contextMenu")||{};switch(a.keyCode){case 9:case 38:if(q.keyStop(a,b),b.isInput){if(9==a.keyCode&&a.shiftKey)return a.preventDefault(),b.$selected&&b.$selected.find("input, textarea, select").blur(),void b.$menu.trigger("prevcommand");if(38==a.keyCode&&"checkbox"==b.$selected.find("input, textarea, select").prop("type"))return void a.preventDefault()}else if(9!=a.keyCode||a.shiftKey)return void b.$menu.trigger("prevcommand");case 40:if(q.keyStop(a,b),!b.isInput)return void b.$menu.trigger("nextcommand");if(9==a.keyCode)return a.preventDefault(),b.$selected&&b.$selected.find("input, textarea, select").blur(),void b.$menu.trigger("nextcommand");if(40==a.keyCode&&"checkbox"==b.$selected.find("input, textarea, select").prop("type"))return void a.preventDefault();break;case 37:if(q.keyStop(a,b),b.isInput||!b.$selected||!b.$selected.length)break;if(!b.$selected.parent().hasClass("context-menu-root")){var c=b.$selected.parent().parent();return b.$selected.trigger("contextmenu:blur"),void(b.$selected=c)}break;case 39:if(q.keyStop(a,b),b.isInput||!b.$selected||!b.$selected.length)break;var d=b.$selected.data("contextMenu")||{};if(d.$menu&&b.$selected.hasClass("context-menu-submenu"))return b.$selected=null,d.$selected=null,void d.$menu.trigger("nextcommand");break;case 35:case 36:return b.$selected&&b.$selected.find("input, textarea, select").length?void 0:((b.$selected&&b.$selected.parent()||b.$menu).children(":not(.disabled, .not-selectable)")[36==a.keyCode?"first":"last"]().trigger("contextmenu:focus"),void a.preventDefault());case 13:if(q.keyStop(a,b),b.isInput){if(b.$selected&&!b.$selected.is("textarea, select"))return void a.preventDefault();break}return void(b.$selected&&b.$selected.trigger("mouseup"));case 32:case 33:case 34:return void q.keyStop(a,b);case 27:return q.keyStop(a,b),void b.$menu.trigger("contextmenu:hide");default:var e=String.fromCharCode(a.keyCode).toUpperCase();if(b.accesskeys[e])return void b.accesskeys[e].$node.trigger(b.accesskeys[e].$menu?"contextmenu:focus":"mouseup")}a.stopPropagation(),b.$selected&&b.$selected.trigger(a)},prevItem:function(b){b.stopPropagation();var c=a(this).data("contextMenu")||{};if(c.$selected){var d=c.$selected;c=c.$selected.parent().data("contextMenu")||{},c.$selected=d}for(var e=c.$menu.children(),f=c.$selected&&c.$selected.prev().length?c.$selected.prev():e.last(),g=f;f.hasClass("disabled")||f.hasClass("not-selectable");)if(f=f.prev().length?f.prev():e.last(),f.is(g))return;c.$selected&&q.itemMouseleave.call(c.$selected.get(0),b),q.itemMouseenter.call(f.get(0),b);var h=f.find("input, textarea, select");h.length&&h.focus()},nextItem:function(b){b.stopPropagation();var c=a(this).data("contextMenu")||{};if(c.$selected){var d=c.$selected;c=c.$selected.parent().data("contextMenu")||{},c.$selected=d}for(var e=c.$menu.children(),f=c.$selected&&c.$selected.next().length?c.$selected.next():e.first(),g=f;f.hasClass("disabled")||f.hasClass("not-selectable");)if(f=f.next().length?f.next():e.first(),f.is(g))return;c.$selected&&q.itemMouseleave.call(c.$selected.get(0),b),q.itemMouseenter.call(f.get(0),b);var h=f.find("input, textarea, select");h.length&&h.focus()},focusInput:function(){var b=a(this).closest(".context-menu-item"),c=b.data(),d=c.contextMenu,e=c.contextMenuRoot;e.$selected=d.$selected=b,e.isInput=d.isInput=!0},blurInput:function(){var b=a(this).closest(".context-menu-item"),c=b.data(),d=c.contextMenu,e=c.contextMenuRoot;e.isInput=d.isInput=!1},menuMouseenter:function(){var b=a(this).data().contextMenuRoot;b.hovering=!0},menuMouseleave:function(b){var c=a(this).data().contextMenuRoot;c.$layer&&c.$layer.is(b.relatedTarget)&&(c.hovering=!1)},itemMouseenter:function(b){var c=a(this),d=c.data(),e=d.contextMenu,f=d.contextMenuRoot;return f.hovering=!0,b&&f.$layer&&f.$layer.is(b.relatedTarget)&&(b.preventDefault(),b.stopImmediatePropagation()),(e.$menu?e:f).$menu.children(".hover").trigger("contextmenu:blur"),c.hasClass("disabled")||c.hasClass("not-selectable")?void(e.$selected=null):void c.trigger("contextmenu:focus")},itemMouseleave:function(b){var c=a(this),d=c.data(),e=d.contextMenu,f=d.contextMenuRoot;return f!==e&&f.$layer&&f.$layer.is(b.relatedTarget)?(f.$selected&&f.$selected.trigger("contextmenu:blur"),b.preventDefault(),b.stopImmediatePropagation(),void(f.$selected=e.$selected=e.$node)):void c.trigger("contextmenu:blur")},itemClick:function(b){var c,d=a(this),e=d.data(),f=e.contextMenu,g=e.contextMenuRoot,h=e.contextMenuKey;if(f.items[h]&&!d.is(".disabled, .context-menu-submenu, .context-menu-separator, .not-selectable")){if(b.preventDefault(),b.stopImmediatePropagation(),a.isFunction(g.callbacks[h])&&Object.prototype.hasOwnProperty.call(g.callbacks,h))c=g.callbacks[h];else{if(!a.isFunction(g.callback))return;c=g.callback}c.call(g.$trigger,h,g)!==!1?g.$menu.trigger("contextmenu:hide"):g.$menu.parent().length&&r.update.call(g.$trigger,g)}},inputClick:function(a){a.stopImmediatePropagation()},hideMenu:function(b,c){var d=a(this).data("contextMenuRoot");r.hide.call(d.$trigger,d,c&&c.force)},focusItem:function(b){b.stopPropagation();var c=a(this),d=c.data(),e=d.contextMenu,f=d.contextMenuRoot;c.addClass("hover").siblings(".hover").trigger("contextmenu:blur"),e.$selected=f.$selected=c,e.$node&&f.positionSubmenu.call(e.$node,e.$menu)},blurItem:function(b){b.stopPropagation();{var c=a(this),d=c.data(),e=d.contextMenu;d.contextMenuRoot}c.removeClass("hover"),e.$selected=null}},r={show:function(b,c,d){var e=a(this),f={};return a("#context-menu-layer").trigger("mousedown"),b.$trigger=e,b.events.show.call(e,b)===!1?void(g=null):(r.update.call(e,b),b.position.call(e,b,c,d),b.zIndex&&(f.zIndex=p(e)+b.zIndex),r.layer.call(b.$menu,b,f.zIndex),b.$menu.find("ul").css("zIndex",f.zIndex+1),b.$menu.css(f)[b.animation.show](b.animation.duration,function(){e.trigger("contextmenu:visible")}),e.data("contextMenu",b).addClass("context-menu-active"),a(document).off("keydown.contextMenu").on("keydown.contextMenu",q.key),b.autoHide&&a(document).on("mousemove.contextMenuAutoHide",function(a){var c=e.offset();c.right=c.left+e.outerWidth(),c.bottom=c.top+e.outerHeight(),!b.$layer||b.hovering||a.pageX>=c.left&&a.pageX<=c.right&&a.pageY>=c.top&&a.pageY<=c.bottom||b.$menu.trigger("contextmenu:hide")}),void(b.events.shown&&b.events.shown.call(e,b)))},hide:function(c,d){var e=a(this);if(c||(c=e.data("contextMenu")||{}),d||!c.events||c.events.hide.call(e,c)!==!1){if(e.removeData("contextMenu").removeClass("context-menu-active"),c.$layer){setTimeout(function(a){return function(){a.remove()}}(c.$layer),10);try{delete c.$layer}catch(f){c.$layer=null}}g=null,c.$menu.find(".hover").trigger("contextmenu:blur"),c.$selected=null,a(document).off(".contextMenuAutoHide").off("keydown.contextMenu"),c.$menu&&c.$menu[c.animation.hide](c.animation.duration,function(){c.build&&(c.$menu.remove(),a.each(c,function(a){switch(a){case"ns":case"selector":case"build":case"trigger":return!0;default:c[a]=b;try{delete c[a]}catch(d){}return!0}})),setTimeout(function(){e.trigger("contextmenu:hidden")},10)})}},create:function(d,e){e===b&&(e=d),d.$menu=a('
      ').addClass(d.className||"").data({contextMenu:d,contextMenuRoot:e}),a.each(["callbacks","commands","inputs"],function(a,b){d[b]={},e[b]||(e[b]={})}),e.accesskeys||(e.accesskeys={}),a.each(d.items,function(b,f){var g=a('
    • ').addClass(f.className||""),h=null,i=null;if(g.on("click",a.noop),f.$node=g.data({contextMenu:d,contextMenuRoot:e,contextMenuKey:b}),f.accesskey)for(var j,k=c(f.accesskey),l=0;j=k[l];l++)if(!e.accesskeys[j]){e.accesskeys[j]=f,f._name=f.name.replace(new RegExp("("+j+")","i"),'$1');break}if("string"==typeof f)g.addClass("context-menu-separator not-selectable");else if(f.type&&m[f.type])m[f.type].call(g,f,d,e),a.each([d,e],function(c,d){d.commands[b]=f,a.isFunction(f.callback)&&(d.callbacks[b]=f.callback)});else{switch("html"==f.type?g.addClass("context-menu-html not-selectable"):f.type?(h=a("").appendTo(g),a("").html(f._name||f.name).appendTo(h),g.addClass("context-menu-input"),d.hasTypes=!0,a.each([d,e],function(a,c){c.commands[b]=f,c.inputs[b]=f -})):f.items&&(f.type="sub"),f.type){case"text":i=a('').attr("name","context-menu-input-"+b).val(f.value||"").appendTo(h);break;case"textarea":i=a('').attr("name","context-menu-input-"+b).val(f.value||"").appendTo(h),f.height&&i.height(f.height);break;case"checkbox":i=a('').attr("name","context-menu-input-"+b).val(f.value||"").prop("checked",!!f.selected).prependTo(h);break;case"radio":i=a('').attr("name","context-menu-input-"+f.radio).val(f.value||"").prop("checked",!!f.selected).prependTo(h);break;case"select":i=a(') */ -.sp-replacer { - margin:0; - overflow:hidden; - cursor:pointer; - padding: 4px; - display:inline-block; - *zoom: 1; - *display: inline; - border: solid 1px #91765d; - background: #eee; - color: #333; - vertical-align: middle; -} -.sp-replacer:hover, .sp-replacer.sp-active { - border-color: #F0C49B; - color: #111; -} -.sp-replacer.sp-disabled { - cursor:default; - border-color: silver; - color: silver; -} -.sp-dd { - padding: 2px 0; - height: 16px; - line-height: 16px; - float:left; - font-size:10px; -} -.sp-preview -{ - position:relative; - width:25px; - height: 20px; - border: solid 1px #222; - margin-right: 5px; - float:left; - z-index: 0; -} - -.sp-palette -{ - *width: 220px; - max-width: 220px; -} -.sp-palette .sp-thumb-el -{ - width:16px; - height: 16px; - margin:2px 1px; - border: solid 1px #d0d0d0; -} - -.sp-container -{ - padding-bottom:0; -} - - -/* Buttons: http://hellohappy.org/css3-buttons/ */ -.sp-container button { - background-color: #eeeeee; - background-image: -webkit-linear-gradient(top, #eeeeee, #cccccc); - background-image: -moz-linear-gradient(top, #eeeeee, #cccccc); - background-image: -ms-linear-gradient(top, #eeeeee, #cccccc); - background-image: -o-linear-gradient(top, #eeeeee, #cccccc); - background-image: -ms-linear-gradient(top, #eeeeee, #cccccc); - background-image: linear-gradient(to bottom, #eeeeee, #cccccc); - border: 1px solid #ccc; - border-bottom: 1px solid #bbb; - border-radius: 3px; - color: #333; - font-size: 14px; - line-height: 1; - padding: 5px 4px; - text-align: center; - text-shadow: 0 1px 0 #eee; - vertical-align: middle; -} -.sp-container button:hover { - background-color: #dddddd; - background-image: -webkit-linear-gradient(top, #dddddd, #bbbbbb); - background-image: -moz-linear-gradient(top, #dddddd, #bbbbbb); - background-image: -ms-linear-gradient(top, #dddddd, #bbbbbb); - background-image: -o-linear-gradient(top, #dddddd, #bbbbbb); - background-image: -ms-linear-gradient(top, #dddddd, #bbbbbb); - background-image: linear-gradient(to bottom, #dddddd, #bbbbbb); - border: 1px solid #bbb; - border-bottom: 1px solid #999; - cursor: pointer; - text-shadow: 0 1px 0 #ddd; -} -.sp-container button:active { - border: 1px solid #aaa; - border-bottom: 1px solid #888; - -webkit-box-shadow: inset 0 0 5px 2px #aaaaaa, 0 1px 0 0 #eeeeee; - -moz-box-shadow: inset 0 0 5px 2px #aaaaaa, 0 1px 0 0 #eeeeee; - -ms-box-shadow: inset 0 0 5px 2px #aaaaaa, 0 1px 0 0 #eeeeee; - -o-box-shadow: inset 0 0 5px 2px #aaaaaa, 0 1px 0 0 #eeeeee; - box-shadow: inset 0 0 5px 2px #aaaaaa, 0 1px 0 0 #eeeeee; -} -.sp-cancel -{ - font-size: 11px; - color: #d93f3f !important; - margin:0; - padding:2px; - margin-right: 5px; - vertical-align: middle; - text-decoration:none; - -} -.sp-cancel:hover -{ - color: #d93f3f !important; - text-decoration: underline; -} - - -.sp-palette span:hover, .sp-palette span.sp-thumb-active -{ - border-color: #000; -} - -.sp-preview, .sp-alpha, .sp-thumb-el -{ - position:relative; - background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==); -} -.sp-preview-inner, .sp-alpha-inner, .sp-thumb-inner -{ - display:block; - position:absolute; - top:0;left:0;bottom:0;right:0; -} - -.sp-palette .sp-thumb-inner -{ - background-position: 50% 50%; - background-repeat: no-repeat; -} - -.sp-palette .sp-thumb-light.sp-thumb-active .sp-thumb-inner -{ - background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAIVJREFUeNpiYBhsgJFMffxAXABlN5JruT4Q3wfi/0DsT64h8UD8HmpIPCWG/KemIfOJCUB+Aoacx6EGBZyHBqI+WsDCwuQ9mhxeg2A210Ntfo8klk9sOMijaURm7yc1UP2RNCMbKE9ODK1HM6iegYLkfx8pligC9lCD7KmRof0ZhjQACDAAceovrtpVBRkAAAAASUVORK5CYII=); -} - -.sp-palette .sp-thumb-dark.sp-thumb-active .sp-thumb-inner -{ - background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAAadEVYdFNvZnR3YXJlAFBhaW50Lk5FVCB2My41LjEwMPRyoQAAAMdJREFUOE+tkgsNwzAMRMugEAahEAahEAZhEAqlEAZhEAohEAYh81X2dIm8fKpEspLGvudPOsUYpxE2BIJCroJmEW9qJ+MKaBFhEMNabSy9oIcIPwrB+afvAUFoK4H0tMaQ3XtlrggDhOVVMuT4E5MMG0FBbCEYzjYT7OxLEvIHQLY2zWwQ3D+9luyOQTfKDiFD3iUIfPk8VqrKjgAiSfGFPecrg6HN6m/iBcwiDAo7WiBeawa+Kwh7tZoSCGLMqwlSAzVDhoK+6vH4G0P5wdkAAAAASUVORK5CYII=); -} -.close-btn-18 { - display: block; - position: absolute; - top: -8px; - right: -8px; - height: 0; - width: 18px; - padding: 18px 0 0 0; - overflow: hidden; - background: #000000 none; - border: 2.04545454545455px solid #ffffff; - -moz-border-radius: 18px; - -webkit-border-radius: 18px; - border-radius: 18px; - box-shadow: 0 0 6px #000000, 1.63636363636364px 1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), -1.63636363636364px 1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), 1.63636363636364px -1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), -1.63636363636364px -1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3); - -ms-box-shadow: 0 0 6px #000000, 1.63636363636364px 1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), -1.63636363636364px 1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), 1.63636363636364px -1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), -1.63636363636364px -1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3); - -moz-box-shadow: 0 0 6px #000000, 1.63636363636364px 1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), -1.63636363636364px 1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), 1.63636363636364px -1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), -1.63636363636364px -1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3); - -webkit-box-shadow: 0 0 6px #000000, 1.63636363636364px 1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), -1.63636363636364px 1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), 1.63636363636364px -1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), -1.63636363636364px -1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3); - color: #ffffff; - cursor: pointer; - -moz-user-select: none; - -webkit-user-select: none; - user-select: none; -} -.close-btn-18:before { - content: "\D7"; - display: block; - text-align: center; - width: 18px; - position: absolute; - top: -1.8px; - left: 0; - font-size: 18px; - line-height: 18px; - font-family: "Helvetica Neue", Consolas, Verdana, Tahoma, Calibri, Helvetica, Menlo, "Droid Sans", sans-serif; - top: -2px; - left: 1px; -} -.close-btn-20 { - display: block; - position: absolute; - top: -8.88888888888889px; - right: -8.88888888888889px; - height: 0; - width: 20px; - padding: 20px 0 0 0; - overflow: hidden; - background: #000000 none; - border: 2.27272727272727px solid #ffffff; - -moz-border-radius: 20px; - -webkit-border-radius: 20px; - border-radius: 20px; - box-shadow: 0 0 6px #000000, 1.63636363636364px 1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), -1.63636363636364px 1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), 1.63636363636364px -1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), -1.63636363636364px -1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3); - -ms-box-shadow: 0 0 6px #000000, 1.63636363636364px 1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), -1.63636363636364px 1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), 1.63636363636364px -1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), -1.63636363636364px -1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3); - -moz-box-shadow: 0 0 6px #000000, 1.63636363636364px 1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), -1.63636363636364px 1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), 1.63636363636364px -1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), -1.63636363636364px -1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3); - -webkit-box-shadow: 0 0 6px #000000, 1.63636363636364px 1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), -1.63636363636364px 1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), 1.63636363636364px -1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), -1.63636363636364px -1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3); - color: #ffffff; - cursor: pointer; - -moz-user-select: none; - -webkit-user-select: none; - user-select: none; -} -.close-btn-20:before { - content: "\D7"; - display: block; - text-align: center; - width: 20px; - position: absolute; - top: -2px; - left: 0; - font-size: 20px; - line-height: 20px; - font-family: "Helvetica Neue", Consolas, Verdana, Tahoma, Calibri, Helvetica, Menlo, "Droid Sans", sans-serif; -} -.close-btn-24 { - display: block; - position: absolute; - top: -10.6666666666667px; - right: -10.6666666666667px; - height: 0; - width: 24px; - padding: 24px 0 0 0; - overflow: hidden; - background: #000000 none; - border: 2.72727272727273px solid #ffffff; - -moz-border-radius: 24px; - -webkit-border-radius: 24px; - border-radius: 24px; - box-shadow: 0 0 6px #000000, 1.63636363636364px 1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), -1.63636363636364px 1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), 1.63636363636364px -1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), -1.63636363636364px -1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3); - -ms-box-shadow: 0 0 6px #000000, 1.63636363636364px 1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), -1.63636363636364px 1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), 1.63636363636364px -1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), -1.63636363636364px -1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3); - -moz-box-shadow: 0 0 6px #000000, 1.63636363636364px 1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), -1.63636363636364px 1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), 1.63636363636364px -1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), -1.63636363636364px -1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3); - -webkit-box-shadow: 0 0 6px #000000, 1.63636363636364px 1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), -1.63636363636364px 1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), 1.63636363636364px -1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), -1.63636363636364px -1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3); - color: #ffffff; - cursor: pointer; - -moz-user-select: none; - -webkit-user-select: none; - user-select: none; -} -.close-btn-24:before { - content: "\D7"; - display: block; - text-align: center; - width: 24px; - position: absolute; - top: -2.4px; - left: 0; - font-size: 24px; - line-height: 24px; - font-family: "Helvetica Neue", Consolas, Verdana, Tahoma, Calibri, Helvetica, Menlo, "Droid Sans", sans-serif; -} -.close-btn-26 { - display: block; - position: absolute; - top: -11.5555555555556px; - right: -11.5555555555556px; - height: 0; - width: 26px; - padding: 26px 0 0 0; - overflow: hidden; - background: #000000 none; - border: 2.95454545454545px solid #ffffff; - -moz-border-radius: 26px; - -webkit-border-radius: 26px; - border-radius: 26px; - box-shadow: 0 0 6px #000000, 1.63636363636364px 1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), -1.63636363636364px 1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), 1.63636363636364px -1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), -1.63636363636364px -1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3); - -ms-box-shadow: 0 0 6px #000000, 1.63636363636364px 1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), -1.63636363636364px 1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), 1.63636363636364px -1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), -1.63636363636364px -1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3); - -moz-box-shadow: 0 0 6px #000000, 1.63636363636364px 1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), -1.63636363636364px 1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), 1.63636363636364px -1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), -1.63636363636364px -1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3); - -webkit-box-shadow: 0 0 6px #000000, 1.63636363636364px 1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), -1.63636363636364px 1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), 1.63636363636364px -1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), -1.63636363636364px -1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3); - color: #ffffff; - cursor: pointer; - -moz-user-select: none; - -webkit-user-select: none; - user-select: none; -} -.close-btn-26:before { - content: "\D7"; - display: block; - text-align: center; - width: 26px; - position: absolute; - top: -2.6px; - left: 0; - font-size: 26px; - line-height: 26px; - font-family: "Helvetica Neue", Consolas, Verdana, Tahoma, Calibri, Helvetica, Menlo, "Droid Sans", sans-serif; -} -.close-btn-32 { - display: block; - position: absolute; - top: -14.2222222222222px; - right: -14.2222222222222px; - height: 0; - width: 32px; - padding: 32px 0 0 0; - overflow: hidden; - background: #000000 none; - border: 3.63636363636364px solid #ffffff; - -moz-border-radius: 32px; - -webkit-border-radius: 32px; - border-radius: 32px; - box-shadow: 0 0 6px #000000, 1.63636363636364px 1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), -1.63636363636364px 1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), 1.63636363636364px -1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), -1.63636363636364px -1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3); - -ms-box-shadow: 0 0 6px #000000, 1.63636363636364px 1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), -1.63636363636364px 1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), 1.63636363636364px -1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), -1.63636363636364px -1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3); - -moz-box-shadow: 0 0 6px #000000, 1.63636363636364px 1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), -1.63636363636364px 1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), 1.63636363636364px -1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), -1.63636363636364px -1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3); - -webkit-box-shadow: 0 0 6px #000000, 1.63636363636364px 1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), -1.63636363636364px 1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), 1.63636363636364px -1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), -1.63636363636364px -1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3); - color: #ffffff; - cursor: pointer; - -moz-user-select: none; - -webkit-user-select: none; - user-select: none; -} -.close-btn-32:before { - content: "\D7"; - display: block; - text-align: center; - width: 32px; - position: absolute; - top: -3.2px; - left: 0; - font-size: 32px; - line-height: 32px; - font-family: "Helvetica Neue", Consolas, Verdana, Tahoma, Calibri, Helvetica, Menlo, "Droid Sans", sans-serif; -} -.close-btn-36 { - display: block; - position: absolute; - top: -16px; - right: -16px; - height: 0; - width: 36px; - padding: 36px 0 0 0; - overflow: hidden; - background: #000000 none; - border: 4.09090909090909px solid #ffffff; - -moz-border-radius: 36px; - -webkit-border-radius: 36px; - border-radius: 36px; - box-shadow: 0 0 6px #000000, 1.63636363636364px 1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), -1.63636363636364px 1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), 1.63636363636364px -1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), -1.63636363636364px -1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3); - -ms-box-shadow: 0 0 6px #000000, 1.63636363636364px 1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), -1.63636363636364px 1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), 1.63636363636364px -1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), -1.63636363636364px -1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3); - -moz-box-shadow: 0 0 6px #000000, 1.63636363636364px 1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), -1.63636363636364px 1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), 1.63636363636364px -1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), -1.63636363636364px -1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3); - -webkit-box-shadow: 0 0 6px #000000, 1.63636363636364px 1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), -1.63636363636364px 1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), 1.63636363636364px -1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), -1.63636363636364px -1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3); - color: #ffffff; - cursor: pointer; - -moz-user-select: none; - -webkit-user-select: none; - user-select: none; -} -.close-btn-36:before { - content: "\D7"; - display: block; - text-align: center; - width: 36px; - position: absolute; - top: -3.6px; - left: 0; - font-size: 36px; - line-height: 36px; - font-family: "Helvetica Neue", Consolas, Verdana, Tahoma, Calibri, Helvetica, Menlo, "Droid Sans", sans-serif; -} -.close-btn-42 { - display: block; - position: absolute; - top: -18.6666666666667px; - right: -18.6666666666667px; - height: 0; - width: 42px; - padding: 42px 0 0 0; - overflow: hidden; - background: #000000 none; - border: 4.77272727272727px solid #ffffff; - -moz-border-radius: 42px; - -webkit-border-radius: 42px; - border-radius: 42px; - box-shadow: 0 0 6px #000000, 1.63636363636364px 1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), -1.63636363636364px 1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), 1.63636363636364px -1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), -1.63636363636364px -1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3); - -ms-box-shadow: 0 0 6px #000000, 1.63636363636364px 1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), -1.63636363636364px 1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), 1.63636363636364px -1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), -1.63636363636364px -1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3); - -moz-box-shadow: 0 0 6px #000000, 1.63636363636364px 1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), -1.63636363636364px 1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), 1.63636363636364px -1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), -1.63636363636364px -1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3); - -webkit-box-shadow: 0 0 6px #000000, 1.63636363636364px 1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), -1.63636363636364px 1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), 1.63636363636364px -1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), -1.63636363636364px -1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3); - color: #ffffff; - cursor: pointer; - -moz-user-select: none; - -webkit-user-select: none; - user-select: none; -} -.close-btn-42:before { - content: "\D7"; - display: block; - text-align: center; - width: 42px; - position: absolute; - top: -4.2px; - left: 0; - font-size: 42px; - line-height: 42px; - font-family: "Helvetica Neue", Consolas, Verdana, Tahoma, Calibri, Helvetica, Menlo, "Droid Sans", sans-serif; -} -.close-btn-48 { - display: block; - position: absolute; - top: -21.3333333333333px; - right: -21.3333333333333px; - height: 0; - width: 48px; - padding: 48px 0 0 0; - overflow: hidden; - background: #000000 none; - border: 5.45454545454545px solid #ffffff; - -moz-border-radius: 48px; - -webkit-border-radius: 48px; - border-radius: 48px; - box-shadow: 0 0 6px #000000, 1.63636363636364px 1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), -1.63636363636364px 1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), 1.63636363636364px -1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), -1.63636363636364px -1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3); - -ms-box-shadow: 0 0 6px #000000, 1.63636363636364px 1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), -1.63636363636364px 1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), 1.63636363636364px -1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), -1.63636363636364px -1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3); - -moz-box-shadow: 0 0 6px #000000, 1.63636363636364px 1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), -1.63636363636364px 1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), 1.63636363636364px -1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), -1.63636363636364px -1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3); - -webkit-box-shadow: 0 0 6px #000000, 1.63636363636364px 1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), -1.63636363636364px 1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), 1.63636363636364px -1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), -1.63636363636364px -1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3); - color: #ffffff; - cursor: pointer; - -moz-user-select: none; - -webkit-user-select: none; - user-select: none; -} -.close-btn-48:before { - content: "\D7"; - display: block; - text-align: center; - width: 48px; - position: absolute; - top: -4.8px; - left: 0; - font-size: 48px; - line-height: 48px; - font-family: "Helvetica Neue", Consolas, Verdana, Tahoma, Calibri, Helvetica, Menlo, "Droid Sans", sans-serif; -} -.close-btn-red-20 { - display: block; - position: absolute; - top: -8.88888888888889px; - right: -8.88888888888889px; - height: 0; - width: 20px; - padding: 20px 0 0 0; - overflow: hidden; - background: #000000 none; - border: 2.27272727272727px solid #ffffff; - -moz-border-radius: 20px; - -webkit-border-radius: 20px; - border-radius: 20px; - box-shadow: 0 0 6px #000000, 1.63636363636364px 1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), -1.63636363636364px 1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), 1.63636363636364px -1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), -1.63636363636364px -1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3); - -ms-box-shadow: 0 0 6px #000000, 1.63636363636364px 1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), -1.63636363636364px 1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), 1.63636363636364px -1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), -1.63636363636364px -1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3); - -moz-box-shadow: 0 0 6px #000000, 1.63636363636364px 1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), -1.63636363636364px 1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), 1.63636363636364px -1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), -1.63636363636364px -1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3); - -webkit-box-shadow: 0 0 6px #000000, 1.63636363636364px 1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), -1.63636363636364px 1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), 1.63636363636364px -1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3), -1.63636363636364px -1.63636363636364px 1.63636363636364px rgba(0, 0, 0, 0.3); - color: #ffffff; - cursor: pointer; - -moz-user-select: none; - -webkit-user-select: none; - user-select: none; - background-color: #9f0909; -} -.close-btn-red-20:before { - content: "\D7"; - display: block; - text-align: center; - width: 20px; - position: absolute; - top: -2px; - left: 0; - font-size: 20px; - line-height: 20px; - font-family: "Helvetica Neue", Consolas, Verdana, Tahoma, Calibri, Helvetica, Menlo, "Droid Sans", sans-serif; -} -html, body { - height: 100%; -} - -.green { - border-color: green; -} - -body { - background: #222; - /*background-image: url('img/linen-lighter.png');*/ -} - -.raise { - border: 1px solid rgba(255,255,255,0.1); - border-radius: 5px; -} - -.container-fluid { - padding: 0px; -} - -.transparentPattern { - background-image: url('img/checkerboard.png'); -} - -a { - cursor: pointer; -} - -.dropdown-menu .shape { - width: 42px; - height: 42px; - cursor: pointer; - display: inline-block; - padding: 0; -} - -/*.dropdown-menu [class*="shape-"] { - box-sizing: border-box; -}*/ - -.absolute { - position: absolute; -} - -.overlay { - width: 100%; - height: 100%; - position: absolute; - top: 0px; - left: 0px; -} - -.btn-group > .btn-group { - margin-top: 0px; -} - -.btn-plast { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #363636; - *background-color: #222222; - background-image: -moz-linear-gradient(top, #666670, #46464d); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#666670), to(#46464d)); - background-image: -webkit-linear-gradient(top, #666670, #46464d); - background-image: -o-linear-gradient(top, #666670, #46464d); - background-image: linear-gradient(to bottom, #666670, #46464d); - background-repeat: repeat-x; - border-color: #222222 #222222 #000000; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff444444', endColorstr='#ff222222', GradientType=0); - filter: progid:DXImageTransform.Microsoft.gradient(enabled=false); -} - -.btn { - -webkit-touch-callout: none; - -webkit-user-select: none; - -khtml-user-select: none; - -moz-user-select: none; - -ms-user-select: none; - user-select: none; -} - -.btn-plast:hover, -.btn-plast:active, -.btn-plast.active, -.btn-plast.disabled, -.btn-plast[disabled] { - color: #ffffff; - background-color: #46464d; - *background-color: #151515; -} - -.btn-plast:active, -.btn-plast.active { - background-color: #080808 \9; -} - -.btn-group.open .btn.dropdown-toggle.btn-plast { - background-color: #363636; -} - -.pointer { - cursor: pointer; -} -/* --webkit-linear-gradient(top, #494852, #2A2A30) -*/ -.navbar-inverse .navbar-inner { - min-height: 40px; - padding-right: 20px; - padding-left: 20px; - background-color: #2c2c2c; - background-image: -moz-linear-gradient(top, #494852, #2A2A30); - background-image: -ms-linear-gradient(top, #494852, #2A2A30); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#494852), to(#2A2A30)); - background-image: -webkit-linear-gradient(top, #494852, #2A2A30); - background-image: -o-linear-gradient(top, #494852, #2A2A30); - background-image: linear-gradient(top, #494852, #2A2A30); - background-repeat: repeat-x; - filter: progid:dximagetransform.microsoft.gradient(startColorstr='#494852', endColorstr='#2A2A30', GradientType=0); - -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1); - -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1); - box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1); -} - -.nav .dropdown-toggle .caret { -margin-top: 6px; -border-top-color: #000; -border-bottom-color: #000; -} - -.iconBtns i { - display: block; - margin: 0 auto; -} - -.iconBtns { - margin-bottom: 5px; -} - -.iconBtnsSplit { - height: 44px; -} - -.dispNone { - display: none; -} - -.hidden { - visibility: hidden; -} - -.nav .dropdown-toggle .whiteCaret { - border-top-color: white; - border-bottom-color: white; -} - -.whiteCaret { - border-top-color: white; - border-bottom-color: white; -} - -.create-comp-buttons .btn-group > .btn { - font-size: 13px; -} - -.theme-buttons .btn-group > .btn { - font-size: 13px; -} - -/*Button Group Dropdown hack*/ -.btn-group.group-dropdown { - padding: 0px; - margin-left: -1px; -} -.btn-group.group-dropdown .dropdown-toggle { - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.btn-group.group-dropdown:first-child { - padding: 0px; - margin-right: -1px; -} -.btn-group.group-dropdown:first-child .dropdown-toggle { - -webkit-border-top-left-radius: 4px; - -moz-border-radius-topleft: 4px; - border-top-left-radius: 4px; - -webkit-border-bottom-left-radius: 4px; - -moz-border-radius-bottomleft: 4px; - border-bottom-left-radius: 4px; -} -.btn-group.group-dropdown:first-child .dropdown-toggle.btn-large { - -webkit-border-top-left-radius: 6px; - -moz-border-radius-topleft: 6px; - border-top-left-radius: 6px; - -webkit-border-bottom-left-radius: 6px; - -moz-border-radius-bottomleft: 6px; - border-bottom-left-radius: 6px; -} -.btn-group.group-dropdown:last-child { - padding: 0px; - margin-left: -1px; -} -.btn-group.group-dropdown:last-child .dropdown-toggle { - -webkit-border-top-right-radius: 4px; - -moz-border-radius-topright: 4px; - border-top-right-radius: 4px; - -webkit-border-bottom-right-radius: 4px; - -moz-border-radius-bottomright: 4px; - border-bottom-right-radius: 4px; -} -.btn-group.group-dropdown:last-child .dropdown-toggle.btn-large { - -webkit-border-top-right-radius: 6px; - -moz-border-radius-topright: 6px; - border-top-right-radius: 6px; - -webkit-border-bottom-right-radius: 6px; - -moz-border-radius-bottomright: 6px; - border-bottom-right-radius: 6px; -} - -.btn-grouped { - -webkit-border-radius: 0px; - -moz-border-radius: 0px; - border-radius: 0px -} - -.header .navbar-inner .nav:first-child { - margin-right: 5%; -} - -@media only screen -and (min-device-width : 768px) -and (max-device-width : 1024px) { - .header .navbar-inner .nav:first-child { - margin-right: 0%; - } -} - - - -.themedArea div, .themedArea span, .themedArea applet, .themedArea object, .themedArea iframe, -.themedArea h1, .themedArea h2, .themedArea h3, .themedArea h4, .themedArea h5, .themedArea h6, .themedArea p, .themedArea blockquote, .themedArea pre, -.themedArea a, .themedArea abbr, .themedArea acronym, .themedArea address, .themedArea big, .themedArea cite, .themedArea code, -.themedArea del, .themedArea dfn, .themedArea em, .themedArea img, .themedArea ins, .themedArea kbd, .themedArea q, .themedArea s, .themedArea samp, -.themedArea small, .themedArea strike, .themedArea strong, .themedArea sub, .themedArea sup, .themedArea tt, .themedArea var, -.themedArea b, .themedArea u, .themedArea i, .themedArea center, -.themedArea dl, .themedArea dt, .themedArea dd, .themedArea ol, .themedArea ul, .themedArea li, -.themedArea fieldset, .themedArea form, .themedArea label, .themedArea legend, -.themedArea table, .themedArea caption, .themedArea tbody, .themedArea tfoot, .themedArea thead, .themedArea tr, .themedArea th, .themedArea td, -.themedArea article, .themedArea aside, .themedArea canvas, .themedArea details, .themedArea embed, -.themedArea figure, .themedArea figcaption, .themedArea footer, .themedArea header, .themedArea hgroup, -.themedArea menu, .themedArea nav, .themedArea output, .themedArea ruby, .themedArea section, .themedArea summary, -.themedArea time, .themedArea mark, .themedArea audio, video { - margin: 0; - padding: 0; - border: 0; - font-size: 100%; - font: inherit; - vertical-align: baseline; -} - -.themedArea article, .themedArea aside, .themedArea details, .themedArea figcaption, .themedArea figure, -.themedArea footer, .themedArea header, .themedArea hgroup, .themedArea menu, .themedArea nav, .themedArea section { - display: block; -} - -.themedArea h1, -.themedArea h2, -.themedArea h3, -.themedArea h4, -.themedArea h5, -.themedArea h6 { - -webkit-hyphens: auto; - -moz-hyphens: auto; - hyphens: auto; - - word-wrap: break-word; - line-height: 1; -} - -.themedArea h1 { font-size: 3.77em; } -.themedArea h2 { font-size: 2.11em; } -.themedArea h3 { font-size: 1.55em; } -.themedArea h4 { font-size: 1em; } - -/* Fixes issue in Chrome where italic fonts did not appear when printing to PDF */ -.themedArea:after { - content: ''; - font-style: italic; -} - -.themedArea iframe { - z-index: 1; -} - -/** Prevents layering issues in certain browser/transition combinations */ -.themedArea a { - position: relative; -} - -.themedArea strong, -.themedArea b { - font-weight: bold; -} - -.themedArea em, -.themedArea i { - font-style: italic; -} - -.themedArea ol, -.themedArea ul { - display: inline-block; - - text-align: left; - margin: 0 0 0 1em; -} - -.themedArea ol { - list-style-type: decimal; -} - -.themedArea ul { - list-style-type: disc; -} - -.themedArea ul ul { - list-style-type: square; -} - -.themedArea ul ul ul { - list-style-type: circle; -} - -.themedArea ul ul, -.themedArea ul ol, -.themedArea ol ol, -.themedArea ol ul { - display: block; - margin-left: 40px; -} - -.themedArea p { - margin-bottom: 10px; - line-height: 1.2em; -} - -.themedArea q, -.themedArea blockquote { - quotes: none; -} - -.themedArea 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); -} -.themedArea blockquote p:first-child, -.themedArea blockquote p:last-child { - display: inline-block; -} - -.themedArea q { - font-style: italic; -} - -.themedArea 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); -} -.themedArea code { - font-family: monospace; -} -.themedArea pre code { - padding: 5px; - overflow: auto; - max-height: 400px; - word-wrap: normal; -} -.themedArea pre.stretch code { - height: 100%; - max-height: 100%; - - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} - -.themedArea table th, -.themedArea table td { - text-align: left; - padding-right: .3em; -} - -.themedArea table th { - text-shadow: rgb(255,255,255) 1px 1px 2px; -} - -.themedArea sup { - vertical-align: super; -} -.themedArea sub { - vertical-align: sub; -} - -.themedArea small { - display: inline-block; - font-size: 0.6em; - line-height: 1.2em; - vertical-align: top; -} - -.themedArea small * { - vertical-align: top; -} - -.themedArea .stretch { - max-width: none; - max-height: none; -} - -.themedArea { - text-align: center; - padding: 20px 0px 0px; - line-height: 1.2em; - font-weight: normal; -} - -/*.strut-surface::before, .strut-surface::after { - display: block; - position: absolute; - background-size: cover; - background-position: center; - background-repeat: no-repeat; - content: ""; - -webkit-filter: grayscale(0.3) brightness(0.3); - -moz-filter: grayscale(0.3) brightness(0.3); - filter: grayscale(0.3) brightness(0.3); -} - -.strut-surface::after { - z-index: 1; - top: 0; - left: 0; - width: 100%; - height: 100%; -}*/ - -.strut-surface, .innerBg { - background-size: cover; - background-position: center; - background-repeat: no-repeat; -} - -.slideContainer { - background-size: cover; - background-position: center; - background-repeat: no-repeat; -} - -.innerBg { - -webkit-transition: background-color .8s ease; - -moz-transition: background-color .8s ease; - -ms-transition: background-color .8s ease; - transition: background-color .8s ease; -} \ No newline at end of file diff --git a/sources/styles/strut.themes/backgroundClasses.css b/sources/styles/strut.themes/backgroundClasses.css deleted file mode 100644 index 754e1fe..0000000 --- a/sources/styles/strut.themes/backgroundClasses.css +++ /dev/null @@ -1,80 +0,0 @@ -/*[class*="bg-solid"] { - border: 1px solid rgba(0, 0, 0, .3); - box-shadow: 0 2px 6px rgba(0, 0, 0, .4); - text-shadow: 0 2px 2px rgba(0, 0, 0, .3); -}*/ - - -.bg-default { - background: -webkit-radial-gradient(#F0F0F0, #BEBEBE); - background: -moz-radial-gradient(#F0F0F0, #BEBEBE); - background: -ms-radial-gradient(#F0F0F0, #BEBEBE); - background: -o-radial-gradient(#F0F0F0, #BEBEBE); - background: radial-gradient(#F0F0F0, #BEBEBE); -} - -/* -included for legacy support of old decks with the defaultbg attribute set. -*/ -.defaultbg { - background: -webkit-radial-gradient(#F0F0F0, #BEBEBE); - background: -moz-radial-gradient(#F0F0F0, #BEBEBE); - background: -ms-radial-gradient(#F0F0F0, #BEBEBE); - background: -o-radial-gradient(#F0F0F0, #BEBEBE); - background: radial-gradient(#F0F0F0, #BEBEBE); -} - -.bg-solid-orange { - background-color: #774040; -} - -.bg-solid-black { - background-color: #222; -} - -.bg-solid-light { - background-color: white; -} - -.bg-solid-smoke { - background-color: #DDD; -} - -.bg-solid-yellow { - background-color: #D1B377; -} - -.bg-solid-grass { - background-color: #597847; -} - -.bg-solid-darkgreen { - background-color: #134952; -} - -.bg-solid-sky { - background-color: #515E99; -} - -.bg-solid-lavender { - background-color: #443C4D; -} - -.bg-solid-purple { - background-color: #6C478F; -} - -.bg-solid-salmon { - background-color: #C98D8D; -} - -.nobg { - background: url(img/nobg.png); - background-size: 40px 40px; -} - -.themeProviders .thumbnail { - height: 20px; - width: 20px; - padding: 10px; -} diff --git a/sources/styles/strut.themes/img/nobg.png b/sources/styles/strut.themes/img/nobg.png deleted file mode 100644 index dff3881..0000000 Binary files a/sources/styles/strut.themes/img/nobg.png and /dev/null differ diff --git a/sources/styles/strut.themes/stylesheetEditor.css b/sources/styles/strut.themes/stylesheetEditor.css deleted file mode 100644 index 02b79fd..0000000 --- a/sources/styles/strut.themes/stylesheetEditor.css +++ /dev/null @@ -1,5 +0,0 @@ -.stylesheetEditor .codeInput { - width: 100%; - margin-left: -8px; - height: 300px; -} diff --git a/sources/styles/strut.themes/surfaceClasses.css b/sources/styles/strut.themes/surfaceClasses.css deleted file mode 100644 index 9119e65..0000000 --- a/sources/styles/strut.themes/surfaceClasses.css +++ /dev/null @@ -1,98 +0,0 @@ -.bg-surf-grad-black { - background-color: #333; - /*background-image: -webkit-radial-gradient(#333, #111); - background-image: -moz-radial-gradient(#333, #111); - background-image: -ms-radial-gradient(#333, #111); - background-image: -o-radial-gradient(#333, #111); - background-image: radial-gradient(#333, #111);*/ -} - -.bg-surf-grad-light { - background-color: #FFF; - /*background-image: -webkit-radial-gradient(#FFF, #DDD); - background-image: -moz-radial-gradient(#FFF, #DDD); - background-image: -ms-radial-gradient(#FFF, #DDD); - background-image: -o-radial-gradient(#FFF, #DDD); - background-image: radial-gradient(#FFF, #DDD);*/ -} - -.bg-surf-grad-smoke { - background-color: #EEE; - /*background-image: -webkit-radial-gradient(#EEE, #CCC); - background-image: -moz-radial-gradient(#EEE, #CCC); - background-image: -ms-radial-gradient(#EEE, #CCC); - background-image: -o-radial-gradient(#EEE, #CCC); - background-image: radial-gradient(#EEE, #CCC);*/ -} - -.bg-surf-grad-orange { - background-color: #945353; - /*background-image: -webkit-radial-gradient(#945353, #774040); - background-image: -moz-radial-gradient(#945353, #774040); - background-image: -ms-radial-gradient(#945353, #774040); - background-image: -o-radial-gradient(#945353, #774040); - background-image: radial-gradient(#945353, #774040);*/ -} - -.bg-surf-grad-yellow { - background-color: #cfb98c; - /*background-image: -webkit-radial-gradient(#cfb98c, #D1B377); - background-image: -moz-radial-gradient(#cfb98c, #D1B377); - background-image: -ms-radial-gradient(#cfb98c, #D1B377); - background-image: -o-radial-gradient(#cfb98c, #D1B377); - background-image: radial-gradient(#cfb98c, #D1B377);*/ -} - -.bg-surf-grad-darkgreen { - background-color: #4a939e; - /*background-image: -webkit-radial-gradient(#4a939e, #134952); - background-image: -moz-radial-gradient(#4a939e, #134952); - background-image: -ms-radial-gradient(#4a939e, #134952); - background-image: -o-radial-gradient(#4a939e, #134952); - background-image: radial-gradient(#4a939e, #134952);*/ -} - -.bg-surf-grad-sky { - background-color: #5e699c; - /*background-image: -webkit-radial-gradient(#5e699c, #515E99); - background-image: -moz-radial-gradient(#5e699c, #515E99); - background-image: -ms-radial-gradient(#5e699c, #515E99); - background-image: -o-radial-gradient(#5e699c, #515E99); - background-image: radial-gradient(#5e699c, #515E99);*/ -} - -.bg-surf-grad-lavender { - background-color: #554b61; - /*background-image: -webkit-radial-gradient(#554b61, #443C4D); - background-image: -moz-radial-gradient(#554b61, #443C4D); - background-image: -ms-radial-gradient(#554b61, #443C4D); - background-image: -o-radial-gradient(#554b61, #443C4D); - background-image: radial-gradient(#554b61, #443C4D);*/ -} - -.bg-surf-grad-purple { - background-color: #775796; - /*background-image: -webkit-radial-gradient(#775796, #6C478F); - background-image: -moz-radial-gradient(#775796, #6C478F); - background-image: -ms-radial-gradient(#775796, #6C478F); - background-image: -o-radial-gradient(#775796, #6C478F); - background-image: radial-gradient(#775796, #6C478F);*/ -} - -.bg-surf-grad-salmon { - background-color: #cfa2a2; - /*background-image: -webkit-radial-gradient(#cfa2a2, #C98D8D); - background-image: -moz-radial-gradient(#cfa2a2, #C98D8D); - background-image: -ms-radial-gradient(#cfa2a2, #C98D8D); - background-image: -o-radial-gradient(#cfa2a2, #C98D8D); - background-image: radial-gradient(#cfa2a2, #C98D8D);*/ -} - -.bg-surf-grad-grass { - background-color: #6c855d; - /*background-image: -webkit-radial-gradient(#6c855d, #597847); - background-image: -moz-radial-gradient(#6c855d, #597847); - background-image: -ms-radial-gradient(#6c855d, #597847); - background-image: -o-radial-gradient(#6c855d, #597847); - background-image: radial-gradient(#6c855d, #597847);*/ -} \ No newline at end of file