diff --git a/.editorconfig b/.editorconfig
index e5c8d6c..27da7b7 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -1,17 +1,24 @@
+# This file is for unifying the coding style for different editors and IDEs
# editorconfig.org
+# WordPress Coding Standards
+# https://make.wordpress.org/core/handbook/coding-standards/
+
root = true
[*]
-indent_style = space
-indent_size = 2
-end_of_line = lf
charset = utf-8
-trim_trailing_whitespace = true
+end_of_line = lf
insert_final_newline = true
+trim_trailing_whitespace = true
+indent_style = tab
-[*.php]
-indent_size = 4
+[*.md]
+trim_trailing_whitespace = false
-[resources/views/**.php]
+[{.jshintrc,*.json,*.yml,*.scss}]
+indent_style = space
indent_size = 2
+
+[{*.txt,wp-config-sample.php}]
+end_of_line = crlf
diff --git a/LICENSE.md b/LICENSE.md
index 910ba7d..23cb790 100644
--- a/LICENSE.md
+++ b/LICENSE.md
@@ -1,24 +1,339 @@
-Copyright (c) 2017 Pressbooks (Book Oven Inc.)
+ GNU GENERAL PUBLIC LICENSE
+ Version 2, June 1991
-This program is free software: you can redistribute it and/or modify
-it under the terms of the GNU General Public License as published by
-the Free Software Foundation, either version 3 of the License, or
-(at your option) any later version.
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
-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 General Public License for more details.
+ Preamble
-You should have received a copy of the GNU General Public License
-along with this program. If not, see .
+ The licenses for most software are designed to take away your
+freedom to share and change it. By contrast, the GNU General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users. This
+General Public License applies to most of the Free Software
+Foundation's software and to any other program whose authors commit to
+using it. (Some other Free Software Foundation software is covered by
+the GNU Lesser General Public License instead.) You can apply it to
+your programs, too.
-This project is based on work covered by the following copyright and permission notice:
+ When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+this service if you wish), that you receive source code or can get it
+if you want it, that you can change the software or use pieces of it
+in new free programs; and that you know you can do these things.
-Copyright (c) Ben Word and Scott Walkinshaw
+ To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
-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:
+ For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have. You must make sure that they, too, receive or can get the
+source code. And you must show them these terms so they know their
+rights.
-The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+ We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
-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.
+ Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software. If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+ Finally, any free program is threatened constantly by software
+patents. We wish to avoid the danger that redistributors of a free
+program will individually obtain patent licenses, in effect making the
+program proprietary. To prevent this, we have made it clear that any
+patent must be licensed for everyone's free use or not licensed at all.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ GNU GENERAL PUBLIC LICENSE
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+ 0. This License applies to any program or other work which contains
+a notice placed by the copyright holder saying it may be distributed
+under the terms of this General Public License. The "Program", below,
+refers to any such program or work, and a "work based on the Program"
+means either the Program or any derivative work under copyright law:
+that is to say, a work containing the Program or a portion of it,
+either verbatim or with modifications and/or translated into another
+language. (Hereinafter, translation is included without limitation in
+the term "modification".) Each licensee is addressed as "you".
+
+Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope. The act of
+running the Program is not restricted, and the output from the Program
+is covered only if its contents constitute a work based on the
+Program (independent of having been made by running the Program).
+Whether that is true depends on what the Program does.
+
+ 1. You may copy and distribute verbatim copies of the Program's
+source code as you receive it, in any medium, provided that you
+conspicuously and appropriately publish on each copy an appropriate
+copyright notice and disclaimer of warranty; keep intact all the
+notices that refer to this License and to the absence of any warranty;
+and give any other recipients of the Program a copy of this License
+along with the Program.
+
+You may charge a fee for the physical act of transferring a copy, and
+you may at your option offer warranty protection in exchange for a fee.
+
+ 2. You may modify your copy or copies of the Program or any portion
+of it, thus forming a work based on the Program, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+ a) You must cause the modified files to carry prominent notices
+ stating that you changed the files and the date of any change.
+
+ b) You must cause any work that you distribute or publish, that in
+ whole or in part contains or is derived from the Program or any
+ part thereof, to be licensed as a whole at no charge to all third
+ parties under the terms of this License.
+
+ c) If the modified program normally reads commands interactively
+ when run, you must cause it, when started running for such
+ interactive use in the most ordinary way, to print or display an
+ announcement including an appropriate copyright notice and a
+ notice that there is no warranty (or else, saying that you provide
+ a warranty) and that users may redistribute the program under
+ these conditions, and telling the user how to view a copy of this
+ License. (Exception: if the Program itself is interactive but
+ does not normally print such an announcement, your work based on
+ the Program is not required to print an announcement.)
+
+These requirements apply to the modified work as a whole. If
+identifiable sections of that work are not derived from the Program,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works. But when you
+distribute the same sections as part of a whole which is a work based
+on the Program, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Program.
+
+In addition, mere aggregation of another work not based on the Program
+with the Program (or with a work based on the Program) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+ 3. You may copy and distribute the Program (or a work based on it,
+under Section 2) in object code or executable form under the terms of
+Sections 1 and 2 above provided that you also do one of the following:
+
+ a) Accompany it with the complete corresponding machine-readable
+ source code, which must be distributed under the terms of Sections
+ 1 and 2 above on a medium customarily used for software interchange; or,
+
+ b) Accompany it with a written offer, valid for at least three
+ years, to give any third party, for a charge no more than your
+ cost of physically performing source distribution, a complete
+ machine-readable copy of the corresponding source code, to be
+ distributed under the terms of Sections 1 and 2 above on a medium
+ customarily used for software interchange; or,
+
+ c) Accompany it with the information you received as to the offer
+ to distribute corresponding source code. (This alternative is
+ allowed only for noncommercial distribution and only if you
+ received the program in object code or executable form with such
+ an offer, in accord with Subsection b above.)
+
+The source code for a work means the preferred form of the work for
+making modifications to it. For an executable work, complete source
+code means all the source code for all modules it contains, plus any
+associated interface definition files, plus the scripts used to
+control compilation and installation of the executable. However, as a
+special exception, the source code distributed need not include
+anything that is normally distributed (in either source or binary
+form) with the major components (compiler, kernel, and so on) of the
+operating system on which the executable runs, unless that component
+itself accompanies the executable.
+
+If distribution of executable or object code is made by offering
+access to copy from a designated place, then offering equivalent
+access to copy the source code from the same place counts as
+distribution of the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+ 4. You may not copy, modify, sublicense, or distribute the Program
+except as expressly provided under this License. Any attempt
+otherwise to copy, modify, sublicense or distribute the Program is
+void, and will automatically terminate your rights under this License.
+However, parties who have received copies, or rights, from you under
+this License will not have their licenses terminated so long as such
+parties remain in full compliance.
+
+ 5. You are not required to accept this License, since you have not
+signed it. However, nothing else grants you permission to modify or
+distribute the Program or its derivative works. These actions are
+prohibited by law if you do not accept this License. Therefore, by
+modifying or distributing the Program (or any work based on the
+Program), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Program or works based on it.
+
+ 6. Each time you redistribute the Program (or any work based on the
+Program), the recipient automatically receives a license from the
+original licensor to copy, distribute or modify the Program subject to
+these terms and conditions. You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties to
+this License.
+
+ 7. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Program at all. For example, if a patent
+license would not permit royalty-free redistribution of the Program by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Program.
+
+If any portion of this section is held invalid or unenforceable under
+any particular circumstance, the balance of the section is intended to
+apply and the section as a whole is intended to apply in other
+circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system, which is
+implemented by public license practices. Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+ 8. If the distribution and/or use of the Program is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Program under this License
+may add an explicit geographical distribution limitation excluding
+those countries, so that distribution is permitted only in or among
+countries not thus excluded. In such case, this License incorporates
+the limitation as if written in the body of this License.
+
+ 9. The Free Software Foundation may publish revised and/or new versions
+of the General Public License from time to time. Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+Each version is given a distinguishing version number. If the Program
+specifies a version number of this License which applies to it and "any
+later version", you have the option of following the terms and conditions
+either of that version or of any later version published by the Free
+Software Foundation. If the Program does not specify a version number of
+this License, you may choose any version ever published by the Free Software
+Foundation.
+
+ 10. If you wish to incorporate parts of the Program into other free
+programs whose distribution conditions are different, write to the author
+to ask for permission. For software which is copyrighted by the Free
+Software Foundation, write to the Free Software Foundation; we sometimes
+make exceptions for this. Our decision will be guided by the two goals
+of preserving the free status of all derivatives of our free software and
+of promoting the sharing and reuse of software generally.
+
+ NO WARRANTY
+
+ 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
+REPAIR OR CORRECTION.
+
+ 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGES.
+
+ 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
+convey the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+ {description}
+ Copyright (C) {year} {fullname}
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 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 General Public License for more details.
+
+ You should have received a copy of the GNU General Public License along
+ with this program; if not, write to the Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+Also add information on how to contact you by electronic and paper mail.
+
+If the program is interactive, make it output a short notice like this
+when it starts in an interactive mode:
+
+ Gnomovision version 69, Copyright (C) year name of author
+ Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+ This is free software, and you are welcome to redistribute it
+ under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License. Of course, the commands you use may
+be called something other than `show w' and `show c'; they could even be
+mouse-clicks or menu items--whatever suits your program.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the program, if
+necessary. Here is a sample; alter the names:
+
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the program
+ `Gnomovision' (which makes passes at compilers) written by James Hacker.
+
+ {signature of Ty Coon}, 1 April 1989
+ Ty Coon, President of Vice
+
+This General Public License does not permit incorporating your program into
+proprietary programs. If your program is a subroutine library, you may
+consider it more useful to permit linking proprietary applications with the
+library. If this is what you want to do, use the GNU Lesser General
+Public License instead of this License.
diff --git a/README.md b/README.md
index 81e4865..93df057 100644
--- a/README.md
+++ b/README.md
@@ -1,74 +1,68 @@
-# Aldine
+# Aldine
[](https://travis-ci.org/pressbooks/pressbooks-aldine) [](https://github.com/pressbooks/pressbooks-aldine/releases/latest)
-Aldine is the new root theme for [Pressbooks](https://github.com/pressbooks/pressbooks), based on [Sage](https://roots.io/sage/).
-
-## Features
-
-* Sass for stylesheets
-* ES6 for JavaScript
-* [Webpack](https://webpack.github.io/) for compiling assets, optimizing images, and concatenating and minifying files
-* [Browsersync](http://www.browsersync.io/) for synchronized browser testing
-* [Laravel Blade](https://laravel.com/docs/5.4/blade) as a templating engine
-* [Controller](https://github.com/soberwp/controller) for passing data to Blade templates
-
-## Requirements
-
-Make sure all dependencies have been installed before moving on:
-
-* [PHP](http://php.net/manual/en/install.php) >= 7.0
-* [Composer](https://getcomposer.org/download/)
-* [WordPress](https://wordpress.org/) >= 4.8.1
-* [Pressbooks](https://github.com/pressbooks/pressbooks) >= 4.3
-* [Node.js](http://nodejs.org/) >= 6.9.x
-* [Yarn](https://yarnpkg.com/en/docs/install)
-
-## Theme installation
-
-Download the [latest zipped release](https://github.com/pressbooks/pressbooks-aldine/releases/latest) to your Pressbooks themes directory (`wp-content/themes` or `app/themes`) and unzip the theme folder.
-
-## Theme structure
-
-```shell
-themes/pressbooks-aldine/ # → Theme root
-├── app/ # → Theme PHP
-│ ├── controllers/ # → Controller files
-│ ├── widgets/ # → Custom widget classes
-│ ├── admin.php # → Theme customizer setup
-│ ├── filters.php # → Theme filters
-│ ├── helpers.php # → Helper functions
-│ └── setup.php # → Theme setup
-│ └── widgets.php # → Widget initialization
-├── composer.json # → Autoloading for `app/` files
-├── composer.lock # → Composer lock file (never edit)
-├── dist/ # → Built theme assets (never edit)
-├── functions.php # → Composer autoloader, theme includes
-├── index.php # → Never manually edit
-├── node_modules/ # → Node.js packages (never edit)
-├── package.json # → Node.js dependencies and scripts
-├── resources/ # → Theme assets and templates
-│ ├── assets/ # → Front-end assets
-│ │ ├── config.json # → Settings for compiled assets
-│ │ ├── build/ # → Webpack and ESLint config
-│ │ ├── fonts/ # → Theme fonts
-│ │ ├── images/ # → Theme images
-│ │ ├── scripts/ # → Theme JS
-│ │ └── styles/ # → Theme stylesheets
-│ └── views/ # → Theme templates
-│ ├── layouts/ # → Base templates
-│ └── partials/ # → Partial templates
-├── screenshot.png # → Theme screenshot for WP admin
-├── style.css # → Theme meta information
-└── vendor/ # → Composer packages (never edit)
-```
-
-## Theme development
-
-* Run `yarn` from the theme directory to install dependencies
-
-### Build commands
-
-* `yarn run start` — Compile assets when file changes are made, start Browsersync session
-* `yarn run build` — Compile and optimize the files in your assets directory
-* `yarn run build:production` — Compile assets for production
+**Tags:** publishing, catalog, pressbooks, default-theme
+
+**Requires at least:** 4.9.1
+**Tested up to:** 4.9.1
+**Stable tag:** 1.0.0-alpha6
+**License:** GNU General Public License v2 or later
+**License URI:** LICENSE
+
+Aldine is the root theme for Pressbooks.
+
+
+## Description
+
+Aldine is the root theme for [Pressbooks](https://pressbooks.org), based on [Underscores](https://underscores.me/).
+
+
+## Installation
+
+1. In your admin panel, go to Appearance > Themes and click the Add New button.
+2. Click Upload Theme and Choose File, then select the theme's [.zip file](https://github.com/pressbooks/pressbooks-aldine/releases/latest/). Click Install Now.
+3. Click Activate to use your new theme right away.
+
+
+## Frequently Asked Questions
+
+TK.
+
+
+## Changelog
+
+
+### 1.0.0-alpha6
+* **[FEATURE]** Add Per Soderlind's WCAG validator to customizer.
+* **[FEATURE]** Add Thema subject support.
+
+
+### 1.0.0-alpha5
+* **[CORE ENHANCEMENT]** Configure for use without Pressbooks (see #26).
+
+
+### 1.0.0-alpha4
+* **[CORE ENHANCEMENT]** Save `/dist` folder.
+* **[FIX]** Add temporary fix for roots/sage-lib#2.
+
+
+### 1.0.0-alpha3
+* **[CORE ENHANCEMENT]** Move required theme files to root (see #24 and #25).
+
+
+### 1.0.0-alpha2
+* **[CORE ENHANCEMENT]** Optimize activation routine.
+* **[FIX]** Remove extra wrapper on catalog and landing pages.
+* **[FIX]** Resolve error when activating without active widgets.
+
+
+### 1.0.0-alpha1
+* Basic landing page implementation
+* Basic catalog page implementation
+* Basic customizer capabilities
+
+
+## Credits
+
+* Based on [Underscores](https://underscores.me/), (C) 2012-2017 Automattic, Inc., [GPLv2 or later](https://www.gnu.org/licenses/gpl-2.0.html)
diff --git a/resources/assets/fonts/.gitkeep b/assets/fonts/.gitkeep
similarity index 100%
rename from resources/assets/fonts/.gitkeep
rename to assets/fonts/.gitkeep
diff --git a/resources/assets/fonts/pressbooks-theme.woff b/assets/fonts/pressbooks-theme.woff
similarity index 100%
rename from resources/assets/fonts/pressbooks-theme.woff
rename to assets/fonts/pressbooks-theme.woff
diff --git a/resources/assets/images/.gitkeep b/assets/images/.gitkeep
similarity index 100%
rename from resources/assets/images/.gitkeep
rename to assets/images/.gitkeep
diff --git a/resources/assets/images/banner.jpg b/assets/images/banner.jpg
similarity index 100%
rename from resources/assets/images/banner.jpg
rename to assets/images/banner.jpg
diff --git a/resources/assets/images/catalog-header.jpg b/assets/images/catalog-header.jpg
similarity index 100%
rename from resources/assets/images/catalog-header.jpg
rename to assets/images/catalog-header.jpg
diff --git a/resources/assets/images/header.jpg b/assets/images/header.jpg
similarity index 100%
rename from resources/assets/images/header.jpg
rename to assets/images/header.jpg
diff --git a/resources/assets/images/left-arrow.svg b/assets/images/left-arrow.svg
similarity index 100%
rename from resources/assets/images/left-arrow.svg
rename to assets/images/left-arrow.svg
diff --git a/resources/assets/images/logo.svg b/assets/images/logo.svg
similarity index 100%
rename from resources/assets/images/logo.svg
rename to assets/images/logo.svg
diff --git a/resources/assets/images/pb.svg b/assets/images/pb.svg
similarity index 100%
rename from resources/assets/images/pb.svg
rename to assets/images/pb.svg
diff --git a/resources/assets/images/right-arrow.svg b/assets/images/right-arrow.svg
similarity index 100%
rename from resources/assets/images/right-arrow.svg
rename to assets/images/right-arrow.svg
diff --git a/resources/assets/scripts/main.js b/assets/scripts/aldine.js
similarity index 100%
rename from resources/assets/scripts/main.js
rename to assets/scripts/aldine.js
diff --git a/resources/assets/scripts/customizer.js b/assets/scripts/customizer.js
similarity index 100%
rename from resources/assets/scripts/customizer.js
rename to assets/scripts/customizer.js
diff --git a/assets/scripts/routes/catalog.js b/assets/scripts/routes/catalog.js
new file mode 100644
index 0000000..71ab471
--- /dev/null
+++ b/assets/scripts/routes/catalog.js
@@ -0,0 +1,112 @@
+const jQueryBridget = require( 'jquery-bridget' );
+const Isotope = require( 'isotope-layout' );
+
+export default {
+ init() {
+ // JavaScript to be fired on the catalog page
+ jQueryBridget( 'isotope', Isotope, $ );
+ let $grid = $( '.books' );
+ $grid.isotope( {
+ itemSelector: '.book',
+ getSortData: {
+ title: '.title a',
+ subject: '[data-subject]',
+ latest: '[data-date-published]',
+ },
+ sortAscending: {
+ title: true,
+ subject: true,
+ latest: false,
+ },
+ } );
+ $( '.filters > a' ).click( e => {
+ e.preventDefault();
+ $( '.filters' ).toggleClass( 'is-active' );
+ $( '.filter-groups > div' ).removeClass( 'is-active' );
+ } );
+ $( '.filter-groups .subjects > a' ).click( e => {
+ e.preventDefault();
+ let id = $( e.currentTarget ).attr( 'href' );
+ $( `.filter-groups .subjects:not(${id})` ).removeClass( 'is-active' );
+ $( `.filter-groups ${id}` ).toggleClass( 'is-active' );
+ } );
+ $( '.licenses > a' ).click( e => {
+ e.preventDefault();
+ let id = $( e.currentTarget ).attr( 'href' );
+ $( id ).toggleClass( 'is-active' );
+ } );
+ $( '.subjects .filter-list a' ).click( e => {
+ e.preventDefault();
+ if ( $( e.currentTarget ).hasClass( 'is-active' ) ) {
+ $( '.subjects .filter-list a' ).removeClass( 'is-active' );
+ $( '.subjects' ).removeClass( 'has-active-child' );
+ } else {
+ $( '.subjects .filter-list a' ).removeClass( 'is-active' );
+ $( e.currentTarget ).addClass( 'is-active' );
+ $( '.subjects' ).removeClass( 'has-active-child' );
+ $( e.currentTarget )
+ .parent()
+ .parent()
+ .parent( '.subjects' )
+ .addClass( 'has-active-child' );
+ }
+ let subjectValue = $( '.subjects .filter-list a.is-active' ).attr(
+ 'data-filter'
+ );
+ let licenseValue = $( '.licenses .filter-list a.is-active' ).attr(
+ 'data-filter'
+ );
+ if ( typeof licenseValue === 'undefined' ) {
+ licenseValue = '';
+ } else {
+ licenseValue = `[data-license="${licenseValue}"]`;
+ }
+ if ( typeof subjectValue === 'undefined' ) {
+ subjectValue = '';
+ } else {
+ subjectValue = `[data-subject="${subjectValue}"]`;
+ }
+ $grid.isotope( { filter: `${subjectValue}${licenseValue}` } );
+ } );
+ $( '.licenses .filter-list a' ).click( e => {
+ e.preventDefault();
+ if ( $( e.currentTarget ).hasClass( 'is-active' ) ) {
+ $( '.licenses .filter-list a' ).removeClass( 'is-active' );
+ $( '.licenses' ).removeClass( 'has-active-child' );
+ } else {
+ $( '.licenses .filter-list a' ).removeClass( 'is-active' );
+ $( e.currentTarget ).addClass( 'is-active' );
+ $( '.licenses' ).addClass( 'has-active-child' );
+ }
+ let subjectValue = $( '.subjects .filter-list a.is-active' ).attr(
+ 'data-filter'
+ );
+ let licenseValue = $( '.licenses .filter-list a.is-active' ).attr(
+ 'data-filter'
+ );
+ if ( typeof licenseValue === 'undefined' ) {
+ licenseValue = '';
+ } else {
+ licenseValue = `[data-license="${licenseValue}"]`;
+ }
+ if ( typeof subjectValue === 'undefined' ) {
+ subjectValue = '';
+ } else {
+ subjectValue = `[data-subject="${subjectValue}"]`;
+ }
+ $grid.isotope( { filter: `${subjectValue}${licenseValue}` } );
+ } );
+ $( '.sort > a' ).click( e => {
+ e.preventDefault();
+ $( '.sort' ).toggleClass( 'is-active' );
+ } );
+ $( '.sorts a' ).click( e => {
+ e.preventDefault();
+ let sortBy = $( e.currentTarget ).attr( 'data-sort' );
+ $( '.sorts a' ).removeClass( 'is-active' );
+ $( e.currentTarget ).addClass( 'is-active' );
+ $grid.isotope( { sortBy: sortBy } );
+ } );
+ },
+ finalize() {},
+};
diff --git a/assets/scripts/routes/common.js b/assets/scripts/routes/common.js
new file mode 100644
index 0000000..63fe5b7
--- /dev/null
+++ b/assets/scripts/routes/common.js
@@ -0,0 +1,16 @@
+export default {
+ init() {
+ // JavaScript to be fired on all pages
+ $( 'body' )
+ .removeClass( 'no-js' )
+ .addClass( 'js' );
+ $( '.toggle' ).click( event => {
+ event.preventDefault();
+ $( event.currentTarget ).toggleClass( 'toggle--active' );
+ $( '.banner__navigation' ).toggleClass( 'banner__navigation--visible' );
+ } );
+ },
+ finalize() {
+ // JavaScript to be fired on all pages, after page specific JS is fired
+ },
+};
diff --git a/assets/scripts/routes/home.js b/assets/scripts/routes/home.js
new file mode 100644
index 0000000..1a99dc6
--- /dev/null
+++ b/assets/scripts/routes/home.js
@@ -0,0 +1,6 @@
+export default {
+ init() {
+ // JavaScript to be fired on the home page
+ },
+ finalize() {},
+};
diff --git a/resources/assets/scripts/util/Router.js b/assets/scripts/util/Router.js
similarity index 100%
rename from resources/assets/scripts/util/Router.js
rename to assets/scripts/util/Router.js
diff --git a/resources/assets/scripts/util/camelCase.js b/assets/scripts/util/camelCase.js
similarity index 100%
rename from resources/assets/scripts/util/camelCase.js
rename to assets/scripts/util/camelCase.js
diff --git a/resources/assets/styles/main.scss b/assets/styles/aldine.scss
similarity index 92%
rename from resources/assets/styles/main.scss
rename to assets/styles/aldine.scss
index 412ce50..96f91ff 100644
--- a/resources/assets/styles/main.scss
+++ b/assets/styles/aldine.scss
@@ -6,7 +6,7 @@
* Prefix your imports with `~` to grab from node_modules/
* @see https://github.com/webpack-contrib/sass-loader#imports
*/
-@import '~aetna/assets/styles/aetna.scss';
+@import "~aetna/assets/styles/aetna.scss";
/** Import theme styles */
// @import "common/global";
diff --git a/resources/assets/styles/common/_global.scss b/assets/styles/common/_global.scss
similarity index 100%
rename from resources/assets/styles/common/_global.scss
rename to assets/styles/common/_global.scss
diff --git a/resources/assets/styles/common/_variables.scss b/assets/styles/common/_variables.scss
similarity index 100%
rename from resources/assets/styles/common/_variables.scss
rename to assets/styles/common/_variables.scss
diff --git a/resources/assets/styles/components/_comments.scss b/assets/styles/components/_comments.scss
similarity index 100%
rename from resources/assets/styles/components/_comments.scss
rename to assets/styles/components/_comments.scss
diff --git a/resources/assets/styles/components/_forms.scss b/assets/styles/components/_forms.scss
similarity index 100%
rename from resources/assets/styles/components/_forms.scss
rename to assets/styles/components/_forms.scss
diff --git a/resources/assets/styles/components/_grid.scss b/assets/styles/components/_grid.scss
similarity index 100%
rename from resources/assets/styles/components/_grid.scss
rename to assets/styles/components/_grid.scss
diff --git a/resources/assets/styles/components/_wp-classes.scss b/assets/styles/components/_wp-classes.scss
similarity index 100%
rename from resources/assets/styles/components/_wp-classes.scss
rename to assets/styles/components/_wp-classes.scss
diff --git a/resources/assets/styles/layouts/_footer.scss b/assets/styles/layouts/_footer.scss
similarity index 100%
rename from resources/assets/styles/layouts/_footer.scss
rename to assets/styles/layouts/_footer.scss
diff --git a/resources/assets/styles/layouts/_header.scss b/assets/styles/layouts/_header.scss
similarity index 100%
rename from resources/assets/styles/layouts/_header.scss
rename to assets/styles/layouts/_header.scss
diff --git a/resources/assets/styles/layouts/_pages.scss b/assets/styles/layouts/_pages.scss
similarity index 100%
rename from resources/assets/styles/layouts/_pages.scss
rename to assets/styles/layouts/_pages.scss
diff --git a/resources/assets/styles/layouts/_posts.scss b/assets/styles/layouts/_posts.scss
similarity index 100%
rename from resources/assets/styles/layouts/_posts.scss
rename to assets/styles/layouts/_posts.scss
diff --git a/resources/assets/styles/layouts/_sidebar.scss b/assets/styles/layouts/_sidebar.scss
similarity index 100%
rename from resources/assets/styles/layouts/_sidebar.scss
rename to assets/styles/layouts/_sidebar.scss
diff --git a/resources/assets/styles/layouts/_tinymce.scss b/assets/styles/layouts/_tinymce.scss
similarity index 100%
rename from resources/assets/styles/layouts/_tinymce.scss
rename to assets/styles/layouts/_tinymce.scss
diff --git a/resources/assets/styles/layouts/pages/_catalog.scss b/assets/styles/layouts/pages/_catalog.scss
similarity index 100%
rename from resources/assets/styles/layouts/pages/_catalog.scss
rename to assets/styles/layouts/pages/_catalog.scss
diff --git a/resources/assets/styles/layouts/pages/_front-page.scss b/assets/styles/layouts/pages/_front-page.scss
similarity index 100%
rename from resources/assets/styles/layouts/pages/_front-page.scss
rename to assets/styles/layouts/pages/_front-page.scss
diff --git a/resources/assets/styles/login.scss b/assets/styles/login.scss
similarity index 100%
rename from resources/assets/styles/login.scss
rename to assets/styles/login.scss
diff --git a/composer.json b/composer.json
index fbe7e0e..35f2a9c 100644
--- a/composer.json
+++ b/composer.json
@@ -1,61 +1,39 @@
{
- "name": "pressbooks/pressbooks-aldine",
- "type": "wordpress-theme",
- "license": "GPL-3",
- "description": "Aldine is the new root theme for Pressbooks, based on Sage.",
- "homepage": "https://github.com/pressbooks/pressbooks-aldine/",
- "authors": [
- {
- "name": "Pressbooks (Book Oven Inc.)",
- "email": "code@pressbooks.com",
- "homepage": "https://pressbooks.org"
- },
- {
- "name": "Ben Word",
- "email": "ben@benword.com",
- "homepage": "https://github.com/retlehs"
- },
- {
- "name": "Scott Walkinshaw",
- "email": "scott.walkinshaw@gmail.com",
- "homepage": "https://github.com/swalkinshaw"
- },
- {
- "name": "QWp6t",
- "email": "hi@qwp6t.me",
- "homepage": "https://github.com/qwp6t"
- }
- ],
- "keywords": [
- "publishing",
- "catalog",
- "pressbooks",
- "default-theme"
- ],
- "support": {
- "issues": "https://github.com/pressbooks/pressbooks-aldine/issues",
- "forum": "https://discourse.pressbooks.org/"
- },
- "autoload": {
- "psr-4": {
- "Aldine\\": "app/"
- }
- },
- "require": {
- "php": ">=7",
- "composer/installers": "~1.0",
- "illuminate/support": "~5.4",
- "roots/sage-lib": "~9.0.0-beta.4",
- "soberwp/controller": "~9.0.0-beta.4",
- "soberwp/intervention": "1.2.0-p",
- "erusev/parsedown-extra": "^0.7.1"
- },
- "require-dev": {
- "squizlabs/php_codesniffer": "^2.8.0"
- },
- "scripts": {
- "test": [
- "phpcs"
- ]
- }
+ "name": "pressbooks/pressbooks-aldine",
+ "type": "wordpress-theme",
+ "license": "GPL-2.0+",
+ "description": "Aldine is the root theme for Pressbooks.",
+ "homepage": "https://github.com/pressbooks/pressbooks-aldine/",
+ "authors": [
+ {
+ "name": "Pressbooks (Book Oven Inc.)",
+ "email": "code@pressbooks.com",
+ "homepage": "https://pressbooks.org"
+ }
+ ],
+ "keywords": ["publishing", "catalog", "pressbooks", "default-theme"],
+ "support": {
+ "issues": "https://github.com/pressbooks/pressbooks-aldine/issues",
+ "forum": "https://discourse.pressbooks.org/"
+ },
+ "require": {
+ "php": ">=7",
+ "composer/installers": "~1.0",
+ "pressbooks/mix": "^2.1",
+ "soberwp/intervention": "1.2.0-p",
+ "erusev/parsedown-extra": "^0.7.1"
+ },
+ "require-dev": {
+ "humanmade/coding-standards": "^0.2.1",
+ "squizlabs/php_codesniffer": "^2.8.0",
+ "wpreadme2markdown/wp2md": "^3.0"
+ },
+ "scripts": {
+ "test": ["@standards"],
+ "standards": ["vendor/bin/phpcs --standard=phpcs.ruleset.xml *.php"],
+ "localize": [
+ "wp-pot -o=languages/pressbooks-aldine.pot -d=pressbooks-aldine -t 'Pressbooks (Book Oven Inc.) ' -s '*.php'"
+ ],
+ "readme": ["vendor/bin/wp2md -i readme.txt -o README.md"]
+ }
}
diff --git a/composer.lock b/composer.lock
index e7a0a45..d0b3f2f 100644
--- a/composer.lock
+++ b/composer.lock
@@ -4,64 +4,8 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
"This file is @generated automatically"
],
- "content-hash": "f7726a4926f063ad567227228ba400b8",
+ "content-hash": "98d5bc8ff0e066bda4383130af3ae190",
"packages": [
- {
- "name": "brain/hierarchy",
- "version": "2.3.0",
- "source": {
- "type": "git",
- "url": "https://github.com/Brain-WP/Hierarchy.git",
- "reference": "adb52da233e586051a577ef5eabe2c537df785d5"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/Brain-WP/Hierarchy/zipball/adb52da233e586051a577ef5eabe2c537df785d5",
- "reference": "adb52da233e586051a577ef5eabe2c537df785d5",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5"
- },
- "require-dev": {
- "antecedent/patchwork": "~1.3.0",
- "brain/monkey": "~1.2",
- "gmazzap/andrew": "~1.0",
- "mockery/mockery": "0.9.3",
- "phpunit/phpunit": "~4.8",
- "symfony/finder": "~2.7.0"
- },
- "suggest": {
- "symfony/finder": "Allows loading of templates using Symfony finder component."
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.2.x-dev",
- "dev-dev": "2.0.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Brain\\Hierarchy\\": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Giuseppe Mazzapica",
- "email": "giuseppe.mazzapica@gmail.com"
- }
- ],
- "description": "No-dependencies package that embodies WordPress template hierarchy",
- "keywords": [
- "wordpress"
- ],
- "time": "2016-09-15T13:33:53+00:00"
- },
{
"name": "composer/installers",
"version": "v1.4.0",
@@ -179,90 +123,26 @@
],
"time": "2017-08-09T07:53:48+00:00"
},
- {
- "name": "doctrine/inflector",
- "version": "v1.2.0",
- "source": {
- "type": "git",
- "url": "https://github.com/doctrine/inflector.git",
- "reference": "e11d84c6e018beedd929cff5220969a3c6d1d462"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/doctrine/inflector/zipball/e11d84c6e018beedd929cff5220969a3c6d1d462",
- "reference": "e11d84c6e018beedd929cff5220969a3c6d1d462",
- "shasum": ""
- },
- "require": {
- "php": "^7.0"
- },
- "require-dev": {
- "phpunit/phpunit": "^6.2"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.2.x-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Doctrine\\Common\\Inflector\\": "lib/Doctrine/Common/Inflector"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Roman Borschel",
- "email": "roman@code-factory.org"
- },
- {
- "name": "Benjamin Eberlei",
- "email": "kontakt@beberlei.de"
- },
- {
- "name": "Guilherme Blanco",
- "email": "guilhermeblanco@gmail.com"
- },
- {
- "name": "Jonathan Wage",
- "email": "jonwage@gmail.com"
- },
- {
- "name": "Johannes Schmitt",
- "email": "schmittjoh@gmail.com"
- }
- ],
- "description": "Common String Manipulations with regard to casing and singular/plural rules.",
- "homepage": "http://www.doctrine-project.org",
- "keywords": [
- "inflection",
- "pluralize",
- "singularize",
- "string"
- ],
- "time": "2017-07-22T12:18:28+00:00"
- },
{
"name": "erusev/parsedown",
- "version": "1.6.3",
+ "version": "1.6.4",
"source": {
"type": "git",
"url": "https://github.com/erusev/parsedown.git",
- "reference": "728952b90a333b5c6f77f06ea9422b94b585878d"
+ "reference": "fbe3fe878f4fe69048bb8a52783a09802004f548"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/erusev/parsedown/zipball/728952b90a333b5c6f77f06ea9422b94b585878d",
- "reference": "728952b90a333b5c6f77f06ea9422b94b585878d",
+ "url": "https://api.github.com/repos/erusev/parsedown/zipball/fbe3fe878f4fe69048bb8a52783a09802004f548",
+ "reference": "fbe3fe878f4fe69048bb8a52783a09802004f548",
"shasum": ""
},
"require": {
"php": ">=5.3.0"
},
+ "require-dev": {
+ "phpunit/phpunit": "^4.8.35"
+ },
"type": "library",
"autoload": {
"psr-0": {
@@ -286,7 +166,7 @@
"markdown",
"parser"
],
- "time": "2017-05-14T14:47:48+00:00"
+ "time": "2017-11-14T20:44:03+00:00"
},
{
"name": "erusev/parsedown-extra",
@@ -333,34 +213,26 @@
"time": "2015-11-01T10:19:22+00:00"
},
{
- "name": "hassankhan/config",
- "version": "0.10.0",
+ "name": "pressbooks/mix",
+ "version": "2.1",
"source": {
"type": "git",
- "url": "https://github.com/hassankhan/config.git",
- "reference": "06ac500348af033f1a2e44dc357ca86282626d4a"
+ "url": "https://github.com/pressbooks/mix.git",
+ "reference": "4cb5d44244468480c24f30ea08070b37711ba864"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/hassankhan/config/zipball/06ac500348af033f1a2e44dc357ca86282626d4a",
- "reference": "06ac500348af033f1a2e44dc357ca86282626d4a",
+ "url": "https://api.github.com/repos/pressbooks/mix/zipball/4cb5d44244468480c24f30ea08070b37711ba864",
+ "reference": "4cb5d44244468480c24f30ea08070b37711ba864",
"shasum": ""
},
- "require": {
- "php": ">=5.3.0"
- },
"require-dev": {
- "phpunit/phpunit": "~4.0",
- "scrutinizer/ocular": "~1.1",
- "squizlabs/php_codesniffer": "~2.2"
- },
- "suggest": {
- "symfony/yaml": "~2.5"
+ "humanmade/coding-standards": "^0.2.1"
},
"type": "library",
"autoload": {
"psr-4": {
- "Noodlehaus\\": "src"
+ "PressbooksMix\\": "inc/"
}
},
"notification-url": "https://packagist.org/downloads/",
@@ -369,55 +241,42 @@
],
"authors": [
{
- "name": "Hassan Khan",
- "homepage": "http://hassankhan.me/",
- "role": "Developer"
+ "name": "Pressbooks (Book Oven Inc.)",
+ "email": "code@pressbooks.com"
}
],
- "description": "Lightweight configuration file loader that supports PHP, INI, XML, JSON, and YAML files",
- "homepage": "http://hassankhan.me/config/",
- "keywords": [
- "config",
- "configuration",
- "ini",
- "json",
- "microphp",
- "unframework",
- "xml",
- "yaml",
- "yml"
- ],
- "time": "2016-02-11T16:21:17+00:00"
+ "time": "2017-09-06T21:35:04+00:00"
},
{
- "name": "illuminate/config",
- "version": "v5.4.27",
+ "name": "soberwp/intervention",
+ "version": "1.2.0-p",
"source": {
"type": "git",
- "url": "https://github.com/illuminate/config.git",
- "reference": "8fe700aa596bc623d347e4578041fbda7a44c3d9"
+ "url": "https://github.com/soberwp/intervention.git",
+ "reference": "1698e51efe696c5867fb78ef7c5d2efff9b79260"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/illuminate/config/zipball/8fe700aa596bc623d347e4578041fbda7a44c3d9",
- "reference": "8fe700aa596bc623d347e4578041fbda7a44c3d9",
+ "url": "https://api.github.com/repos/soberwp/intervention/zipball/1698e51efe696c5867fb78ef7c5d2efff9b79260",
+ "reference": "1698e51efe696c5867fb78ef7c5d2efff9b79260",
"shasum": ""
},
"require": {
- "illuminate/contracts": "5.4.*",
- "illuminate/support": "5.4.*",
- "php": ">=5.6.4"
+ "composer/installers": "~1.0",
+ "php": ">=5.4.0"
},
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "5.4-dev"
- }
+ "require-dev": {
+ "squizlabs/php_codesniffer": "2.*"
},
+ "type": "package",
"autoload": {
"psr-4": {
- "Illuminate\\Config\\": ""
- }
+ "Sober\\Intervention\\": "src/",
+ "Sober\\Intervention\\Module\\": "src/modules/"
+ },
+ "files": [
+ "intervention.php"
+ ]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
@@ -425,41 +284,46 @@
],
"authors": [
{
- "name": "Taylor Otwell",
- "email": "taylor@laravel.com"
+ "name": "Darren Jacoby",
+ "email": "darren@jacoby.co.za",
+ "homepage": "https://twitter.com/withjacoby"
}
],
- "description": "The Illuminate Config package.",
- "homepage": "https://laravel.com",
- "time": "2017-02-04T20:27:32+00:00"
- },
+ "description": "WordPress plugin containing modules to cleanup and customize wp-admin.",
+ "homepage": "https://github.com/soberwp",
+ "keywords": [
+ "wordpress"
+ ],
+ "time": "2017-08-26T12:21:27+00:00"
+ }
+ ],
+ "packages-dev": [
{
- "name": "illuminate/container",
- "version": "v5.4.27",
+ "name": "fig-r/psr2r-sniffer",
+ "version": "0.3.1",
"source": {
"type": "git",
- "url": "https://github.com/illuminate/container.git",
- "reference": "c5b8a02a34a52c307f16922334c355c5eef725a6"
+ "url": "https://github.com/php-fig-rectified/psr2r-sniffer.git",
+ "reference": "cdf61b2922efb225903e52c6222d7192d3b97ebf"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/illuminate/container/zipball/c5b8a02a34a52c307f16922334c355c5eef725a6",
- "reference": "c5b8a02a34a52c307f16922334c355c5eef725a6",
+ "url": "https://api.github.com/repos/php-fig-rectified/psr2r-sniffer/zipball/cdf61b2922efb225903e52c6222d7192d3b97ebf",
+ "reference": "cdf61b2922efb225903e52c6222d7192d3b97ebf",
"shasum": ""
},
"require": {
- "illuminate/contracts": "5.4.*",
- "php": ">=5.6.4"
+ "php": ">=5.4.16",
+ "squizlabs/php_codesniffer": "~2.3"
},
+ "bin": [
+ "bin/tokenize",
+ "bin/sniff"
+ ],
"type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "5.4-dev"
- }
- },
"autoload": {
"psr-4": {
- "Illuminate\\Container\\": ""
+ "PSR2R\\": "PSR2R"
}
},
"notification-url": "https://packagist.org/downloads/",
@@ -468,136 +332,167 @@
],
"authors": [
{
- "name": "Taylor Otwell",
- "email": "taylor@laravel.com"
+ "name": "Mark Scherer",
+ "homepage": "http://www.dereuromark.de",
+ "role": "Contributor"
}
],
- "description": "The Illuminate Container package.",
- "homepage": "https://laravel.com",
- "time": "2017-05-24T14:15:53+00:00"
+ "description": "Code-Sniffer, Auto-Fixer and Tokenizer for PSR2-R",
+ "time": "2016-07-11T14:35:34+00:00"
},
{
- "name": "illuminate/contracts",
- "version": "v5.4.27",
+ "name": "humanmade/coding-standards",
+ "version": "0.2.2",
"source": {
"type": "git",
- "url": "https://github.com/illuminate/contracts.git",
- "reference": "31f0193eb14aa3ee07841dc254081425616e79f0"
+ "url": "https://github.com/humanmade/coding-standards.git",
+ "reference": "f3974696bf139eb17049ae0ced114cbee1f86b20"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/illuminate/contracts/zipball/31f0193eb14aa3ee07841dc254081425616e79f0",
- "reference": "31f0193eb14aa3ee07841dc254081425616e79f0",
+ "url": "https://api.github.com/repos/humanmade/coding-standards/zipball/f3974696bf139eb17049ae0ced114cbee1f86b20",
+ "reference": "f3974696bf139eb17049ae0ced114cbee1f86b20",
"shasum": ""
},
"require": {
- "php": ">=5.6.4"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "5.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Illuminate\\Contracts\\": ""
- }
+ "fig-r/psr2r-sniffer": "^0.3.1",
+ "wp-coding-standards/wpcs": "^0.10.0"
},
+ "type": "project",
"notification-url": "https://packagist.org/downloads/",
"license": [
- "MIT"
+ "GPL-2.0"
],
- "authors": [
- {
- "name": "Taylor Otwell",
- "email": "taylor@laravel.com"
- }
- ],
- "description": "The Illuminate Contracts package.",
- "homepage": "https://laravel.com",
- "time": "2017-04-19T20:17:43+00:00"
+ "description": "Human Made coding standards",
+ "time": "2017-08-31T03:33:08+00:00"
},
{
- "name": "illuminate/events",
- "version": "v5.4.27",
+ "name": "squizlabs/php_codesniffer",
+ "version": "2.9.1",
"source": {
"type": "git",
- "url": "https://github.com/illuminate/events.git",
- "reference": "ebdca3b0305e9fc954afb9e422c4559482cd11e6"
+ "url": "https://github.com/squizlabs/PHP_CodeSniffer.git",
+ "reference": "dcbed1074f8244661eecddfc2a675430d8d33f62"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/illuminate/events/zipball/ebdca3b0305e9fc954afb9e422c4559482cd11e6",
- "reference": "ebdca3b0305e9fc954afb9e422c4559482cd11e6",
+ "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/dcbed1074f8244661eecddfc2a675430d8d33f62",
+ "reference": "dcbed1074f8244661eecddfc2a675430d8d33f62",
"shasum": ""
},
"require": {
- "illuminate/container": "5.4.*",
- "illuminate/contracts": "5.4.*",
- "illuminate/support": "5.4.*",
- "php": ">=5.6.4"
+ "ext-simplexml": "*",
+ "ext-tokenizer": "*",
+ "ext-xmlwriter": "*",
+ "php": ">=5.1.2"
+ },
+ "require-dev": {
+ "phpunit/phpunit": "~4.0"
},
+ "bin": [
+ "scripts/phpcs",
+ "scripts/phpcbf"
+ ],
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "5.4-dev"
+ "dev-master": "2.x-dev"
}
},
"autoload": {
- "psr-4": {
- "Illuminate\\Events\\": ""
- }
+ "classmap": [
+ "CodeSniffer.php",
+ "CodeSniffer/CLI.php",
+ "CodeSniffer/Exception.php",
+ "CodeSniffer/File.php",
+ "CodeSniffer/Fixer.php",
+ "CodeSniffer/Report.php",
+ "CodeSniffer/Reporting.php",
+ "CodeSniffer/Sniff.php",
+ "CodeSniffer/Tokens.php",
+ "CodeSniffer/Reports/",
+ "CodeSniffer/Tokenizers/",
+ "CodeSniffer/DocGenerators/",
+ "CodeSniffer/Standards/AbstractPatternSniff.php",
+ "CodeSniffer/Standards/AbstractScopeSniff.php",
+ "CodeSniffer/Standards/AbstractVariableSniff.php",
+ "CodeSniffer/Standards/IncorrectPatternException.php",
+ "CodeSniffer/Standards/Generic/Sniffs/",
+ "CodeSniffer/Standards/MySource/Sniffs/",
+ "CodeSniffer/Standards/PEAR/Sniffs/",
+ "CodeSniffer/Standards/PSR1/Sniffs/",
+ "CodeSniffer/Standards/PSR2/Sniffs/",
+ "CodeSniffer/Standards/Squiz/Sniffs/",
+ "CodeSniffer/Standards/Zend/Sniffs/"
+ ]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
- "MIT"
+ "BSD-3-Clause"
],
"authors": [
{
- "name": "Taylor Otwell",
- "email": "taylor@laravel.com"
+ "name": "Greg Sherwood",
+ "role": "lead"
}
],
- "description": "The Illuminate Events package.",
- "homepage": "https://laravel.com",
- "time": "2017-05-02T12:57:00+00:00"
+ "description": "PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.",
+ "homepage": "http://www.squizlabs.com/php-codesniffer",
+ "keywords": [
+ "phpcs",
+ "standards"
+ ],
+ "time": "2017-05-22T02:43:20+00:00"
},
{
- "name": "illuminate/filesystem",
- "version": "v5.4.27",
+ "name": "symfony/console",
+ "version": "v4.0.1",
"source": {
"type": "git",
- "url": "https://github.com/illuminate/filesystem.git",
- "reference": "e0ee832f625fbfadb816a972655b1a66af1a5bda"
+ "url": "https://github.com/symfony/console.git",
+ "reference": "2ff6acc1342a0e7c3ad757a80fd837f5b22535a1"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/illuminate/filesystem/zipball/e0ee832f625fbfadb816a972655b1a66af1a5bda",
- "reference": "e0ee832f625fbfadb816a972655b1a66af1a5bda",
+ "url": "https://api.github.com/repos/symfony/console/zipball/2ff6acc1342a0e7c3ad757a80fd837f5b22535a1",
+ "reference": "2ff6acc1342a0e7c3ad757a80fd837f5b22535a1",
"shasum": ""
},
"require": {
- "illuminate/contracts": "5.4.*",
- "illuminate/support": "5.4.*",
- "php": ">=5.6.4",
- "symfony/finder": "~3.2"
+ "php": "^7.1.3",
+ "symfony/polyfill-mbstring": "~1.0"
+ },
+ "conflict": {
+ "symfony/dependency-injection": "<3.4",
+ "symfony/process": "<3.3"
+ },
+ "require-dev": {
+ "psr/log": "~1.0",
+ "symfony/config": "~3.4|~4.0",
+ "symfony/dependency-injection": "~3.4|~4.0",
+ "symfony/event-dispatcher": "~3.4|~4.0",
+ "symfony/lock": "~3.4|~4.0",
+ "symfony/process": "~3.4|~4.0"
},
"suggest": {
- "league/flysystem": "Required to use the Flysystem local and FTP drivers (~1.0).",
- "league/flysystem-aws-s3-v3": "Required to use the Flysystem S3 driver (~1.0).",
- "league/flysystem-rackspace": "Required to use the Flysystem Rackspace driver (~1.0)."
+ "psr/log": "For using the console logger",
+ "symfony/event-dispatcher": "",
+ "symfony/lock": "",
+ "symfony/process": ""
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "5.4-dev"
+ "dev-master": "4.0-dev"
}
},
"autoload": {
"psr-4": {
- "Illuminate\\Filesystem\\": ""
- }
+ "Symfony\\Component\\Console\\": ""
+ },
+ "exclude-from-classmap": [
+ "/Tests/"
+ ]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
@@ -605,55 +500,50 @@
],
"authors": [
{
- "name": "Taylor Otwell",
- "email": "taylor@laravel.com"
+ "name": "Fabien Potencier",
+ "email": "fabien@symfony.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
}
],
- "description": "The Illuminate Filesystem package.",
- "homepage": "https://laravel.com",
- "time": "2017-05-18T14:37:58+00:00"
+ "description": "Symfony Console Component",
+ "homepage": "https://symfony.com",
+ "time": "2017-12-04T12:31:58+00:00"
},
{
- "name": "illuminate/support",
- "version": "v5.4.27",
+ "name": "symfony/polyfill-mbstring",
+ "version": "v1.6.0",
"source": {
"type": "git",
- "url": "https://github.com/illuminate/support.git",
- "reference": "a42393b56d0ec75f55e760f2a47bcf85a17a278d"
+ "url": "https://github.com/symfony/polyfill-mbstring.git",
+ "reference": "2ec8b39c38cb16674bbf3fea2b6ce5bf117e1296"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/illuminate/support/zipball/a42393b56d0ec75f55e760f2a47bcf85a17a278d",
- "reference": "a42393b56d0ec75f55e760f2a47bcf85a17a278d",
+ "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/2ec8b39c38cb16674bbf3fea2b6ce5bf117e1296",
+ "reference": "2ec8b39c38cb16674bbf3fea2b6ce5bf117e1296",
"shasum": ""
},
"require": {
- "doctrine/inflector": "~1.0",
- "ext-mbstring": "*",
- "illuminate/contracts": "5.4.*",
- "paragonie/random_compat": "~1.4|~2.0",
- "php": ">=5.6.4"
- },
- "replace": {
- "tightenco/collect": "self.version"
+ "php": ">=5.3.3"
},
"suggest": {
- "illuminate/filesystem": "Required to use the composer class (5.2.*).",
- "symfony/process": "Required to use the composer class (~3.2).",
- "symfony/var-dumper": "Required to use the dd function (~3.2)."
+ "ext-mbstring": "For best performance"
},
"type": "library",
"extra": {
"branch-alias": {
- "dev-master": "5.4-dev"
+ "dev-master": "1.6-dev"
}
},
"autoload": {
"psr-4": {
- "Illuminate\\Support\\": ""
+ "Symfony\\Polyfill\\Mbstring\\": ""
},
"files": [
- "helpers.php"
+ "bootstrap.php"
]
},
"notification-url": "https://packagist.org/downloads/",
@@ -662,90 +552,92 @@
],
"authors": [
{
- "name": "Taylor Otwell",
- "email": "taylor@laravel.com"
+ "name": "Nicolas Grekas",
+ "email": "p@tchwork.com"
+ },
+ {
+ "name": "Symfony Community",
+ "homepage": "https://symfony.com/contributors"
}
],
- "description": "The Illuminate Support package.",
- "homepage": "https://laravel.com",
- "time": "2017-06-15T12:35:32+00:00"
+ "description": "Symfony polyfill for the Mbstring extension",
+ "homepage": "https://symfony.com",
+ "keywords": [
+ "compatibility",
+ "mbstring",
+ "polyfill",
+ "portable",
+ "shim"
+ ],
+ "time": "2017-10-11T12:05:26+00:00"
},
{
- "name": "illuminate/view",
- "version": "v5.4.27",
+ "name": "wp-coding-standards/wpcs",
+ "version": "0.10.0",
"source": {
"type": "git",
- "url": "https://github.com/illuminate/view.git",
- "reference": "423652ea1c4c4c2f6494bd6b8cfb6eb943c5ba75"
+ "url": "https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards.git",
+ "reference": "b39490465f6fd7375743a395019cd597e12119c9"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/illuminate/view/zipball/423652ea1c4c4c2f6494bd6b8cfb6eb943c5ba75",
- "reference": "423652ea1c4c4c2f6494bd6b8cfb6eb943c5ba75",
+ "url": "https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/zipball/b39490465f6fd7375743a395019cd597e12119c9",
+ "reference": "b39490465f6fd7375743a395019cd597e12119c9",
"shasum": ""
},
"require": {
- "illuminate/container": "5.4.*",
- "illuminate/contracts": "5.4.*",
- "illuminate/events": "5.4.*",
- "illuminate/filesystem": "5.4.*",
- "illuminate/support": "5.4.*",
- "php": ">=5.6.4",
- "symfony/debug": "~3.2"
+ "squizlabs/php_codesniffer": "^2.6"
},
"type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "5.4-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Illuminate\\View\\": ""
- }
- },
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
- "name": "Taylor Otwell",
- "email": "taylor@laravel.com"
+ "name": "Contributors",
+ "homepage": "https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/graphs/contributors"
}
],
- "description": "The Illuminate View package.",
- "homepage": "https://laravel.com",
- "time": "2017-06-07T13:32:57+00:00"
+ "description": "PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions",
+ "keywords": [
+ "phpcs",
+ "standards",
+ "wordpress"
+ ],
+ "time": "2016-08-29T20:04:47+00:00"
},
{
- "name": "paragonie/random_compat",
- "version": "v2.0.10",
+ "name": "wpreadme2markdown/wp2md",
+ "version": "3.0.1",
"source": {
"type": "git",
- "url": "https://github.com/paragonie/random_compat.git",
- "reference": "634bae8e911eefa89c1abfbf1b66da679ac8f54d"
+ "url": "https://github.com/wpreadme2markdown/wp2md.git",
+ "reference": "6fec3a213080e32a5d53a235f89c6cf4d910572a"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/paragonie/random_compat/zipball/634bae8e911eefa89c1abfbf1b66da679ac8f54d",
- "reference": "634bae8e911eefa89c1abfbf1b66da679ac8f54d",
+ "url": "https://api.github.com/repos/wpreadme2markdown/wp2md/zipball/6fec3a213080e32a5d53a235f89c6cf4d910572a",
+ "reference": "6fec3a213080e32a5d53a235f89c6cf4d910572a",
"shasum": ""
},
"require": {
- "php": ">=5.2.0"
+ "php": ">= 5.5.9",
+ "symfony/console": "^3.2|^4.0",
+ "wpreadme2markdown/wpreadme2markdown": "^3.0.1"
},
"require-dev": {
- "phpunit/phpunit": "4.*|5.*"
- },
- "suggest": {
- "ext-libsodium": "Provides a modern crypto API that can be used to generate random bytes."
+ "indeyets/pake": "~1.99",
+ "secondtruth/phar-compiler": "~1.1"
},
+ "bin": [
+ "bin/wp2md"
+ ],
"type": "library",
"autoload": {
- "files": [
- "lib/random.php"
- ]
+ "psr-4": {
+ "WPReadme2Markdown\\Cli\\": "src/"
+ }
},
"notification-url": "https://packagist.org/downloads/",
"license": [
@@ -753,45 +645,43 @@
],
"authors": [
{
- "name": "Paragon Initiative Enterprises",
- "email": "security@paragonie.com",
- "homepage": "https://paragonie.com"
+ "name": "Benjamin J. Balter"
+ },
+ {
+ "name": "Christian Archer",
+ "email": "sunchaser@sunchaser.info"
}
],
- "description": "PHP 5.x polyfill for random_bytes() and random_int() from PHP 7",
+ "description": "CLI tool for converting WordPress Plugin readme.txt to Markdown",
"keywords": [
- "csprng",
- "pseudorandom",
- "random"
+ "converter",
+ "markdown",
+ "readme",
+ "wordpress"
],
- "time": "2017-03-13T16:27:32+00:00"
+ "time": "2017-11-24T21:19:21+00:00"
},
{
- "name": "psr/log",
- "version": "1.0.2",
+ "name": "wpreadme2markdown/wpreadme2markdown",
+ "version": "3.0.1",
"source": {
"type": "git",
- "url": "https://github.com/php-fig/log.git",
- "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d"
+ "url": "https://github.com/wpreadme2markdown/wp-readme-to-markdown.git",
+ "reference": "8066915828bb05a12b44360cda986e1d9e60047e"
},
"dist": {
"type": "zip",
- "url": "https://api.github.com/repos/php-fig/log/zipball/4ebe3a8bf773a19edfe0a84b6585ba3d401b724d",
- "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d",
+ "url": "https://api.github.com/repos/wpreadme2markdown/wp-readme-to-markdown/zipball/8066915828bb05a12b44360cda986e1d9e60047e",
+ "reference": "8066915828bb05a12b44360cda986e1d9e60047e",
"shasum": ""
},
"require": {
- "php": ">=5.3.0"
+ "php": ">= 5.3.3"
},
"type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "1.0.x-dev"
- }
- },
"autoload": {
"psr-4": {
- "Psr\\Log\\": "Psr/Log/"
+ "WPReadme2Markdown\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
@@ -800,419 +690,26 @@
],
"authors": [
{
- "name": "PHP-FIG",
- "homepage": "http://www.php-fig.org/"
+ "name": "Benjamin J. Balter"
+ },
+ {
+ "name": "Christian Archer",
+ "email": "sunchaser@sunchaser.info"
}
],
- "description": "Common interface for logging libraries",
- "homepage": "https://github.com/php-fig/log",
+ "description": "Convert WordPress Plugin readme.txt to Markdown",
"keywords": [
- "log",
- "psr",
- "psr-3"
+ "converter",
+ "markdown",
+ "readme",
+ "wordpress"
],
- "time": "2016-10-10T12:19:37+00:00"
- },
- {
- "name": "roots/sage-lib",
- "version": "9.0.0-beta.4",
- "source": {
- "type": "git",
- "url": "https://github.com/roots/sage-lib.git",
- "reference": "71ed6e54e831fd1ced5bae028f0515d277e8c1c1"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/roots/sage-lib/zipball/71ed6e54e831fd1ced5bae028f0515d277e8c1c1",
- "reference": "71ed6e54e831fd1ced5bae028f0515d277e8c1c1",
- "shasum": ""
- },
- "require": {
- "composer/installers": "~1.0",
- "illuminate/config": "~5.4",
- "illuminate/view": "~5.4",
- "php": ">=7"
- },
- "require-dev": {
- "squizlabs/php_codesniffer": "~3.0"
- },
- "type": "library",
- "autoload": {
- "psr-4": {
- "Roots\\Sage\\": ""
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Ben Word",
- "email": "ben@benword.com",
- "homepage": "https://github.com/retlehs"
- },
- {
- "name": "QWp6t",
- "email": "hi@qwp6t.me",
- "homepage": "https://github.com/qwp6t"
- }
- ],
- "description": "Library files for Sage Starter Theme",
- "homepage": "https://roots.io/sage/",
- "keywords": [
- "wordpress"
- ],
- "time": "2017-08-11T23:38:23+00:00"
- },
- {
- "name": "soberwp/controller",
- "version": "9.0.0-beta.4",
- "source": {
- "type": "git",
- "url": "https://github.com/soberwp/controller.git",
- "reference": "2b6c8450f4a3100b16bfc482c825d89422b6adc6"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/soberwp/controller/zipball/2b6c8450f4a3100b16bfc482c825d89422b6adc6",
- "reference": "2b6c8450f4a3100b16bfc482c825d89422b6adc6",
- "shasum": ""
- },
- "require": {
- "brain/hierarchy": "^2.3",
- "composer/installers": "~1.0",
- "hassankhan/config": "^0.10.0",
- "php": ">=5.6.0",
- "symfony/yaml": "^3.2"
- },
- "require-dev": {
- "squizlabs/php_codesniffer": "2.*"
- },
- "type": "package",
- "autoload": {
- "psr-4": {
- "Sober\\Controller\\": "src/",
- "Sober\\Controller\\Module\\": "src/Module/"
- },
- "files": [
- "controller.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Darren Jacoby",
- "email": "darren@jacoby.co.za",
- "homepage": "https://github.com/darrenjacoby"
- }
- ],
- "description": "WordPress package to enable a basic controller when using Blade with Sage 9",
- "homepage": "https://github.com/soberwp",
- "keywords": [
- "wordpress"
- ],
- "time": "2017-08-22T17:35:30+00:00"
- },
- {
- "name": "soberwp/intervention",
- "version": "1.2.0-p",
- "source": {
- "type": "git",
- "url": "https://github.com/soberwp/intervention.git",
- "reference": "1698e51efe696c5867fb78ef7c5d2efff9b79260"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/soberwp/intervention/zipball/1698e51efe696c5867fb78ef7c5d2efff9b79260",
- "reference": "1698e51efe696c5867fb78ef7c5d2efff9b79260",
- "shasum": ""
- },
- "require": {
- "composer/installers": "~1.0",
- "php": ">=5.4.0"
- },
- "require-dev": {
- "squizlabs/php_codesniffer": "2.*"
- },
- "type": "package",
- "autoload": {
- "psr-4": {
- "Sober\\Intervention\\": "src/",
- "Sober\\Intervention\\Module\\": "src/modules/"
- },
- "files": [
- "intervention.php"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Darren Jacoby",
- "email": "darren@jacoby.co.za",
- "homepage": "https://twitter.com/withjacoby"
- }
- ],
- "description": "WordPress plugin containing modules to cleanup and customize wp-admin.",
- "homepage": "https://github.com/soberwp",
- "keywords": [
- "wordpress"
- ],
- "time": "2017-08-26T12:21:27+00:00"
- },
- {
- "name": "symfony/debug",
- "version": "v3.3.6",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/debug.git",
- "reference": "7c13ae8ce1e2adbbd574fc39de7be498e1284e13"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/debug/zipball/7c13ae8ce1e2adbbd574fc39de7be498e1284e13",
- "reference": "7c13ae8ce1e2adbbd574fc39de7be498e1284e13",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9",
- "psr/log": "~1.0"
- },
- "conflict": {
- "symfony/http-kernel": ">=2.3,<2.3.24|~2.4.0|>=2.5,<2.5.9|>=2.6,<2.6.2"
- },
- "require-dev": {
- "symfony/http-kernel": "~2.8|~3.0"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Debug\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Debug Component",
- "homepage": "https://symfony.com",
- "time": "2017-07-28T15:27:31+00:00"
- },
- {
- "name": "symfony/finder",
- "version": "v3.3.6",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/finder.git",
- "reference": "baea7f66d30854ad32988c11a09d7ffd485810c4"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/finder/zipball/baea7f66d30854ad32988c11a09d7ffd485810c4",
- "reference": "baea7f66d30854ad32988c11a09d7ffd485810c4",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Finder\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Finder Component",
- "homepage": "https://symfony.com",
- "time": "2017-06-01T21:01:25+00:00"
- },
- {
- "name": "symfony/yaml",
- "version": "v3.3.6",
- "source": {
- "type": "git",
- "url": "https://github.com/symfony/yaml.git",
- "reference": "ddc23324e6cfe066f3dd34a37ff494fa80b617ed"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/symfony/yaml/zipball/ddc23324e6cfe066f3dd34a37ff494fa80b617ed",
- "reference": "ddc23324e6cfe066f3dd34a37ff494fa80b617ed",
- "shasum": ""
- },
- "require": {
- "php": ">=5.5.9"
- },
- "require-dev": {
- "symfony/console": "~2.8|~3.0"
- },
- "suggest": {
- "symfony/console": "For validating YAML files using the lint command"
- },
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "3.3-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Symfony\\Component\\Yaml\\": ""
- },
- "exclude-from-classmap": [
- "/Tests/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Fabien Potencier",
- "email": "fabien@symfony.com"
- },
- {
- "name": "Symfony Community",
- "homepage": "https://symfony.com/contributors"
- }
- ],
- "description": "Symfony Yaml Component",
- "homepage": "https://symfony.com",
- "time": "2017-07-23T12:43:26+00:00"
- }
- ],
- "packages-dev": [
- {
- "name": "squizlabs/php_codesniffer",
- "version": "2.9.1",
- "source": {
- "type": "git",
- "url": "https://github.com/squizlabs/PHP_CodeSniffer.git",
- "reference": "dcbed1074f8244661eecddfc2a675430d8d33f62"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/dcbed1074f8244661eecddfc2a675430d8d33f62",
- "reference": "dcbed1074f8244661eecddfc2a675430d8d33f62",
- "shasum": ""
- },
- "require": {
- "ext-simplexml": "*",
- "ext-tokenizer": "*",
- "ext-xmlwriter": "*",
- "php": ">=5.1.2"
- },
- "require-dev": {
- "phpunit/phpunit": "~4.0"
- },
- "bin": [
- "scripts/phpcs",
- "scripts/phpcbf"
- ],
- "type": "library",
- "extra": {
- "branch-alias": {
- "dev-master": "2.x-dev"
- }
- },
- "autoload": {
- "classmap": [
- "CodeSniffer.php",
- "CodeSniffer/CLI.php",
- "CodeSniffer/Exception.php",
- "CodeSniffer/File.php",
- "CodeSniffer/Fixer.php",
- "CodeSniffer/Report.php",
- "CodeSniffer/Reporting.php",
- "CodeSniffer/Sniff.php",
- "CodeSniffer/Tokens.php",
- "CodeSniffer/Reports/",
- "CodeSniffer/Tokenizers/",
- "CodeSniffer/DocGenerators/",
- "CodeSniffer/Standards/AbstractPatternSniff.php",
- "CodeSniffer/Standards/AbstractScopeSniff.php",
- "CodeSniffer/Standards/AbstractVariableSniff.php",
- "CodeSniffer/Standards/IncorrectPatternException.php",
- "CodeSniffer/Standards/Generic/Sniffs/",
- "CodeSniffer/Standards/MySource/Sniffs/",
- "CodeSniffer/Standards/PEAR/Sniffs/",
- "CodeSniffer/Standards/PSR1/Sniffs/",
- "CodeSniffer/Standards/PSR2/Sniffs/",
- "CodeSniffer/Standards/Squiz/Sniffs/",
- "CodeSniffer/Standards/Zend/Sniffs/"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-3-Clause"
- ],
- "authors": [
- {
- "name": "Greg Sherwood",
- "role": "lead"
- }
- ],
- "description": "PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards.",
- "homepage": "http://www.squizlabs.com/php-codesniffer",
- "keywords": [
- "phpcs",
- "standards"
- ],
- "time": "2017-05-22T02:43:20+00:00"
+ "time": "2017-11-24T20:36:13+00:00"
}
],
"aliases": [],
"minimum-stability": "stable",
- "stability-flags": {
- "roots/sage-lib": 10,
- "soberwp/controller": 10
- },
+ "stability-flags": [],
"prefer-stable": false,
"prefer-lowest": false,
"platform": {
diff --git a/config/assets.php b/config/assets.php
deleted file mode 100644
index 979ea49..0000000
--- a/config/assets.php
+++ /dev/null
@@ -1,31 +0,0 @@
- get_theme_file_path().'/dist/mix-manifest.json',
-
- /*
- |--------------------------------------------------------------------------
- | Assets Path URI
- |--------------------------------------------------------------------------
- |
- | The asset manifest contains relative paths to your assets. This URI will
- | be prepended when using Sage's asset management system. Change this if
- | you are using a CDN.
- |
- */
-
- 'uri' => get_theme_file_uri().'/dist',
-];
diff --git a/config/theme.php b/config/theme.php
deleted file mode 100644
index f048be9..0000000
--- a/config/theme.php
+++ /dev/null
@@ -1,32 +0,0 @@
- get_theme_file_path(),
-
- /*
- |--------------------------------------------------------------------------
- | Theme Directory URI
- |--------------------------------------------------------------------------
- |
- | This is the web server URI to your theme directory.
- |
- | Example:
- | https://example.com/app/themes/sage
- |
- */
-
- 'uri' => get_theme_file_uri(),
-];
diff --git a/config/view.php b/config/view.php
deleted file mode 100644
index c00d1b0..0000000
--- a/config/view.php
+++ /dev/null
@@ -1,51 +0,0 @@
- [
- get_theme_file_path().'/resources/views',
- get_parent_theme_file_path().'/resources/views',
- ],
-
-
- /*
- |--------------------------------------------------------------------------
- | Compiled View Path
- |--------------------------------------------------------------------------
- |
- | This option determines where all the compiled Blade templates will be
- | stored for your application. Typically, this is within the uploads
- | directory. However, as usual, you are free to change this value.
- |
- */
-
- 'compiled' => wp_upload_dir()['basedir'].'/cache',
-
-
- /*
- |--------------------------------------------------------------------------
- | View Namespaces
- |--------------------------------------------------------------------------
- |
- | Blade has an underutilized feature that allows developers to add
- | supplemental view paths that may contain conflictingly named views.
- | These paths are prefixed with a namespace to get around the conflicts.
- | A use case might be including views from within a plugin folder.
- |
- */
-
- 'namespaces' => [
- /* Given the below example, in your views use something like: @include('WC::some.view.or.partial.here') */
- // 'WC' => WP_PLUGIN_DIR.'/woocommerce/templates/',
- ],
-];
diff --git a/dist/mix-manifest.json b/dist/mix-manifest.json
index f06fe76..4d67b6f 100644
--- a/dist/mix-manifest.json
+++ b/dist/mix-manifest.json
@@ -1,5 +1,5 @@
{
- "/scripts/main.js": "/scripts/main.js?id=02b42ac2ce995252e0ba",
- "/styles/main.css": "/styles/main.css?id=8021de4bdd5014faae77",
- "/scripts/customizer.js": "/scripts/customizer.js?id=16bf84cad576a20cf73d"
+ "/scripts/aldine.js": "/scripts/aldine.js?id=8a707791c89c90b8f4c6",
+ "/styles/aldine.css": "/styles/aldine.css?id=8021de4bdd5014faae77",
+ "/scripts/customizer.js": "/scripts/customizer.js?id=9be871217cf240694b73"
}
\ No newline at end of file
diff --git a/dist/scripts/aldine.js b/dist/scripts/aldine.js
new file mode 100644
index 0000000..471ef03
--- /dev/null
+++ b/dist/scripts/aldine.js
@@ -0,0 +1 @@
+!function(t){function e(i){if(n[i])return n[i].exports;var r=n[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var n={};e.m=t,e.c=n,e.d=function(t,n,i){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:i})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=0)}({"+E39":function(t,e,n){t.exports=!n("S82l")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},"+Sdf":function(t,e,n){"use strict";(function(t){e.a={init:function(){t("body").removeClass("no-js").addClass("js"),t(".toggle").click(function(e){e.preventDefault(),t(e.currentTarget).toggleClass("toggle--active"),t(".banner__navigation").toggleClass("banner__navigation--visible")})},finalize:function(){}}}).call(e,n("7t+N"))},"+ZMJ":function(t,e,n){var i=n("lOnJ");t.exports=function(t,e,n){if(i(t),void 0===e)return t;switch(n){case 1:return function(n){return t.call(e,n)};case 2:return function(n,i){return t.call(e,n,i)};case 3:return function(n,i,r){return t.call(e,n,i,r)}}return function(){return t.apply(e,arguments)}}},"/7en":function(t,e,n){var i,r;!function(o,s){void 0===(r="function"==typeof(i=s)?i.call(e,n,e,t):i)||(t.exports=r)}("undefined"!=typeof window&&window,function(){"use strict";function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var n=this._events=this._events||{},i=n[t]=n[t]||[];return-1==i.indexOf(e)&&i.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var n=this._onceEvents=this._onceEvents||{};return(n[t]=n[t]||{})[e]=!0,this}},e.off=function(t,e){var n=this._events&&this._events[t];if(n&&n.length){var i=n.indexOf(e);return-1!=i&&n.splice(i,1),this}},e.emitEvent=function(t,e){var n=this._events&&this._events[t];if(n&&n.length){n=n.slice(0),e=e||[];for(var i=this._onceEvents&&this._onceEvents[t],r=0;ra||sa?1:-1)*(u?1:-1)}}return 0}}(this.sortHistory,this.options.sortAscending);this.filteredItems.sort(e)}},l._getIsSameSortBy=function(t){for(var e=0;e0&&e-1 in t)}function u(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}function c(t,e,n){return ft.isFunction(e)?ft.grep(t,function(t,i){return!!e.call(t,i,t)!==n}):e.nodeType?ft.grep(t,function(t){return t===e!==n}):"string"!=typeof e?ft.grep(t,function(t){return rt.call(e,t)>-1!==n}):wt.test(e)?ft.filter(e,t,n):(e=ft.filter(e,t),ft.grep(t,function(t){return rt.call(e,t)>-1!==n&&1===t.nodeType}))}function l(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}function f(t){return t}function h(t){throw t}function p(t,e,n,i){var r;try{t&&ft.isFunction(r=t.promise)?r.call(t).done(e).fail(n):t&&ft.isFunction(r=t.then)?r.call(t,e,n):e.apply(void 0,[t].slice(i))}catch(t){n.apply(void 0,[t])}}function d(){Z.removeEventListener("DOMContentLoaded",d),n.removeEventListener("load",d),ft.ready()}function m(){this.expando=ft.expando+m.uid++}function g(t,e,n){var i;if(void 0===n&&1===t.nodeType)if(i="data-"+e.replace(Ot,"-$&").toLowerCase(),"string"==typeof(n=t.getAttribute(i))){try{n=function(t){return"true"===t||"false"!==t&&("null"===t?null:t===+t+""?+t:At.test(t)?JSON.parse(t):t)}(n)}catch(t){}Nt.set(t,e,n)}else n=void 0;return n}function v(t,e,n,i){var r,o=1,s=20,a=i?function(){return i.cur()}:function(){return ft.css(t,e,"")},u=a(),c=n&&n[3]||(ft.cssNumber[e]?"":"px"),l=(ft.cssNumber[e]||"px"!==c&&+u)&&zt.exec(ft.css(t,e));if(l&&l[3]!==c){c=c||l[3],n=n||[],l=+u||1;do{l/=o=o||".5",ft.style(t,e,l+c)}while(o!==(o=a()/u)&&1!==o&&--s)}return n&&(l=+l||+u||0,r=n[1]?l+(n[1]+1)*n[2]:+n[2],i&&(i.unit=c,i.start=l,i.end=r)),r}function y(t){var e,n=t.ownerDocument,i=t.nodeName,r=qt[i];return r||(e=n.body.appendChild(n.createElement(i)),r=ft.css(e,"display"),e.parentNode.removeChild(e),"none"===r&&(r="block"),qt[i]=r,r)}function x(t,e){for(var n,i,r=[],o=0,s=t.length;o-1)r&&r.push(o);else if(c=ft.contains(o.ownerDocument,o),s=b(f.appendChild(o),"script"),c&&w(s),n)for(l=0;o=s[l++];)Bt.test(o.type||"")&&n.push(o);return f}function C(){return!0}function E(){return!1}function S(){try{return Z.activeElement}catch(t){}}function _(t,e,n,i,r,o){var s,a;if("object"==typeof e){"string"!=typeof n&&(i=i||n,n=void 0);for(a in e)_(t,a,n,i,e[a],o);return t}if(null==i&&null==r?(r=n,i=n=void 0):null==r&&("string"==typeof n?(r=i,i=void 0):(r=i,i=n,n=void 0)),!1===r)r=E;else if(!r)return t;return 1===o&&(s=r,(r=function(t){return ft().off(t),s.apply(this,arguments)}).guid=s.guid||(s.guid=ft.guid++)),t.each(function(){ft.event.add(this,e,r,i,n)})}function D(t,e){return u(t,"table")&&u(11!==e.nodeType?e:e.firstChild,"tr")?ft(">tbody",t)[0]||t:t}function k(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function L(t){var e=Zt.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function j(t,e){var n,i,r,o,s,a,u,c;if(1===e.nodeType){if(It.hasData(t)&&(o=It.access(t),s=It.set(e,o),c=o.events)){delete s.handle,s.events={};for(r in c)for(n=0,i=c[r].length;n1&&"string"==typeof d&&!lt.checkClone&&Kt.test(d))return t.each(function(r){var o=t.eq(r);m&&(e[0]=d.call(this,r,o.html())),N(o,e,n,i)});if(h&&(r=T(e,t[0].ownerDocument,!1,t,i),o=r.firstChild,1===r.childNodes.length&&(r=o),o||i)){for(u=(a=ft.map(b(r,"script"),k)).length;f=0&&nw.cacheLength&&delete t[e.shift()],t[n+" "]=i}var e=[];return t}function i(t){return t[P]=!0,t}function r(t){var e=I.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function o(t,e){for(var n=t.split("|"),i=n.length;i--;)w.attrHandle[n[i]]=e}function s(t,e){var n=e&&t,i=n&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(i)return i;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function a(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function u(t){return function(e){var n=e.nodeName.toLowerCase();return("input"===n||"button"===n)&&e.type===t}}function c(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&Tt(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function l(t){return i(function(e){return e=+e,i(function(n,i){for(var r,o=t([],n.length,e),s=o.length;s--;)n[r=o[s]]&&(n[r]=!(i[r]=n[r]))})})}function f(t){return t&&void 0!==t.getElementsByTagName&&t}function h(){}function p(t){for(var e=0,n=t.length,i="";e1?function(e,n,i){for(var r=t.length;r--;)if(!t[r](e,n,i))return!1;return!0}:t[0]}function g(t,e,n,i,r){for(var o,s=[],a=0,u=t.length,c=null!=e;a-1&&(i[l]=!(a[l]=h))}}else x=g(x===a?x.splice(m,x.length):x),s?s(null,a,x,c):Q.apply(a,x)})}function y(t){for(var e,n,i,r=t.length,o=w.relative[t[0].type],s=o||w.relative[" "],a=o?1:0,u=d(function(t){return t===e},s,!0),c=d(function(t){return K(e,t)>-1},s,!0),l=[function(t,n,i){var r=!o&&(i||n!==D)||((e=n).nodeType?u(t,n,i):c(t,n,i));return e=null,r}];a1&&m(l),a>1&&p(t.slice(0,a-1).concat({value:" "===t[a-2].type?"*":""})).replace(ot,"$1"),n,a+~]|"+tt+")"+tt+"*"),ut=new RegExp("="+tt+"*([^\\]'\"]*?)"+tt+"*\\]","g"),ct=new RegExp(it),lt=new RegExp("^"+et+"$"),ft={ID:new RegExp("^#("+et+")"),CLASS:new RegExp("^\\.("+et+")"),TAG:new RegExp("^("+et+"|[*])"),ATTR:new RegExp("^"+nt),PSEUDO:new RegExp("^"+it),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+tt+"*(even|odd|(([+-]|)(\\d*)n|)"+tt+"*(?:([+-]|)"+tt+"*(\\d+)|))"+tt+"*\\)|)","i"),bool:new RegExp("^(?:"+Z+")$","i"),needsContext:new RegExp("^"+tt+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+tt+"*((?:-\\d)?\\d*)"+tt+"*\\)|)(?=[^-]|$)","i")},ht=/^(?:input|select|textarea|button)$/i,pt=/^h\d$/i,dt=/^[^{]+\{\s*\[native \w/,mt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,gt=/[+~]/,vt=new RegExp("\\\\([\\da-f]{1,6}"+tt+"?|("+tt+")|.)","ig"),yt=function(t,e,n){var i="0x"+e-65536;return i!=i||n?e:i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320)},xt=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,bt=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},wt=function(){j()},Tt=d(function(t){return!0===t.disabled&&("form"in t||"label"in t)},{dir:"parentNode",next:"legend"});try{Q.apply(X=J.call(F.childNodes),F.childNodes),X[F.childNodes.length].nodeType}catch(t){Q={apply:X.length?function(t,e){V.apply(t,J.call(e))}:function(t,e){for(var n=t.length,i=0;t[n++]=e[i++];);t.length=n-1}}}b=e.support={},C=e.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return!!e&&"HTML"!==e.nodeName},j=e.setDocument=function(t){var e,n,i=t?t.ownerDocument||t:F;return i!==I&&9===i.nodeType&&i.documentElement?(I=i,N=I.documentElement,A=!C(I),F!==I&&(n=I.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",wt,!1):n.attachEvent&&n.attachEvent("onunload",wt)),b.attributes=r(function(t){return t.className="i",!t.getAttribute("className")}),b.getElementsByTagName=r(function(t){return t.appendChild(I.createComment("")),!t.getElementsByTagName("*").length}),b.getElementsByClassName=dt.test(I.getElementsByClassName),b.getById=r(function(t){return N.appendChild(t).id=P,!I.getElementsByName||!I.getElementsByName(P).length}),b.getById?(w.filter.ID=function(t){var e=t.replace(vt,yt);return function(t){return t.getAttribute("id")===e}},w.find.ID=function(t,e){if(void 0!==e.getElementById&&A){var n=e.getElementById(t);return n?[n]:[]}}):(w.filter.ID=function(t){var e=t.replace(vt,yt);return function(t){var n=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return n&&n.value===e}},w.find.ID=function(t,e){if(void 0!==e.getElementById&&A){var n,i,r,o=e.getElementById(t);if(o){if((n=o.getAttributeNode("id"))&&n.value===t)return[o];for(r=e.getElementsByName(t),i=0;o=r[i++];)if((n=o.getAttributeNode("id"))&&n.value===t)return[o]}return[]}}),w.find.TAG=b.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):b.qsa?e.querySelectorAll(t):void 0}:function(t,e){var n,i=[],r=0,o=e.getElementsByTagName(t);if("*"===t){for(;n=o[r++];)1===n.nodeType&&i.push(n);return i}return o},w.find.CLASS=b.getElementsByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&A)return e.getElementsByClassName(t)},H=[],O=[],(b.qsa=dt.test(I.querySelectorAll))&&(r(function(t){N.appendChild(t).innerHTML="",t.querySelectorAll("[msallowcapture^='']").length&&O.push("[*^$]="+tt+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||O.push("\\["+tt+"*(?:value|"+Z+")"),t.querySelectorAll("[id~="+P+"-]").length||O.push("~="),t.querySelectorAll(":checked").length||O.push(":checked"),t.querySelectorAll("a#"+P+"+*").length||O.push(".#.+[+~]")}),r(function(t){t.innerHTML="";var e=I.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&O.push("name"+tt+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&O.push(":enabled",":disabled"),N.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&O.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),O.push(",.*:")})),(b.matchesSelector=dt.test(z=N.matches||N.webkitMatchesSelector||N.mozMatchesSelector||N.oMatchesSelector||N.msMatchesSelector))&&r(function(t){b.disconnectedMatch=z.call(t,"*"),z.call(t,"[s!='']:x"),H.push("!=",it)}),O=O.length&&new RegExp(O.join("|")),H=H.length&&new RegExp(H.join("|")),e=dt.test(N.compareDocumentPosition),W=e||dt.test(N.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,i=e&&e.parentNode;return t===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):t.compareDocumentPosition&&16&t.compareDocumentPosition(i)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},U=e?function(t,e){if(t===e)return L=!0,0;var n=!t.compareDocumentPosition-!e.compareDocumentPosition;return n||(1&(n=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!b.sortDetached&&e.compareDocumentPosition(t)===n?t===I||t.ownerDocument===F&&W(F,t)?-1:e===I||e.ownerDocument===F&&W(F,e)?1:k?K(k,t)-K(k,e):0:4&n?-1:1)}:function(t,e){if(t===e)return L=!0,0;var n,i=0,r=t.parentNode,o=e.parentNode,a=[t],u=[e];if(!r||!o)return t===I?-1:e===I?1:r?-1:o?1:k?K(k,t)-K(k,e):0;if(r===o)return s(t,e);for(n=t;n=n.parentNode;)a.unshift(n);for(n=e;n=n.parentNode;)u.unshift(n);for(;a[i]===u[i];)i++;return i?s(a[i],u[i]):a[i]===F?-1:u[i]===F?1:0},I):I},e.matches=function(t,n){return e(t,null,null,n)},e.matchesSelector=function(t,n){if((t.ownerDocument||t)!==I&&j(t),n=n.replace(ut,"='$1']"),b.matchesSelector&&A&&!$[n+" "]&&(!H||!H.test(n))&&(!O||!O.test(n)))try{var i=z.call(t,n);if(i||b.disconnectedMatch||t.document&&11!==t.document.nodeType)return i}catch(t){}return e(n,I,null,[t]).length>0},e.contains=function(t,e){return(t.ownerDocument||t)!==I&&j(t),W(t,e)},e.attr=function(t,e){(t.ownerDocument||t)!==I&&j(t);var n=w.attrHandle[e.toLowerCase()],i=n&&Y.call(w.attrHandle,e.toLowerCase())?n(t,e,!A):void 0;return void 0!==i?i:b.attributes||!A?t.getAttribute(e):(i=t.getAttributeNode(e))&&i.specified?i.value:null},e.escape=function(t){return(t+"").replace(xt,bt)},e.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},e.uniqueSort=function(t){var e,n=[],i=0,r=0;if(L=!b.detectDuplicates,k=!b.sortStable&&t.slice(0),t.sort(U),L){for(;e=t[r++];)e===t[r]&&(i=n.push(r));for(;i--;)t.splice(n[i],1)}return k=null,t},T=e.getText=function(t){var e,n="",i=0,r=t.nodeType;if(r){if(1===r||9===r||11===r){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=T(t)}else if(3===r||4===r)return t.nodeValue}else for(;e=t[i++];)n+=T(e);return n},(w=e.selectors={cacheLength:50,createPseudo:i,match:ft,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(vt,yt),t[3]=(t[3]||t[4]||t[5]||"").replace(vt,yt),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||e.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&e.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return ft.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&ct.test(n)&&(e=E(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(vt,yt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=R[t+" "];return e||(e=new RegExp("(^|"+tt+")"+t+"("+tt+"|$)"))&&R(t,function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(t,n,i){return function(r){var o=e.attr(r,t);return null==o?"!="===n:!n||(o+="","="===n?o===i:"!="===n?o!==i:"^="===n?i&&0===o.indexOf(i):"*="===n?i&&o.indexOf(i)>-1:"$="===n?i&&o.slice(-i.length)===i:"~="===n?(" "+o.replace(rt," ")+" ").indexOf(i)>-1:"|="===n&&(o===i||o.slice(0,i.length+1)===i+"-"))}},CHILD:function(t,e,n,i,r){var o="nth"!==t.slice(0,3),s="last"!==t.slice(-4),a="of-type"===e;return 1===i&&0===r?function(t){return!!t.parentNode}:function(e,n,u){var c,l,f,h,p,d,m=o!==s?"nextSibling":"previousSibling",g=e.parentNode,v=a&&e.nodeName.toLowerCase(),y=!u&&!a,x=!1;if(g){if(o){for(;m;){for(h=e;h=h[m];)if(a?h.nodeName.toLowerCase()===v:1===h.nodeType)return!1;d=m="only"===t&&!d&&"nextSibling"}return!0}if(d=[s?g.firstChild:g.lastChild],s&&y){for(x=(p=(c=(l=(f=(h=g)[P]||(h[P]={}))[h.uniqueID]||(f[h.uniqueID]={}))[t]||[])[0]===q&&c[1])&&c[2],h=p&&g.childNodes[p];h=++p&&h&&h[m]||(x=p=0)||d.pop();)if(1===h.nodeType&&++x&&h===e){l[t]=[q,p,x];break}}else if(y&&(x=p=(c=(l=(f=(h=e)[P]||(h[P]={}))[h.uniqueID]||(f[h.uniqueID]={}))[t]||[])[0]===q&&c[1]),!1===x)for(;(h=++p&&h&&h[m]||(x=p=0)||d.pop())&&((a?h.nodeName.toLowerCase()!==v:1!==h.nodeType)||!++x||(y&&((l=(f=h[P]||(h[P]={}))[h.uniqueID]||(f[h.uniqueID]={}))[t]=[q,x]),h!==e)););return(x-=r)===i||x%i==0&&x/i>=0}}},PSEUDO:function(t,n){var r,o=w.pseudos[t]||w.setFilters[t.toLowerCase()]||e.error("unsupported pseudo: "+t);return o[P]?o(n):o.length>1?(r=[t,t,"",n],w.setFilters.hasOwnProperty(t.toLowerCase())?i(function(t,e){for(var i,r=o(t,n),s=r.length;s--;)t[i=K(t,r[s])]=!(e[i]=r[s])}):function(t){return o(t,0,r)}):o}},pseudos:{not:i(function(t){var e=[],n=[],r=S(t.replace(ot,"$1"));return r[P]?i(function(t,e,n,i){for(var o,s=r(t,null,i,[]),a=t.length;a--;)(o=s[a])&&(t[a]=!(e[a]=o))}):function(t,i,o){return e[0]=t,r(e,null,o,n),e[0]=null,!n.pop()}}),has:i(function(t){return function(n){return e(t,n).length>0}}),contains:i(function(t){return t=t.replace(vt,yt),function(e){return(e.textContent||e.innerText||T(e)).indexOf(t)>-1}}),lang:i(function(t){return lt.test(t||"")||e.error("unsupported lang: "+t),t=t.replace(vt,yt).toLowerCase(),function(e){var n;do{if(n=A?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(n=n.toLowerCase())===t||0===n.indexOf(t+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var n=t.location&&t.location.hash;return n&&n.slice(1)===e.id},root:function(t){return t===N},focus:function(t){return t===I.activeElement&&(!I.hasFocus||I.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:c(!1),disabled:c(!0),checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!w.pseudos.empty(t)},header:function(t){return pt.test(t.nodeName)},input:function(t){return ht.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:l(function(){return[0]}),last:l(function(t,e){return[e-1]}),eq:l(function(t,e,n){return[n<0?n+e:n]}),even:l(function(t,e){for(var n=0;n=0;)t.push(i);return t}),gt:l(function(t,e,n){for(var i=n<0?n+e:n;++i0,o=t.length>0,s=function(i,s,a,u,c){var l,f,h,p=0,d="0",m=i&&[],v=[],y=D,x=i||o&&w.find.TAG("*",c),b=q+=null==y?1:Math.random()||.1,T=x.length;for(c&&(D=s===I||s||c);d!==T&&null!=(l=x[d]);d++){if(o&&l){for(f=0,s||l.ownerDocument===I||(j(l),a=!A);h=t[f++];)if(h(l,s||I,a)){u.push(l);break}c&&(q=b)}r&&((l=!h&&l)&&p--,i&&m.push(l))}if(p+=d,r&&d!==p){for(f=0;h=n[f++];)h(m,v,s,a);if(i){if(p>0)for(;d--;)m[d]||v[d]||(v[d]=G.call(u));v=g(v)}Q.apply(u,v),c&&!i&&v.length>0&&p+n.length>1&&e.uniqueSort(u)}return c&&(q=b,D=y),m};return r?i(s):s}(s,o))).selector=t}return a},_=e.select=function(t,e,n,i){var r,o,s,a,u,c="function"==typeof t&&t,l=!i&&E(t=c.selector||t);if(n=n||[],1===l.length){if((o=l[0]=l[0].slice(0)).length>2&&"ID"===(s=o[0]).type&&9===e.nodeType&&A&&w.relative[o[1].type]){if(!(e=(w.find.ID(s.matches[0].replace(vt,yt),e)||[])[0]))return n;c&&(e=e.parentNode),t=t.slice(o.shift().value.length)}for(r=ft.needsContext.test(t)?0:o.length;r--&&(s=o[r],!w.relative[a=s.type]);)if((u=w.find[a])&&(i=u(s.matches[0].replace(vt,yt),gt.test(o[0].type)&&f(e.parentNode)||e))){if(o.splice(r,1),!(t=i.length&&p(o)))return Q.apply(n,i),n;break}}return(c||S(t,l))(i,e,!A,n,!e||gt.test(t)&&f(e.parentNode)||e),n},b.sortStable=P.split("").sort(U).join("")===P,b.detectDuplicates=!!L,j(),b.sortDetached=r(function(t){return 1&t.compareDocumentPosition(I.createElement("fieldset"))}),r(function(t){return t.innerHTML="","#"===t.firstChild.getAttribute("href")})||o("type|href|height|width",function(t,e,n){if(!n)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)}),b.attributes&&r(function(t){return t.innerHTML="",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")})||o("value",function(t,e,n){if(!n&&"input"===t.nodeName.toLowerCase())return t.defaultValue}),r(function(t){return null==t.getAttribute("disabled")})||o(Z,function(t,e,n){var i;if(!n)return!0===t[e]?e.toLowerCase():(i=t.getAttributeNode(e))&&i.specified?i.value:null}),e}(n);ft.find=gt,ft.expr=gt.selectors,ft.expr[":"]=ft.expr.pseudos,ft.uniqueSort=ft.unique=gt.uniqueSort,ft.text=gt.getText,ft.isXMLDoc=gt.isXML,ft.contains=gt.contains,ft.escapeSelector=gt.escape;var vt=function(t,e,n){for(var i=[],r=void 0!==n;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(r&&ft(t).is(n))break;i.push(t)}return i},yt=function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n},xt=ft.expr.match.needsContext,bt=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i,wt=/^.[^:#\[\.,]*$/;ft.filter=function(t,e,n){var i=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===i.nodeType?ft.find.matchesSelector(i,t)?[i]:[]:ft.find.matches(t,ft.grep(e,function(t){return 1===t.nodeType}))},ft.fn.extend({find:function(t){var e,n,i=this.length,r=this;if("string"!=typeof t)return this.pushStack(ft(t).filter(function(){for(e=0;e1?ft.uniqueSort(n):n},filter:function(t){return this.pushStack(c(this,t||[],!1))},not:function(t){return this.pushStack(c(this,t||[],!0))},is:function(t){return!!c(this,"string"==typeof t&&xt.test(t)?ft(t):t||[],!1).length}});var Tt,Ct=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(ft.fn.init=function(t,e,n){var i,r;if(!t)return this;if(n=n||Tt,"string"==typeof t){if(!(i="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:Ct.exec(t))||!i[1]&&e)return!e||e.jquery?(e||n).find(t):this.constructor(e).find(t);if(i[1]){if(e=e instanceof ft?e[0]:e,ft.merge(this,ft.parseHTML(i[1],e&&e.nodeType?e.ownerDocument||e:Z,!0)),bt.test(i[1])&&ft.isPlainObject(e))for(i in e)ft.isFunction(this[i])?this[i](e[i]):this.attr(i,e[i]);return this}return(r=Z.getElementById(i[2]))&&(this[0]=r,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):ft.isFunction(t)?void 0!==n.ready?n.ready(t):t(ft):ft.makeArray(t,this)}).prototype=ft.fn,Tt=ft(Z);var Et=/^(?:parents|prev(?:Until|All))/,St={children:!0,contents:!0,next:!0,prev:!0};ft.fn.extend({has:function(t){var e=ft(t,this),n=e.length;return this.filter(function(){for(var t=0;t-1:1===n.nodeType&&ft.find.matchesSelector(n,t))){o.push(n);break}return this.pushStack(o.length>1?ft.uniqueSort(o):o)},index:function(t){return t?"string"==typeof t?rt.call(ft(t),this[0]):rt.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(ft.uniqueSort(ft.merge(this.get(),ft(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),ft.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return vt(t,"parentNode")},parentsUntil:function(t,e,n){return vt(t,"parentNode",n)},next:function(t){return l(t,"nextSibling")},prev:function(t){return l(t,"previousSibling")},nextAll:function(t){return vt(t,"nextSibling")},prevAll:function(t){return vt(t,"previousSibling")},nextUntil:function(t,e,n){return vt(t,"nextSibling",n)},prevUntil:function(t,e,n){return vt(t,"previousSibling",n)},siblings:function(t){return yt((t.parentNode||{}).firstChild,t)},children:function(t){return yt(t.firstChild)},contents:function(t){return u(t,"iframe")?t.contentDocument:(u(t,"template")&&(t=t.content||t),ft.merge([],t.childNodes))}},function(t,e){ft.fn[t]=function(n,i){var r=ft.map(this,e,n);return"Until"!==t.slice(-5)&&(i=n),i&&"string"==typeof i&&(r=ft.filter(i,r)),this.length>1&&(St[t]||ft.uniqueSort(r),Et.test(t)&&r.reverse()),this.pushStack(r)}});var _t=/[^\x20\t\r\n\f]+/g;ft.Callbacks=function(t){t="string"==typeof t?function(t){var e={};return ft.each(t.match(_t)||[],function(t,n){e[n]=!0}),e}(t):ft.extend({},t);var e,n,i,r,o=[],s=[],a=-1,u=function(){for(r=r||t.once,i=e=!0;s.length;a=-1)for(n=s.shift();++a-1;)o.splice(n,1),n<=a&&a--}),this},has:function(t){return t?ft.inArray(t,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return r=s=[],o=n="",this},disabled:function(){return!o},lock:function(){return r=s=[],n||e||(o=n=""),this},locked:function(){return!!r},fireWith:function(t,n){return r||(n=[t,(n=n||[]).slice?n.slice():n],s.push(n),e||u()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!i}};return c},ft.extend({Deferred:function(t){var e=[["notify","progress",ft.Callbacks("memory"),ft.Callbacks("memory"),2],["resolve","done",ft.Callbacks("once memory"),ft.Callbacks("once memory"),0,"resolved"],["reject","fail",ft.Callbacks("once memory"),ft.Callbacks("once memory"),1,"rejected"]],i="pending",r={state:function(){return i},always:function(){return o.done(arguments).fail(arguments),this},catch:function(t){return r.then(null,t)},pipe:function(){var t=arguments;return ft.Deferred(function(n){ft.each(e,function(e,i){var r=ft.isFunction(t[i[4]])&&t[i[4]];o[i[1]](function(){var t=r&&r.apply(this,arguments);t&&ft.isFunction(t.promise)?t.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[i[0]+"With"](this,r?[t]:arguments)})}),t=null}).promise()},then:function(t,i,r){function o(t,e,i,r){return function(){var a=this,u=arguments,c=function(){var n,c;if(!(t=s&&(i!==h&&(a=void 0,u=[n]),e.rejectWith(a,u))}};t?l():(ft.Deferred.getStackHook&&(l.stackTrace=ft.Deferred.getStackHook()),n.setTimeout(l))}}var s=0;return ft.Deferred(function(n){e[0][3].add(o(0,n,ft.isFunction(r)?r:f,n.notifyWith)),e[1][3].add(o(0,n,ft.isFunction(t)?t:f)),e[2][3].add(o(0,n,ft.isFunction(i)?i:h))}).promise()},promise:function(t){return null!=t?ft.extend(t,r):r}},o={};return ft.each(e,function(t,n){var s=n[2],a=n[5];r[n[1]]=s.add,a&&s.add(function(){i=a},e[3-t][2].disable,e[0][2].lock),s.add(n[3].fire),o[n[0]]=function(){return o[n[0]+"With"](this===o?void 0:this,arguments),this},o[n[0]+"With"]=s.fireWith}),r.promise(o),t&&t.call(o,o),o},when:function(t){var e=arguments.length,n=e,i=Array(n),r=et.call(arguments),o=ft.Deferred(),s=function(t){return function(n){i[t]=this,r[t]=arguments.length>1?et.call(arguments):n,--e||o.resolveWith(i,r)}};if(e<=1&&(p(t,o.done(s(n)).resolve,o.reject,!e),"pending"===o.state()||ft.isFunction(r[n]&&r[n].then)))return o.then();for(;n--;)p(r[n],s(n),o.reject);return o.promise()}});var Dt=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;ft.Deferred.exceptionHook=function(t,e){n.console&&n.console.warn&&t&&Dt.test(t.name)&&n.console.warn("jQuery.Deferred exception: "+t.message,t.stack,e)},ft.readyException=function(t){n.setTimeout(function(){throw t})};var kt=ft.Deferred();ft.fn.ready=function(t){return kt.then(t).catch(function(t){ft.readyException(t)}),this},ft.extend({isReady:!1,readyWait:1,ready:function(t){(!0===t?--ft.readyWait:ft.isReady)||(ft.isReady=!0,!0!==t&&--ft.readyWait>0||kt.resolveWith(Z,[ft]))}}),ft.ready.then=kt.then,"complete"===Z.readyState||"loading"!==Z.readyState&&!Z.documentElement.doScroll?n.setTimeout(ft.ready):(Z.addEventListener("DOMContentLoaded",d),n.addEventListener("load",d));var Lt=function(t,e,n,i,r,o,s){var a=0,u=t.length,c=null==n;if("object"===ft.type(n)){r=!0;for(a in n)Lt(t,e,a,n[a],!0,o,s)}else if(void 0!==i&&(r=!0,ft.isFunction(i)||(s=!0),c&&(s?(e.call(t,i),e=null):(c=e,e=function(t,e,n){return c.call(ft(t),n)})),e))for(;a1,null,!0)},removeData:function(t){return this.each(function(){Nt.remove(this,t)})}}),ft.extend({queue:function(t,e,n){var i;if(t)return e=(e||"fx")+"queue",i=It.get(t,e),n&&(!i||Array.isArray(n)?i=It.access(t,e,ft.makeArray(n)):i.push(n)),i||[]},dequeue:function(t,e){e=e||"fx";var n=ft.queue(t,e),i=n.length,r=n.shift(),o=ft._queueHooks(t,e),s=function(){ft.dequeue(t,e)};"inprogress"===r&&(r=n.shift(),i--),r&&("fx"===e&&n.unshift("inprogress"),delete o.stop,r.call(t,s,o)),!i&&o&&o.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return It.get(t,n)||It.access(t,n,{empty:ft.Callbacks("once memory").add(function(){It.remove(t,[e+"queue",n])})})}}),ft.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.length\x20\t\r\n\f]+)/i,Bt=/^$|\/(?:java|ecma)script/i,$t={option:[1,""],thead:[1,"